[<<][pool][>>][..]
Mon Sep 22 01:34:49 CEST 2008

installing fluxus

same old...

tom@zzz:~/fluxus-0.15rc3$ scons
scons: Reading SConscript files ...
--------------------------------------------------------
Fluxus: Configuring Build Environment
--------------------------------------------------------
Checking for C library m... yes
Checking for C library pthread... yes
Checking for C library dl... yes
Checking for C library mzscheme3m... no
ERROR: 'mzscheme3m' must be installed!


The problem seems to be the lack of shared libraries.  The normal
binary distribution does not come with shared libs.

Then I run into another problem with 4.1.0.3 and 4.0.1


To: Fluxus-request@lists.pawfal.org


Hello,

Looks like there are changes that prevent fluxus-0.15rc3 to build with
PLT Scheme 4.1.0.3.  The function seems to be replaced with
'scheme_set_primordial_stack_base'.

g++ -o src/main.o -c -ggdb -pipe -Wall -O3 -ffast-math -Wno-unused -fPIC -DFLUXUS_MAJOR_VERSION=0
-DFLUXUS_MINOR_VERSION=15 -DCOLLECTS_LOCATION="\"/usr/local/lib/plt/collects/"\"
-DDATA_LOCATION="\"/usr/local/share/fluxus-015"\" -DGLSL -DMZ_PRECISE_GC -D__LINUX_ALSASEQ__
-I/usr/local/include -I/usr/include -I/usr/local/include/freetype2 -I/usr/include/freetype2
-I/usr/local/include/plt -I/home/tom/libfluxus/src src/main.cpp
src/main.cpp: In function 'int main(int, char**)':
src/main.cpp:181: error: 'scheme_set_stack_base' was not declared in this scope
scons: *** [src/main.o] Error 1
scons: building terminated because of errors.

Cheers,
Tom


Allo again,

Some other build problems with g++ --version
g++ (Debian 4.3.1-9) 4.3.1
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


* added #include<string.h> (memcpy,memset,strlen)
fluxa/src/JackClient.cpp
fluxa/src/OSCServer.cpp
libfluxus/src/dada.h
libfluxus/src/Utils.cpp
modules/fluxus-audio/src/AudioCollector.cpp
modules/fluxus-audio/src/JackClient.cpp
modules/fluxus-osc/src/OSCServer.cpp

* added #include<stdlib.h> in
libfluxus/src/PNGLoader.cpp (malloc,free)
libfluxus/src/dada.cpp (rand)
libfluxus/src/OBJPrimitiveIO.cpp (atof)

libfluxus/src/PDataContainer.h: In member function 'std::vector<T, std::allocator<_Tp1> >* Fluxus::PDataContainer::GetDataVec(const std::string&)':
libfluxus/src/PDataContainer.h:144: error: must #include <typeinfo> before using typeid

libfluxus/src/PDataContainer.h
libfluxus/src/PDataArithmetic.h


* scons failed to detect the absence of libasound-dev

* finding PLT Scheme

I saw the plt path is hardcoded.. This can be easily autodetected.
There's a config module that tells you the paths:
http://docs.plt-scheme.org/config/index.html

As long as the mzscheme binary is in the path, this could be used in SConstruct as:
mzscheme -e '(require config)(display (path->string (force lib-dir)))'


When I run it now (built with 4.1.0.3 with the 'primordial' change),
it segfaults.  Looks like the meaning of that function changed with
its name..


tom@zzz:~/fluxus-0.15rc3$ gdb ./fluxus
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) r
Starting program: /data/home/tom/fluxus-0.15rc3/fluxus
[Thread debugging using libthread_db enabled]
[New Thread 0xb72c16c0 (LWP 14649)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb72c16c0 (LWP 14649)]
update_want_level (logger=<value optimized out>) at xsrc/error.c:2755
2755	      parent -> want_level = want_level ;
Current language:  auto; currently c
(gdb) bt
#0  update_want_level (logger=<value optimized out>) at xsrc/error.c:2755
#1  0xb7c80301 in scheme_log_message (logger=0x0, level=4,
    buffer=0xb71c0008 "GC [minor] at 1533896 bytes; 645988 collected in 20 msec", len=56, data=0x0)
    at xsrc/error.c:2796
#2  0xb7c803ea in scheme_log (logger=0xb714cce0, level=4, flags=0,
    msg=0xb7e03300 "GC [%s] at %ld bytes; %ld collected in %ld msec") at xsrc/error.c:796
#3  0xb7db9eaa in inform_GC (major_gc=0, pre_used=1533896, post_used=887908) at xsrc/thread.c:7589
#4  0xb7dd7a5a in garbage_collect (force_full=<value optimized out>) at ./newgc.c:3187
#5  0xb7dda2e4 in GC_malloc_atomic (s=256) at ./newgc.c:532
#6  0xb7c87bd5 in clearing_stack_push (vc=0xb72bfea8, pos=12, val=1) at xsrc/eval.c:11307
#7  0xb7c91980 in scheme_validate_expr (port=0xb714d238, expr=0x80c9b60, stack=0xb71be670 "",
    tls=0xb71b5950, depth=20, letlimit=12, delta=5, num_toplevels=43, num_stxes=5, num_lifts=8,
    app_rator=0x80cf1f8, proc_with_refs_ok=2, result_ignored=0, vc=0xb714d208, tailpos=0)
    at xsrc/eval.c:11829
#8  0xb7c90ad3 in scheme_validate_expr (port=0xb714d238, expr=0xb714d280, stack=0xb71be670 "",
    tls=0xb71b5950, depth=20, letlimit=12, delta=5, num_toplevels=43, num_stxes=5, num_lifts=8,
    app_rator=0xb71be688, proc_with_refs_ok=3, result_ignored=0, vc=0xb714d208, tailpos=0)
    at xsrc/eval.c:11938
#9  0xb7c90b43 in scheme_validate_expr (port=0xb714d238, expr=0xb714d298, stack=0xb71be670 "",
    tls=0xb71b5950, depth=20, letlimit=12, delta=7, num_toplevels=43, num_stxes=5, num_lifts=8,
    app_rator=0x80cf1d8, proc_with_refs_ok=3, result_ignored=0, vc=0xb714d208, tailpos=0)
    at xsrc/eval.c:11939
#10 0xb7c90b43 in scheme_validate_expr (port=0xb714d238, expr=0xb714d2b0, stack=0xb71be670 "",
    tls=0xb71b5950, depth=20, letlimit=12, delta=9, num_toplevels=43, num_stxes=5, num_lifts=8,
    app_rator=0x0, proc_with_refs_ok=0, result_ignored=0, vc=0xb714d208, tailpos=0) at xsrc/eval.c:11939
#11 0xb7c90d1f in scheme_validate_expr (port=0xb714d238, expr=0xb72b2a10, stack=0xb71be670 "",
    tls=0xb71b5950, depth=20, letlimit=12, delta=12, num_toplevels=43, num_stxes=5, num_lifts=8,
    app_rator=0x0, proc_with_refs_ok=0, result_ignored=0, vc=0xb714d208, tailpos=0) at xsrc/eval.c:11973
#12 0xb7c90b43 in scheme_validate_expr (port=0xb714d238, expr=0xb714d2e0, stack=0xb71be670 "",
    tls=0xb71b5950, depth=20, letlimit=17, delta=14, num_toplevels=43, num_stxes=5, num_lifts=8,
    app_rator=0x0, proc_with_refs_ok=0, result_ignored=0, vc=0xb714d208, tailpos=1) at xsrc/eval.c:11939
#13 0xb7c90d1f in scheme_validate_expr (port=0xb714d238, expr=0xb72b36b8, stack=0xb71be670 "",
    tls=0xb71b5950, depth=20, letlimit=17, delta=17, num_toplevels=43, num_stxes=5, num_lifts=8,
    app_rator=0x0, proc_with_refs_ok=0, result_ignored=0, vc=0xb714d208, tailpos=1) at xsrc/eval.c:11973
#14 0xb7c91df2 in scheme_validate_closure (port=0xb729f520, expr=0x0, closure_stack=0xb72bfe88 "\003",
    tls=0xb72bc258, num_toplevels=43, num_stxes=5, num_lifts=8, self_pos_in_closure=-1)
    at xsrc/eval.c:11575
---Type <return> to continue, or q <return> to quit---
#15 0xb7c9207d in validate_unclosed_procedure (port=0xb729f520, expr=0xb72baa18,
    stack=0xb72bc248 "\230æ\033·", tls=0xb72bc258, depth=9, delta=8, num_toplevels=43, num_stxes=5,
    num_lifts=8, app_rator=0x0, proc_with_refs_ok=0, self_pos=-1) at xsrc/eval.c:11661
#16 0xb7c90e0d in scheme_validate_expr (port=0xb714d238, expr=0xb72baa18, stack=0xb71be698 "",
    tls=0xb71b5950, depth=9, letlimit=8, delta=8, num_toplevels=43, num_stxes=5, num_lifts=8,
    app_rator=0x0, proc_with_refs_ok=0, result_ignored=0, vc=0xb714d338, tailpos=0) at xsrc/eval.c:12022
#17 0xb7db349c in define_values_validate (data=0xb72ba970, port=0xb729f520,
    stack=0xb72bc248 "\230æ\033·", tls=0xb714cce0, depth=9, letlimit=8, delta=8, num_toplevels=43,
    num_stxes=5, num_lifts=8, vc=0xb72bc280, tailpos=1) at xsrc/syntax.c:903
#18 0xb7c91246 in scheme_validate_expr (port=0xb714d238, expr=0xb72baa90, stack=0xb71be698 "",
    tls=0xb71b5950, depth=9, letlimit=8, delta=8, num_toplevels=43, num_stxes=5, num_lifts=8,
    app_rator=0x0, proc_with_refs_ok=0, result_ignored=0, vc=0xb714d338, tailpos=1) at xsrc/eval.c:11889
#19 0xb7c923c7 in scheme_validate_code (port=0xb714d238, code=0xb714cce0, depth=9, num_toplevels=43,
    num_stxes=5, num_lifts=8, code_vec=1) at xsrc/eval.c:11385
#20 0xb7d0b3ea in module_validate (data=0xb714d428, port=0xb714d238, stack=0xb72bc210 "¨æ\033·",
    tls=0xb7f24358, depth=1, letlimit=0, delta=0, num_toplevels=1, num_stxes=0, num_lifts=0,
    vc=0xb72bc218, tailpos=1) at xsrc/module.c:4937
#21 0xb7c91246 in scheme_validate_expr (port=0xb714d238, expr=0xb72bc1e8, stack=0xb71be6a8 "\003",
    tls=0xb7f24358, depth=1, letlimit=0, delta=0, num_toplevels=1, num_stxes=0, num_lifts=0,
    app_rator=0x0, proc_with_refs_ok=0, result_ignored=0, vc=0xb714d4b8, tailpos=1) at xsrc/eval.c:11889
#22 0xb7c92456 in scheme_validate_code (port=0xb729f520, code=0xb72bc1e8, depth=1, num_toplevels=1,
    num_stxes=0, num_lifts=0, code_vec=0) at xsrc/eval.c:11391
#23 0xb7d55e0f in read_inner_inner (port=0xb714d500, stxsrc=0x0, ht=0xb71b5980, indentation=0xb7f3d714,
    params=0xbf8c3020, comment_mode=2, pre_char=-1, table=0x0) at xsrc/read.c:5314
#24 0xb7d52820 in _scheme_internal_read (port=0xb714d500, stxsrc=0x0, crc=1, cant_fail=0, honu_mode=0,
    recur=0, expose_comment=0, extra_char=-1, init_readtable=0x0, magic_sym=0x0, magic_val=0x0,
    delay_load_info=0xb7f25638) at xsrc/read.c:2118
#25 0xb7d5e258 in scheme_internal_read_k () at xsrc/read.c:2176
#26 0xb7cbab83 in scheme_top_level_do_worker (k=0xb7d5e170 <scheme_internal_read_k>, eb=0,
    new_thread=0, dyn_state=0x0) at xsrc/fun.c:1832
#27 0xb7cbb4a4 in scheme_top_level_do (k=0xb7d5e170 <scheme_internal_read_k>, eb=0) at xsrc/fun.c:1737
#28 0xb7d52bc3 in scheme_internal_read (port=0xb7217fa0, stxsrc=0x0, crc=1, cantfail=0, honu_mode=0,
    recur=0, expose_comment=0, pre_char=-1, init_readtable=0x0, magic_sym=0x0, magic_val=0x0,
    delay_load_info=0x0) at xsrc/read.c:2210
#29 0xb7d3ecb6 in do_read_f (who=0xb7deeba7 "read", argc=1, argv=0xb7f68fa8, honu_mode=0, recur=0)
    at xsrc/portfun.c:2897
#30 0x080d8cd4 in ?? ()
---Type <return> to continue, or q <return> to quit---
#31 0x00000000 in ?? ()



[Reply][About]
[<<][pool][>>][..]