Date: 12/29/00
- Next message: Kyle Jerviss: "Re: [PHP] Generating Maps On Your Web Site"
- Previous message: Iain Donaldson: "[PHP] Problems compiling gd-1.8.3 on FreeBSD 2.2.7 [malloc.h]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Folks:
Having a weird problem compiling PHP 4.0.4 on FreeBSD 2.2.7. I have two
variants of it, one when I try to include the mcrypt (2.2.7) library and one
when I don't.
My ./configure command for the attempt without mcrypt is:
./configure \
--with-gd=no \
--with-mysql=/usr/local \
--with-config-file-path=/usr/home/iainad/phpini \
--enable-debug=no \
--enable-track-vars=yes \
--enable-force-cgi-redirect=yes
This works OK, then when I do 'nice make', I get the following output:
Making all in Zend
Making all in main
Making all in ext
Making all in mysql
Making all in pcre
Making all in pcrelib
Making all in posix
Making all in session
Making all in standard
Making all in xml
Making all in expat
Making all in xmltok
Making all in xmlparse
Making all in sapi
Making all in cgi
Making all in TSRM
Making all in regex
Making all in .
/bin/sh /usr/home/iainad/src/php-4.0.4/libtool --silent --mode=link gcc -I.
-I/usr/home/iainad/src/php-4.0.4/ -I/usr/home/iainad/src/php-4.0.4/main
-I/usr/home/iainad/src/php-4.0.4 -I/usr/home/iainad/src/php-4.0.4/Zend
-I/usr/local/include/mysql
-I/usr/home/iainad/src/php-4.0.4/ext/xml/expat/xmltok
-I/usr/home/iainad/src/php-4.0.4/ext/xml/expat/xmlparse
-I/usr/home/iainad/src/php-4.0.4/TSRM -DXML_BYTE_ORDER=12 -g -O2 -o php
-export-dynamic stub.lo libphp4.la
ld: -lmcrypt: no match
*** Error code 1
Stop.
When I try to include 'mcrypt' with the following./configure:
./configure \
--with-gd=no \
--with-mysql=/usr/local \
--with-mcrypt=/usr/home/iainad/src/libmcrypt-227-files \
--with-config-file-path=/usr/home/iainad/phpini \
--enable-debug=no \
--enable-track-vars=yes \
--enable-force-cgi-redirect=yes \
--disable-posix-threads
Here I get much the same, except that there is an additional line 'Making
all in mcrypt' and then the failure is:
ld: -lttf: no match
I've tried adding '--with-ttf=no' to the configure, but it makes no
difference. I've also tried explicity '--with-mcrypt=no' on the first
attempt.
Any ideas ?
Thanks in advance
..Iain
-- Iain Donaldson iain <email protected>
- Next message: Kyle Jerviss: "Re: [PHP] Generating Maps On Your Web Site"
- Previous message: Iain Donaldson: "[PHP] Problems compiling gd-1.8.3 on FreeBSD 2.2.7 [malloc.h]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

