help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling & installing programs as user: finding headers


From: Federico Zenith
Subject: Re: Compiling & installing programs as user: finding headers
Date: Fri, 20 Jun 2008 15:09:11 +0200
User-agent: Thunderbird 1.5.0.8 (X11/20060911)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Federico Zenith wrote:
> Henrik Carlqvist wrote:
>> Federico Zenith <zenith@mpiDASHmagdeburgDOTmpg.de> wrote:
>>> 2) I also tried with LDFLAGS, as in:
>> LDFLAGS is used to find libraries, try CPATH to find include files.
> 
> Thanks Henrik, this did the trick:
> 
> wine-1.0 $ env LDFLAGS="-L/home/me/usr/lib"
> CPATH="/home/me/usr/include/:/home/me/usr/include/libxml/" ./configure
> --prefix=/home/me/usr/

Whoops, I spoke too soon. This makes configure work, but compilation
fails. The complete command that finally worked was:

wine-1.0 $ env LDFLAGS="-L/home/me/usr/lib -lxml2 -lxslt"
CFLAGS="-I/home/me/usr/include/libxml2/ -I/home/me/usr/include/"
CPATH="/home/me/usr/include/libxml2/:/home/me/usr/include/" ./configure
- --prefix=/home/me/usr/

I report this here for the benefit of whomever might end up with the
same issue.

- -Federico
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIW6v3BIpu+y7DlLcRAj7uAJ0RVFBkGDYPvTDZAIG/0adr98IygwCdF6Yg
urCND2rljWZNnjzWBF/pvIo=
=Tyey
-----END PGP SIGNATURE-----


reply via email to

[Prev in Thread] Current Thread [Next in Thread]