ID:               48451
 Comment by:       ville dot solarius at gmail dot com
 Reported By:      jordon at envygeeks dot com
 Status:           No Feedback
 Bug Type:         Compile Failure
 Operating System: Ubuntu Intrepid
 PHP Version:      6CVS-2009-06-02 (snap)
 New Comment:

I was able to compile this with the configure line:
LDFLAGS="-L/usr/local/lib/ -liconv" ./configure 

Yeah, I know, it is a little bit ugly way to round it, but hey, it
works :)

Because the problem seems to be, that in certain conditions (sorry, I
don't know what those are, but I am having that ;)) it seems that
"configure" is not putting "-liconv" to the test compilation line.
Hence, it was possible to override with line we can see above.

But well, my system is 64bit (amd), OpenBSD 4.5 with GNU iconv 1.13.1
and php 5.3.0.

It is compiling now, but not finished yet, so I can't really be sure is
that working. But the configure is now running fine.


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

[2009-07-06 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2009-06-28 18:08:07] ka...@php.net

Does this happen with any of the 5.x branches? 5.2.10 or 5.3.0RCX?

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

[2009-06-02 13:44:30] jordon at envygeeks dot com

Description:
------------
Compile fails with:
checking for iconv support... yes
configure: error: Please reinstall the iconv library.


Cat of the last few lines of Config.log:
configure: In function 'main':
configure:40147: warning: incompatible implicit declaration of built-in
function 'exit'
configure:40173: checking size of int
configure:40213: checking size of long
configure:40253: checking size of long long
configure:40622: checking for iconv support

Reproduce code:
---------------
Configuration line:
./configure --mandir=/usr/share/man --prefix=/usr \
--sbindir=/usr/sbin/ --bindir=/usr/bin/ \
--enable-calendar --enable-ctype --enable-bcmath \
--enable-exif --enable-ftp --enable-mbstring \
--enable-sockets --enable-wddx --enable-soap --enable-zip 
--enable-cgi --enable-cli --enable-gd-native-ttf --enable-libxml \
--disable-gcov --disable-debug --disable-rpath \
--disable-static --disable-shmop --disable-sysvsem --disable-sysvshm 
--disable-sysvmsg --with-regex=php --with-pic=/usr \ 
--with-layout=GNU --with-bz2=/usr --with-iconv=/usr \
--with-gettext=/usr --with-pcre-regex=/usr --with-libxml-dir=/usr \
--with-zlib=/usr --with-openssl=/usr --with-curl=/usr --with-mysql \
--with-mcrypt --with-gd=shared --with-mhash \
--without-gdbm --without-db1 --withou-db2 --without-db3 --without-db4

Expected result:
----------------
Success!

Actual result:
--------------
Fail.


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


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

Reply via email to