Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
configure says libxml2 is missing...and it isn't!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
qnx
l33t
l33t


Joined: 25 Jun 2002
Posts: 638
Location: Göteborg, Sweden

PostPosted: Sat Aug 23, 2003 5:57 pm    Post subject: configure says libxml2 is missing...and it isn't! Reply with quote

Hey!
I try to emerge latest ~x86 dcgui-qt . Here's what configure says:
Code:
checking for xml2-config... /usr/bin/xml2-config
checking for libxml - version >= 2.0.0... no
configure: error: libxml2 must be installed.

!!! ERROR: net-p2p/dcgui-qt-0.2.18 failed.
!!! Function econf, Line 320, Exitcode 1
!!! econf failed

Yeah, sure, only probem is that I have
Code:
USE="[...]xml xml2[...]"

Also:
Code:
jacob@qnx dcgui-qt $ emerge libxml2 -p

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R  ] dev-libs/libxml2-2.5.8

So what's wrong now? Please, help...
_________________
Registred Linux user #191143!
Abit NF7-S rev. 2.00 (BIOS v. 2.7)
AMD AthlonXP 2500+ (Barton)
PATA Seagate ST3120022A
SATA Seagate ST3200822AS & Silicon Image 3112 chipset
Gentoo Linux :)
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sat Aug 23, 2003 6:21 pm    Post subject: Reply with quote

That version you're trying to emerge doesn't seem to be in portage anymore. How about trying the latest?

net-p2p/dcgui-qt-0.2.4-r1
Back to top
View user's profile Send private message
qnx
l33t
l33t


Joined: 25 Jun 2002
Posts: 638
Location: Göteborg, Sweden

PostPosted: Sat Aug 23, 2003 7:43 pm    Post subject: Reply with quote

Code:
jacob@qnx dcgui-qt $ ls -l
total 25
-rw-r--r--    1 root     root         4031 Aug 22 09:09 ChangeLog
-rw-r--r--    1 root     root          588 Aug 22 09:09 Manifest
-rw-r--r--    1 root     root          853 Jun 17 10:38 dcgui-qt-0.2.15.ebuild
-rw-r--r--    1 root     root          853 Jun 25 10:48 dcgui-qt-0.2.16.ebuild
-rw-r--r--    1 root     root          853 Aug 21 15:42 dcgui-qt-0.2.18.ebuild
-rw-r--r--    1 root     root          841 May  6 10:08 dcgui-qt-0.2.4-r1.ebuild
drwxr-xr-x    2 root     root          208 Aug 22 09:09 files

I tried to emerge 0.2.18, and it is the latest version....
_________________
Registred Linux user #191143!
Abit NF7-S rev. 2.00 (BIOS v. 2.7)
AMD AthlonXP 2500+ (Barton)
PATA Seagate ST3120022A
SATA Seagate ST3200822AS & Silicon Image 3112 chipset
Gentoo Linux :)
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sat Aug 23, 2003 9:44 pm    Post subject: Reply with quote

Ah. They added that since I last sync'd.

What happens when you run:

Code:
/usr/bin/xml2-config --libs
/usr/bin/xml2-config --version


I'm running 2.5.6 and it compiled for me.
Back to top
View user's profile Send private message
qnx
l33t
l33t


Joined: 25 Jun 2002
Posts: 638
Location: Göteborg, Sweden

PostPosted: Sun Aug 24, 2003 6:19 am    Post subject: Reply with quote

Morrning... =) Well, here's what happens:
Code:
jacob@qnx jacob $ /usr/bin/xml2-config --libs
-L/usr/lib -lxml2 -lz -lpthread -lm
jacob@qnx jacob $  /usr/bin/xml2-config --version
2.5.8

How can configure claim that I have libxml2<=2.0.0?
_________________
Registred Linux user #191143!
Abit NF7-S rev. 2.00 (BIOS v. 2.7)
AMD AthlonXP 2500+ (Barton)
PATA Seagate ST3120022A
SATA Seagate ST3200822AS & Silicon Image 3112 chipset
Gentoo Linux :)
Back to top
View user's profile Send private message
jrz
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 272
Location: Sacramento, CA USA

PostPosted: Sun Aug 24, 2003 8:32 am    Post subject: Reply with quote

unmerge then remerge maybe?
_________________
Press F1 for Help.
Back to top
View user's profile Send private message
Ox-
Guru
Guru


Joined: 19 Jun 2003
Posts: 305

PostPosted: Sun Aug 24, 2003 10:51 am    Post subject: Reply with quote

Code:
checking for xml2-config... /usr/bin/xml2-config
checking for libxml - version >= 2.0.0... no
configure: error: libxml2 must be installed.

Well, I'm no portage expert, but what do you get when you manually run:
Code:
xml2-config --version

The output you get seems strange, because the ebuild is asking for >=libxml2-2.4.22. It must be something econf is doing.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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