ID:               15908
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: FreeBSD 4.5-RELEASE
 PHP Version:      4.1.2
 New Comment:

Check what config.log has about it.

--Jani



Previous Comments:
------------------------------------------------------------------------

[2002-03-08 11:47:06] [EMAIL PROTECTED]

I tried the latest snapshot:

http://snaps.php.net/php4-200203080600.tar.bz2

But the configure simply fails on iconv:

(..)
checking for iconv support... yes
configure: error: Please reinstall the iconv library.

Oink?

------------------------------------------------------------------------

[2002-03-07 14:33:32] [EMAIL PROTECTED]

Could you please try the latest CVS snapshot from
http://snaps.php.net/ ? 


------------------------------------------------------------------------

[2002-03-07 11:01:41] [EMAIL PROTECTED]

I tried the patch specified in:

http://bugs.php.net/bug.php?id=14423

but it fails at:

Making all in main
cc -I. -I/usr/ports/www/mod_php4/work/php-4.1.2/main
-I/usr/ports/www/mod_php4/work/php-4.1.2/main
-I/usr/ports/www/mod_php4/work/php-4.1.2
-I/usr/ports/www/mod_php4/work/php-4.1.2/Zend
-I/usr/local/include/freetype2/freetype -I/usr/local/include/gd
-I/usr/local/include -I/usr/local/include/mysql
-I/usr/local/include/pspell 
-I/usr/ports/www/mod_php4/work/php-4.1.2/TSRM -march=i686 -O6
-I/usr/local/include -I/usr/local/include/pgsql  -c
internal_functions.c && touch internal_functions.lo
internal_functions.c:69: `iconv_module_entry' undeclared here (not in a
function)
internal_functions.c:69: initializer element is not constant
internal_functions.c:69: (near initialization for
`php_builtin_extensions[15]')
*** Error code 1

------------------------------------------------------------------------

[2002-03-06 12:58:42] [EMAIL PROTECTED]

I tried to compile latest PHP 4.1.2 on my system.
I need the iconv extension, but I get the following
error in linking:

/bin/sh /usr/ports/www/mod_php4/work/php-4.1.2/libtool --silent
--mode=link cc -I. -I/usr/ports/www/mod_php4/work/php-4.1.2/
-I/usr/ports/www/mod_php4/work/php-4.1.2/main
-I/usr/ports/www/mod_php4/work/php-4.1.2
-I/usr/ports/www/mod_php4/work/php-4.1.2/Zend
-I/usr/local/include/freetype2/freetype -I/usr/local/include/gd
-I/usr/local/include -I/usr/local/include/mysql
-I/usr/local/include/pspell 
-I/usr/ports/www/mod_php4/work/php-4.1.2/TSRM -march=i686 -O6
-I/usr/local/include -I/usr/local/include/pgsql   -o php
-export-dynamic stub.lo libphp4.la 
./.libs/libphp4.a(internal_functions.o)(.data+0x3c): undefined
reference to `iconv_module_entry'
*** Error code 1

I'm making the PHP binary standalone, right from ports. Some info about
the system: iconv-2.0, Sablot-0.81, expat-1.95.2. I had a similar
problem on other system, making an Apache PHP module; with PHP 4.0.6 I
had no
problems with that (on FreeBSD 4.4-RELEASE/STABLE).

Here's my configure line:
--with-config-file-path=/usr/local/etc/php.standalone --disable-pear
--enable-discard-path --with-readline=/usr --enable-force-cgi-redirect
--enable-versioning --with-system-regex --disable-debug
--enable-track-vars --without-gd --without-mysql --with-gd=/usr/local
--with-freetype-dir=/usr/local --with-jpeg-dir=/usr/local
--with-png-dir=/usr/local --with-zlib --with-mcrypt=/usr/local
--with-mhash=/usr/local --with-mysql=/usr/local --with-pgsql=/usr/local
--with-xml --with-expat-dir=/usr/local --enable-xslt --with-xslt-sablot
--with-expat-dir=/usr/local --with-iconv=/usr/local
--with-pspell=/usr/local --enable-mbregex --enable-mbstring
--enable-sockets --enable-trans-sid --with-iconv=/usr/local
--prefix=/usr/local i386-portbld-freebsd4.5


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15908&edit=1

Reply via email to