using libs installed with macports to build a tarball
Hi I'm trying to build qjackctl (a gui for Jack audio connection kit) from its source tarball. qjackctl uses qt4, so I installed qt4-mac from macports (successfully) but the configure script of qjackctl can't find it. Do I have to set up an env. var in my .profile file? Rémi Leopard, Macbook 2GHz Intel Core 2 Duo
On 2007-11-22 23:46:07 +0100, Mailing lists wrote:
I'm trying to build qjackctl (a gui for Jack audio connection kit) from its source tarball. qjackctl uses qt4, so I installed qt4-mac from macports (successfully) but the configure script of qjackctl can't find it. Do I have to set up an env. var in my .profile file?
/opt/local/lib must appear in your $LIBRARY_PATH. -- Vincent Lefèvre <vincent@vinc17.org> - 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)
Le 23 nov. 07 à 00:37, Vincent Lefevre a écrit :
On 2007-11-22 23:46:07 +0100, Mailing lists wrote:
I'm trying to build qjackctl (a gui for Jack audio connection kit) from its source tarball. qjackctl uses qt4, so I installed qt4-mac from macports (successfully) but the configure script of qjackctl can't find it. Do I have to set up an env. var in my .profile file?
/opt/local/lib must appear in your $LIBRARY_PATH.
-- Vincent Lefèvre <vincent@vinc17.org> - 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
Thanks, 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) Rémi Leopard, Macbook 2GHz Intel Core 2 Duo
On Nov 22, 2007, at 7:06 PM, Mailing lists wrote:
Le 23 nov. 07 à 00:37, Vincent Lefevre a écrit :
On 2007-11-22 23:46:07 +0100, Mailing lists wrote:
I'm trying to build qjackctl (a gui for Jack audio connection kit) from its source tarball. qjackctl uses qt4, so I installed qt4-mac from macports (successfully) but the configure script of qjackctl can't find it. Do I have to set up an env. var in my .profile file?
/opt/local/lib must appear in your $LIBRARY_PATH.
-- Vincent Lefèvre <vincent@vinc17.org> - 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
Thanks, 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)
Rémi Leopard, Macbook 2GHz Intel Core 2 Duo
I vaugely remember seeing "You may have to set QT4DIR=/opt/local/???" in the complier output for this program but dont remember exactly. William Davis frstanATbellsouthDOTnet Mac OS X.5.1 Darwin 9.1.0 Xquartz-1.2a11 Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non
Le 23 nov. 07 à 01:24, William Davis a écrit :
On Nov 22, 2007, at 7:06 PM, Mailing lists wrote:
Le 23 nov. 07 à 00:37, Vincent Lefevre a écrit :
On 2007-11-22 23:46:07 +0100, Mailing lists wrote:
I'm trying to build qjackctl (a gui for Jack audio connection kit) from its source tarball. qjackctl uses qt4, so I installed qt4-mac from macports (successfully) but the configure script of qjackctl can't find it. Do I have to set up an env. var in my .profile file?
/opt/local/lib must appear in your $LIBRARY_PATH.
-- Vincent Lefèvre <vincent@vinc17.org> - 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
Thanks, 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)
Rémi Leopard, Macbook 2GHz Intel Core 2 Duo
I vaugely remember seeing "You may have to set QT4DIR=/opt/ local/???" in the complier output for this program but dont remember exactly.
William Davis frstanATbellsouthDOTnet Mac OS X.5.1 Darwin 9.1.0 Xquartz-1.2a11 Mac Mini Intel Duo @ 1.86 GHz
Mundus vult decepi, ego non
Thanks, that's it : ./configure --with-qt=/opt/local Rémi Leopard, Macbook 2GHz Intel Core 2 Duo
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 <vincent@vinc17.org> - 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)
participants (3)
-
Mailing lists
-
Vincent Lefevre
-
William Davis