lua-users home
lua-l archive

Re: luaxml

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Chris Datfung once stated:
> On Tue, Oct 15, 2013 at 7:50 PM, Luiz Henrique de Figueiredo <
> lhf@tecgraf.puc-rio.br> wrote:
> 
> > > Thanks, when I load luaxml, lua complains that its missing the
> > > LuaXML_lib.lua file, but I don't see that file in the zip package:
> > > root@lab:/usr/local/src/luaxml# ls
> > > lua51.dll LuaXml.cdr LuaXML_lib.dll LuaXml.lua Makefile test.lua
> > > lua.exe LuaXML_lib.c LuaXML_lib.o LuaXml.png readme.txt test.xml
> >
> > Lua is trying to load either LuaXML_lib.lua or LuaXML_lib.so.
> > You have LuaXML_lib.dll. Are you mixing platforms?
> >
> >
> I didn't see any package special for *nix. Is there another package I
> should download or does luaxml only work on MS Windows systems?
 No, I'm using it successfully on Linux and Solaris, but due to the project
I'm using it for [1], I reworked the Makefile, as it fails on a 64 bit Linux
system. The following command line:
	gcc -shared -fPIC -o LuaXML_lib.so LuaXML_lib.c
should get you going with a usable .so file. 
 -spc
[1]	At work, I embedded that module, along with a bunch of others, into
	a custom Lua interpreter.

AltStyle によって変換されたページ (->オリジナル) /