Csound Csound-dev Csound-tekno Search About

csound5 on fresh debian box

Date2006-03-08 19:53
FromAtte André Jensen
Subjectcsound5 on fresh debian box
Hi

I installed debian/stable on a blank partition. Now I'd like to install 
csound5 on top of that.

1) I tried building from cvs. But since stabillity is paramount for me I 
wonder if it would be better to stick with a released version? Is there 
a way to get the latest release (5.1?) from cvs? Anyways, I must be 
missing alot of stuff (but what?, I'd like to run in realtime with midi 
control over alsa) since:
[atte@aarhus csound5]$ cvs -z9 -d 
:pserver:anonymous@cvs.sf.net:/cvsroot/csound checkout -P csound5
[atte@aarhus csound5]$ scons usePortAudio=0 noDebug=1 buildCsoundVST=0 
gcc3opt=p
entium4
scons: Reading SConscript files ...
CONFIGURATION DECISION: Using single-precision floating point for 
audio samples.
Checking for C header file stdio.h... yes
Checking for C header file sndfile.h... yes
Checking for C header file portaudio.h... no
Checking for C header file portmidi.h... no
Checking for C++ header file FL/Fl.H... no
Checking for C++ header file boost/any.hpp... no
Checking for C header file alsa/asoundlib.h... yes
Checking for C header file jack/jack.h... no
Checking for C header file lo/lo.h... no
Checking for C++ header file Opcodes/stk/include/Stk.h... no
Checking for C header file m_pd.h... no
Checking for C header file tcl.h... no
Checking for C header file lua.h... no
Checking for SWIG... no
Checking for C header file Python.h... no
Checking for C header file /usr/include/python2.4/Python.h... no
Checking for C header file /usr/local/include/python2.4/Python.h... no
Checking for C++ header file jni.h... no
Checking for C header file io.h... no
Checking for C header file fcntl.h... yes
Checking for C header file unistd.h... yes
Checking for C header file stdint.h... yes
Checking for C header file sys/time.h... yes
Checking for C header file sys/types.h... yes
Checking for C header file termios.h... yes
Checking for C header file dirent.h... yes
Checking for libsndfile version 1.0.13 or later... failed
CONFIGURATION DECISION: Building static Csound library
sh: line 1: fltk-config: command not found
CONFIGURATION DECISION: Not building with PortMIDI.
CONFIGURATION DECISION: Not building Csound interfaces library.
CONFIGURATION DECISION: Not generating PDF documentation.
CONFIGURATION DECISION: Not building with FLTK graphs and widgets.
CONFIGURATION DECISION: Not building CoreAudio plugin.
CONFIGURATION DECISION: Building ALSA plugin.
CONFIGURATION DECISION: Not building PortAudio module.
CONFIGURATION DECISION: Not building JACK plugin.
CONFIGURATION DECISION: Not building OSC plugin.
Checking for C header file fluidsynth.h... no
CONFIGURATION DECISION: Not building fluid opcodes.
CONFIGURATION DECISION: Not building CsoundVST plugin and standalone.
Checking for C header file Opcodes/Loris/src/loris.h... no
CONFIGURATION DECISION: Not building Loris Python extension and Csound 
opcodes.
CONFIGURATION DECISION: Not building STK opcodes.
CONFIGURATION DECISION: Not building Python opcodes.
CONFIGURATION DECISION: Not building Tclcsound
CONFIGURATION DECISION: not building OSX GUI frontend
CONFIGURATION DECISION: Building DSSI plugin host opcodes.
CONFIGURATION DECISION: Not calling TAGS
CONFIGURATION DECISION: Calling makedb
CONFIGURATION DECISION: Not compiling zip file for release.
scons: done reading SConscript files.
scons: Building targets ...
gcc -Wall -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -DLINUX 
-DPIPES -
DBETA -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H 
-DHAVE_SY
S_TYPES_H -DHAVE_TERMIOS_H -DHAVE_DIRENT_H -D__BUILDING_LIBCSOUND -I. 
-IH -I/usr
/local/include -I/usr/include -I/usr/X11R6/include -c -o Top/argdecode.o 
Top/arg
decode.c
Top/argdecode.c:302: error: `SF_FORMAT_SD2' undeclared here (not in a 
function)
Top/argdecode.c:302: error: initializer element is not constant
Top/argdecode.c:302: error: (near initialization for 
`file_type_map[18].type')
Top/argdecode.c:302: error: initializer element is not constant
Top/argdecode.c:302: error: (near initialization for `file_type_map[18]')
Top/argdecode.c:306: error: initializer element is not constant
Top/argdecode.c:306: error: (near initialization for `file_type_map[19]')
scons: *** [Top/argdecode.o] Error 1
scons: building terminated because of errors.

2) I also tried installing the 5.0 binary release. I figured I needed to 
do this as root, but as myself I get:
[atte@aarhus csound5]$ csound
/usr/local/bin/csound: /usr/local/bin/csound: Permission denied
and as root:
[root@aarhus root]# csound
/usr/local/bin/csound: line 3: csound/csound: No such file or directory

---
Atte

Date2006-03-08 20:16
Fromjpff
SubjectRe: csound5 on fresh debian box

On Wed, 8 Mar 2006, Atte André Jensen wrote:

> Hi
> 
> I installed debian/stable on a blank partition. Now I'd like to install
> csound5 on top of that.
> 
> 1) I tried building from cvs. But since stabillity is paramount for me I
> wonder if it would be better to stick with a released version? Is there a way
> to get the latest release (5.1?) from cvs? Anyways, I must be missing alot of
> stuff (but what?, I'd like to run in realtime with midi control over alsa)
> since:

> sh: line 1: fltk-config: command not found

FTTK installation incomplete

....
> gcc -Wall -O3 -march=pentium4 -fomit-frame-pointer -ffast-math 
-DLINUX -DPIPES
> -
> DBETA -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
> -DHAVE_SY
> S_TYPES_H -DHAVE_TERMIOS_H -DHAVE_DIRENT_H -D__BUILDING_LIBCSOUND -I. -IH
> -I/usr
> /local/include -I/usr/include -I/usr/X11R6/include -c -o Top/argdecode.o
> Top/arg
> decode.c
> Top/argdecode.c:302: error: `SF_FORMAT_SD2' undeclared here (not in a
> function)
> Top/argdecode.c:302: error: initializer element is not constant
> Top/argdecode.c:302: error: (near initialization for `file_type_map[18].type')
> Top/argdecode.c:302: error: initializer element is not constant
> Top/argdecode.c:302: error: (near initialization for `file_type_map[18]')
> Top/argdecode.c:306: error: initializer element is not constant
> Top/argdecode.c:306: error: (near initialization for `file_type_map[19]')
> scons: *** [Top/argdecode.o] Error 1
> scons: building terminated because of errors.
> 

Too old a version of libsndfile  1.0.14 is latest


> 2) I also tried installing the 5.0 binary release. I figured I needed to do
> this as root, but as myself I get:
> [atte@aarhus csound5]$ csound
> /usr/local/bin/csound: /usr/local/bin/csound: Permission denied
> and as root:
> [root@aarhus root]# csound
> /usr/local/bin/csound: line 3: csound/csound: No such file or directory
> 

Which binary release?  .rpm or tgz?

==John

Date2006-03-09 08:28
FromAtte André Jensen
SubjectRe: csound5 on fresh debian box
jpff wrote:

> FTTK installation incomplete

> Too old a version of libsndfile  1.0.14 is latest

That's better. The current cvs segfaults on me, but the cvs grap from
dec. 28 I've been using seems to compile and run just fine. Is there a
way to get the latest release from cvs?

>> 2) I also tried installing the 5.0 binary release. I figured I
>> needed to do
> Which binary release?  .rpm or tgz?

Csound5.00-i386f.tar.gz

I ran "installer" in main folder...

-- 
peace, love & harmony
Atte

http://www.atte.dk

Date2006-03-09 09:53
FromIstvan Varga
SubjectRe: csound5 on fresh debian box
AttachmentsNone  

Date2006-03-09 10:54
FromAtte André Jensen
SubjectRe: csound5 on fresh debian box
Istvan Varga wrote:

> Actually, the required version of libsndfile is 1.0.11 or later, while
> 1.0.13 or newer is recommended to have support for loop points.

Ok.

>> Is there a way to get
>>the latest release from cvs?

> Yes, type this command:
> cvs -z9 -d :pserver:anonymous@cvs.sf.net:/cvsroot/csound checkout -r csound-5_00_0 -P csound5
> 
> Obviously, when new versions will be available, you can replace the
> csound-5_00_0 with whatever version you want to download.

Thanks, thats great!

Some of my csd's work fine with 5.0, others seems to have some 
trouble... Csound hangs on opening one of my wavefiles:
opening WAV infile /home/atte/music/soundfonts/one_night_stand.wav

Hmm. Don't have time to investigate right, now, maybe over the weekend...

> Note that even if you use the 5.00.0 tagged sources, it is recommended
> that you get install.py from the latest CVS. This script not only fixes
> errors in install.sh and scons install, but also allows clean
> uninstallation.

Hmm, I'll see if I can remember that...

> I think you should have tried the RPM first.

I never tried installing rpms on a debian system...

> Not only does it include more
> features (despite the smaller size, which is the result of all binaries in
> the .tar.gz being statically linked against the Csound library), but if it
> does not work well, you can easily and cleanly uninstall it.

I see, sounds better...

-- 
peace, love & harmony
Atte

http://www.atte.dk

Date2006-03-09 11:16
FromIstvan Varga
SubjectRe: csound5 on fresh debian box
AttachmentsNone  

Date2006-03-09 11:41
FromAtte André Jensen
SubjectRe: csound5 on fresh debian box
Istvan Varga wrote:

> Is this error specific to that WAV file ? Could you post the orc/sco/csd
> file, and possibly the WAV (privately) too if it is not too large ?

The csd is huuuge, the wav is small. Will dig in during the weekend, and 
send you a small example that *doesn't* work...

> If there is a bug, it may be worth fixing before the new 5.01 release.

Sure!

-- 
peace, love & harmony
Atte

http://www.atte.dk

Date2006-03-09 13:49
FromIstvan Varga
SubjectRe: csound5 on fresh debian box
AttachmentsNone  

Date2006-03-10 23:24
FromAtte André Jensen
SubjectRe: csound5 on fresh debian box
Istvan Varga wrote:

> If there is something that crashes in the latest CVS, but does not with
> older versions, that should probably fixed before the 5.01 release. So,
> do you have more details about this crash ?

I must shamefully say that there wasn't a crash. I was mixing things up, 
assuming things from the messages and messing the debugging up.

Sorry 'bout that...

-- 
peace, love & harmony
Atte

http://www.atte.dk