[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[2]: Problem compiling commonc++ 1.9.7
From: |
Pierre |
Subject: |
Re: Re[2]: Problem compiling commonc++ 1.9.7 |
Date: |
Wed, 3 Apr 2002 18:00:19 +0200 |
On 2002.04.03 10:08 Pavel Tsekov wrote:
Hello Pierre,
Please, keep posting to the list - I read it as do many other
people...
ok sorry
Tuesday, April 02, 2002, 10:44:05 PM, you wrote:
[snip]
>> Well, it seems like you have some other xml parsing library than
the
>> one expected by CommonC++, or you don't have any at all :)
P> I only have libxml2-2.4.19
>> This means either that the configure script doesn't detect properly
>> the presence
>> of a xml library or that you specified manually the
>> -I/usr/local/include/libxml2
>> when invoking the configure script and this folder doesn't contain
the
>> include files necessary to compile xml.cpp.
P> I don't specified manually anything :)
P> But I can send you my config.log if you want.
A good idea :)
Ok I attach it to this mail.
P> The file parser.h on my system is at
P> /usr/local/include/libxml2/libxml/parser.h
Well, obviously the configure script doesn't detect properly where the
include files for the xml library are located.... I tried to
understand what exactly does configure do to detect the xml library
but with no success - I'm not good at shell scripting :( Still I
undestand that it uses an environment variable to allow the user to
pass custom setting - XML2_CONFIG i think... Maybe you have this one
set ?
No, i have no environnement variable like this.
But i think that you have to use the pkg-config command :
# pkg-config xml2 --cflags -I/usr/local/include/libxml2
You set this to a variable for ex. VAR and then you add $(VAR)/libxml
to the includes path.
>>
>> However if you don't need xml support at all you can pass the
>> --without-xml option to the configure script and the compilation
will
>> just skip over xml.cpp.
>>
P> Yes it's a solution too, but it's better if it can compile with xml
no ?
Well, it depends if you need this functionality i think :)
Yes :)
Pierre.
config.log
Description: Binary data