You are not logged in.

#1 2008-05-09 22:02:42

LTSmash
Member
From: Aguascalientes - Mexico
Registered: 2008-01-02
Posts: 348
Website

Configure not finding dependencies but they are installed!

Hi, I was just trying to install pychosynth from AUR via yaourt, but configure just keeps complaining about SoundTouch and Liblo not being installed, however they are.

I tried to fix it by downloading Debian's Lenny libSoundTouch .deb file and then extracting the libs and links to /usr/lib but there was no luck anyways.

Here is my configure output:

checking for a BSD-compatible install... /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
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... i686-pc-linux-gnu
checking host system type... i686-pc-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... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 98304
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) 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
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) 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) 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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBLO... no
checking for LIBXML... yes
checking for SNDFILE... yes
checking for SOUNDTOUCH... no
checking for VORBIS... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for ALSA... yes
checking for JACK... yes
checking for OGRE... yes
checking for CEGUI... yes
checking for CEGUIOGRE... yes
checking for OIS... yes
configure: error:

***
*** You need libSoundTouch to compile the program.
*** Install it and run this script again.
***

make: *** No se especificó ningún objetivo y no se encontró ningún makefile.  Alto.

And here's the AUR package I'm using:
http://aur.archlinux.org/packages.php?ID=16898

Thanks for your continued help smile


Proud Ex-Arch user.
Still an ArchLinux lover though.

Currently on Kubuntu 9.10

Offline

#2 2008-05-10 01:34:35

LTSmash
Member
From: Aguascalientes - Mexico
Registered: 2008-01-02
Posts: 348
Website

Re: Configure not finding dependencies but they are installed!

Ok, good and bad news.
It seems that it was missing some development libreries to compile, and because I couldn't find them elsewhere I decided to grab them from Debian's site, so I took lenny's libsoundtouch1-dev package and manually installed it, so now I get this while building:

checking for a BSD-compatible install... /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
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... i686-pc-linux-gnu
checking host system type... i686-pc-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... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 98304
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) 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
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) 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) 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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBLO... no
checking for LIBXML... yes
checking for SNDFILE... yes
checking for SOUNDTOUCH... yes
checking for VORBIS... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for ALSA... yes
checking for JACK... yes
checking for OGRE... yes
checking for CEGUI... yes
checking for CEGUIOGRE... yes
checking for OIS... yes
configure: creating ./config.status
config.status: creating libpsynth.pc
config.status: creating Makefile
config.status: creating doc/Doxyfile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating libpsynth/Makefile
config.status: creating libpsynth/version.h
config.status: creating config.h
config.status: executing depfiles commands

**************************************************************
*
*  Psychosynth 0.1.1:  Automatic configuration OK.
*
*
*   Configuration summary:
*
*      3D client (psynth3d) ..... yes
*      CLI client (psynth) ...... no
*
*      OSC support: ............. no
*      XML config support: ...... yes
*      SoundTouch support: ...... yes
*      PCM support: ............. yes
*      OGG support: ............. yes
*      OSS support: ............. yes
*      ALSA support: ............ yes
*      Jack support: ............ yes
*      Translations: ............ Not suported.
*
*   Installation directories:
*
*      Program: ................. NONE/bin
*      Data: .................... /usr/share/psychosynth
*      Library: ................. NONE/lib
*      Includes: ................ /usr/include/libpsynth
*
*
**
*
*   Type 'make' to compile.
*   Then type 'make install' to install.
*
*   Have fun!
*
*************************************************************

make  all-recursive
make[1]: se ingresa al directorio `/tmp/yaourt-tmp-ltsmash/aur-psychosynth/psychosynth/src/psychosynth-0.1.1'
Making all in libpsynth
make[2]: se ingresa al directorio `/tmp/yaourt-tmp-ltsmash/aur-psychosynth/psychosynth/src/psychosynth-0.1.1/libpsynth'
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..      -I/usr/include/libxml2    -I/usr/include/alsa      -march=i686 -mtune=generic -O2 -pipe -MT libpsynth_la-Director.lo -MD -MP -MF .deps/libpsynth_la-Director.Tpo -c -o libpsynth_la-Director.lo `test -f 'psynth/Director.cpp' || echo './'`psynth/Director.cpp
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/alsa -march=i686 -mtune=generic -O2 -pipe -MT libpsynth_la-Director.lo -MD -MP -MF .deps/libpsynth_la-Director.Tpo -c psynth/Director.cpp  -fPIC -DPIC -o .libs/libpsynth_la-Director.o
In file included from ../libpsynth/common/ControlBuffer.h:27,
                 from ../libpsynth/object/Object.h:33,
                 from ../libpsynth/table/Patcher.h:30,
                 from ../libpsynth/table/Table.h:32,
                 from ./psynth/Director.h:29,
                 from psynth/Director.cpp:24:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:80: error: '::memchr' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:81: error: '::memcmp' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:82: error: '::memcpy' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:83: error: '::memmove' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:84: error: '::memset' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:85: error: '::strcat' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:86: error: '::strcmp' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:87: error: '::strcoll' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:88: error: '::strcpy' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:89: error: '::strcspn' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:90: error: '::strerror' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:91: error: '::strlen' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:92: error: '::strncat' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:93: error: '::strncmp' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:94: error: '::strncpy' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:95: error: '::strspn' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:96: error: '::strtok' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:97: error: '::strxfrm' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring: In function 'void* std::memchr(void*, int, size_t)':
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:101: error: invalid conversion from 'const void*' to 'void*'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:101: error:   initializing argument 1 of 'void* std::memchr(void*, int, size_t)'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring: At global scope:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:103: error: '::strchr' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:109: error: '::strpbrk' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:115: error: '::strrchr' has not been declared
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cstring:121: error: '::strstr' has not been declared
In file included from ../libpsynth/table/Patcher.h:30,
                 from ../libpsynth/table/Table.h:32,
                 from ./psynth/Director.h:29,
                 from psynth/Director.cpp:24:
../libpsynth/object/Object.h: In destructor 'virtual psynth::Object::InSocket::~InSocket()':
../libpsynth/object/Object.h:141: error: 'for_each' was not declared in this scope
make[2]: *** [libpsynth_la-Director.lo] Error 1
make[2]: se sale del directorio `/tmp/yaourt-tmp-ltsmash/aur-psychosynth/psychosynth/src/psychosynth-0.1.1/libpsynth'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/tmp/yaourt-tmp-ltsmash/aur-psychosynth/psychosynth/src/psychosynth-0.1.1'
make: *** [all] Error 2

Have you got any ideas of what went wrong?

Thanks.


Proud Ex-Arch user.
Still an ArchLinux lover though.

Currently on Kubuntu 9.10

Offline

#3 2008-05-10 11:07:33

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Configure not finding dependencies but they are installed!

First off: why on earth are you grabbing debian packages to fix something Arch-related?

Isn't there a PKGBDUILD in AUR for the deps you need (if not, it should already be provided through the official repos).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2008-05-10 14:21:42

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: Configure not finding dependencies but they are installed!

that was a very dirty way of trying to resolve the issue,
however the problem lies with the source code.
it hasn't been updated to be gcc 4.3 compatible

you could downgrade gcc, install one of the older versions and or report this issue upstream
or better go through the code and fix it.
most if not all of those errors should be rectified by stuff like, <string.h> >> <cstring>, <stdlib.h> >> <cstdlib>

Offline

#5 2008-05-15 23:11:54

LTSmash
Member
From: Aguascalientes - Mexico
Registered: 2008-01-02
Posts: 348
Website

Re: Configure not finding dependencies but they are installed!

B wrote:

First off: why on earth are you grabbing debian packages to fix something Arch-related?

Isn't there a PKGBDUILD in AUR for the deps you need (if not, it should already be provided through the official repos).

Actually, I couldnt find the development sources neither in the repos nor in the AUR, not even in the homepage of soundtouch so I had to do that...

About correcting the package to be compilable under GCC 4.3, I don't have idea of C programming, is it difficult or maybe I just should read a guide?

Thanks


Proud Ex-Arch user.
Still an ArchLinux lover though.

Currently on Kubuntu 9.10

Offline

Board footer

Powered by FluxBB