Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-25-2004, 12:58 PM   #1
LQ Newbie
Registered: Jan 2004
Distribution: mandrake 9.1
Posts: 9

Rep: Reputation: 0
Question strange compile program on Mdk 10

hi, i am trying to compile a program (otserv: on Mandrake 10.0 CE and have a problem with it. whenever i run make, it complains of incorrect includes in one of the files, such as this error:
"item.h:49:38: <libxml2/libxml/xmlmemory.h>: No such file or directory"

apparently, it looked like i was missed libxml, so i installed libxml from rpm, and I still get that error!

any ideas? thanks!

Last edited by genesis12; 06-25-2004 at 12:59 PM.
Old 06-25-2004, 01:30 PM   #2
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
The libxml rpm will install the libraries required to run a program linked to libxml however it won't install the header files required to build a program which makes use of libxml. For that you need the -devel package which should have a very similar name to the package which you already installed.
Old 06-25-2004, 01:31 PM   #3
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,683

Rep: Reputation: 219Reputation: 219Reputation: 219
Install also libxml(2)-devel (package with headers and other files needed when compiling a program that uses the library).


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
Compile Error Renegade498 Linux - General 3 03-24-2005 08:50 PM
compile error... apenguinlinux Programming 0 02-07-2005 06:06 AM
compile error usa1234 Linux - Software 1 10-20-2004 02:53 AM
compile error: #error unknown processor family kmack2001 Linux - Newbie 0 02-14-2004 12:52 PM
Alsa compile error, and a WINE error scheidel21 Linux - Software 1 12-08-2003 09:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:25 PM.

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