Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php with xml - how?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
okuhl
n00b
n00b


Joined: 09 Apr 2003
Posts: 22

PostPosted: Wed Apr 09, 2003 12:19 pm    Post subject: php with xml - how? Reply with quote

Hi,

ich want to use the pear installer. But when I enter "pear install Log", I get an error: "'xml' PHP extension is not installed". Then I added xml to my useflags and did an "emerge php", which seems to compile it again - this time it loaded the sablotron xml-stuff.

But using phpinfo(); I can see the compile-flag: --disable-xml

These are my useflags:
USE="xml imap mmx pda cups ssl mysql samba -gnome -kde perl -X -java -opengl -qt -libwww"

- Did I miss anything (I'm a gentoo-newbie)?
- Do I have to set another USE-Flag, or
- do I have to compile php for myself without "emerge php" and how do I do it?

Thanks alot for your help!

Gruss,
Ollie.
Back to top
View user's profile Send private message
mmealman
Guru
Guru


Joined: 02 Nov 2002
Posts: 348
Location: Florida

PostPosted: Wed Apr 09, 2003 1:45 pm    Post subject: Reply with quote

I think it's the -libwww that's messing you up, from the ebuild:

use libwww && myconf="${myconf} --with-xml" || myconf="${myconf} --disable-xml"
Back to top
View user's profile Send private message
okuhl
n00b
n00b


Joined: 09 Apr 2003
Posts: 22

PostPosted: Wed Apr 09, 2003 3:12 pm    Post subject: Reply with quote

mmealman wrote:
I think it's the -libwww that's messing you up, from the ebuild:

use libwww && myconf="${myconf} --with-xml" || myconf="${myconf} --disable-xml"

That sounds like a solution! :-)

Please tell me, where I have to put the line above (I'm a bleeding newbee).

THX!

Regards,
Ollie.
Back to top
View user's profile Send private message
Red Nalie
Guru
Guru


Joined: 24 Mar 2003
Posts: 484
Location: Den Helder - The Netherlands - Europe - Earth - Milky Way - Universe

PostPosted: Wed Apr 09, 2003 6:28 pm    Post subject: Reply with quote

okuhl wrote:
mmealman wrote:
I think it's the -libwww that's messing you up, from the ebuild:

use libwww && myconf="${myconf} --with-xml" || myconf="${myconf} --disable-xml"

That sounds like a solution! :-)

Please tell me, where I have to put the line above (I'm a bleeding newbee).

THX!

Regards,
Ollie.


You don't need anything with the line ;)
It's the line from the ebuild which states what it uses, in this case libwww.

All you need to do is remove that -libwww and it should work like a flying Gentoo-logo ;)
_________________
Many people call me Linux-freak, I just see me as a freak who uses Linux :)

i'm a little n00bie short and stout, here is my nickname here is my SHOUT!!!1 when i get all flamed up hear me SHOUT!!1 ban me forever, kick me out
Back to top
View user's profile Send private message
mmealman
Guru
Guru


Joined: 02 Nov 2002
Posts: 348
Location: Florida

PostPosted: Wed Apr 09, 2003 7:22 pm    Post subject: Reply with quote

okuhl wrote:
mmealman wrote:
I think it's the -libwww that's messing you up, from the ebuild:

use libwww && myconf="${myconf} --with-xml" || myconf="${myconf} --disable-xml"

That sounds like a solution! :-)

Please tell me, where I have to put the line above (I'm a bleeding newbee).

THX!

Regards,
Ollie.


You have -libwww in your USE flag. Remove it and try the ebuild again.
Back to top
View user's profile Send private message
okuhl
n00b
n00b


Joined: 09 Apr 2003
Posts: 22

PostPosted: Thu Apr 10, 2003 7:19 am    Post subject: Reply with quote

Thanks everybody! It works!

:D

Regards,
Ollie.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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