LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-25-2004, 12:58 PM   #1
genesis12
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: http://sourceforge.net/projects/opentibia/) 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
nhs
Member
 
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
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

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


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
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


All times are GMT -5. The time now is 01:16 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration