Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Aug 2001 21:32:14 -0400
From:      "David M. Heller" <dheller1@rochester.rr.com>
To:        "questions@FreeBSD.ORG" <questions@freebsd.org>
Cc:        joup@bigfoot.com
Subject:   Re: Building apps w/ ports dependencies
Message-ID:  <3B6F451E.266FC650@rochester.rr.com>
References:  <Pine.BSF.4.33.0108061630490.85311-100000@soda.csua.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
joup@bigfoot.com wrote:
> 
> Hi all,
> 
> I've consistently had trouble building non-ports software that require
> libraries, binaries, or includes from software that I've installed via
> ports.  My current headache is trying to convince sondra* to build.  It
> requires Qt2.2 or greater, and I have qt2.3 installe:
> bash-2.04# pkg_info|grep qt
> qt-1.45_1           A C++ X GUI toolkit
> qt-2.3.0            A C++ X GUI toolkit
> 
> Sondra uses gnu autoconf to configure the build environment, but I can't
> get it to see that I have qt installed:
> 
> bash-2.04# ./configure --with-qt-dir=/usr/X11/qt2
> ....
> checking for Qt... configure: error: Qt (snapshot >= Qt 2.1 beta2)
>         (libraries) not found. Please check your installation!
> 
> The /usr/X11/qt2 directory is my own cheap hack to make it look like I
> have a normal installation of Qt:
> 
> bash-2.04# ls -l  /usr/X11/qt2
> total 0
> lrwxr-xr-x  1 root  wheel   6 Aug  6 16:04 bin@ -> ../bin
> lrwxr-xr-x  1 root  wheel  14 Aug  6 15:56 include@ -> ../include/qt2
> lrwxr-xr-x  1 root  wheel   6 Aug  6 15:57 lib@ -> ../lib
> 
> Has anybody had any success with getting autoconf'ed programs to see ports
> software?  Is there an option I can give to the ports "make" to build it
> so that that it works with autoconf'ed programs?  I love ports software,
> but it's not all-inclusive.
> 
> Thanks,
> Mark Miller
> 
> * Sondra-- http://www.csh.rit.edu/~benjamin/desktop/programs/sondra/
>
Hi

You might also have to supply the include and lib directories
also. Something like ./configure --with-qt-include=/usr/X11/qt2/include
?
Look at the docs. It might be getting confused because you have qt-1.45
also. Good Luck

 
>
 To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
David Heller
dheller1@rochester.rr.com
dheller@allheller.net
http://www.supertechs.dyndns.org/contactus.php3

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B6F451E.266FC650>