[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OOo_2.0.0rc3_src compilation Error



On 1/12/06, Dilip Gautam <dilipgtm@gmail.com> wrote:
>  Although I have libxml2-dev_2.6.22-2_i386.deb installed in the system, the
> --with-system-libxml option gives me the following warning

libxml2-dev_2.6.22-2 should be fine. I just checked with pkg-config on a
system with that version.

$ dpkg -l libxml2-dev|grep libxml2-dev
ii  libxml2-dev    2.6.22-2       Development files for the GNOME XML library

>  checking for libxml-2.0>=2.0 ... Package libxml-2.0 was not found int the
> pkg-config search path. Perhaps you should add the directory containing
> libxml-2.0.pc to the PKG_CONFIG_PATH environment variable.
>
>  But dpkg-query -L |grep libxml didn't indicated an libxml-2.0.pc file
> although libxml-2.0.so was present in /usr/lib

I have no libxml-2.0.so, but /usr/lib/libxml2.so, /usr/lib/libxml2.so.2.6.22,
/usr/lib/libxml2.so.2. The first is (as usual) from libxml2-dev, the other two
from the libxml2 package.

This is the important file (for pkg-config):

$ dpkg -L libxml2-dev|grep pc
/usr/lib/pkgconfig/libxml-2.0.pc

>  I set the environment variable PKG_CONFIG_PATH to /usr/lib
>
>  But still the same error persists.

It should work with and without PKG_CONFIG_PATH=/usr/lib

>  Should I reinstall libxml2-dev, if yes please send me a link to the debian
> package (since debian package says "packages.debian.org is down at the
> moment due to performance issues")

I don't know what the problem is, sorry. Can't tell if a reinstall would help.

>  Here is the configuration that I used to compile OOo_2.0.0rc3_src

>  ./configure --with-lang="en-GB ne" --with-dict=ENGB,NENP
> --with-jdk-home="/usr/local/src/j2sdk1.4.2_02"
> --disable-gnome-vfs --disable-gtk --disable-mozilla --with-system-libxml
>
>  Is there any harm in diabling gnome-vfs, gtk and mozilla?

There should be no problem with these options.

If you can't get --with-system-libxml to work, you can try the patch
from the bug
report that I mailed earlier.

HTH,

Martin

Reply to: