QUOTE(cabbagerat @ Apr 24 2008, 11:21)

That's not surprising. Save the following lines into the file "hello.c":
CODE
#include <stdio.h>
int main() {
printf("Hello, World!\n");
return 0;
}
That worked.
QUOTE(cabbagerat @ Apr 24 2008, 11:21)

Then try compiling again. If you are running Debian, why don't you just use the FLAC from the package repositories?
I have it installed but it's version 1.1.2, would like 1.2.1.
Thank You
Edit: I did some more digging and found this page:
http://packages.debian.org/sid/flacDownloaded this [flac_1.2.1.orig.tar.gz] and was able to configure but now I get another error:
CODE
make[3]: *** [metadata.lo] Error 1
make[3]: Leaving directory `/src/flac-1.2.1/src/libFLAC++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/src/flac-1.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/flac-1.2.1'
make: *** [all] Error 2
Here the is whole output:
CODE
G5:/src/flac-1.2.1# ./configure && make && make check && make install
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 whether to enable maintainer-specific portions of Makefiles... no
checking build system type... powerpc64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... 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 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... 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 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 -m elf32ppclinux) 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 whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
checking whether make sets $(MAKE)... (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 _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... yes
checking for void*... yes
checking size of void*... 4
checking whether byte ordering is bigendian... yes
checking for socklen_t... yes
checking for getopt_long... yes
checking for doxygen... no
checking for xmms-config... no
checking for XMMS - version >= 0.9.5.1... no
*** The xmms-config script installed by XMMS could not be found.
*** If XMMS was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XMMS_CONFIG environment variable to the
*** full path to xmms-config.
configure: WARNING: *** XMMS >= 0.9.5.1 not installed - XMMS support will not be built
checking for Ogg... no
*** Could not run Ogg test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means Ogg was incorrectly installed
*** or that you have moved Ogg since it was installed.
configure: WARNING: *** Ogg development enviroment not installed - Ogg support will not be built
checking for ld used by GCC... /usr/bin/ld -m elf32ppclinux
checking if the linker (/usr/bin/ld -m elf32ppclinux) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for docbook-to-man... no
checking for docbook2man... no
checking for nasm... no
checking for as... as
checking for gas... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/libFLAC/Makefile
config.status: creating src/libFLAC/flac.pc
config.status: creating src/libFLAC/ia32/Makefile
config.status: creating src/libFLAC/ppc/Makefile
config.status: creating src/libFLAC/ppc/as/Makefile
config.status: creating src/libFLAC/ppc/gas/Makefile
config.status: creating src/libFLAC/include/Makefile
config.status: creating src/libFLAC/include/private/Makefile
config.status: creating src/libFLAC/include/protected/Makefile
config.status: creating src/libFLAC++/Makefile
config.status: creating src/libFLAC++/flac++.pc
config.status: creating src/flac/Makefile
config.status: creating src/metaflac/Makefile
config.status: creating src/monkeys_audio_utilities/Makefile
config.status: creating src/monkeys_audio_utilities/flac_mac/Makefile
config.status: creating src/monkeys_audio_utilities/flac_ren/Makefile
config.status: creating src/plugin_common/Makefile
config.status: creating src/plugin_winamp2/Makefile
config.status: creating src/plugin_winamp2/include/Makefile
config.status: creating src/plugin_winamp2/include/winamp2/Makefile
config.status: creating src/plugin_xmms/Makefile
config.status: creating src/share/Makefile
config.status: creating src/share/getopt/Makefile
config.status: creating src/share/grabbag/Makefile
config.status: creating src/share/replaygain_analysis/Makefile
config.status: creating src/share/replaygain_synthesis/Makefile
config.status: creating src/share/replaygain_synthesis/include/Makefile
config.status: creating src/share/replaygain_synthesis/include/private/Makefile
config.status: creating src/share/utf8/Makefile
config.status: creating src/test_grabbag/Makefile
config.status: creating src/test_grabbag/cuesheet/Makefile
config.status: creating src/test_grabbag/picture/Makefile
config.status: creating src/test_libs_common/Makefile
config.status: creating src/test_libFLAC/Makefile
config.status: creating src/test_libFLAC++/Makefile
config.status: creating src/test_seeking/Makefile
config.status: creating src/test_streams/Makefile
config.status: creating examples/Makefile
config.status: creating examples/c/Makefile
config.status: creating examples/c/decode/Makefile
config.status: creating examples/c/decode/file/Makefile
config.status: creating examples/c/encode/Makefile
config.status: creating examples/c/encode/file/Makefile
config.status: creating examples/cpp/Makefile
config.status: creating examples/cpp/decode/Makefile
config.status: creating examples/cpp/decode/file/Makefile
config.status: creating examples/cpp/encode/Makefile
config.status: creating examples/cpp/encode/file/Makefile
config.status: creating include/Makefile
config.status: creating include/FLAC/Makefile
config.status: creating include/FLAC++/Makefile
config.status: creating include/share/Makefile
config.status: creating include/share/grabbag/Makefile
config.status: creating include/test_libs_common/Makefile
config.status: creating doc/Makefile
config.status: creating doc/html/Makefile
config.status: creating doc/html/images/Makefile
config.status: creating doc/html/images/hw/Makefile
config.status: creating doc/html/ru/Makefile
config.status: creating m4/Makefile
config.status: creating man/Makefile
config.status: creating test/Makefile
config.status: creating test/cuesheets/Makefile
config.status: creating test/flac-to-flac-metadata-test-files/Makefile
config.status: creating test/metaflac-test-files/Makefile
config.status: creating test/pictures/Makefile
config.status: creating build/Makefile
config.status: creating obj/Makefile
config.status: creating obj/debug/Makefile
config.status: creating obj/debug/bin/Makefile
config.status: creating obj/debug/lib/Makefile
config.status: creating obj/release/Makefile
config.status: creating obj/release/bin/Makefile
config.status: creating obj/release/lib/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory `/src/flac-1.2.1'
Making all in doc
make[2]: Entering directory `/src/flac-1.2.1/doc'
Making all in .
make[3]: Entering directory `/src/flac-1.2.1/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/src/flac-1.2.1/doc'
Making all in html
make[3]: Entering directory `/src/flac-1.2.1/doc/html'
Making all in ru
make[4]: Entering directory `/src/flac-1.2.1/doc/html/ru'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/src/flac-1.2.1/doc/html/ru'
Making all in images
make[4]: Entering directory `/src/flac-1.2.1/doc/html/images'
Making all in hw
make[5]: Entering directory `/src/flac-1.2.1/doc/html/images/hw'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/src/flac-1.2.1/doc/html/images/hw'
make[5]: Entering directory `/src/flac-1.2.1/doc/html/images'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/src/flac-1.2.1/doc/html/images'
make[4]: Leaving directory `/src/flac-1.2.1/doc/html/images'
make[4]: Entering directory `/src/flac-1.2.1/doc/html'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/src/flac-1.2.1/doc/html'
make[3]: Leaving directory `/src/flac-1.2.1/doc/html'
make[2]: Leaving directory `/src/flac-1.2.1/doc'
Making all in include
make[2]: Entering directory `/src/flac-1.2.1/include'
Making all in FLAC
make[3]: Entering directory `/src/flac-1.2.1/include/FLAC'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/src/flac-1.2.1/include/FLAC'
Making all in FLAC++
make[3]: Entering directory `/src/flac-1.2.1/include/FLAC++'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/src/flac-1.2.1/include/FLAC++'
Making all in share
make[3]: Entering directory `/src/flac-1.2.1/include/share'
Making all in grabbag
make[4]: Entering directory `/src/flac-1.2.1/include/share/grabbag'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/src/flac-1.2.1/include/share/grabbag'
make[4]: Entering directory `/src/flac-1.2.1/include/share'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/src/flac-1.2.1/include/share'
make[3]: Leaving directory `/src/flac-1.2.1/include/share'
Making all in test_libs_common
make[3]: Entering directory `/src/flac-1.2.1/include/test_libs_common'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/src/flac-1.2.1/include/test_libs_common'
make[3]: Entering directory `/src/flac-1.2.1/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/src/flac-1.2.1/include'
make[2]: Leaving directory `/src/flac-1.2.1/include'
Making all in m4
make[2]: Entering directory `/src/flac-1.2.1/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/src/flac-1.2.1/m4'
Making all in man
make[2]: Entering directory `/src/flac-1.2.1/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/src/flac-1.2.1/man'
Making all in src
make[2]: Entering directory `/src/flac-1.2.1/src'
Making all in libFLAC
make[3]: Entering directory `/src/flac-1.2.1/src/libFLAC'
Making all in include
make[4]: Entering directory `/src/flac-1.2.1/src/libFLAC/include'
Making all in private
make[5]: Entering directory `/src/flac-1.2.1/src/libFLAC/include/private'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/src/flac-1.2.1/src/libFLAC/include/private'
Making all in protected
make[5]: Entering directory `/src/flac-1.2.1/src/libFLAC/include/protected'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/src/flac-1.2.1/src/libFLAC/include/protected'
make[5]: Entering directory `/src/flac-1.2.1/src/libFLAC/include'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/src/flac-1.2.1/src/libFLAC/include'
make[4]: Leaving directory `/src/flac-1.2.1/src/libFLAC/include'
Making all in .
make[4]: Entering directory `/src/flac-1.2.1/src/libFLAC'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/src/flac-1.2.1/src/libFLAC'
make[3]: Leaving directory `/src/flac-1.2.1/src/libFLAC'
Making all in share
make[3]: Entering directory `/src/flac-1.2.1/src/share'
Making all in getopt
make[4]: Entering directory `/src/flac-1.2.1/src/share/getopt'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/src/flac-1.2.1/src/share/getopt'
Making all in replaygain_analysis
make[4]: Entering directory `/src/flac-1.2.1/src/share/replaygain_analysis'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/src/flac-1.2.1/src/share/replaygain_analysis'
Making all in replaygain_synthesis
make[4]: Entering directory `/src/flac-1.2.1/src/share/replaygain_synthesis'
Making all in include
make[5]: Entering directory `/src/flac-1.2.1/src/share/replaygain_synthesis/include'
Making all in private
make[6]: Entering directory `/src/flac-1.2.1/src/share/replaygain_synthesis/include/private'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/src/flac-1.2.1/src/share/replaygain_synthesis/include/private'
make[6]: Entering directory `/src/flac-1.2.1/src/share/replaygain_synthesis/include'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/src/flac-1.2.1/src/share/replaygain_synthesis/include'
make[5]: Leaving directory `/src/flac-1.2.1/src/share/replaygain_synthesis/include'
Making all in .
make[5]: Entering directory `/src/flac-1.2.1/src/share/replaygain_synthesis'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/src/flac-1.2.1/src/share/replaygain_synthesis'
make[4]: Leaving directory `/src/flac-1.2.1/src/share/replaygain_synthesis'
Making all in grabbag
make[4]: Entering directory `/src/flac-1.2.1/src/share/grabbag'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/src/flac-1.2.1/src/share/grabbag'
Making all in utf8
make[4]: Entering directory `/src/flac-1.2.1/src/share/utf8'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/src/flac-1.2.1/src/share/utf8'
make[4]: Entering directory `/src/flac-1.2.1/src/share'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/src/flac-1.2.1/src/share'
make[3]: Leaving directory `/src/flac-1.2.1/src/share'
Making all in flac
make[3]: Entering directory `/src/flac-1.2.1/src/flac'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/src/flac-1.2.1/src/flac'
Making all in metaflac
make[3]: Entering directory `/src/flac-1.2.1/src/metaflac'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/src/flac-1.2.1/src/metaflac'
Making all in monkeys_audio_utilities
make[3]: Entering directory `/src/flac-1.2.1/src/monkeys_audio_utilities'
Making all in flac_mac
make[4]: Entering directory `/src/flac-1.2.1/src/monkeys_audio_utilities/flac_mac'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/src/flac-1.2.1/src/monkeys_audio_utilities/flac_mac'
Making all in flac_ren
make[4]: Entering directory `/src/flac-1.2.1/src/monkeys_audio_utilities/flac_ren'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/src/flac-1.2.1/src/monkeys_audio_utilities/flac_ren'
make[4]: Entering directory `/src/flac-1.2.1/src/monkeys_audio_utilities'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/src/flac-1.2.1/src/monkeys_audio_utilities'
make[3]: Leaving directory `/src/flac-1.2.1/src/monkeys_audio_utilities'
Making all in plugin_winamp2
make[3]: Entering directory `/src/flac-1.2.1/src/plugin_winamp2'
Making all in include
make[4]: Entering directory `/src/flac-1.2.1/src/plugin_winamp2/include'
Making all in winamp2
make[5]: Entering directory `/src/flac-1.2.1/src/plugin_winamp2/include/winamp2'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/src/flac-1.2.1/src/plugin_winamp2/include/winamp2'
make[5]: Entering directory `/src/flac-1.2.1/src/plugin_winamp2/include'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/src/flac-1.2.1/src/plugin_winamp2/include'
make[4]: Leaving directory `/src/flac-1.2.1/src/plugin_winamp2/include'
make[4]: Entering directory `/src/flac-1.2.1/src/plugin_winamp2'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/src/flac-1.2.1/src/plugin_winamp2'
make[3]: Leaving directory `/src/flac-1.2.1/src/plugin_winamp2'
Making all in test_grabbag
make[3]: Entering directory `/src/flac-1.2.1/src/test_grabbag'
Making all in cuesheet
make[4]: Entering directory `/src/flac-1.2.1/src/test_grabbag/cuesheet'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/src/flac-1.2.1/src/test_grabbag/cuesheet'
Making all in picture
make[4]: Entering directory `/src/flac-1.2.1/src/test_grabbag/picture'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/src/flac-1.2.1/src/test_grabbag/picture'
make[4]: Entering directory `/src/flac-1.2.1/src/test_grabbag'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/src/flac-1.2.1/src/test_grabbag'
make[3]: Leaving directory `/src/flac-1.2.1/src/test_grabbag'
Making all in test_libs_common
make[3]: Entering directory `/src/flac-1.2.1/src/test_libs_common'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/src/flac-1.2.1/src/test_libs_common'
Making all in test_libFLAC
make[3]: Entering directory `/src/flac-1.2.1/src/test_libFLAC'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/src/flac-1.2.1/src/test_libFLAC'
Making all in test_seeking
make[3]: Entering directory `/src/flac-1.2.1/src/test_seeking'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/src/flac-1.2.1/src/test_seeking'
Making all in test_streams
make[3]: Entering directory `/src/flac-1.2.1/src/test_streams'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/src/flac-1.2.1/src/test_streams'
Making all in libFLAC++
make[3]: Entering directory `/src/flac-1.2.1/src/libFLAC++'
source='metadata.cpp' object='metadata.lo' libtool=yes \
depfile='.deps/metadata.Plo' tmpdepfile='.deps/metadata.TPlo' \
depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DFLaC__INLINE=__inline__ -DNDEBUG -I../.. -I./include -I../../include -c -o metadata.lo `test -f 'metadata.cpp' || echo './'`metadata.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DFLaC__INLINE=__inline__ -DNDEBUG -I../.. -I./include -I../../include -c metadata.cpp -fPIC -DPIC -o .libs/metadata.o
../../libtool: line 1223: g++: command not found
make[3]: *** [metadata.lo] Error 1
make[3]: Leaving directory `/src/flac-1.2.1/src/libFLAC++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/src/flac-1.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/flac-1.2.1'
make: *** [all] Error 2
G5:/src/flac-1.2.1#
oops forgot about codeboxModeration: Massive post size cut down thanks to a little thing called a codebox.