Re: Bug #16069
| From: | Melvyn Sopacua | Date: | Thu, 31 Oct 2002 20:12:26 +0000 |
| Subject: | Re: Bug #16069 | ||
| References: | 1 2 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-6518@lists.php.net to get a copy of this message | ||
At 20:49 31-10-2002, Moriyoshi Koizumi wrote:
Thanks, It seems I failed to write a correct config.m4 script. Please try the attached patch. I hope it helps.Yep. Commit and be happy :)
Moriyoshi Melvyn Sopacua <msopacua@idg.nl> wrote: At 19:04 31-10-2002, Moriyoshi Koizumi wrote:Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn SopacuaI've tested it both with libiconv 1.7 and 1.8, and it works. $ grep -A 10 "supports errno" config.logWell, that explains it: $ grep -A40 'supports errno' ./config.log configure:33609: checking if iconv supports errno configure:33645: gcc -o conftest -g -O2 -R/usr/local/lib -L/usr/local/lib conftest.c -liconv -lfreetype -lpng -lz -ljpeg -lz -lcrypt -lm -lcrypt 1>&5 configure:33617: iconv.h: No such file or directory Change the line to include the -I statement and all is well: "conftest.c" 28L, 709C written mdev@ardvark.idg.nl ~/cvs/php4 $ gcc -o conftest -g -O2 -I/usr/local/include -R/usr/local/lib -L/usr/local/lib conftest.c -liconv -lfreetype -lpng -lz -ljpeg -lz -lcrypt -lm -lcrypt mdev@ardvark.idg.nl ~/cvs/php4 Now why are the includes missing? Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.408 / Virus Database: 230 - Release Date: 24-10-2002