[CSOUND-DEV:4162] csound5 on Debian
Date | 2004-02-25 17:03 |
From | jpff@codemist.co.uk |
Subject | [CSOUND-DEV:4162] csound5 on Debian |
I have reinstalled from scratch the Debian system (having failed to install gentoo as if failed to compile) and upgraded to stable/woody. I also installed autoconf-2.59, automake-1.8.2 and libtools-1.5.2 from the sources. A completely new checkout of csound5 onto a clean disk. Ran autoreconf -i -f and waited. Usual error messages followed by a exit with error 1. No ./configure file has been made. Thought that perhaps it was still using older versions of autogen etc so deleted files from /usr/bin/auto* (must be a better way but have not understood Debian yet) and redid the autoreconf. this time similar error messages but a ./configure built. Ran it; strange that it cares whether I have g77 installed, and many other irrelevant questions. Finally after a long time built makefiles. make then failed as it could not find sndfile.h wanted by auxfd.c. If I do not have libsndfile installed why does it set _SNDFILE_ ? Seems like a bug to me. ==John ffitch |
Date | 2004-02-25 17:57 |
From | John ffitch |
Subject | [CSOUND-DEV:4164] Re: csound5 on Debian |
Next stage; I installed sndfile libraries and now it complains that -falign-loops and -faligh-jumps are invalid options. I thought the whole purpose of autoconf was to match options and compilers. Resorting to editing teh Makefile I also notice that the option are repeated in a single flags line which seems odd to say the least. So with hand modifications something is happening -- may take a while on this slow machine ==JOhn ff |
Date | 2004-02-25 18:26 |
From | steven yi |
Subject | [CSOUND-DEV:4166] Re: csound5 on Debian |
Hi John, I believe the configure.ac file in csound5 is not as polished as the one for csound4. I noticed just now too that in the configure.ac in csound5 the "$hosts" section doesn't include darwin, which was added to csound4's configure.ac. Also, the check for gcc version is not there, but the configure flag for --with-gcc3 is there (which has been set to default to yes). If you set that flag to no with "./configure --with-gcc3=no" that should get you "-malign-loops and -malign-jumps". I'll spend a little time today to try to start the migration of features from the csound4 configure.ac to the csound5 one. I'm sure John R and Michael will be able to work out what I can not. Thanks, steven John ffitch wrote: >Next stage; I installed sndfile libraries and now it complains that >-falign-loops and -faligh-jumps are invalid options. I thought the whole >purpose of autoconf was to match options and compilers. Resorting to >editing teh Makefile I also notice that the option are repeated in a >single flags line which seems odd to say the least. > >So with hand modifications something is happening -- may take a while on >this slow machine > >==JOhn ff > > > > > |
Date | 2004-02-25 21:27 |
From | steven yi |
Subject | [CSOUND-DEV:4168] Re: csound5 on Debian |
Hi All, I removed the --with-gcc3 option from the csound5 configure.ac and added the automatic version check from John Ramsdell's csound4 configure.ac. Regarding other aspects of the two files, from a quick glance the strategies for setting options looks to differ slightly, not too bad but enough to require some deeper investigating before integrating, as it also requires to check sources as some #define's were removed, renamed, added in csound4 to make that more consistent that might not have been done so in csound5. steven |