|
From: LRN <lr...@gm...> - 2011-05-06 09:02:36
|
On 06.05.2011 11:31, tal - טל hadad - חדד wrote: > Thanks. It is successfully installed now.(is it? see next lines) > I had the latest zlib, the problem was I didn't have "libtool"(I didn't know I need this) so this solve my problem. BTW: I'm 32 bit. > Now I said that there still a problem. The real reason I installed libxml2 is because I need GStreamer0.10 and this is depended on it. > So when I'm in "gstreamer-0.10.32" source tarball directory, I entered this line "./configure --prefix=/usr" and it tells me: > > ..... > checking for XML... no > no > configure: error: > Need libxml2 and development headers/files to build GStreamer. > > You can do without libxml2 if you pass --disable-loadsave to > configure, but that breaks ABI, so don't do that unless you > are building for an embedded setup and know what you are doing. > > > ^?@TAL-WINDOWS /src/gstreamer-0.10.32 > $ > > But I DID install libxml2 to /usr(the root) by "./config --prefix=/usr" as you told me above, and the file "/lib/pkgconfig/libxml-2.0.pc" does exist! Most likely you have a problem with pkg-config. Where is it installed? On Windows it automatically groks .pc files from <pkg-config.exe directory>/../lib/pkgconfig/ If pkg-config is not in /bin/, it will not find /lib/pkgconfig/ by itself, you'd have to add that directory to PKG_CONFIG_PATH when running configure |