Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mod_php fails due to iconv
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
bimble
n00b
n00b


Joined: 22 Jun 2003
Posts: 4

PostPosted: Tue Sep 09, 2003 7:29 pm    Post subject: mod_php fails due to iconv Reply with quote

Ok, how can I put this simply.... help!!

Trying to emerge mod_php, both 4.3.3 and 4.3.2-r5 and every time I try to build I get the same failure error. It can't find some iconv files.

Quote:

In file included from
/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/iconv/iconv.c:35:
/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/iconv/php_iconv.h:33:31:
php_have_libiconv.h: No such file or directory
/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/iconv/php_iconv.h:35:32:
php_have_bsd_iconv.h: No such file or directory
/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/iconv/iconv.c: In function
`php_iconv_string':
/var/tmp/portage/mod_php-4.3.3/work/php-4.3.3/ext/iconv/iconv.c:272: warning:
passing arg 2 of `iconv' from incompatible pointer type
make: *** [ext/iconv/iconv.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-php/mod_php-4.3.3 failed.
!!! Function php_src_compile, Line 403, Exitcode 2
!!! compile problem


I was wondering if the problem might be that iconv wasn't being detected so checked the config as it was scrolling past during the emerge

Quote:

checking for iconv support... yes
checking for iconv... yes
checking if iconv is glibc's... yes
checking if iconv supports errno... yes


This is a fresh install, so php or mod_php have never been installed and it's not an upgrade case.

Just in case, heres the USE line from my make.conf

Quote:

USE="apache2 gd imap maildir ssl libwww jpeg png gif -kde -gnome -X"


Although it's not showing here, I've tried this with -java in the USE line as well.. still no joy.

Does *anyone* have any idea what on earth I'm doing wrong?

cheers
bimble
Back to top
View user's profile Send private message
Berkz
Apprentice
Apprentice


Joined: 26 Aug 2002
Posts: 205
Location: Iceland

PostPosted: Tue Sep 09, 2003 10:53 pm    Post subject: Reply with quote

might find your answer here

https://forums.gentoo.org/viewtopic.php?t=67612&highlight=iconv
_________________
______________

Regards, Berkz
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum