Csound Csound-dev Csound-tekno Search About

[Cs-dev] csound 5.11.1 on Fedora 13

Date2009-12-29 22:35
FromPeter Robinson
Subject[Cs-dev] csound 5.11.1 on Fedora 13
Hi All,

I'm looking at bringing the csound in Fedora 13 up to the latest
5.11.1 release and to then work out what patches we still need and
getting as many of them upstreamed as possibly to make the maintenance
of csound in Fedora easier. We currently have around a dozen patches.

>From the initial look I've had it seems that the python, tcl and java
bindings have issues compiling on Fedora 12. I need to look closer at
the later two but the error I'm getting for the python bindings are as
follows:

Generating wrappers...
./H/csound.h:449: Warning(451): Setting a const char * variable may leak memory.
interfaces/cs_glue.hpp:507: Warning(473): Returning a pointer or
reference in a director method is not recommended.
g++ -o interfaces/python_interface_wrap.os -c -fexceptions
-fno-strict-aliasing -fno-strict-aliasing -Wno-format -DGNU_GETTEXT -g
-fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES
-fvisibility=hidden -fno-strict-aliasing -fno-strict-aliasing -fPIC
-DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DHAVE_SOCKETS
-DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET
-DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
-DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -DHAVE_SOCKETS
-DHAVE_DIRENT_H -D__BUILDING_LIBCSOUND -D__BUILDING_CSOUND_INTERFACES
-I. -IH -I/usr/include/fltk-1.1 -I/usr/local/include -I/usr/include
-I/usr/include -I/usr/X11R6/include -Iinterfaces -I/usr/include/lua5.1
-I/usr/include/python2.6 -I/usr/local/include/python2.6
interfaces/python_interface_wrap.cc
interfaces/python_interface_wrap.cc: In function ‘PyObject*
_wrap_CppSound_pythonMessageCallback(PyObject*, PyObject*)’:
interfaces/python_interface_wrap.cc:35542: error: invalid array assignment
scons: *** [interfaces/python_interface_wrap.os] Error 1
scons: building terminated because of errors.

Cheers,
Peter

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-12-29 23:09
FromVictor Lazzarini
SubjectRe: [Cs-dev] csound 5.11.1 on Fedora 13
Hi Peter,

I think we have dealt with this issue in CVS sources (I remember  
discussing it on this list, perhaps you can look at
the archives). If so, you can extract a patch from CVS.

We are currently just about ready to release 5.12. Would it not be  
handier for you to wait for this release?

Regards

Victor


On 29 Dec 2009, at 22:35, Peter Robinson wrote:

> Hi All,
>
> I'm looking at bringing the csound in Fedora 13 up to the latest
> 5.11.1 release and to then work out what patches we still need and
> getting as many of them upstreamed as possibly to make the maintenance
> of csound in Fedora easier. We currently have around a dozen patches.
>
>> From the initial look I've had it seems that the python, tcl and java
> bindings have issues compiling on Fedora 12. I need to look closer at
> the later two but the error I'm getting for the python bindings are as
> follows:
>
> Generating wrappers...
> ./H/csound.h:449: Warning(451): Setting a const char * variable may  
> leak memory.
> interfaces/cs_glue.hpp:507: Warning(473): Returning a pointer or
> reference in a director method is not recommended.
> g++ -o interfaces/python_interface_wrap.os -c -fexceptions
> -fno-strict-aliasing -fno-strict-aliasing -Wno-format -DGNU_GETTEXT -g
> -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES
> -fvisibility=hidden -fno-strict-aliasing -fno-strict-aliasing -fPIC
> -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DHAVE_SOCKETS
> -DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET
> -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
> -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -DHAVE_SOCKETS
> -DHAVE_DIRENT_H -D__BUILDING_LIBCSOUND -D__BUILDING_CSOUND_INTERFACES
> -I. -IH -I/usr/include/fltk-1.1 -I/usr/local/include -I/usr/include
> -I/usr/include -I/usr/X11R6/include -Iinterfaces -I/usr/include/lua5.1
> -I/usr/include/python2.6 -I/usr/local/include/python2.6
> interfaces/python_interface_wrap.cc
> interfaces/python_interface_wrap.cc: In function ‘PyObject*
> _wrap_CppSound_pythonMessageCallback(PyObject*, PyObject*)’:
> interfaces/python_interface_wrap.cc:35542: error: invalid array  
> assignment
> scons: *** [interfaces/python_interface_wrap.os] Error 1
> scons: building terminated because of errors.
>
> Cheers,
> Peter
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast  
> and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net