LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   compile error (https://www.linuxquestions.org/questions/linux-newbie-8/compile-error-197649/)

genesis12 06-25-2004 11:58 AM

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!

nhs 06-25-2004 12:30 PM

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.

Mara 06-25-2004 12:31 PM

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


All times are GMT -5. The time now is 11:00 AM.