Bug #61130 [Fbk->NoF]: --with-iconv pulls in /usr/include

From: Date: Sun, 20 Jun 2021 04:22:13 +0000
Subject: Bug #61130 [Fbk->NoF]: --with-iconv pulls in /usr/include
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234529@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61130&edit=1

 ID:               61130
 Updated by:       php-bugs@lists.php.net
 Reported by:      fscan at chilicode dot com
 Summary:          --with-iconv pulls in /usr/include
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          Compile Failure
 Operating System: linux
 PHP Version:      5.3.10
 Assigned To:      cmb
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2021-06-10 12:47:28] cmb@php.net

Is that still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>

------------------------------------------------------------------------
[2014-07-10 06:48:20] 140111 at gmail dot com

same bug with 5.4.12

------------------------------------------------------------------------
[2014-01-03 17:01:17] olivier dot antheaume at gmail dot com

A workaround solution is to build PHP without iconv:

CC=arm-none-linux-gnueabi-gcc ./configure --disable-all --without-iconv
make

And rebuild it into the same directory with iconv:

CC=arm-none-linux-gnueabi-gcc ./configure --disable-all --with-iconv --with-iconv-dir=$(SYSROOT)/usr
make

with SYSROOT=base directory of your cross-compilation target (path to the root dir of your target)

------------------------------------------------------------------------
[2012-02-18 16:54:49] fscan at chilicode dot com

CC=arm-none-linux-gnueabi-gcc ./configure --disable-all --with-iconv=/tmp

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

config.log:
configure:46880: checking for iconv support

------------------------------------------------------------------------
[2012-02-18 01:23:44] rasmus@php.net

How about if you set it to a path where there is no iconv installed?

eg. --with-iconv=/tmp

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=61130


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


Thread (7 messages)

« previous php.bugs (#234529) next »