Correction, sorry, eventually the --enable-global-attenuation-default
directive is _also_ breaking linuxsampler (module) svn 9 april 2012,
always after applying the correction on configure file.
________________________________
From: hilare <hilar...@yahoo.com>
To: hilare <hilar...@yahoo.com>; "linuxsampler-devel@lists.sourceforge.net"
<linuxsampler-devel@lists.sourceforge.net>
Sent: Tuesday, April 10, 2012 3:20 AM
Subject: Re: Linuxsampler compilation problem
now trying to replace missing line in configure file by:
20363 config_pthread_testcancel="$mac"
20364 # Check whether --enable-pthread-testcancel was given.
20365 if test "${enable_pthread_testcancel+set}" = set; then
20366 enableval=$enable_pthread_testcancel;
config_pthread_testcancel="$enableval"
20367 else
20368
20369 cat >>confdefs.h <<_ACEOF
20370 #define CONFIG_PTHREAD_TESTCANCEL 1
20371 _ACEOF
20372
20373 fi
is leading to a sucessful compilation, but:
1/ maybe this is not the right value,
2/ anyway this is a painful way to compile something. May i suppose the error
is on your original file
and you will do the correction in future release, or do i need to check
something very special on my config ?
As a note: linuxsampler (the module, libgig, liblscp, qsampler being fine) from
cvs 7 june 2011 is not compiling
if using the compilation directive --enable-global-attenuation-default (but is
compiling fine without using this directive).
I guess this have been corrected since then, because after the mod on configure
file, linuxsampler svn 9 april 2012 is
compiling with and without this directive.
regards
________________________________
From: hilare <hilar...@yahoo.com>
To: hilare <hilar...@yahoo.com>; "linuxsampler-devel@lists.sourceforge.net"
<linuxsampler-devel@lists.sourceforge.net>
Sent: Tuesday, April 10, 2012 2:09 AM
Subject: Re: Linuxsampler compilation problem
Looking at /configure file, this what i found around the lines the compiler
complains about:
20363 config_pthread_testcancel="$mac"
20364 # Check whether --enable-pthread-testcancel was given.
20365 if test "${enable_pthread_testcancel+set}" = set; then
20366 enableval=$enable_pthread_testcancel;
config_pthread_testcancel="$enableval"
20367 else
20368
20369
20370 fi
20371
So the compiler is right, the "else" is empty ;-)
I had tried to replace the missing line by:
20363 config_pthread_testcancel="$mac"
20364 # Check whether --enable-pthread-testcancel was given.
20365 if test "${enable_pthread_testcancel+set}" = set; then
20366 enableval=$enable_pthread_testcancel;
config_pthread_testcancel="$enableval"
20367 else
20368 echo "i find linuxsampler stunning, and i hope being able to compile it
!"
20369
20370 fi
20371
But this is not the solution, can you help me?
________________________________
From: hilare <hilar...@yahoo.com>
To: "linuxsampler-devel@lists.sourceforge.net"
<linuxsampler-devel@lists.sourceforge.net>
Sent: Tuesday, April 10, 2012 12:49 AM
Subject: Linuxsampler compilation problem
Hello,
as a foreword, there is a long time since i haven't anything to say on this
mail list.
I have now a problem compiling linuxsampler (libgig, liblscp and qsampler
compiling fine).
Extracted from svn 9 april 2012, and compiled on RHEL 6.2 64bits, linuxsampler
gives the following errors (output are complete),
1/ when " make -f Makefile.cvs " :
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
/usr/share/aclocal/aalib.m4:12: run info '(automake)Extending aclocal'
/usr/share/aclocal/aalib.m4:12: or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
libtoolize: putting auxiliary files in `.'.
libtoolize:
copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.in:42: installing `./config.guess'
configure.in:42: installing `./config.sub'
configure.in:1313: installing `./install-sh'
configure.in:1313: installing `./missing'
src/Makefile.am: installing `./depcomp'
Searching for a parser generator...OK (/usr/bin/bison -y)
Generating LSCP parser...
conflits: 1801 décalage/réduction, 1045 réduction/réduction
conflits: 1801 décalage/réduction, 1045 réduction/réduction
Done
Updating Documentation/lscp.xml...Done
the french messages can be translated as "conflict on offset/reduction"
i suspect they lead to the fatal make, while the autotools seems to be happy
2/ after configure (no problem), the " make " :
checking for x86_64-redhat-linux-gnu-g++... no
checking for x86_64-redhat-linux-gnu-c++... no
checking for x86_64-redhat-linux-gnu-gpp... no
checking for x86_64-redhat-linux-gnu-aCC... no
checking for x86_64-redhat-linux-gnu-CC... no
checking for x86_64-redhat-linux-gnu-cxx... no
checking for x86_64-redhat-linux-gnu-cc++... no
checking for x86_64-redhat-linux-gnu-cl.exe... no
checking for x86_64-redhat-linux-gnu-FCC... no
checking for x86_64-redhat-linux-gnu-KCC... no
checking for x86_64-redhat-linux-gnu-RCC... no
checking for x86_64-redhat-linux-gnu-xlC_r... no
checking for x86_64-redhat-linux-gnu-xlC... no
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 build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for x86_64-redhat-linux-gnu-gcc... no
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 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 fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name
lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-gnu-ar... no
checking for ar... ar
checking for x86_64-redhat-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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
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 -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) 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
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking host system type... (cached) x86_64-redhat-linux-gnu
checking for x86_64-redhat-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether x86 architecture... yes
checking for mmsystem.h... no
checking whether UNIX98 compatible... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute...
PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for NPTL bug... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for library containing uuid_generate... -luuid
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for main in -lasound... yes
checking Alsa version... 1.0.22
checking for JACK... yes
checking for jack_client_name_size... yes
checking for jack_client_open... yes
checking jack/midiport.h usability... yes
checking jack/midiport.h presence... yes
checking for jack/midiport.h... yes
checking for jack_midi_get_event_count... yes
ARTS support disabled by configure script parameter
Windows ASIO support disabled by configure script parameter
MidiShare support disabled by configure script
parameter
CoreMIDI support disabled by configure script parameter
CoreAudio support disabled by configure script parameter
MME MIDI support disabled by configure script parameter
checking dssi.h usability... no
checking dssi.h presence... no
checking for dssi.h... no
checking for LV2... no
checking lv2.h usability... no
checking lv2.h presence... no
checking for lv2.h... no
checking AudioUnit/AudioUnit.h usability... no
checking AudioUnit/AudioUnit.h presence... no
checking for AudioUnit/AudioUnit.h... no
checking for GIG... yes
yes, found libgig 3.3.0
SF2 engine disabled by configure script parameter
checking for SNDFILE... yes
yes, found libsndfile 1.0
checking whether SF_FORMAT_VORBIS is declared... yes
checking for SF_INSTRUMENT.loops... yes
Instruments DB feature disabled by configure script parameter
./configure: line 20370: syntax error near unexpected token `fi'
./configure:
line 20370: `fi'
and compilation end here.
Please note that i can compile on the same system linuxsampler extracted from
cvs 7 june 2011.
The only difference on the whole process is the extraction method CVS versus
SVN, but i have followed instructions on page
http://www.linuxsampler.org/downloads.html , and i haven't seen any complain
during the download process.
If you need any additional information or test, do not hesitate to ask for them.
Regards
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel