Scott Wheeler
Atte André Jensen wrote:
Compiling a program from source is not that tricky, but compared with synaptic it's "linux admin", I agree. So either one sticks with the software available through synaptic or one learns to compile from source.
I simply tried to help you understand, in a more general way, how to compile a piece of software, so that you'll know what to do next time you need to.
Actually this is all getting kind of silly. The reason that ChucK is hard to compile is that unlike almost all other pieces of software on Linux, it doesn't use autoconf (or similar) to provide a configure script that first checks for dependencies. I'd be willing to set that up for ChucK, but only if I was sure that it'd go into the official version. Otherwise it's not worth wasting the time.
-Scott
Hello Scott, Would an autoconf-based build solve the problems with 64-bit architectures? I was able to compile chuck and its dependencies on x86_64 fine but it has issues with primitives (among other things) at runtime $ chuck -s type_primitives.ck 0.000000 :(int) 0.000000 :(int) 0.000000 :(int) 0.000000 :(float) 0.000000 :(dur) 0.000000 :(time) 0.000000 :(string) 480000.000000 :(time) *** glibc detected *** chuck: double free or corruption (!prev): 0x0000000000a02680 *** ======= Backtrace: ========= /lib/libc.so.6[0x2ab67cf9caad] /lib/libc.so.6(cfree+0x76)[0x2ab67cf9e796] chuck[0x40d1dd] chuck[0x40d289] chuck[0x410adb] chuck[0x40dc7c] chuck[0x40deb2] chuck[0x40f58b] chuck[0x455e4e] /lib/libc.so.6(__libc_start_main+0xf4)[0x2ab67cf4db74] chuck(__gxx_personality_v0+0x309)[0x407549] ======= Memory map: ======== 00400000-00533000 r-xp 00000000 08:03 9212003 /usr/bin/chuck 00732000-00733000 r--p 00132000 08:03 9212003 /usr/bin/chuck 00733000-0075a000 rw-p 00133000 08:03 9212003 /usr/bin/chuck 0075a000-00a19000 rw-p 0075a000 00:00 0 [heap] 40000000-40001000 ---p 40000000 00:00 0 40001000-40851000 rw-p 40001000 00:00 0 40851000-40852000 ---p 40851000 00:00 0 40852000-410a2000 rw-p 40852000 00:00 0 2aaaac000000-2aaaac021000 rw-p 2aaaac000000 00:00 0 2aaaac021000-2aaab0000000 ---p 2aaaac021000 00:00 0 2ab67bc52000-2ab67bc6d000 r-xp 00000000 08:03 9079390 /lib64/ld-2.6.1.so 2ab67bc6d000-2ab67bc6f000 rw-p 2ab67bc6d000 00:00 0 2ab67be6c000-2ab67be6d000 r--p 0001a000 08:03 9079390 /lib64/ld-2.6.1.so 2ab67be6d000-2ab67be6e000 rw-p 0001b000 08:03 9079390 /lib64/ld-2.6.1.so 2ab67be6e000-2ab67bf2c000 r-xp 00000000 08:03 9373285 /usr/lib64/libasound.so.2.0.0 2ab67bf2c000-2ab67c12b000 ---p 000be000 08:03 9373285 /usr/lib64/libasound.so.2.0.0 2ab67c12b000-2ab67c12e000 r--p 000bd000 08:03 9373285 /usr/lib64/libasound.so.2.0.0 2ab67c12e000-2ab67c133000 rw-p 000c0000 08:03 9373285 /usr/lib64/libasound.so.2.0.0 2ab67c133000-2ab67c143000 r-xp 00000000 08:03 9389721 /usr/lib64/libjack.so.0.0.23 2ab67c143000-2ab67c342000 ---p 00010000 08:03 9389721 /usr/lib64/libjack.so.0.0.23 2ab67c342000-2ab67c343000 r--p 0000f000 08:03 9389721 /usr/lib64/libjack.so.0.0.23 2ab67c343000-2ab67c345000 rw-p 00010000 08:03 9389721 /usr/lib64/libjack.so.0.0.23 2ab67c345000-2ab67c34d000 rw-p 2ab67c345000 00:00 0 2ab67c34d000-2ab67c42f000 r-xp 00000000 08:03 8931325 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6.0.8 2ab67c42f000-2ab67c62e000 ---p 000e2000 08:03 8931325 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6.0.8 2ab67c62e000-2ab67c635000 r--p 000e1000 08:03 8931325 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6.0.8 2ab67c635000-2ab67c637000 rw-p 000e8000 08:03 8931325 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6.0.8 2ab67c637000-2ab67c64a000 rw-p 2ab67c637000 00:00 0 2ab67c64a000-2ab67c64c000 r-xp 00000000 08:03 9079396 /lib64/libdl-2.6.1.so 2ab67c64c000-2ab67c84c000 ---p 00002000 08:03 9079396 /lib64/libdl-2.6.1.so 2ab67c84c000-2ab67c84d000 r--p 00002000 08:03 9079396 /lib64/libdl-2.6.1.so 2ab67c84d000-2ab67c84e000 rw-p 00003000 08:03 9079396 /lib64/libdl-2.6.1.so 2ab67c84e000-2ab67c89a000 r-xp 00000000 08:03 9290567 /usr/lib64/libsndfile.so.1.0.17 2ab67c89a000-2ab67ca9a000 ---p 0004c000 08:03 9290567 /usr/lib64/libsndfile.so.1.0.17 2ab67ca9a000-2ab67ca9c000 r--p 0004c000 08:03 9290567 /usr/lib64/libsndfile.so.1.0.17 2ab67ca9c000-2ab67ca9d000 rw-p 0004e000 08:03 9290567 /usr/lib64/libsndfile.so.1.0.17 2ab67ca9d000-2ab67caa1000 rw-p 2ab67ca9d000 00:00 0 2ab67caa1000-2ab67cb21000 r-xp 00000000 08:03 9077432 /lib64/libm-2.6.1.so 2ab67cb21000-2ab67cd20000 ---p 00080000 08:03 9077432 /lib64/libm-2.6.1.so 2ab67cd20000-2ab67cd21000 r--p 0007f000 08:03 9077432 /lib64/libm-2.6.1.so 2ab67cd21000-2ab67cd22000 rw-p 00080000 08:03 9077432 /lib64/libm-2.6.1.so 2ab67cd22000-2ab67cd23000 rw-p 2ab Aborted I haven't written C since college, but still might be able to help. michael