libsndfile-compile-errors
1: trying to compile on an external usb disk doesn't work:
peter@hp-s3030:/media/LACIE/Soft4Linux/libsndfile-dev$ ./autogen.sh
checking for autogen ... yes
checking for autoconf ... yes
checking for automake ... yes
checking for libtool ... libtoolize
checking for pkg-config ... yes
I am going to run ./configure with no arguments - if you wish
to pass any to it, please specify them on the ./autogen.sh command line.
Createing 'Cfg' directory.
Generating configuration files for libsndfile, please wait ...
aclocal -I M4
libtoolize --automake
ln: creating symbolic link `Cfg/ltmain.sh': Operation not permitted
libtoolize: can not copy `/usr/share/libtool/config/ltmain.sh' to `Cfg/'
ln: creating symbolic link `M4/libtool.m4': Operation not permitted
libtoolize: can not copy `/usr/share/aclocal/libtool.m4' to `M4/'
ln: creating symbolic link `M4/ltoptions.m4': Operation not permitted
libtoolize: can not copy `/usr/share/aclocal/ltoptions.m4' to `M4/'
ln: creating symbolic link `M4/ltsugar.m4': Operation not permitted
libtoolize: can not copy `/usr/share/aclocal/ltsugar.m4' to `M4/'
ln: creating symbolic link `M4/ltversion.m4': Operation not permitted
libtoolize: can not copy `/usr/share/aclocal/ltversion.m4' to `M4/'
ln: creating symbolic link `M4/lt~obsolete.m4': Operation not permitted
libtoolize: can not copy `/usr/share/aclocal/lt~obsolete.m4' to `M4/'
2. It works when I go to my source folder at home:
peter@hp-s3030:/media/LACIE/Soft4Linux/libsndfile-dev$ cd /home/peter/src/
peter@hp-s3030:~/src$ bzr get http://www.mega-nerd.com/Bzr/libsndfile-dev/
Branched 1452 revision(s).
peter@hp-s3030:~/src$ cd libsndfile-dev/
peter@hp-s3030:~/src/libsndfile-dev$ ./autogen.sh
checking for autogen ... yes
checking for autoconf ... yes
checking for automake ... yes
checking for libtool ... libtoolize
checking for pkg-config ... yes
I am going to run ./configure with no arguments - if you wish
to pass any to it, please specify them on the ./autogen.sh command line.
Createing 'Cfg' directory.
Generating configuration files for libsndfile, please wait ...
aclocal -I M4
libtoolize --automake
autoheader
automake --add-missing
configure.ac: installing `Cfg/install-sh'
configure.ac: installing `Cfg/missing'
examples/Makefile.am: installing `Cfg/depcomp'
configure.ac:13: installing `Cfg/config.guess'
configure.ac:13: installing `Cfg/config.sub'
autoconf
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... 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 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... 1572864
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 objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
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 dependency style of g++... (cached) gcc3
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... yes
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... yes
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 for autogen... yes
checking for wine... yes
checking whether ln -s works... yes
checking for ANSI C header files... (cached) yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether S_IRGRP is declared... yes
checking C99 struct flexible array support... yes
checking size of wchar_t... 4
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of float... 4
checking size of double... 8
checking size of void*... 8
checking size of size_t... 8
checking size of int64_t... 8
checking size of long long... 8
checking size of off_t... 8
checking for ssize_t... yes
checking size of ssize_t... 8
checking processor byte ordering... little
checking for malloc... yes
checking for calloc... yes
checking for realloc... yes
checking for free... yes
checking for open... yes
checking for read... yes
checking for write... yes
checking for lseek... yes
checking for pread... yes
checking for pwrite... yes
checking for fstat... yes
checking for ftruncate... yes
checking for fsync... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for gmtime... yes
checking for gmtime_r... yes
checking for localtime... yes
checking for localtime_r... yes
checking for gettimeofday... yes
checking for mmap... yes
checking for getpagesize... yes
checking for setlocale... yes
checking for pipe... yes
checking for waitpid... yes
checking for floor in -lm... yes
checking for floor... yes
checking for ceil... yes
checking for fmod... yes
checking for lrint... yes
checking for lrintf... yes
checking for octave... no
checking for mkoctfile... no
checking for octave-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for flac >= 1.2.1 ... no
checking for ogg >= 1.1.3 ... no
checking for vorbis >= 1.2.3 ... no
checking for vorbisenc >= 1.2.3 ... no
configure: WARNING:
*** One or more of the external libraries (ie libflac, libogg and
*** libvorbis) is either missing (possibly only the development
*** headers) or is of an unsupported version.
***
*** Unfortunately, for ease of maintenance, the external libs
*** are an all or nothing affair.
checking for sqlite3 >= 3.2 ... no
checking processor clipping capabilities... none
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking sndio.h usability... no
checking sndio.h presence... no
checking for sndio.h... no
checking if gcc accepts -std=gnu99... yes
checking for version of gcc... 4.4.1
checking if gcc accepts -Wextra... yes
checking if g++ accepts -Wextra... yes
checking if gcc accepts -Wdeclaration-after-statement... yes
checking if gcc accepts -Wpointer-arith... yes
checking if gcc accepts -funsigned-char... yes
checking for sed... /bin/sed
configure: creating ./config.status
config.status: creating shave
config.status: creating shave-libtool
config.status: creating src/sndfile.h
config.status: creating src/Makefile
config.status: creating src/GSM610/Makefile
config.status: creating src/G72x/Makefile
config.status: creating man/Makefile
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating regtest/Makefile
config.status: creating M4/Makefile
config.status: creating doc/Makefile
config.status: creating Win32/Makefile
config.status: creating Octave/Makefile
config.status: creating programs/Makefile
config.status: creating doc/libsndfile.css
config.status: creating Makefile
config.status: creating libsndfile.spec
config.status: creating sndfile.pc
config.status: creating tests/test_wrapper.sh
config.status: creating build-test-tarball.mk
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
Configuration summary :
libsndfile cersion : .................. 1.0.22pre2
Host CPU : ............................ x86_64
Host Vendor : ......................... unknown
Host OS : ............................. linux-gnu
Experimental code : ................... no
Using ALSA in example programs : ...... yes
External FLAC/Ogg/Vorbis : ............ no
Tools :
Compiler is GCC : ..................... yes
GCC version : ......................... 4.4.1
Installation directories :
Library directory : ................... /usr/local/lib
Program directory : ................... /usr/local/bin
Pkgconfig directory : ................. /usr/local/lib/pkgconfig
HTML docs directory : ................. /usr/local/share/doc/libsndfile1-dev/html
Compiling some other packages against libsndfile may require
the addition of "/usr/local/lib/pkgconfig" to the
PKG_CONFIG_PATH environment variable.
peter@hp-s3030:~/src/libsndfile-dev$
... now Ill try get the missing FLAC/Ogg/Vorbis libraries
libflac-dev, libvorbis-dev and libogg-dev...