Csound Csound-dev Csound-tekno Search About

[Csnd] Building Csound5 on Linux on system z

Date2012-08-09 23:25
From"Prent Rodgers"
Subject[Csnd] Building Csound5 on Linux on system z
My day job is selling IBM mainframe computers, which these days usually ship
with Linux running on one of the engines, an Integrated Facility for Linux
or IFL. I'm trying to learn a bit about what I sell, so I obtained a login
to an IBM development system. I have a Linux instance up and running. I've
been able to install scons, and built a custom.py file to build on the
platform. But it's failing with a missing sndfile. I have
libsndfile-1.0.20-5.el6.s390x and scons scons-2.1.0-2.fc17.noarch.rpm
installed. 

Here's the scons output:

[root@l003008 csound5]# scons
scons: Reading SConscript files ...

      C S O U N D 5

SCons build file for Csound 5:
API library, plugin opcodes, utilities, and front ends.
...
System platform is 'linux'.
Using options from 'custom.py.'

scons: warning: The Options class is deprecated; use the Variables class
instead.
File "/root/csound5/SConstruct", line 346, in 
Build platform is 'linux'.
SCons tools on this platform:  ['default', 'gnulink', 'gcc', 'g++',
'gfortran', 'gas', 'ar', 'filesystem', 'm4', 'lex', 'yacc', 'rpcgen',
'swig', 'jar', 'javac', 'rmic', 'dvipdf', 'gs', 'tar', 'zip', 'rpm', 'CVS',
'RCS']
Checking for C header file libintl.h... yes
CONFIGURATION DECISION: Using GNU gettext scheme
CONFIGURATION DECISION: Using single-precision floating point for audio
samples.
Checking for C header file stdio.h... yes
Checking for C library sndfile... no
The sndfile library is required to build Csound 5.
[root@l003008 csound5]#


I am newer than new at this, so if anyone has advice, I'd appreciate it. My
goal is to build and make available the Csound5 in s390x for other's to
deploy on their own private mainframes.

Prent Rodgers




Date2012-08-09 23:58
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Building Csound5 on Linux on system z
>> The sndfile library is required to build Csound 5.

Yes this is reall needed -- brilliant library and a totally good thing

Most of the rest is optional

==John ff


Date2012-08-10 00:02
FromJustin Smith
SubjectRe: [Csnd] Building Csound5 on Linux on system z
remember you need not just libsndfile but also the dev version
(basically just the headers needed for compiling) which is a separate
package

On Thu, Aug 9, 2012 at 3:58 PM,   wrote:
>>> The sndfile library is required to build Csound 5.
>
> Yes this is reall needed -- brilliant library and a totally good thing
>
> Most of the rest is optional
>
> ==John ff
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2012-08-10 21:01
FromPrentRodgers
Subject[Csnd] Re: Building Csound5 on Linux on system z
Thanks for pointing out the problem with the sndfile library. Once I was able
to locate the s390x version RPM and install that, plus the dev version,
Csound 5 built correctly. jpff & justin, I appreciate the help on this. I
can't guarantee all the functions work, but my use of Csound is very
vanilla. 

After a bit of work, I was able to run Csound to completion on the mainframe
at the IBM developer site. What a trip. Csound is back on the mainframe
after an absence of roughly 40 years. 

Here's a blog post with a sample of the work, converted to mp3 format on my
PC after Csound generated the .wav file on the host. 

http://bumpermusic.blogspot.com/2012/08/csound-is-back-on-mainframe-after-40.html

Prent Rodgers
Microtonal composer and now a Linux hacker.



--
View this message in context: http://csound.1045644.n5.nabble.com/Building-Csound5-on-Linux-on-system-z-tp5714789p5714798.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-08-18 03:10
FromFelipe Sateler
SubjectRe: [Csnd] Re: Building Csound5 on Linux on system z
Coming late but...

On Fri, Aug 10, 2012 at 4:01 PM, PrentRodgers  wrote:
> Thanks for pointing out the problem with the sndfile library. Once I was able
> to locate the s390x version RPM and install that, plus the dev version,
> Csound 5 built correctly. jpff & justin, I appreciate the help on this. I
> can't guarantee all the functions work, but my use of Csound is very
> vanilla.
>
> After a bit of work, I was able to run Csound to completion on the mainframe
> at the IBM developer site. What a trip. Csound is back on the mainframe
> after an absence of roughly 40 years.
>
> Here's a blog post with a sample of the work, converted to mp3 format on my
> PC after Csound generated the .wav file on the host.
>
> http://bumpermusic.blogspot.com/2012/08/csound-is-back-on-mainframe-after-40.html

FWIW, Debian provides s390 and s390x versions of csound[1]. Debian
builds csound on pretty much every architecture available. Wether it
works, and at a reasonable speed, is another matter... ;)


[1] http://packages.debian.org/search?keywords=csound&searchon=names&suite=all§ion=all

-- 

Saludos,
Felipe Sateler