Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Build problems

Date2006-12-22 19:48
FromVictor Lazzarini
SubjectRe: [Cs-dev] Build problems
Never seen that. Are you sure scons is not picking
up 2.4 instead? That's the default option in SConstruct. Try
setting
pythonVersion=2.5 in the scons command-line.

Also to use 2.5 make sure your swig is the latest.

Victor


> Yet again I am having problems.  I have just updated the
> OS to SuSE10.2 and now whenI try to rebuild Csoudn I get
> ....
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -o Opcodes/Loris/scripting/loris_wrap.os -c
> -fexceptions -Wall -O3 -fno-inline-functions
> -fomit-frame-pointer -ffast-math -fPIC -DLINUX -DPIPES
> -DHAVE_FFTW3_H -Wno-comment -Wno-unknown-pragmas
> -Wno-sign-compare -fno-strict-aliasing -fPIC
> -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DUSE_DOUBLE
> -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H
> -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
> -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH
> -I/usr/local/include -I/usr/include -I/usr/X11R6/include
> -IOpcodes/Loris -IOpcodes/Loris/src -I.
> -I/usr/include/python2.4 -I/usr/local/include/python2.4
> Opcodes/Loris/scripting/loris_wrap.cc
> Opcodes/Loris/scripting/loris_wrap.cc:129:20: error:
> Python.h: No such file or directory
> Opcodes/Loris/scripting/loris_wrap.cc:2507:4: error:
> #error "This python version requires to use swig with the
> '-classic' option"
> Opcodes/Loris/scripting/loris_wrap.cc:736: error: expected
> initializer before '*' token
>
> Python.h exists in /usr/include/python/ and
> /usr/include/python2.5/  What is the '-classic' option ??
>
> ==John ffitch
>
> ----------------------------------------------------------
> --------------- Take Surveys. Earn Cash. Influence the
> Future of IT Join SourceForge.net's Techsay panel and
> you'll get the chance to share your opinions on IT &
> business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net