[Flac-dev] Compiling problem flac 1.0.4 Mandrake 9.0 gcc 3.2

Josh Coalson xflac at yahoo.com
Thu Dec 19 08:11:01 PST 2002


I think the basic problem is that configure can't find any
C++ compiler on your system, which is required to build
some of the libraries.  It's kind of hard to imagine that
Mandrake would supply gcc but not g++; maybe something else
is wrong.

Anyway, if you absolutely do not want any of the C++ stuff,
you can just remove the following directories from SUBDIRS
in src/Makefile

libFLAC++ libOggFLAC++ test_libFLAC++ test_libOggFLAC++

Josh


--- robin.pollard at nl.abnamro.com wrote:
> Hi,
> 
> I just read the thread about making 3dnow optimisations default and
> thought I would test it as I have an AMD here.
> Unfortunately I can not even compile with default (no 3dnow) options.
> 
> ./configure goes fine including this part:
> 
> checking whether to build static libraries... yes
> checking whether -lc should be explicitly linked in... no
> creating libtool
> checking for g++... no
> checking for c++... no
> checking for gpp... no
> 
> 
> but the when I make it bombs out with:
> Making all in libFLAC++
> make[2]: Entering directory `/home/robin/flac-1.0.4/src/libFLAC++'
> source='file_decoder.cc' object='file_decoder.lo' libtool=yes \
> depfile='.deps/file_decoder.Plo' tmpdepfile='.deps/file_decoder.TPlo'
> \
> depmode=none /bin/sh ../../depcomp \
> /bin/sh ../../libtool --mode=compile g++ -DPACKAGE_NAME=\"\"
> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
> -DPACKAGE_BUGREPORT
> =\"\" -DPACKAGE=\"flac\" -DVERSION=\"1.0.4\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
> -DHAVE_GETOPT_LONG=1 -DFLAC__CPU_IA32=1
> -DFLAC__ALIGN_MALLOC_DATA=1 -DHAVE_ICONV=1 -DICONV_CONST=
> -DHAVE_LANGINFO_CODESET=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4
> -DSIZEOF_LONG=4
> -DSIZEOF_LONG_LONG=8  -I. -I.     -I../.. -I./include -I../../include
>  -O3 -DNDEBUG -fomit-frame-pointer -funroll-loops -finline-functions
> -Wall -W
> -Winline -DFLaC__INLINE=__inline__ -c -o file_decoder.lo `test -f
> 'file_decoder.cc' || echo './'`file_decoder.cc
> rm -f .libs/file_decoder.lo
> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"flac\"
> -DVERSION
> =\"1.0.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_DLFCN_H=1 -DHAVE_GETOPT_LONG=1 -DFLAC__CPU_IA32=1
> -DFLAC__ALIGN_MALLOC_DATA=1
> -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_LANGINFO_CODESET=1
> -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DSIZEOF_LONG_LONG=8
> -I. -I. -I../..
> -I./include -I../../include -O3 -DNDEBUG -fomit-frame-pointer
> -funroll-loops -finline-functions -Wall -W -Winline
> -DFLaC__INLINE=__inline__ -c
> file_decoder.cc  -fPIC -DPIC -o .libs/file_decoder.lo
> ./../libtool: line 1: g++: command not found
> make[2]: *** [file_decoder.lo] Error 1
> make[2]: Leaving directory `/home/robin/flac-1.0.4/src/libFLAC++'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/robin/flac-1.0.4/src'
> make: *** [all-recursive] Error 1
> [robin at mao flac-1.0.4]#
> 
> It looks like it is complaining about g++ missing but configure knew
> this was not there so I would expect a failure at
> configure. As you see this is flac 1.0.4.  I am running Mandrake 9.0
> gcc version 3.2.
> 
> Regards,
> Robin.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




More information about the Flac-dev mailing list