View previous topic :: View next topic |
Author |
Message |
okuhl n00b
Joined: 09 Apr 2003 Posts: 22
|
Posted: Wed Apr 09, 2003 12:19 pm Post subject: php with xml - how? |
|
|
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 |
|
|
mmealman Guru
Joined: 02 Nov 2002 Posts: 348 Location: Florida
|
Posted: Wed Apr 09, 2003 1:45 pm Post subject: |
|
|
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 |
|
|
okuhl n00b
Joined: 09 Apr 2003 Posts: 22
|
Posted: Wed Apr 09, 2003 3:12 pm Post subject: |
|
|
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 |
|
|
Red Nalie Guru
Joined: 24 Mar 2003 Posts: 484 Location: Den Helder - The Netherlands - Europe - Earth - Milky Way - Universe
|
Posted: Wed Apr 09, 2003 6:28 pm Post subject: |
|
|
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 |
|
|
mmealman Guru
Joined: 02 Nov 2002 Posts: 348 Location: Florida
|
Posted: Wed Apr 09, 2003 7:22 pm Post subject: |
|
|
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 |
|
|
okuhl n00b
Joined: 09 Apr 2003 Posts: 22
|
Posted: Thu Apr 10, 2003 7:19 am Post subject: |
|
|
Thanks everybody! It works!
Regards,
Ollie. |
|
Back to top |
|
|
|