Csound Csound-dev Csound-tekno Search About

[Csnd] Trouble compiling on CRUX (Linux, x86_64)

Date2013-03-17 22:38
FromPhil Thomson
Subject[Csnd] Trouble compiling on CRUX (Linux, x86_64)
Got the latest sources from git, edit build-linux-double.sh then run it, 
and I get this:

System platform is 'linux'.
Using options from 'custom.py.'
Build platform is 'linux'.
SCons tools on this platform:  ['default', 'gnulink', 'gcc', 'g++', 
'gfortran', 'gas', 'ar', 'filesystem', 'm4', 'lex', 'yacc', 'rpcgen', 
'jar', 'javac', 'javah', 'rmic', 'tar', 'zip']
Checking for C header file libintl.h... yes
CONFIGURATION DECISION: Using GNU gettext scheme
CONFIGURATION DECISION: Using double-precision floating point for audio 
samples.
Checking for C header file stdio.h... no
  *** Failed to compile a simple test program. The compiler is
  *** possibly not set up correctly, or is used with invalid flags.
  *** Check config.log to find out more about the error.

My build-linux-double.sh is here: http://paste.lisp.org/display/136087
custom.py is here: http://paste.lisp.org/display/136086

I recently upgraded scons to 2.3.0 but I still get this. I can compile 
other stuff perfectly fine (just compiled mplayer, for example).

I'm sure I'm missing something super obvious. I was getting different 
error messages before.

Date2013-03-17 22:57
FromVictor Lazzarini
SubjectRe: [Csnd] Trouble compiling on CRUX (Linux, x86_64)
Try to check what made the test fail by looking at config.log, it often helps. It could be a simple missing header or something.
One thing that sometimes fails it is the lack of gettext headers, which you could bypass by saying useGettext=0.

On 17 Mar 2013, at 22:38, Phil Thomson wrote:

> Got the latest sources from git, edit build-linux-double.sh then run it, and I get this:
> 
> System platform is 'linux'.
> Using options from 'custom.py.'
> Build platform is 'linux'.
> SCons tools on this platform:  ['default', 'gnulink', 'gcc', 'g++', 'gfortran', 'gas', 'ar', 'filesystem', 'm4', 'lex', 'yacc', 'rpcgen', 'jar', 'javac', 'javah', 'rmic', 'tar', 'zip']
> Checking for C header file libintl.h... yes
> CONFIGURATION DECISION: Using GNU gettext scheme
> CONFIGURATION DECISION: Using double-precision floating point for audio samples.
> Checking for C header file stdio.h... no
> *** Failed to compile a simple test program. The compiler is
> *** possibly not set up correctly, or is used with invalid flags.
> *** Check config.log to find out more about the error.
> 
> My build-linux-double.sh is here: http://paste.lisp.org/display/136087
> custom.py is here: http://paste.lisp.org/display/136086
> 
> I recently upgraded scons to 2.3.0 but I still get this. I can compile other stuff perfectly fine (just compiled mplayer, for example).
> 
> I'm sure I'm missing something super obvious. I was getting different error messages before.
> 
> 
> 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"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-03-17 22:59
FromaaB
SubjectRe: [Csnd] Trouble compiling on CRUX (Linux, x86_64)
AttachmentsNone  

Date2013-03-17 23:21
FromPhil Thomson
SubjectRe: [Csnd] Trouble compiling on CRUX (Linux, x86_64)
That did it! Thanks!

On 03/17/13 15:59, aaB wrote:
> I've had this error in the past, turning off CPU optimisation did the trick for
> me.
> Try
>
> gcc4opt=0
>
> and see if it works.
> This worked for me, but I don't know whether the problem was with the actual
> optimisation, or with the syntax used in the flag. I didn't research it as once
> I got csound to build, I was more interested in making music.
>
> Hope that helps.
>
> Alexandre
>
>
> 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"
>


Date2013-03-23 14:44
FromaaB
SubjectRe: [Csnd] Trouble compiling on CRUX (Linux, x86_64)
AttachmentsNone