Federico Zenith wrote: > 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/
Instead of passing in environment variables it is almost always better to tell configure about them directly. If configure knows about them then this information is stored into the config.status and can be also used when reconfiguring. Therefore I suggest doing the above this way: ./configure --prefix=/home/me/usr LDFLAGS="-L/home/me/usr/lib -lxml2 -lxslt" CFLAGS="-I/home/me/usr/include/libxml2/ -I/home/me/usr/include/" CPPFLAGS="/home/me/usr/include/libxml2/:/home/me/usr/include/" And that includes a change from CPATH to CPPFLAGS which I think is more appropriate. See ./configure --help for a summary. Bob