Solved

perl Install Error

Posted on 2011-03-22
3
479 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 35190218
-Dcc=vac

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

wmp

0
 

Author Comment

by:mnis2008
ID: 35190726
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
ID: 35190778
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

738 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