From owner-freebsd-questions Mon Aug 6 18:32:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailout6.nyroc.rr.com (mailout6-0.nyroc.rr.com [24.92.226.125]) by hub.freebsd.org (Postfix) with ESMTP id 598A237B401 for ; Mon, 6 Aug 2001 18:32:16 -0700 (PDT) (envelope-from dheller1@rochester.rr.com) Received: from rochester.rr.com (roc-66-24-94-17.rochester.rr.com [66.24.94.17]) by mailout6.nyroc.rr.com (8.11.2/RoadRunner 1.03) with ESMTP id f771WF707723; Mon, 6 Aug 2001 21:32:15 -0400 (EDT) Message-ID: <3B6F451E.266FC650@rochester.rr.com> Date: Mon, 06 Aug 2001 21:32:14 -0400 From: "David M. Heller" X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: "questions@FreeBSD.ORG" Cc: joup@bigfoot.com Subject: Re: Building apps w/ ports dependencies References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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