Current location: Hot Scripts Forums » Programming Languages » Perl » error installing perl - c compiler not working


error installing perl - c compiler not working

Reply
  #1 (permalink)  
Old 12-20-04, 11:06 AM
abtimoteo abtimoteo is offline
Newbie Coder
 
Join Date: Dec 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Question error installing perl - c compiler not working

hi, everybody!

i have been trying to install perl on slackware v10.

after doing the following:

root@zipslack:~# gzip -d perl-5.8.1.tar.gz [ENTER]

root@zipslack:~# cp -i perl-5.8.1.tar /usr/src [ENTER]

root@zipslack:~# cd /usr/src [ENTER]

root@zipslack:/usr/src# tar xvf perl-5.8.1.tar [ENTER]

root@zipslack:/usr/src# cd perl-5.8.1 [ENTER]

root@zipslack:/usr/src/perl-5.8.1# rm -f config.sh Policy.sh [ENTER]

root@zipslack:/usr/src/perl-5.8.1# sh Configure [ENTER]

... I get the following error:

"... the C compiler 'cc' doesn't seem to be working. You need to find a working C compiler."

i already checked my installation of gcc. looks fine after i ran "gcc -v".

i can install using an slackware package but i want to install/compile from a compressed archive.

thanks in advance!
Reply With Quote
  #2 (permalink)  
Old 12-21-04, 01:27 AM
Chas Chas is offline
Coding Addict
 
Join Date: Oct 2003
Location: California
Posts: 359
Thanks: 0
Thanked 0 Times in 0 Posts
You need to tell it to use gcc rather than cc. Something like this *might* work:

Code:
./Configure -Dcc=gcc
If not, Google for your error and see if you can find the correct options.

~Charlie
Reply With Quote
  #3 (permalink)  
Old 01-08-05, 11:20 PM
abtimoteo abtimoteo is offline
Newbie Coder
 
Join Date: Dec 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
ok now

thanks. i recieved and tried similar suggestions. still did not compile.

anyway, i suspected that the problem is with dependencies. i am using ziplslack and i may not have installed the additional files needed to compile from sources. to remedy this, i re-installed make. in addition, i installed binutils and kernel-headers. the source did compile thereafter.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with my largest perl script. Grabbing data from a file. Sunnmann Perl 2 04-23-08 03:27 AM
Perl coder needed XGamingZone Perl 1 09-17-04 07:19 AM
C++ compiler Lowell C/C++ 2 08-10-04 11:16 PM
public beta testing of EnginSite Perl Editor. Luckasoft Perl 0 05-12-04 12:32 PM
best win32 perl compiler? Qish Perl 0 10-28-03 09:17 PM


All times are GMT -5. The time now is 04:02 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.