robin.pollard@nl.abnamro.com
2004-Sep-10 16:45 UTC
[Flac-dev] Compiling problem flac 1.0.4 Mandrake 9.0 gcc 3.2
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@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. --------------------------------------------------------------------------- This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. ABN AMRO Bank N.V. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. ABN AMRO Bank N.V. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ---------------------------------------------------------------------------
Josh Coalson
2004-Sep-10 16:45 UTC
[Flac-dev] Compiling problem flac 1.0.4 Mandrake 9.0 gcc 3.2
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@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@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
Josh Green
2004-Sep-10 16:45 UTC
[Flac-dev] Compiling problem flac 1.0.4 Mandrake 9.0 gcc 3.2
On Thu, 2002-12-19 at 07:29, Josh Coalson wrote:> 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. >G++ is part of the gcc-c++ RPM package in Mandrake 9.0.> 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 >Cheers. Josh Green
Matt Zimmerman
2004-Sep-10 16:45 UTC
[Flac-dev] Compiling problem flac 1.0.4 Mandrake 9.0 gcc 3.2
On Thu, Dec 19, 2002 at 07:29:39AM -0800, Josh Coalson wrote:> 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.It likely is simply not installed.> 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++This could be automated so that these libraries aren't built, but until there is evidence of a system which provides a C compiler and not a C++ compiler, where gcc does not run, and where flac would otherwise work, I don't think it's worthwhile. :-) -- - mdz