Hej!
Pytanie, czy komuś z was udało się skompilować poprawnie a8cas-tools pod Debianem 6.0.7? Mi niestety coś nie wychodzi. A ponieważ moja znajomość Linux-a jest jaka jest ;) proszę o pomoc...
libsndfile kompiluje się i instaluje się bez problemu, liba8cas również, ale próba kompilacji a8cas-tools kończy się jak poniżej...
na początku kompilacja i instalacja liba8cas-1.4.0 potem tools... i sypie się już przy ./configure, any idea?
root@debian:/home/seban/Downloads/liba8cas-1.4.0# ./configure
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 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 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 how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 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) 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 gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for ANSI C header files... (cached) yes
checking whether to enable assertions... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for string.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SNDFILE... yes
checking sndfile.h usability... yes
checking sndfile.h presence... yes
checking for sndfile.h... yes
checking for sf_open... yes
checking for sf_open_virtual... yes
checking whether SF_FORMAT_OGG is declared... yes
checking whether SFC_SET_SCALE_FLOAT_INT_READ is declared... yes
checking whether SFC_SET_SCALE_INT_FLOAT_WRITE is declared... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
-------------------------------------------------
liba8cas Version 1.4.0
Prefix: '/usr/local'.
Compiler: 'gcc -g -O2 -I/usr/local/include -Wall -pedantic '
Package features:
Async Execution:
Now type 'make [<target>]'
where the optional <target> is:
all - build all binaries
install - install everything
--------------------------------------------------
root@debian:/home/seban/Downloads/liba8cas-1.4.0# make all
Making all in include
make[1]: Entering directory `/home/seban/Downloads/liba8cas-1.4.0/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/seban/Downloads/liba8cas-1.4.0/include'
Making all in src
make[1]: Entering directory `/home/seban/Downloads/liba8cas-1.4.0/src'
make all-am
make[2]: Entering directory `/home/seban/Downloads/liba8cas-1.4.0/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -g -O2 -I/usr/local/include -Wall -pedantic -MT liba8cas_la-format_sndfile.lo -MD -MP -MF .deps/liba8cas_la-format_sndfile.Tpo -c -o liba8cas_la-format_sndfile.lo `test -f 'format_sndfile.c' || echo './'`format_sndfile.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -g -O2 -I/usr/local/include -Wall -pedantic -MT liba8cas_la-format_sndfile.lo -MD -MP -MF .deps/liba8cas_la-format_sndfile.Tpo -c format_sndfile.c -fPIC -DPIC -o .libs/liba8cas_la-format_sndfile.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -g -O2 -I/usr/local/include -Wall -pedantic -MT liba8cas_la-format_sndfile.lo -MD -MP -MF .deps/liba8cas_la-format_sndfile.Tpo -c format_sndfile.c -o liba8cas_la-format_sndfile.o >/dev/null 2>&1
mv -f .deps/liba8cas_la-format_sndfile.Tpo .deps/liba8cas_la-format_sndfile.Plo
/bin/bash ../libtool --tag=CC --mode=link gcc -I../include -g -O2 -I/usr/local/include -Wall -pedantic -no-undefined -version-info 2:0:2 -o liba8cas.la -rpath /usr/local/lib liba8cas_la-a8cas.lo liba8cas_la-a8cas_file.lo liba8cas_la-cas_decode.lo liba8cas_la-cas_encode.lo liba8cas_la-downsample.lo liba8cas_la-dyn_array.lo liba8cas_la-format_cas.lo liba8cas_la-format_fsk.lo liba8cas_la-format_hex.lo liba8cas_la-format_raw.lo liba8cas_la-format_sndfile.lo liba8cas_la-format_stdio_based.lo liba8cas_la-fsk_demod.lo liba8cas_la-fsk_mod.lo liba8cas_la-io.lo liba8cas_la-pwm_demod.lo liba8cas_la-pwm_mod.lo liba8cas_la-read_audio.lo liba8cas_la-resample.lo liba8cas_la-upsample.lo -L/usr/local/lib -lsndfile -lm
libtool: link: rm -fr .libs/liba8cas.a .libs/liba8cas.la .libs/liba8cas.lai .libs/liba8cas.so .libs/liba8cas.so.0 .libs/liba8cas.so.0.2.0
libtool: link: gcc -shared -fPIC -DPIC .libs/liba8cas_la-a8cas.o .libs/liba8cas_la-a8cas_file.o .libs/liba8cas_la-cas_decode.o .libs/liba8cas_la-cas_encode.o .libs/liba8cas_la-downsample.o .libs/liba8cas_la-dyn_array.o .libs/liba8cas_la-format_cas.o .libs/liba8cas_la-format_fsk.o .libs/liba8cas_la-format_hex.o .libs/liba8cas_la-format_raw.o .libs/liba8cas_la-format_sndfile.o .libs/liba8cas_la-format_stdio_based.o .libs/liba8cas_la-fsk_demod.o .libs/liba8cas_la-fsk_mod.o .libs/liba8cas_la-io.o .libs/liba8cas_la-pwm_demod.o .libs/liba8cas_la-pwm_mod.o .libs/liba8cas_la-read_audio.o .libs/liba8cas_la-resample.o .libs/liba8cas_la-upsample.o -L/usr/local/lib /usr/local/lib/libsndfile.so -lm -O2 -Wl,-soname -Wl,liba8cas.so.0 -o .libs/liba8cas.so.0.2.0
libtool: link: (cd ".libs" && rm -f "liba8cas.so.0" && ln -s "liba8cas.so.0.2.0" "liba8cas.so.0")
libtool: link: (cd ".libs" && rm -f "liba8cas.so" && ln -s "liba8cas.so.0.2.0" "liba8cas.so")
libtool: link: ar cru .libs/liba8cas.a liba8cas_la-a8cas.o liba8cas_la-a8cas_file.o liba8cas_la-cas_decode.o liba8cas_la-cas_encode.o liba8cas_la-downsample.o liba8cas_la-dyn_array.o liba8cas_la-format_cas.o liba8cas_la-format_fsk.o liba8cas_la-format_hex.o liba8cas_la-format_raw.o liba8cas_la-format_sndfile.o liba8cas_la-format_stdio_based.o liba8cas_la-fsk_demod.o liba8cas_la-fsk_mod.o liba8cas_la-io.o liba8cas_la-pwm_demod.o liba8cas_la-pwm_mod.o liba8cas_la-read_audio.o liba8cas_la-resample.o liba8cas_la-upsample.o
libtool: link: ranlib .libs/liba8cas.a
libtool: link: ( cd ".libs" && rm -f "liba8cas.la" && ln -s "../liba8cas.la" "liba8cas.la" )
make[2]: Leaving directory `/home/seban/Downloads/liba8cas-1.4.0/src'
make[1]: Leaving directory `/home/seban/Downloads/liba8cas-1.4.0/src'
make[1]: Entering directory `/home/seban/Downloads/liba8cas-1.4.0'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/seban/Downloads/liba8cas-1.4.0'
root@debian:/home/seban/Downloads/liba8cas-1.4.0# make install
Making install in include
make[1]: Entering directory `/home/seban/Downloads/liba8cas-1.4.0/include'
make[2]: Entering directory `/home/seban/Downloads/liba8cas-1.4.0/include'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
/usr/bin/install -c -m 644 a8cas.h '/usr/local/include'
make[2]: Leaving directory `/home/seban/Downloads/liba8cas-1.4.0/include'
make[1]: Leaving directory `/home/seban/Downloads/liba8cas-1.4.0/include'
Making install in src
make[1]: Entering directory `/home/seban/Downloads/liba8cas-1.4.0/src'
make[2]: Entering directory `/home/seban/Downloads/liba8cas-1.4.0/src'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c liba8cas.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/liba8cas.so.0.2.0 /usr/local/lib/liba8cas.so.0.2.0
libtool: install: (cd /usr/local/lib && { ln -s -f liba8cas.so.0.2.0 liba8cas.so.0 || { rm -f liba8cas.so.0 && ln -s liba8cas.so.0.2.0 liba8cas.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f liba8cas.so.0.2.0 liba8cas.so || { rm -f liba8cas.so && ln -s liba8cas.so.0.2.0 liba8cas.so; }; })
libtool: install: /usr/bin/install -c .libs/liba8cas.lai /usr/local/lib/liba8cas.la
libtool: install: /usr/bin/install -c .libs/liba8cas.a /usr/local/lib/liba8cas.a
libtool: install: chmod 644 /usr/local/lib/liba8cas.a
libtool: install: ranlib /usr/local/lib/liba8cas.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/seban/Downloads/liba8cas-1.4.0/src'
make[1]: Leaving directory `/home/seban/Downloads/liba8cas-1.4.0/src'
make[1]: Entering directory `/home/seban/Downloads/liba8cas-1.4.0'
make[2]: Entering directory `/home/seban/Downloads/liba8cas-1.4.0'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/aclocal" || /bin/mkdir -p "/usr/local/share/aclocal"
/usr/bin/install -c -m 644 a8cas.m4 '/usr/local/share/aclocal'
make[2]: Leaving directory `/home/seban/Downloads/liba8cas-1.4.0'
make[1]: Leaving directory `/home/seban/Downloads/liba8cas-1.4.0'
root@debian:/home/seban/Downloads/liba8cas-1.4.0# pwd
/home/seban/Downloads/liba8cas-1.4.0
root@debian:/home/seban/Downloads/liba8cas-1.4.0# cd ..
root@debian:/home/seban/Downloads# ls
a8cas-tools-1.3.1 liba8cas-1.3.1.tar.gz libsndfile-1.0.25
a8cas-tools-1.3.1.tar.gz liba8cas-1.4.0 libsndfile-1.0.25.tar.gz
liba8cas-1.3.1 liba8cas-1.4.0.tar.gz
liba8cas-1.3.1(1).tar.gz liba8cas-1.4.0-win32.zip
root@debian:/home/seban/Downloads# cd a8cas-tools-1.3.1
root@debian:/home/seban/Downloads/a8cas-tools-1.3.1# ls
aclocal.m4 compile configure.ac INSTALL Makefile.in README
AUTHORS config.log COPYING install-sh missing src
autom4te.cache configure depcomp Makefile.am NEWS
root@debian:/home/seban/Downloads/a8cas-tools-1.3.1# ./configure
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
./configure: line 4042: syntax error near unexpected token `1.3.0,,'
./configure: line 4042: `AM_PATH_A8CAS(1.3.0,,)'
root@debian:/home/seban/Downloads/a8cas-tools-1.3.1#