LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fail on libxml2 make (https://www.linuxquestions.org/questions/linux-newbie-8/fail-on-libxml2-make-722279/)

planetplosion 04-28-2009 11:54 AM

fail on libxml2 make
 
In function 'open',
inlined from 'xmlNanoHTTPSave' at nanohttp.c:1578:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [nanohttp.lo] Error 1
make[2]: Leaving directory `/home/brady/Desktop/libxml2-2.6.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brady/Desktop/libxml2-2.6.8'
make: *** [all] Error 2

Any ideas?

knudfl 04-29-2009 09:50 AM

'libxml2' is probably already installed, version 2.6.32 ?

You may need 'libxml2-dev' . Install it with Synaptic or
'sudo apt-get install libxml2-dev'

And don't try to compile a different version, will just
mess up things.
.....
Again : Never try to build "system files" which can be
installed with the package manager.
.....
Also try out this command : apt-cache search libxml2
to know, what is available.
.....


All times are GMT -5. The time now is 06:46 AM.