i got these error during ./configure
checking for ext/session/php_session.h... yes
checking build system type... i386-unknown-freebsdelf5.1
checking host system type... i386-unknown-freebsdelf5.1
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
loading cache /dev/null within ltconfig
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
any idea what's wrong ? ....
I have PHP-4.3.2 and Apache-1.2.27 installed.
Most everything else is up-to-date (FreeBSD-4.8).
Here are the problems I see:
===> Configuring for turck-mmcache-2.3.15
configure: WARNING: you should use --build, --host, --target
checking ext/session/php_session.h usability... no
checking ext/session/php_session.h presence... yes
configure: WARNING: ext/session/php_session.h: present but cannot be compiled
configure: WARNING: ext/session/php_session.h: check for missing
configure: WARNING: ext/session/php_session.h: proceeding with the
cc: unrecognized option `-prefer-pic'
Any clues about how to fix this?
I emailed the FreeBSD port maintainer, and freebsd-ports, but no replies.
Not sure of the actual resolution to the problem, but if you build from the latest copy of the FreeBSD port in CVS, it will get past this and produce a working .so.
Easy fix for this error:
edit the configure file and remove '--no-verify' from it (it is in the middle of a line, just remove --no-verify and nothing else!
(backup your configure file 1st, just in case)
save the configure.
That should do it, no more errors!
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.