... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building routeconverter on OSX
#19
(22.06.2010, 17:14)routeconverter Wrote:
(22.06.2010, 14:37)routeconverter Wrote:
(21.06.2010, 19:47)hvdwolf Wrote: It means that it is simply not possible to create a static gpsbabel library.

Unless you're somehow successful or have another hint, I'd better rethink the gpsbabel stuff.

I think I've managed to produce a binary with

Quote:./configure --enable-static --disable-shared --without-libusb

and the replacement of -Lexpat to /usr/lib/libexpat.a in the Makefile that only links to libm and libc

Quote:user@ubuntu810desktop:~/gpsbabel-1.3.6$ ldd gpsbabel.static
linux-gate.so.1 => (0xb77a6000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7757000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb75f9000)
/lib/ld-linux.so.2 (0xb778c000)

I've stripped it to reduce it's size and attached it to this posting. Does it work on your Linux box?

Good work.
It works fine on my Ubuntu 9.10 box. Did you compile it on your 8.10 version?
(22.06.2010, 14:37)routeconverter Wrote: That step is failing since the Webstart version requires the jars to be signed and thus a key store which I didn't make public. I've just moved the Webstart build plugins to a different profile - does the compilation now succeed on your machine?
Yes, it builds succesfully now. Thanks.

(22.06.2010, 14:37)routeconverter Wrote: That didn't make any difference on my machine. I even moved the *so* stuff from libusb and libexpat away from /usr/lib during the compilation - the binary didn't start without them.
I forgot to mention that a lot of libraries write a configuration file inside the "/usr/lib/pkgconfig/" or "/usr/local/lib/pkgconfig/" directory (linux paths here). The autoconf tool configure knows where to find these files. If these files exists it also means that the library exists. So the configure tool expects them to be available, and fails during linking.
The config files inside the pkgconfig folder are actually meant to see how the library was compiled: against which other libraries, with which optimization or debug level/parameters, etc.
Reply


Messages In This Thread
Building routeconverter on OSX - by hvdwolf - 11.06.2010, 15:54
RE: Building routeconverter on OSX - by hvdwolf - 22.06.2010, 21:08

Forum Jump:


Users browsing this thread: 1 Guest(s)