Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2001 16:43:09 -0700 (PDT)
From:      <joup@bigfoot.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Building apps w/ ports dependencies
Message-ID:  <Pine.BSF.4.33.0108061630490.85311-100000@soda.csua.berkeley.edu>

next in thread | raw e-mail | index | archive | help

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/


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?Pine.BSF.4.33.0108061630490.85311-100000>