LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Install error (https://www.linuxquestions.org/questions/linux-software-2/install-error-807228/)

blackcore 05-11-2010 04:51 PM

Install error
 
am trying to install faac codecs on ubuntu 9.10 karmic.after running the configure and make commands i get this errors

root@vini-desktop:~# cd ~/Desktop/faac
root@vini-desktop:~/Desktop/faac# ./bootstrap
./bootstrap: 3: aclocal: not found
./bootstrap: 4: autoheader: not found
./bootstrap: 9: libtoolize: not found
./bootstrap: 10: automake: not found
./bootstrap: 11: autoconf: not found
root@vini-desktop:~/Desktop/faac# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
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 for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 recognise 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 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... 32768
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
appending configuration tag "F77" to libtool
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for u_int32_t... yes
checking for u_int16_t... yes
checking for int32_t... yes
checking for int16_t... yes
checking whether strcasecmp is declared... yes
checking for getopt_long in -lgnugetopt... no
checking whether MP4Create is declared... no
checking whether MP4MetadataDelete is declared... no
configure: *** Building with internal mp4v2 ***
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking mathf.h usability... no
checking mathf.h presence... no
checking for mathf.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking whether strchr is declared... yes
checking whether memcpy is declared... yes
checking whether strsep is declared... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for off_t... yes
checking for in_port_t... yes
checking for socklen_t... yes
checking for fpos_t.__pos... yes
configure: creating ./config.status
config.status: creating common/Makefile
config.status: creating common/mp4v2/Makefile
config.status: creating libfaac/Makefile
config.status: creating frontend/Makefile
config.status: creating include/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: linking ./config.h to common/mp4v2/mpeg4ip_config.h
config.status: executing depfiles commands
root@vini-desktop:~/Desktop/faac# make
make all-recursive
make[1]: Entering directory `/root/Desktop/faac'
Making all in include
make[2]: Entering directory `/root/Desktop/faac/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Desktop/faac/include'
Making all in libfaac
make[2]: Entering directory `/root/Desktop/faac/libfaac'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT aacquant.lo -MD -MP -MF ".deps/aacquant.Tpo" -c -o aacquant.lo aacquant.c; \
then mv -f ".deps/aacquant.Tpo" ".deps/aacquant.Plo"; else rm -f ".deps/aacquant.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT aacquant.lo -MD -MP -MF .deps/aacquant.Tpo -c aacquant.c -fPIC -DPIC -o .libs/aacquant.o
huffman.h:63: warning: 'CalculateEscSequence' declared 'static' but never defined
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT aacquant.lo -MD -MP -MF .deps/aacquant.Tpo -c aacquant.c -o aacquant.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT bitstream.lo -MD -MP -MF ".deps/bitstream.Tpo" -c -o bitstream.lo bitstream.c; \
then mv -f ".deps/bitstream.Tpo" ".deps/bitstream.Plo"; else rm -f ".deps/bitstream.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT bitstream.lo -MD -MP -MF .deps/bitstream.Tpo -c bitstream.c -fPIC -DPIC -o .libs/bitstream.o
huffman.h:63: warning: 'CalculateEscSequence' declared 'static' but never defined
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT bitstream.lo -MD -MP -MF .deps/bitstream.Tpo -c bitstream.c -o bitstream.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT fft.lo -MD -MP -MF ".deps/fft.Tpo" -c -o fft.lo fft.c; \
then mv -f ".deps/fft.Tpo" ".deps/fft.Plo"; else rm -f ".deps/fft.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT fft.lo -MD -MP -MF .deps/fft.Tpo -c fft.c -fPIC -DPIC -o .libs/fft.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT fft.lo -MD -MP -MF .deps/fft.Tpo -c fft.c -o fft.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT frame.lo -MD -MP -MF ".deps/frame.Tpo" -c -o frame.lo frame.c; \
then mv -f ".deps/frame.Tpo" ".deps/frame.Plo"; else rm -f ".deps/frame.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT frame.lo -MD -MP -MF .deps/frame.Tpo -c frame.c -fPIC -DPIC -o .libs/frame.o
huffman.h:63: warning: 'CalculateEscSequence' declared 'static' but never defined
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT frame.lo -MD -MP -MF .deps/frame.Tpo -c frame.c -o frame.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT midside.lo -MD -MP -MF ".deps/midside.Tpo" -c -o midside.lo midside.c; \
then mv -f ".deps/midside.Tpo" ".deps/midside.Plo"; else rm -f ".deps/midside.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT midside.lo -MD -MP -MF .deps/midside.Tpo -c midside.c -fPIC -DPIC -o .libs/midside.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT midside.lo -MD -MP -MF .deps/midside.Tpo -c midside.c -o midside.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT psychkni.lo -MD -MP -MF ".deps/psychkni.Tpo" -c -o psychkni.lo psychkni.c; \
then mv -f ".deps/psychkni.Tpo" ".deps/psychkni.Plo"; else rm -f ".deps/psychkni.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT psychkni.lo -MD -MP -MF .deps/psychkni.Tpo -c psychkni.c -fPIC -DPIC -o .libs/psychkni.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT psychkni.lo -MD -MP -MF .deps/psychkni.Tpo -c psychkni.c -o psychkni.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT util.lo -MD -MP -MF ".deps/util.Tpo" -c -o util.lo util.c; \
then mv -f ".deps/util.Tpo" ".deps/util.Plo"; else rm -f ".deps/util.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -fPIC -DPIC -o .libs/util.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -o util.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT backpred.lo -MD -MP -MF ".deps/backpred.Tpo" -c -o backpred.lo backpred.c; \
then mv -f ".deps/backpred.Tpo" ".deps/backpred.Plo"; else rm -f ".deps/backpred.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT backpred.lo -MD -MP -MF .deps/backpred.Tpo -c backpred.c -fPIC -DPIC -o .libs/backpred.o
backpred.c: In function 'PredCalcPrediction':
backpred.c:57: warning: 'leftChanNum' may be used uninitialized in this function
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT backpred.lo -MD -MP -MF .deps/backpred.Tpo -c backpred.c -o backpred.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT channels.lo -MD -MP -MF ".deps/channels.Tpo" -c -o channels.lo channels.c; \
then mv -f ".deps/channels.Tpo" ".deps/channels.Plo"; else rm -f ".deps/channels.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT channels.lo -MD -MP -MF .deps/channels.Tpo -c channels.c -fPIC -DPIC -o .libs/channels.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT channels.lo -MD -MP -MF .deps/channels.Tpo -c channels.c -o channels.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT filtbank.lo -MD -MP -MF ".deps/filtbank.Tpo" -c -o filtbank.lo filtbank.c; \
then mv -f ".deps/filtbank.Tpo" ".deps/filtbank.Plo"; else rm -f ".deps/filtbank.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT filtbank.lo -MD -MP -MF .deps/filtbank.Tpo -c filtbank.c -fPIC -DPIC -o .libs/filtbank.o
filtbank.c: In function 'FilterBank':
filtbank.c:100: warning: 'first_window' may be used uninitialized in this function
filtbank.c:100: warning: 'second_window' may be used uninitialized in this function
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT filtbank.lo -MD -MP -MF .deps/filtbank.Tpo -c filtbank.c -o filtbank.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT huffman.lo -MD -MP -MF ".deps/huffman.Tpo" -c -o huffman.lo huffman.c; \
then mv -f ".deps/huffman.Tpo" ".deps/huffman.Plo"; else rm -f ".deps/huffman.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT huffman.lo -MD -MP -MF .deps/huffman.Tpo -c huffman.c -fPIC -DPIC -o .libs/huffman.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT huffman.lo -MD -MP -MF .deps/huffman.Tpo -c huffman.c -o huffman.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT ltp.lo -MD -MP -MF ".deps/ltp.Tpo" -c -o ltp.lo ltp.c; \
then mv -f ".deps/ltp.Tpo" ".deps/ltp.Plo"; else rm -f ".deps/ltp.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT ltp.lo -MD -MP -MF .deps/ltp.Tpo -c ltp.c -fPIC -DPIC -o .libs/ltp.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT ltp.lo -MD -MP -MF .deps/ltp.Tpo -c ltp.c -o ltp.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT tns.lo -MD -MP -MF ".deps/tns.Tpo" -c -o tns.lo tns.c; \
then mv -f ".deps/tns.Tpo" ".deps/tns.Plo"; else rm -f ".deps/tns.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT tns.lo -MD -MP -MF .deps/tns.Tpo -c tns.c -fPIC -DPIC -o .libs/tns.o
tns.c:40: warning: 'tnsSupportedSamplingRates' defined but not used
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -Wall -MT tns.lo -MD -MP -MF .deps/tns.Tpo -c tns.c -o tns.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -Wall -o libfaac.la -rpath /usr/local/lib aacquant.lo bitstream.lo fft.lo frame.lo midside.lo psychkni.lo util.lo backpred.lo channels.lo filtbank.lo huffman.lo ltp.lo tns.lo -lm
gcc -shared .libs/aacquant.o .libs/bitstream.o .libs/fft.o .libs/frame.o .libs/midside.o .libs/psychkni.o .libs/util.o .libs/backpred.o .libs/channels.o .libs/filtbank.o .libs/huffman.o .libs/ltp.o .libs/tns.o -lm -Wl,-soname -Wl,libfaac.so.0 -o .libs/libfaac.so.0.0.0
(cd .libs && rm -f libfaac.so.0 && ln -s libfaac.so.0.0.0 libfaac.so.0)
(cd .libs && rm -f libfaac.so && ln -s libfaac.so.0.0.0 libfaac.so)
ar cru .libs/libfaac.a aacquant.o bitstream.o fft.o frame.o midside.o psychkni.o util.o backpred.o channels.o filtbank.o huffman.o ltp.o tns.o
ranlib .libs/libfaac.a
creating libfaac.la
(cd .libs && rm -f libfaac.la && ln -s ../libfaac.la libfaac.la)
make[2]: Leaving directory `/root/Desktop/faac/libfaac'
Making all in common
make[2]: Entering directory `/root/Desktop/faac/common'
Making all in mp4v2
make[3]: Entering directory `/root/Desktop/faac/common/mp4v2'
source='3gp.cpp' object='3gp.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -Wall -c -o 3gp.o 3gp.cpp
../../depcomp: line 512: exec: g++: not found
make[3]: *** [3gp.o] Error 127
make[3]: Leaving directory `/root/Desktop/faac/common/mp4v2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/Desktop/faac/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/faac'
make: *** [all] Error 2
root@vini-desktop:~/Desktop/faac#

AlucardZero 05-11-2010 05:32 PM

You're missing a compiler and other tools. Also, your bootstrap failed miserably. Install the build-essential package.

knudfl 05-11-2010 06:16 PM

Why not install faac with :

sudo apt-get install libfaac0 libfaac-dev faac

.....

MTK358 05-11-2010 07:19 PM

You don't have dev tools installed.

blackcore 05-12-2010 08:53 AM

ok i have installed build-essential, automake, autoconfig solves alot but my problems are far from over. my great frustration is dealing with missing dependencies. if the program am building uses a certain library like libwxgtk for example which is not present.if i separately get the missing library how would i go about the installation?

knudfl 05-13-2010 02:07 AM

sudo apt-get install libfaac0 libfaac-dev faac

→ will automatically install all runtime dependencies for faac.

If you want to develop something using wxgtk ...
( faac does not depend on wxgtk ! )

... then : sudo apt-get install libwxgtk2.8-dev
( Or libwxgtk2.6-dev, if that version is required.)

Use the two 'Search' in Synaptic for packages.
And use the Ubuntu Karmic 'Packages Search' sites for info:
http://packages.ubuntu.com/karmic/libwxgtk2.6-dev
http://packages.ubuntu.com/karmic/libwxgtk2.8-dev
.. And read the whole page : lots of references to other packages.

http://packages.ubuntu.com/karmic/libdevel/
http://packages.ubuntu.com/karmic/
..

Shadow_7 05-13-2010 02:29 AM

../../depcomp: line 512: exec: g++: not found

sudo apt-get install g++

Although if you're missing that one, you're probably missing a lot of things.


All times are GMT -5. The time now is 03:35 PM.