#2 failed csound support

closed
None
5
2010-08-12
2010-08-11
Menno
No

- i try to build loris 1.8 with csound 5.12 doubles from CVS.
is my commandline correct?

menno@ubuntu:~/Downloads/loris-1.8$ sh ./configure "CPPFLAGS=-I /usr/local/include/csound -DUSE_DOUBLE"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
----- Package Name And Version -----
this is Loris 1.8
----- Program Checks -----
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for doxygen... no
checking for swig... /usr/bin/swig
----- Compiler Feature Checks -----
checking size of bool... 1
checking size of char... 1
checking whether char is unsigned... no
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of int *... 8
checking size of size_t... 8
checking size of float... 4
checking size of double... 8
checking for isfinite defined in cmath... yep
checking whether byte ordering is bigendian... no
checking for M_PI defined in cmath... yep
checking whether C++ compiler supports template member functions... yes
----- Library Checks -----
checking for library containing sin... -lm
checking for fftw_execute in -lfftw3... yes
checking fftw3.h usability... yes
checking fftw3.h presence... yes
checking for fftw3.h... yes
----- Language Checks -----
checking for python... /usr/bin/python
checking whether /usr/bin/python version >= 1.5... yes
checking for /usr/bin/python version... 2.6
checking for /usr/bin/python platform... linux2
checking for /usr/bin/python script directory... ${prefix}/lib/python2.6/dist-packages
checking for /usr/bin/python extension module directory... ${exec_prefix}/lib/python2.6/dist-packages
checking for Python.h header file... checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for PyExc_StopIteration defined in Python.h... yep
checking csdl.h usability... no
checking csdl.h presence... no
checking for csdl.h... no
configure: WARNING: Cannot find Csound5 headers. Csound5 support disabled.
----- Creating Output Files -----
configure: creating ./config.status
config.status: creating src/loris.h
config.status: creating doc/Doxyfile
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating scripting/Makefile
config.status: creating csound/Makefile
config.status: creating test/Makefile
config.status: creating utils/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
----- Configuration Summary -----
FFTW support: Enabled, using version 3.
Python support: Enabled.
Installing Python extension modules in ${exec_prefix}/lib/python2.6/dist-packages
You may need to add ${exec_prefix}/lib/python2.6/dist-packages to your PYTHONPATH
before Python will be able to load them.
Csound support: Disabled.
Define CSOUND_CONFIG or add something to CPPFLAGS to enable.
See ./configure --help.
----- End Of Configuration -----
menno@ubuntu:~/Downloads/loris-1.8$

Discussion

  • Kelly Fitz

    Kelly Fitz - 2010-08-11

    No. The output from the configure script tells you that it was not able to find the Csound headers.

    checking csdl.h usability... no
    checking csdl.h presence... no
    checking for csdl.h... no
    configure: WARNING: Cannot find Csound5 headers. Csound5 support disabled.

    and that it therefore did not build in the Csound module:

    Csound support: Disabled.
    Define CSOUND_CONFIG or add something to CPPFLAGS to enable.

    Looks like /usr/local/include/csound does not contain the csound header (csdl.h). Find that header and add its parent directory to the include path, and then it should build.

     
  • Kelly Fitz

    Kelly Fitz - 2010-08-11
    • assigned_to: nobody --> kfitz
     
  • Menno

    Menno - 2010-08-12

    the file csdl.h IS in the directory /usr/local/include/csound
    i do not know why but i tried again from scratch after having followed the advice of Victor Lazzarini in http://csound.1045644.n5.nabble.com/Fwd-Loris-1-8-is-released-td2471779.html#a2471779
    so i now use : sh ./configure "CPPFLAGS=-I /usr/local/include/csound"
    and it works
    maybe it has to do with -DUSE_DOUBLE in my earlier commandline (i have Csound double precision)?

     
  • Kelly Fitz

    Kelly Fitz - 2010-08-12

    ah, I think what you want is this:

    ./configure CPPFLAGS="-I /usr/local/include/csound -DUSE_DOUBLE"

    you probably need to quote all the stuff you want to be part of CPPFLAGS so that it all gets passed to the compiler. I think the way you did it, -DUSE_DOUBLE was just going to configure.

     
  • Kelly Fitz

    Kelly Fitz - 2010-08-12
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks