building libxml on linux ubuntu

BlitzMax Forums/Brucey's Modules/building libxml on linux ubuntu

Firstdeathmaker(Posted 2009) [#1]
Hi,

Im using libxml in one of my games, and now that I tried to compile it with linux I got the problem, that I cant build libxml on linux. It works fine on Mac and Windows XP, but on Ubuntu I get following error-message:

Building Modules
Compiling:SAX.c
Compiling:entities.c
Compiling:encoding.c
Compiling:error.c
Compiling:parserInternals.c
Compiling:parser.c
Compiling:tree.c
Compiling:hash.c
Compiling:list.c
Compiling:xmlIO.c
Compiling:xmlmemory.c
Compiling:uri.c
Compiling:valid.c
Compiling:xlink.c
Compiling:HTMLparser.c
Compiling:HTMLtree.c
Compiling:debugXML.c
Compiling:xpath.c
Compiling:xpointer.c
Compiling:xinclude.c
Compiling:nanohttp.c
In Funktion »open«,
eingefügt von »xmlNanoHTTPSave« bei /home/firstdeathmaker/programme/blitzmax/mod/bah.mod/libxml.mod/src/nanohttp.c:1586:
/usr/include/bits/fcntl2.h:51: Fehler: Aufruf von »__open_missing_mode« mit Attributfehler deklariert: open with O_CREAT in second argument needs 3 arguments
Build Error: failed to compile /home/firstdeathmaker/programme/blitzmax/mod/bah.mod/libxml.mod/src/nanohttp.c
Process complete




Brucey(Posted 2009) [#2]
Ah. Yes, you probably want to be using the "SVN" version of the module instead.

Or, I really need to release an updated release which includes the fix.


Firstdeathmaker(Posted 2009) [#3]
Stupid question, but where do I get the SVN-Version? Thought svn support was shut down since the last crash of blitzbasic.com?

Edit: found it.


Brucey(Posted 2009) [#4]
The latest "release" should also fix this issue now.