arbitrary build can't find libs - right way to do this?

Steve Franks stevefranks at
Tue Nov 20 17:31:17 PST 2007

On Nov 20, 2007 5:33 PM, Steve Bertrand <iaccounts at> wrote:
> > I'd love to (submit a port), but how do I make a port if I can't even
> > get it to work the first time myself?
> >     configure --includedir=/usr/local/include doesn't work;
> >     export CPATH =/usr/local/include doesn't work;
> >     export CPPFLAGS -l/usr/local/include doesn't work;
> >     I've checked the permissions,
> >     and I can see the file right there, but configure/gcc can't.  The
> > developer swears something must be 'different' about freebsd because
> > his gcc finds the same file in /usr/local/include.  Appears his system
> > is gentoo...
> Would you be able to provide access to a tarball of what you are trying
> to compile/install for external testing so more eyeballs can see?
> Steve
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

Well, the app is - I
haven't tweaked it at all, so you can get the .tar right from them.

It's a 2-part app, part one is the library, it installed fine after I
symlinked wxgtk2-2.85-config to wx-config.  Make install then put a
bunch of stuff in /usr/local/include/libroadnav, and libroadnav.a into

Then running configure on the main app complains that it can't find
Map.h, which is right there where the lib's makefile installed it.  I
thought it was a permissions problem, but I can't see how.  I've run
all the commands as a sudoer, and the permissions/owner/etc on
libroadnav look just like all the other libs/includes...


More information about the freebsd-questions mailing list