Solved

perl Install Error

Posted on 2011-03-22
3
474 Views
Last Modified: 2013-11-17
I am installing perl 5.8.8 on my AIX machine and the error is attached. Looks like its complaining abt the C compiler. I have the following installed
vac.C                      6.0.0.0  COMMITTED  C for AIX Compiler
xlC.aix50.rte             10.1.0.2  COMMITTED  XL C/C++ Runtime for AIX 5.3
xlC.cpp                    9.0.0.0  COMMITTED  C for AIX Preprocessor
xlC.rte                   10.1.0.2  COMMITTED  XL C/C++ Runtime

I have also exported the following to my path
export PATH=$PATH:/usr/vac/bin
export CC=/usr/vac/bin/cc_r

So where can be the problem.


./Configure -d -Dcc=vac -Duseshrplib -Dusethreads -Duse64bitall -Dprefix=/usr/opt/perl5_64
(I see you are using the Korn shell.  Some ksh's blow up on Configure,
mainly on older exotic systems.  If yours does, try the Bourne shell instead.)

Beginning of configuration questions for perl5.

Checking echo to see how to suppress newlines...
...using \c
The star should be here-->*

First let's make sure your kit is complete.  Checking...
Looks good...


Would you like to see the instructions? [n]

Locating common programs...
awk is in /usr/bin/awk.
cat is in /usr/bin/cat.
chmod is in /usr/bin/chmod.
comm is in /usr/bin/comm.
cp is in /usr/bin/cp.
echo is in /usr/bin/echo.
expr is in /usr/bin/expr.
grep is in /usr/bin/grep.
ls is in /usr/bin/ls.
mkdir is in /usr/bin/mkdir.
rm is in /usr/bin/rm.
sed is in /usr/bin/sed.
sort is in /usr/bin/sort.
touch is in /usr/bin/touch.
tr is in /usr/bin/tr.
uniq is in /usr/bin/uniq.

Don't worry if any of the following aren't found...
I don't see Mcc out there, offhand.
ar is in /usr/bin/ar.
I don't see bison out there, either.
I don't see byacc out there, either.
cpp is in /usr/bin/cpp.
csh is in /usr/bin/csh.
date is in /usr/bin/date.
egrep is in /usr/bin/egrep.
I don't see gmake out there, either.
gzip is in /usr/bin/gzip.
less is in /usr/bin/less.
ln is in /usr/bin/ln.
make is in /usr/bin/make.
more is in /usr/bin/more.
nm is in /usr/bin/nm.
nroff is in /usr/bin/nroff.
pg is in /usr/bin/pg.
test is in /usr/bin/test.
uname is in /usr/bin/uname.
I don't see zip out there, either.
Using the test built into your sh.

Checking compatibility between /usr/bin/echo and builtin echo (if any)...
They are compatible.  In fact, they may be identical.

Symbolic links are supported.

Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.


Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
./Configure[3016]: vac:  not found
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.

Open in new window

0
Comment
Question by:mnis2008
  • 2
3 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
-Dcc=vac

What should this be good for? There is no "vac" executable. Omit it.

wmp

0
 

Author Comment

by:mnis2008
Comment Utility
Thanks Looks like its working, I thought -Dcc will specify what compiler to use.
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
Comment Utility
Yes, but it specifies the compiler executable, not an abstract description or name of the compiler model.

CC=/usr/vac/bin/cc_r is quite sufficient to tell configure/make which compiler executable to use.

wmp
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Expiration of TSM data 17 88
llcommand 6 75
IBM flash storage 840 15 50
Write an app 10 61
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now