LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-26-2004, 01:17 AM   #1
grayram
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Fedora Core 5
Posts: 35

Rep: Reputation: 15
***** 'configure' Command Fails ****


I'm trying to install IceCast 2.1.0 on our remote server but I'm in no sucess doing it. Welcome another dummy in the house...

Code:
#./configure
This is the outfukin@#!!!put:

Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output... 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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
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 how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
 
Old 11-26-2004, 01:22 AM   #2
Itsu
Member
 
Registered: Jan 2004
Location: Gladstone, Oregon
Distribution: Gentoo 2005; FreeBSD 5.3
Posts: 32

Rep: Reputation: 15
If it were me, I first I would make sure everything was up to date, and then rerun the configuration script, if it still didn't work, I would take a look at the 'config.log' that it mentions and see if there's some other problem.
 
Old 11-26-2004, 01:24 AM   #3
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Rep: Reputation: 30
gcc = C compiler - which you have
g++ = C++ extra for gcc

install gcc, gcc-cpp,gcc-c++ and it should work

Last edited by The_JinJ; 11-26-2004 at 01:26 AM.
 
Old 11-26-2004, 01:27 AM   #4
grayram
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Fedora Core 5
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks Neil. You're great! At last somebody who speaks English: Direct to the point, concise and most of all truthful.


Thanks.

Last edited by grayram; 11-26-2004 at 01:32 AM.
 
Old 11-26-2004, 01:28 AM   #5
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Rep: Reputation: 30
Quote:
Originally posted by grayram
Thanks The_JinJ. You're great! At last somebody who speaks English: Direct to the point, concise and most of all truthful.


Thanks.
Hope it works :/

 
Old 11-26-2004, 01:31 AM   #6
grayram
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Fedora Core 5
Posts: 35

Original Poster
Rep: Reputation: 15
It's working. You're an angel. Yum can't find gcc-cpp though.
 
Old 11-26-2004, 01:35 AM   #7
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Rep: Reputation: 30
Quote:
Originally posted by grayram
It's working. You're an angel. Yum can't find gcc-cpp though.
Good good - thought g++ needed the cpp package - guess thats just for C pre processing...
 
Old 11-26-2004, 01:45 AM   #8
grayram
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Fedora Core 5
Posts: 35

Original Poster
Rep: Reputation: 15
Now I'm going somewhere. I got those files working already but I still need Ogg Vorbis to work. I'll try to search the packages for that.

Thanks, Neil you saved me a lifetime.
 
Old 11-26-2004, 01:55 AM   #9
grayram
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Fedora Core 5
Posts: 35

Original Poster
Rep: Reputation: 15
I cant understand what's happening.
I ran: './configure' and a part of the output it gave me is:
Code:
checking for ogg_sync_init in libogg... configure: error: must have Ogg Vorbis v1.0 or above installed!

But when I try installing it from Yum:

Code:
#yum install libvorbis
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
Server: Fedora Core 1 - i386 - Released Updates
Finding updated packages
Downloading needed headers
libvorbis is installed and is the latest version.
No actions to take
I'm confused.
 
Old 11-26-2004, 02:30 AM   #10
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
You probably need the corresponding development package -- libvorbis-devel usually. The -devel packages contain things like C programming header files needed when you're trying to compile something that uses a particular set of libraries.
 
Old 11-26-2004, 02:39 AM   #11
grayram
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Fedora Core 5
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks, btmiller. Got past the configure errors. However, I got this when I ran 'make'

Code:
make  all-recursive
make[1]: Entering directory `/usr/src/redhat/SOURCES/icecast-2.1.0'
Making all in src
make[2]: Entering directory `/usr/src/redhat/SOURCES/icecast-2.1.0/src'
Making all in avl
make[3]: Entering directory `/usr/src/redhat/SOURCES/icecast-2.1.0/src/avl'
source='avl.c' object='libiceavl_la-avl.lo' libtool=yes \
depfile='.deps/libiceavl_la-avl.Plo' tmpdepfile='.deps/libiceavl_la-avl.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./..   -pthread
-g -O2 -c -o libiceavl_la-avl.lo `test -f 'avl.c' || echo './'`avl.c
: command not found 369:
../../libtool: line 374: syntax error near unexpected token `elif'
'./../libtool: line 374: `elif test "X$1" = X--fallback-echo; then
make[3]: *** [libiceavl_la-avl.lo] Error 2
make[3]: Leaving directory `/usr/src/redhat/SOURCES/icecast-2.1.0/src/avl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/SOURCES/icecast-2.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/icecast-2.1.0'
make: *** [all] Error 2
 
Old 11-27-2004, 05:21 AM   #12
grayram
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Fedora Core 5
Posts: 35

Original Poster
Rep: Reputation: 15
I got it running now. How I got past the errors above? Well, just compile it with 'ignore errors' parameter. It will compile the codes and everything. Configure icecast and whatever encoder you have an Presto! You got yourself a streaming server.

Odd isn't it? But it works. And it's all that matters...

Chow!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 12:35 PM
./configure fails for dvgrab...but i have the library! kubrickfan799 Linux - Software 2 12-31-2004 09:54 AM
kdevelop configure fails on berkeley db.h jhcatch22 Linux - Software 1 06-16-2004 09:04 PM
C compiler fails when running the configure command So_What_Linux Linux - Software 3 08-25-2003 06:30 PM
glibc configure: fails sanity check Mr. Eek Linux From Scratch 4 05-19-2003 01:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration