Re: [Gpsbabel-misc] Oops! I see that I jumped the gun
Brought to you by:
robertl
From: Ron P. <ro...@pa...> - 2005-09-14 18:28:49
|
At 12:28 PM 9/14/2005, Charlie Sorsby wrote: > > My system is admittedly old: I'm running freeBSD 3.4 with > > XFree86 4.1.0 and my C compiler is: > > PC% cc -v > > gcc version 2.7.2.3 > > PC% diff Makefile.orig Makefile > > 128c128 > > < make LIBEXPAT=/sw/lib/libexpat.a EXTRA_CFLAGS="-I/sw/include" > LIBUSB= INHIBIT_USB=-DNO_USB > > --- > > > make LIBEXPAT=/usr/local/lib/libexpat.a > EXTRA_CFLAGS="-I/sw/include" LIBUSB= INHIBIT_USB=-DNO_USB > > 131c131 > > < make LIBEXPAT=/sw/lib/libexpat.a EXTRA_CFLAGS="-I/sw/include" > LIBUSB="/sw/lib/libusb.a -lIOKit -lBSDPClient -framework CoreFoundation" > > --- > > > make LIBEXPAT=/usr/local/lib/libexpat.a > EXTRA_CFLAGS="-I/sw/include" LIBUSB="/sw/lib/libusb.a > -lIOKit -lBSDPClient -framework CoreFoundation" Those seem to be the lines for mac-usbfree and mac-build, but presumably you are building for FreeBSD. Therefore, those changes probably won't make any difference whatsoever. The error message indicated that it's unable to find the header file for expat; it hasn't gotten far enough to know whether it can find the library, but if it's really in /usr/local/lib I think it should be able to find it; that's where mine is and I build gpsbabel regularly. I *think* the problem you're really encountering is that wherever you have expat.h, it isn't in your include path. I solved that problem for myself by copying expat.h from the expat distribution into the /usr/local/include directory; that might not be the best solution, but it seems to work for me. |