[Lumiera] Building Lumiera on a 64-bit system?

Ichthyostega prg at ichthyostega.de
Thu Sep 22 19:23:00 CEST 2011


Am 22.09.2011 17:18, schrieb Stefan Kangas:
> Please find attached a transcript of the build process.

thanks, looks OK-ish at first glance.

on my system I get:

hiv at flaucher:~/devel/lumi$ file target/lumiera
target/lumiera: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped


hiv at flaucher:~/devel/lumi$ file target/try
target/try: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.18, not stripped


Could you please verify that you get also an 32-bit executable for target/try ?

Because then we could concentrate on that one, which will reduce complexity.
This small program is used to be able to "try out" something quickly. The
source is in src/tool/try.cpp, the build is controlled by the rule in
src/tool/SConsscript:

 # build additional test and administrative tools....
 artifacts['tools'] = [ env.Program('hello-world','hello.c', install=True)
                      + env.Program('try', ['try.cpp'] + support_lib)
                      + luidgen
                      + rsvg
                      ]

Relevant for our purpose is just the env.Program('try' ...) call.
Here you see, that currently target/try will also be linked against
the lumiera support_lib.

In your transcript, this rule has generated the following two lines:

g++ -o src/tool/try.o -c -Wall -Wextra -ggdb -pthread -DHAVE_PTHREAD
-DHAVE_EXECINFO_H -DHAVE_VALGRIND_H -DLUMIERA_VERSION=0.pre.01 -DEBUG_ALPHA
-D_GNU_SOURCE -DDEBUG -DLUMIERA_PLUGIN_PATH=\"ORIGIN/modules\"
-DLUMIERA_CONFIG_PATH=\"//usr/local/share/lumiera/:.\" -Isrc
-I/usr/local/include src/tool/try.cpp

g++ -o target/try -pthread -Wl,-rpath=\$ORIGIN/modules,--enable-new-dtags
src/tool/try.o target/modules/liblumiera.so -L/usr/local/lib -lm -ldl -lpthread
-lnobugmt -lboost_program_options-mt -lboost_filesystem-mt -lboost_regex-mt -lgavl


Thus:
 - if target/try is also built as 32bit executable on your system, we can
   concentrate on those two command lines
 - otherwise, we'll check the difference to the lumiera exe link comdline

Cheers,
Hermann



PS: btw, what distro/version are you building on? Is that basically an 64bit
system, or some mixed setup with 32bit compatibility? (guess the latter)



More information about the Lumiera mailing list