On Fri, Sep 28, 2001 at 12:12:10PM +0300, Janne P?nk?l? wrote:
> Ever since the CVS clean up it's been annoying to build the tree.
>
> I have so far used #define ProjectRoot /opt/X4 (in config/cf/site.def)
>
> and this leads to annoyances with libraries and stuff.
>
> X libraries & incs are installed in /usr/X11R6/{lib,include}/ but build
> process nolonger seems to care about that.
>
> I get errors like
> --
> /usr/i686-pc-linux-gnu/bin/ld: cannot find -lXau
> --
> since there is -L/opt/X4/lib in the makefile but no -L/opt/X11R6/lib
> (and this is silly since /opt/X4/... is completely empty)
>
> it would seem that ProjectRoot no longer works properly since whole X is
> not present anymore.
>
> what would be easier way to tweak the -L and -I paths so that it would
> check the includes and libs from /usr/X11R6/... instead of /opt/X4/...
>
The way I did it was to use lndir to link the entire /usr/X11R6/
tree into the ProjectRoot tree:
lndir -silent -ignorelinks /usr/X11R6/ /optX4/It's kind of a kludge, but it works nicely for me . . . Simon -- PGP public key Id 0x144A991C, or ftp://bg77.anu.edu.au/pub/himi/himi.asc (crappy) Homepage: http://bg77.anu.edu.au doe #237 (see http://www.lemuria.org/DeCSS) My DeCSS mirror: ftp://bg77.anu.edu.au/pub/mirrors/css/
msg01788/pgp00000.pgp
Description: PGP signature
