Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Icecast INSTALLATION - C compiler Error

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
raffi007



Joined: 15 Mar 2008
Posts: 2

PostPosted: Sat Mar 15, 2008 7:45 pm    Post subject: Icecast INSTALLATION - C compiler Error Reply with quote

Hi Guys

i am a super newbie in Linux
it's my first time i am using Linux
So i have baught a VPS server to run my Icecast on it

When i have tried to install Icecast the first time i got this msg

After that i have tried the command ./configure

[root@vps1246 icecast]# ./configure
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... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[root@vps1246 icecast]#



so i did some reseatrch and found out i need GCC

after looooooooooooong research i have installed GCC by doing this

[root@vps1246 gcc2]# rpm -Uvh gcc-2.95.3-0.20000503.1.i386.rpm
error: Failed dependencies:
cpp = 2.95.3 is needed by gcc-2.95.3-0.20000503.1.i386
[root@vps1246 gcc2]#
[root@vps1246 gcc2]# rpm -Uvh cpp-2.95.3-0.20000503.1.i386.rpm
Preparing... ########################################### [100%]
1:cpp ########################################### [100%]
[root@vps1246 gcc2]# rpm -Uvh gcc-2.95.3-0.20000503.1.i386.rpm
Preparing... ########################################### [100%]
1:gcc ########################################### [100%]


Ok after GCC was installed i have retried to installe ICECAST

[root@vps1246 icecast]# ./configure
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 file name... configure: error: C compiler cannot create executablesSee `config.log' for more details.



So my question is

1- WHERE CAN I FIND THE config.log file ?
2- how can i fix this problem ?

i really need icecast installed


thanks
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Mar 16, 2008 1:05 am    Post subject: Reply with quote

If you intend to build from source then you will need a development environment like gcc and the linker/cpp and development packages for the dependencies that are documented. The config.log is the file created in the current directory that reports the status of the configure script. Your latest message would indicate that gcc is having problems doing the compiling/linking. The exact cause will be reported towards the end of the config.log (the last test failure). It could be some installation thing or a lack of permissions.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
raffi007



Joined: 15 Mar 2008
Posts: 2

PostPosted: Sun Mar 16, 2008 8:02 am    Post subject: Reply with quote

karlH wrote:
If you intend to build from source then you will need a development environment like gcc and the linker/cpp and development packages for the dependencies that are documented. The config.log is the file created in the current directory that reports the status of the configure script. Your latest message would indicate that gcc is having problems doing the compiling/linking. The exact cause will be reported towards the end of the config.log (the last test failure). It could be some installation thing or a lack of permissions.

karl.


Thx kalr for ur answer
but being a newbie and first time user of Linux
i dont understand what u said
i would need more like a step by step tutorial on what to do and how to fix this problem
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Mar 16, 2008 3:47 pm    Post subject: Reply with quote

The usual procedure for a newbie is to install a pre-built package for the distribution you have installed, we don't know which one you have but I'm sure the distribution web site or the package management system can locate an icecast2 build.

If you want to build from source then you will need a development environment setup which you from the look of it you don't, and because the combinations of setups are vast then I cannot give a step by step guide. You need to fill in the blanks if you want to build from source and the key starting point is doing as I suggested before and check for the last test reported in the config.log

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber