compiling from source problems

Discussion in 'Installation/Configuration' started by wolf3d, Dec 25, 2009.

  1. wolf3d

    wolf3d New Member

    I tryed to compile ices-0.4 media streamer...

    it shows this
    Script started on Fri 25 Dec 2009 12:14:10 PM EET
    ]0;root@wHost: /usr/ices-0.4root@wHost:/usr/ices-0.4# ./configure --with-lame
    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 ANSI C... none needed
    checking for a BSD-compatible install... /usr/bin/install -c
    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 run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for AIX... no
    checking for library containing strerror... none required
    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 minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking for an ANSI C-conforming const... yes
    checking whether byte ordering is bigendian... no
    checking for inline... inline
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking sys/signal.h usability... yes
    checking sys/signal.h presence... yes
    checking for sys/signal.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking for sys/stat.h... (cached) yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking for sys/types.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for pid_t... yes
    checking for size_t... yes
    checking return type of signal handlers... void
    checking for strftime... yes
    checking for vsnprintf... yes
    checking for setsid... yes
    checking for setlinebuf... yes
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for a sed that does not truncate output... /bin/sed
    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 dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... 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 how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for f77... no
    checking for xlf... no
    checking for frt... no
    checking for pgf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for f90... no
    checking for xlf90... no
    checking for pgf90... no
    checking for epcf90... no
    checking for f95... no
    checking for fort... no
    checking for xlf95... no
    checking for ifc... no
    checking for efc... no
    checking for pgf95... no
    checking for lf95... no
    checking for gfortran... 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 static flag works... yes
    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 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++ 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
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    appending configuration tag "F77" to libtool
    checking for pkg-config... /usr/bin/pkg-config
    checking shout/shout.h usability... yes
    checking shout/shout.h presence... yes
    checking for shout/shout.h... yes
    checking for shout_new... yes
    checking for xml2-config... no
    checking for xml-config... xml-config
    checking for python... /usr/bin/python
    checking Python.h usability... no
    checking Python.h presence... no
    checking for Python.h... no
    configure: WARNING: Python.h doesn't appear to be usable
    Could not link to python, python scripting disabled
    Note (probably harmless): No library found for -lperl
    checking for perl_construct... no
    Could not link to perl, perl scripting disabled
    checking lame/lame.h usability... yes
    checking lame/lame.h presence... yes
    checking for lame/lame.h... yes
    checking for lame_encode_flush_nogap in -lmp3lame... yes
    checking for lame_decode_exit... yes
    checking vorbis/vorbisfile.h usability... yes
    checking vorbis/vorbisfile.h presence... yes
    checking for vorbis/vorbisfile.h... yes
    checking for ov_open in -lvorbisfile... yes
    checking faad.h usability... no
    checking faad.h presence... no
    checking for faad.h... no
    Could not find libfaad, MP4 transcoding disabled
    checking for faad.h... (cached) no
    Could not find libFLAC, FLAC transcoding disabled
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating src/playlist/Makefile
    config.status: creating conf/Makefile
    config.status: creating conf/ices.conf.dist
    config.status: creating doc/Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    Compiling with: -I/usr/include/gnome-xml -g -O2 -Wall -I/usr/include -pthread
    Linking with: -lshout -L/usr/lib -lxml -lz -lmp3lame -lvorbisfile -lvorbis -logg -lm
    Features:
    XML : yes
    Python : no
    Perl : no
    LAME : yes
    Vorbis : yes
    MP4 : no
    FLAC : no
    ]0;root@wHost: /usr/ices-0.4root@wHost:/usr/ices-0.4# make
    make all-recursive
    make[1]: Entering directory `/usr/ices-0.4'
    Making all in src
    make[2]: Entering directory `/usr/ices-0.4/src'
    Making all in playlist
    make[3]: Entering directory `/usr/ices-0.4/src/playlist'
    if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DICES_MODULEDIR=\"/usr/local/etc/modules\" -I../../src -I/usr/include/gnome-xml -g -O2 -Wall -I/usr/include -pthread -MT playlist.o -MD -MP -MF ".deps/playlist.Tpo" -c -o playlist.o playlist.c; \
    then mv -f ".deps/playlist.Tpo" ".deps/playlist.Po"; else rm -f ".deps/playlist.Tpo"; exit 1; fi
    In file included from ../../src/definitions.h:88,
    from playlist.c:22:
    ../../src/icestypes.h:38: error: expected specifier-qualifier-list before ‘shout_t’
    make[3]: *** [playlist.o] Error 1
    make[3]: Leaving directory `/usr/ices-0.4/src/playlist'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/usr/ices-0.4/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/ices-0.4'
    make: *** [all] Error 2
    ]0;root@wHost: /usr/ices-0.4root@wHost:/usr/ices-0.4# make install
    Making install in src
    make[1]: Entering directory `/usr/ices-0.4/src'
    Making install in playlist
    make[2]: Entering directory `/usr/ices-0.4/src/playlist'
    if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DICES_MODULEDIR=\"/usr/local/etc/modules\" -I../../src -I/usr/include/gnome-xml -g -O2 -Wall -I/usr/include -pthread -MT playlist.o -MD -MP -MF ".deps/playlist.Tpo" -c -o playlist.o playlist.c; \
    then mv -f ".deps/playlist.Tpo" ".deps/playlist.Po"; else rm -f ".deps/playlist.Tpo"; exit 1; fi
    In file included from ../../src/definitions.h:88,
    from playlist.c:22:
    ../../src/icestypes.h:38: error: expected specifier-qualifier-list before ‘shout_t’
    make[2]: *** [playlist.o] Error 1
    make[2]: Leaving directory `/usr/ices-0.4/src/playlist'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/usr/ices-0.4/src'
    make: *** [install-recursive] Error 1
    what could be the problem ????
    Distributor ID: Ubuntu
    Description: Ubuntu 8.04.1
    Release: 8.04
    Codename: hardy
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please reconfigure dash...
    Code:
    dpkg-reconfigure dash
    Install dash as /bin/sh? <-- No
    ... and try again.
     
  3. wolf3d

    wolf3d New Member

    it doesnt help :(
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Hm, I have no idea what's causing the problem... :(
     
  5. wolf3d

    wolf3d New Member

    i found modificated ices-0.4 variant and it works fine... no need to compile, it's *.deb package http://www.centova.com/pages/icescc

    but im still searching for another streamer... i think iceGenerator will be fine... it compiles without any error :)
     

Share This Page