LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 11:58 AM   #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 11:59 AM.
 
Old 06-25-2004, 12: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, 12:31 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:41 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
Open Source Consulting | Domain Registration