cancel
Showing results for 
Search instead for 
Did you mean: 

Sanity Test

jabb0
Grafter
Posts: 716
Registered: 18-09-2007

Sanity Test

i have attempted to install oggvorbis, so i can stream audio with php.
I have jumped many many hurdles tryin to get this to work, but now i have just been knee-capped,

it seems everything goes great untill the c compiler gets involved, at which point it complains:
Quote
building in /var/tmp/pear-build-ryan/oggvorbis-0.2
running: /tmp/tmpEanUt8/oggvorbis-0.2/configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-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 whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend
checking for PHP extension directory... /usr/lib/php5/20041030
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... mawk
checking whether to enable the Ogg Vorbis stream wrapper... yes, shared
checking for oggpack_writealign in -logg... yes
checking for vorbis_block_init in -lvorbis... yes
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 how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
`/tmp/tmpEanUt8/oggvorbis-0.2/configure' failed
However i cannot find config.log for the life of me, and anything that i google just says check the c compiler is installed, well there is defo a package on my compo called gcc + one called cpp.

What now?
Can you help me find config.log or its equvilent?
Or do you know of a good reason why all this happening?

Thanking you

PS i didnt include all that info first time round, but on closer inspection i thought some of it may be useful here, NOTICE i have place a greater-than (>) symbol beside where it checks for g++ and c++ should i be concerned about it saying no to these?

Any help totally and utterly apreciated
3 REPLIES
jabb0
Grafter
Posts: 716
Registered: 18-09-2007

Sanity Test

for those of you oyut there having similar problemos - there is a rather simple solution, providing ur on Debian.

Open the package manager and search for
Quote
build_essential
that will sort this weird stuff out 4 ya Tongue
N/A

Sanity Test

dont use debian ... its crap! use gentoo Tongue
holdtight
Grafter
Posts: 1,634
Registered: 15-06-2007

Sanity Test

Agreed a much better choice