LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-24-2005, 03:32 AM   #1
g-string 3
Member
 
Registered: Aug 2004
Location: Germany
Distribution: Sarge
Posts: 153

Rep: Reputation: 30
installation problems with libxml2-2.2.66.tar.gz and libxml2-devel2-2.6.20-3.tar.gz


hello,
i need to have libxml 2.2.66 and libxml-devel installed. I want to have built it from sources.
My machine compiles, makes and make install the 2.2.66. So far so good.

/$ tar -xvzf libxml-devel unpacks several folders in /usr. So far so good

But when configuring "kino" afterwards the following error message appears (please have a look at the end of the message):

linux:/ # cd usr/kino-0.7.6/
linux:/usr/kino-0.7.6 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether byte ordering is bigendian... no
checking for ranlib... ranlib
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libdv/dv.h usability... yes
checking libdv/dv.h presence... yes
checking for libdv/dv.h... yes
checking for tan in -lm... yes
checking for dv_is_normal_speed in -ldv... yes
checking libraw1394/raw1394.h usability... yes
checking libraw1394/raw1394.h presence... yes
checking for libraw1394/raw1394.h... yes
checking for raw1394_new_handle in -lraw1394... yes
checking libavc1394/avc1394.h usability... yes
checking libavc1394/avc1394.h presence... yes
checking for libavc1394/avc1394.h... yes
checking for avc1394_vcr_record in -lavc1394... yes
checking libavc1394/rom1394.h usability... yes
checking libavc1394/rom1394.h presence... yes
checking for libavc1394/rom1394.h... yes
checking for rom1394_get_node_type in -lrom1394... yes
checking for pthread_create in -lpthread... yes
checking for dlopen in -ldl... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Xutil.h usability... yes
checking X11/Xutil.h presence... yes
checking for X11/Xutil.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking for X11/extensions/Xvlib.h... yes
checking for X11/extensions/XShm.h... yes
checking for XInitExtension in -lXext... yes
checking for XvQueryAdaptors in -lXv... yes
checking for xml2-config... no
configure: error: Could not find xml2-config. Check that you have libxml2-devel installed
linux:/usr/kino-0.7.6 #




When using the libxml2-devel-2.6.22-1.rpm it writes I do not have installed libxml2

linux:/ # rpm -i libxml2-devel-2.6.22-1.i386.rpm
warning: libxml2-devel-2.6.22-1.i386.rpm: V3 DSA signature: NOKEY, key ID de95bc1f
error: Failed dependencies:
libxml2 = 2.6.22 is needed by libxml2-devel-2.6.22-1
linux:/ #



Can someone help me?
 
Old 11-24-2005, 03:40 AM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 657

Rep: Reputation: 66
Try to start with libxml2 and only then libxml2-devel. But IMHO -devel is not
necessary if you build libraries from source... It is right for any source I
ever compiled. May be there are specific SuSe tarballs, so you should compile
them in a proper seauence.
 
Old 11-24-2005, 03:46 AM   #3
g-string 3
Member
 
Registered: Aug 2004
Location: Germany
Distribution: Sarge
Posts: 153

Original Poster
Rep: Reputation: 30
thanks for the fast reply

libxml2-2.2.66.tar.gz should be installed now ?! (configure, make, make-install worked without probs)

Nevertheless kino gives the error message (look above at post no. 1, please).


The file xml2-config evidently exists!!! It is in the folders
a) /usr/local/bin/xml2-config
and
b) /usr/libxml2-2.6.22/xml2-config
(although the links are done automatically when compiling I did it manually again --cflags and this stuff (written in the libxml2 faq))

Last edited by g-string 3; 11-24-2005 at 06:17 AM.
 
Old 11-24-2005, 03:50 AM   #4
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 657

Rep: Reputation: 66
Maybe you could find out the problem essence looking at the config.log?
 
Old 11-24-2005, 06:27 AM   #5
g-string 3
Member
 
Registered: Aug 2004
Location: Germany
Distribution: Sarge
Posts: 153

Original Poster
Rep: Reputation: 30
What to search for?
 
Old 11-24-2005, 10:02 AM   #6
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 657

Rep: Reputation: 66
In the end of the config.log must be an error report. It should contain the
exact causing of the fault.
 
Old 11-24-2005, 11:39 AM   #7
g-string 3
Member
 
Registered: Aug 2004
Location: Germany
Distribution: Sarge
Posts: 153

Original Poster
Rep: Reputation: 30
I solved the problem by setting PATH=$PATH:/usr/local/bin

thanks for your attention
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 10 02-23-2008 05:40 AM
libxml2 alternatives Ygrex Programming 4 11-10-2005 06:23 PM
Questions about libxml2!! simon_qwl Programming 2 06-30-2005 04:12 AM
libxml2 the_imax Linux - Newbie 3 03-11-2005 06:24 AM
libxml2 error bishal Linux - Software 0 11-15-2004 05:59 PM


All times are GMT -5. The time now is 08:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration