[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Loads of errors compiling/using LuaGnome and LuaGL
- From: HyperHacker <hyperhacker@...>
- Date: Sat, 23 Jul 2011 21:38:12 -0600
I've compiled and used both of these before on an x86 system without
much trouble, but on my x64 machine I can't get anywhere with either.
Various modules of LuaGnome fail to compile, and then the library won't load:
$ make gdk
build/linux-amd64/gdk/types.xml
build/linux-amd64/gdk/link.h
build/linux-amd64/gdk/init.o
build/linux-amd64/gdk/functions.txt
lua: script/parse-xml.lua:231: assertion failed!
stack traceback:
[C]: in function 'assert'
script/parse-xml.lua:231: in function 'analyze_functions'
script/parse-xml.lua:601: in main chunk
[C]: ?
make[1]: *** [build/linux-amd64/gdk/functions.txt] Error 1
make: *** [gdk] Error 2
This, I (possibly) fixed by changing script/parse-xml.lua around line 230:
if config.lib.aliases then
for to, from in pairs(config.lib.aliases) do
--assert(xml.funclist[from])
--assert(not xml.funclist[to])
if xml.funclist[from] and not xml.funclist[to] then
function_list[#function_list + 1] = to
xml.funclist[to] = from
_function_analyze(from)
end
end
end
$ make gnet
build/linux-amd64/gnet/types.xml
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/gnet-2.0/gnet.h:24,
from tmpfile.c:1:
/usr/include/glib-2.0/glib/gtypes.h:34:24: error: glibconfig.h: No
such file or directory
/usr/include/glib-2.0/glib/gtypes.h:416:2: error: #error unknown ENDIAN type
<snip huge chain of resulting errors>
Your Gtk Version is 2.24.4
Version 2.24.4-linux-amd64 not supported; can't download.
script/make-xml.lua failed. The C file content is:
#include <gnet.h>
make[1]: *** [build/linux-amd64/gnet/types.xml] Error 1
make: *** [gnet] Error 2
$ make gtkhtml
script/Makefile.common:56: The module gtkhtml is not buildable.
> require('gtk')
[LuaGnome] Can't load dynamic library /usr/lib/libgobject-2.0.so.0
[LuaGnome] Can't load dynamic library /usr/lib/libgmodule-2.0.so.0
[LuaGnome] Can't load dynamic library /usr/lib/libgthread-2.0.so.0
[LuaGnome] symbol g_assertion_message not found in dynamic library.
[LuaGnome] symbol g_boxed_type_register_static not found in dynamic library.
[LuaGnome] symbol g_enum_get_value not found in dynamic library.
[LuaGnome] symbol g_flags_get_first_value not found in dynamic library.
[LuaGnome] symbol g_free not found in dynamic library.
[LuaGnome] symbol g_malloc not found in dynamic library.
[LuaGnome] symbol g_strdup not found in dynamic library.
[LuaGnome] symbol g_mem_gc_friendly not found in dynamic library.
[LuaGnome] symbol g_mem_profile not found in dynamic library.
[LuaGnome] symbol g_mem_set_vtable not found in dynamic library.
[LuaGnome] symbol g_object_is_floating not found in dynamic library.
[LuaGnome] symbol g_object_ref_sink not found in dynamic library.
[LuaGnome] symbol g_realloc not found in dynamic library.
[LuaGnome] symbol g_slice_alloc not found in dynamic library.
[LuaGnome] symbol g_slice_alloc0 not found in dynamic library.
[LuaGnome] symbol g_slice_free1 not found in dynamic library.
[LuaGnome] symbol g_slice_set_config not found in dynamic library.
[LuaGnome] symbol g_type_check_value not found in dynamic library.
[LuaGnome] symbol g_type_class_peek not found in dynamic library.
[LuaGnome] symbol g_type_class_ref not found in dynamic library.
[LuaGnome] symbol g_type_class_unref not found in dynamic library.
[LuaGnome] symbol g_type_from_name not found in dynamic library.
[LuaGnome] symbol g_type_fundamental not found in dynamic library.
[LuaGnome] symbol g_type_init not found in dynamic library.
[LuaGnome] symbol g_type_interface_peek not found in dynamic library.
[LuaGnome] symbol g_type_interfaces not found in dynamic library.
[LuaGnome] symbol g_type_is_a not found in dynamic library.
[LuaGnome] symbol g_type_name not found in dynamic library.
[LuaGnome] symbol g_type_parent not found in dynamic library.
[LuaGnome] symbol g_value_init not found in dynamic library.
[LuaGnome] symbol g_value_unset not found in dynamic library.
[LuaGnome] symbol g_log_set_default_handler not found in dynamic library.
[LuaGnome] symbol glib_mem_profiler_table not found in dynamic library.
[LuaGnome] ERROR - an unavailable function was called.
LuaGL compiles and loads, but all constants (e.g. gl.PROJECTION) are
missing. Only the functions remain.
--
Sent from my toaster.