Hi Simon,
On Tue, Apr 14, 2009 at 05:38:23PM +1000, Simon Horman wrote:
On Wed, Apr 08, 2009 at 03:42:12PM +0200, Christian
Schoepplein wrote:
I try to install perdition on a freebsd
5.5-RELEASE-p8 machine, but
unfortunatly without success :(.
The following error occures when I try to install from ports:
# pwd
/usr/ports/mail/perdition
# make
[...]
checking for crypt in -lcrypt... yes
checking for poptGetContext in -lpopt... no
configure: error: ""
"**********************************************************************"
"* perdition requires the popt options parsing library available from"
"*
ftp://ftp.rpm.org/pub/rpm/ and mirrors."
"**********************************************************************"
===> Script "configure" failed unexpectedly.
Please report the problem to thomas(a)bsdunix.ch [maintainer] and attach
the "/usr/ports/mail/perdition/work/perdition-1.17.1/config.log"
including the output of the failure of your make command. Also, it might
be a good idea to provide an overview of all packages installed on your
system (e.g. an `ls /var/db/pkg`).
*** Error code 1
Stop in /usr/ports/mail/perdition.
But popt ist installed:
# pkg_info | grep popt
popt-1.7_5 A getopt(3) like library with a number of enhancements, fro
# ls /usr/local/lib | grep popt
libpopt.a
libpopt.la
libpopt.so
libpopt.so.0
Even if I try to compile perdition manualy the popt library can not be
found.
Has anyone a hint what I can do to get perdition up and running on my
freebsd machine?
Are the popt development files present on your system,
in particular popt.h? In /usr/local/include ?
Yes, the files are there.
If they are there, then try looking in config.log, but
I suspect
that the problem is that configure isn't looking
into /usr/local/lib or /usr/local/include. If so, I wonder
if the following would help:
export CFLAGS="-I/usr/local/include"
export LDFLAGS="-L/usr/local/lib"
make
Great, Simon, that worked! Thanks a lot! Only the first command was
necesary then perdition was builded out of the port sources.
Ciao,
Christian
--
Christian Schöpplein
Landeshauptstadt München
- Schul- und Kultusreferat
- ZIB admins(a)musin.de
- Netze und Servermanagement 089 / 233-43042