Trouble compiling lang/php4 (4.3.7)

Sayid Munawar say at id.or.id
Tue Jun 22 04:27:51 GMT 2004


Yes



> Hello,
>
> I'm attempting to compile lang/php4 from a current ports collection.
> The port seems to compile mod_php4 without problems but fails when it
> gets to the php4-cli portion of the port.  I have also been able to
> compile the www/mod_php4 but unable to compile the lang/php4-cli port.
>
>

Yes... i received the same error and i posted here too with the subject:

libtool problem or SMP problem or port problem or what?

I have tried to cvsup my ports collection yesterday, but the problem
persist. I think one of the php's feature (WITH_ ) is leading to this
problem. but i don't know stil. PHP compiled OK with default WITH_ options


> the configure options are as follows (I am using the /root/php4_options
> file to set these so I don't have to check them all the time)
>
> './configure' '--enable-versioning' '--enable-memory-limit'
> '--with-layout=GNU' '--with-zlib-dir=/usr' '--disable-all'
> '--with-regex=php' '--enable-bcmath' '--with-bz2=/usr'
> '--enable-calendar' '--with-cdb' '--with-crack=/usr/local'
> '--enable-ctype' '--with-curl=/usr/local' '--enable-dba'
> '--with-dom=/usr/local' '--with-dom-xslt=/usr/local'
> '--with-dom-exslt=/usr/local' '--enable-ftp' '--with-gd'
> '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local'
> '--with-t1lib=/usr/local' '--with-jpeg-dir=/usr/local'
> '--with-png-dir=/usr/local' '--with-gdbm=/usr/local'
> '--with-gettext=/usr/local' '--with-iconv-dir=/usr/local'
> '--with-iconv=/usr/local' '--with-inifile' '--enable-mbstring'
> '--with-mcal=/usr/local' '--with-mcve=/usr/local'
> '--with-mcrypt=/usr/local' '--with-mhash=/usr/local'
> '--with-mime-magic=/usr/share/misc/magic.mime' '--with-ming=/usr/local'
> '--with-mnogosearch=/usr/local' '--with-mysql=/usr/local'
> '--with-ldap=/usr/local' '--with-openssl-dir=/usr/local'
> '--with-openssl=/usr/local' '--enable-overload' '--enable-pcntl'
> '--with-pcre-regex=yes' '--with-pdflib=/usr/local' '--enable-posix'
> '--with-pspell=/usr/local' '--with-readline' '--enable-session'
> '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem'
> '--enable-sysvshm' '--enable-tokenizer' '--with-unixODBC=/usr/local'
> '--enable-wddx' '--with-expat-dir=/usr/local' '--enable-xml'
> '--with-xmlrpc' '--enable-xslt' '--with-xslt-sablot=/usr/local'
> '--enable-yp' '--with-zip=/usr/local' '--with-zlib=yes'
> '--with-apxs2=/usr/local/sbin/apxs' '--with-imap=/usr/local'
> '--with-imap-ssl=/usr/local' '--with-ncurses=/usr' '--prefix=/usr/local'
> 'i386-portbld-freebsd4.9'
>
> The error that I am receiving is:
>
> libtool: link: cannot find the library `'
> *** Error code 1
>
> Stop in /usr/ports/lang/php4/work/php-4.3.7.
> *** Error code 1
>
> Stop in /usr/ports/lang/php4.
> *** Error code 1
>
> Stop in /usr/ports/lang/php4.
>
>
> I'm going to presume there is something missing on the system, but I
> have been unable to determine exactly what it is.  Has anyone else
> received this type of error?  Is there a way for me to get more
> information as to exactly what library is missing.
>
> Thanks in advance,
> Roger
>
>
>

---
Sayid Munawar



More information about the freebsd-stable mailing list