c-client port and php5-imap "clash" ...

Alex Dupre ale at FreeBSD.org
Mon Jan 16 14:20:41 PST 2006


Marc G. Fournier wrote:
> I did in the original, but, giving a few lines before:
> 
> configure:4030: checking for crypt in -lcrypt
> configure:4060: cc -o conftest -O -mcpu=pentium -pipe    -L/usr/lib
> -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c -lcrypt   >&5
> configure:4066: $? = 0
> configure:4070: test -z
>                          || test ! -s conftest.err
> configure:4073: $? = 0
> configure:4076: test -s conftest
> configure:4079: $? = 0
> configure:4092: result: yes
> configure:4180: error: Cannot find imap library (libc-client.a). Please
> check your c-client installation.

Very strange. I have the same lines, but the script goes on, since it
finds the c-client4 lib. The relevant script portion is this:

for lib in c-client4 c-client imap; do
  IMAP_LIB=$lib

  str="$IMAP_DIR/$PHP_LIBDIR/lib$lib.*"
  for i in `echo $str`; do
    test -r $i && IMAP_LIBDIR=$IMAP_DIR/$PHP_LIBDIR && break 2
  done
...
done

IMAP_DIR is set to LOCALBASE, PHP_LIBDIR to "lib", so the libc-client4
library should be detected correctly.

--
Alex Dupre


More information about the freebsd-ports mailing list