building php witk libiconv

This is a discussion on building php witk libiconv within the PHP General forums, part of the PHP Programming Forums category; Hi, I don't know what to do with libiconv to build php4.3.3. My libiconv-1.9 is ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-28-2003
Alain Bonnefoy
 
Posts: n/a
Default building php witk libiconv

Hi,

I don't know what to do with libiconv to build php4.3.3.
My libiconv-1.9 is installed in /opt

if I invoke configure .... --with-iconv=/opt the script runs fine but I
get the following message at compile time:

gcc: /usr//lib/.libs/libiconv.so: No such file or directory
gcc: /opt//lib/.libs/libiconv.so: No such file or directory


What is strange is that /lib/.libs is a directory tree in the
libiconv-1.9 source directory.
So, I tried to invoke configure ....
--with-iconv=/home/a.bonnefoy/portage/libiconv-1.9.
But now configure complains asking me to reinstall libiconv.

What to do???

Thanks,
Alain.
Reply With Quote
  #2 (permalink)  
Old 08-28-2003
Tom Rogers
 
Posts: n/a
Default Re: [PHP] building php witk libiconv

Hi,

Friday, August 29, 2003, 12:52:11 AM, you wrote:
AB> Hi,

AB> I don't know what to do with libiconv to build php4.3.3.
AB> My libiconv-1.9 is installed in /opt

AB> if I invoke configure .... --with-iconv=/opt the script runs fine but I
AB> get the following message at compile time:

AB> gcc: /usr//lib/.libs/libiconv.so: No such file or directory
AB> gcc: /opt//lib/.libs/libiconv.so: No such file or directory


AB> What is strange is that /lib/.libs is a directory tree in the
AB> libiconv-1.9 source directory.
AB> So, I tried to invoke configure ....
AB> --with-iconv=/home/a.bonnefoy/portage/libiconv-1.9.
AB> But now configure complains asking me to reinstall libiconv.

AB> What to do???

AB> Thanks,
AB> Alain.


What happens if you just use --with-iconv ?

--
regards,
Tom
Reply With Quote
  #3 (permalink)  
Old 08-29-2003
Tom Rogers
 
Posts: n/a
Default Re[2]: [PHP] building php witk libiconv

Hi,

Friday, August 29, 2003, 4:09:14 PM, you wrote:
AB> Hi Tom,
AB> configure ... --with-iconv
AB> doesn't change anything, configure is ok but make ends with:

AB> gcc: /usr//lib/.libs/libiconv.so: No such file or directory
AB> gcc: /opt//lib/.libs/libiconv.so: No such file or directory


AB> I decided to create a link /opt/lib/.libs/libiconv.so ->
AB> /opt/lib/libiconv.so.2.2.0
AB> Now, I still have the following message:

AB> gcc: /usr//lib/.libs/libiconv.so: No such file or directory

AB> I don't want to make links everywhere!

AB> Regards,
AB> Alain.


AB> Tom Rogers a écrit:
>> Hi,
>>
>> Friday, August 29, 2003, 12:52:11 AM, you wrote:
>> AB> Hi,
>>
>> AB> I don't know what to do with libiconv to build php4.3.3.
>> AB> My libiconv-1.9 is installed in /opt
>>
>> AB> if I invoke configure .... --with-iconv=/opt the script runs fine but I
>> AB> get the following message at compile time:
>>
>> AB> gcc: /usr//lib/.libs/libiconv.so: No such file or directory
>> AB> gcc: /opt//lib/.libs/libiconv.so: No such file or directory
>>
>>
>> AB> What is strange is that /lib/.libs is a directory tree in the
>> AB> libiconv-1.9 source directory.
>> AB> So, I tried to invoke configure ....
>> AB> --with-iconv=/home/a.bonnefoy/portage/libiconv-1.9.
>> AB> But now configure complains asking me to reinstall libiconv.
>>
>> AB> What to do???
>>
>> AB> Thanks,
>> AB> Alain.
>>
>>
>> What happens if you just use --with-iconv ?
>>



I just installed libiconv-1.9.1 and made with
../configure --prefix=/usr
make
make install

then rebuilt php with --with-iconv=/usr

and it built just fine

Some bits of iconv seem to need gettext, do you have that installed?

--
regards,
Tom
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:59 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0