On 2007-11-23 02:35:47 +0100, Mailing lists wrote: >>> But I don't know where to set it. 'LIBRARY_PATH=$LIBRARY_PATH:/opt/ >>> local/lib ./configure' gives me the same error, and LIBRARY_PATH >>> is not set at all anyway (no /usr/local/lib or /usr/lib)
This isn't a correct solution, because it would be defined only for "configure" (but not for "make"). You should set it in your .profile or other shell rc file. You also need to set C_INCLUDE_PATH and/or CPATH. If you want to set an environment variable only for the build process, you should use the form: ./configure VAR1=value1 VAR2=value2 ... i.e. as configure arguments. > Thanks, that's it : ./configure --with-qt=/opt/local But note that configure will generally use /opt/local globally, not only for QT. This may be a problem if different versions of some library are installed in different directories provided in such paths: you don't know which one will be taken. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users