libxml

BlitzMax Forums/Brucey's Modules/libxml

Cruis.In(Posted 2013) [#1]
Hey Brucey, I am getting an issue compiling libxml on Ubuntu 13.04

Any help. It just hangs blitzmax on "nano" files.


Brucey(Posted 2013) [#2]
Hard to say what might be the problem with your build.
I have 64-bit Xubuntu 13.04, and it is building fine here :
$ ./bmk -v
bmk 2.15 mt-linux-x86 / gcc 40703 (cpu x4)




Cruis.In(Posted 2013) [#3]
I am using the build modules from blitz.

How would I get the commandline bmk to work?


Brucey(Posted 2013) [#4]
You can run bmk from the BlitzMax/bin directory, but you shouldn't really need to - although it is useful if you want to do a full build of a particular module, rather than a full build of all of them.

Open a terminal/console, and navigate your way to your BlitzMax/bin directory.

Then you can run :
./bmk makemods -a bah.libxml

which will attempt to rebuild the module.

Please post any errors you get from the build, here.


Cruis.In(Posted 2013) [#5]
Hi Brucey, as soon as I am home I will. Unfortunately it was just hanging before, no error message.


Cruis.In(Posted 2013) [#6]
Hi Brucey I downloaded the latest version 2.0 it is compiling properly now no hanging on nano file

however, it has a missing source file...

This is the source in glue.cpp

#include "libxml/entities.h"
#include "libxml/tree.h"
#include "libxml/uri.h"
#include "libxml/valid.h"
#include "libxml/xinclude.h"
#include "libxml/xmlreader.h"
#include "libxml/xpath.h"
#include "libxml/xpathinternals.h"
#include "libxml/xpointer.h"

It stopped compiling and stated xpathinternals.h is missing, surely on checking the directory xpathinternals.h is missing... :(


Cruis.In(Posted 2013) [#7]
Hi Brucey, I realise that file IS in the folder src/libxml however it is spelled xpathInternals.h

and the source there is looking for xpathinternals

the case sensitive issue caused it not to find the file, so libxml compiled now.

:)

How come this didn't show up before?