Subject: Re: ./configure help!! (non pkgsrc source) -> fluxspace
To: poff <poff@sixbit.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 07/17/2003 11:56:59
On Thu, 17 Jul 2003, poff wrote:
> Great as pkgsrc is sometimes it doesn't have stuff I want.
Consider adding to pkgsrc.
> ./configure
>
> Now, how can I link to all the system libraries as well as pkgsrc does?
To see an example of how pkgsrc does it, go into a pkgsrc directory (for
some similar software), and do something like:
make show-var VARNAME=CONFIGURE_ARGS
make show-var VARNAME=CONFIGURE_ENV
> fluxspace.sourceforge.net
Look at how pkgsrc does it with
.include "../../lang/python/application.mk"
Also, if you have a configure script try running it with --help.
> Also, if I compile for example "fbdesk" (you can tell I'm a fluxbox fan),
> it compiles with
>
> ./configure
>
> and make's, only when I run it it can't find some .so file which exists.
>
> At random I remembered LD_LIBRARY_PATH which fixed it.
>
> How can I compile this in at the ./configure stage?
I don't think that can be defined in the ./configure step. Maybe edit the
Makefile, so use something like the following when linking:
-Wl,-R/usr/X11R6/lib
You should just use pkgsrc to port the software; it makes it easier and
others may benefit too!
Jeremy C. Reed
http://www.reedmedia.net/