LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-06-2005, 02:34 AM   #1
vik_grt
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
Unhappy making of perl 5.8.3 fails on Linux 9


Dear All.

I am trying to install perl v5.8.3 on RedHat Linux 9 Shrike.

The Configuration runs ok.

But When I make, I get these errors:
---------------------------------------------------------------------------
`sh cflags "optimize='-O2'" miniperlmain.o` miniperlmain.c
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -Wall
In file included from perl.h:37,
from miniperlmain.c:36:
config.h:3107:9: invalid preprocessing directive #NEED_VA_COPY
make: *** [miniperlmain.o] Error 1
-----------------------------------------------------------------------------


Can anyone kindly guide me on this.

Thanks in Advance!

-Vikram
 
Old 11-06-2005, 07:26 PM   #2
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
Sounds like your gcc isn't handling something in the code correctly. Check and make sure you meet the minimum version requirements of gcc to compile perl 5.8.3. Is there any reason why the Perl supplied with the distro is good enough or that you can't upgrade to something newer than RH9 (such as FC4)?
 
Old 11-07-2005, 12:06 AM   #3
vik_grt
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks a lot !

I had checked the GCC and have even installed the new version of it.
:-( , but- the same problem.

You are right, I would try upgrading to FC4 :-)

-Vikram
 
Old 11-07-2005, 12:31 AM   #4
vik_grt
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

It did work on FC4, should have been the GCC on RH9.
I will try to figure out RH9 gcc problem later.

Thanks for all the HELP!

-Vikram
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making Xchat perl plugin ivanatora Programming 1 04-14-2005 12:58 PM
Making Perl/CGI work on "localhost". xode Mandriva 2 10-25-2004 10:23 PM
making an entry in crontab through code (perl) akaash Programming 2 05-17-2004 03:36 AM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM
Error compiling Perl (making LFS system 3.3)... MatMan5959 Linux - Software 0 06-02-2002 04:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:55 AM.

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