Thread: [Arsperl-users] compile trouble on solaris 9
Brought to you by:
jeffmurphy
|
From: Felling, G. <Gre...@Le...> - 2005-05-25 22:48:38
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> I'm compiling ARSPerl on Solaris 9. This has worked for me fine on Solairs 8. As you can see, I've set CC to the path to gcc, yet Makefile.PL still generates a Makefile containing CC=cc. I've even tried changing this line to gcc in the Makefile, same error. Someone please explain this to me while I still have some hair.<b> Thanks.<br> <br> </b><b><br> $ env CC=/usr/local/bin/gcc perl Makefile.PL</b><br> <b><br> $ env CC=/usr/local/bin/gcc make </b> <br> cp ARSnt-h.pm blib/lib/ARSnt-h.pm<br> cp ARS.pm blib/lib/ARS.pm<br> AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS)<br> cp ARSOOmsgs.pm blib/lib/ARSOOmsgs.pm<br> cp ARSnparm.pm blib/lib/ARSnparm.pm<br> cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm<br> cp ARSar-h.pm blib/lib/ARSar-h.pm<br> cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm<br> cp ARSOOform.pm blib/lib/ARSOOform.pm<br> cp ARSOOsup.pm blib/lib/ARSOOsup.pm<br> /usr/bin/perl -I/usr/perl5/5.6.1/lib/sun4-solaris-64int -I/usr/perl5/5.6.1/lib /usr/perl5/5.6.1/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.6.1/lib/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc && mv ARS.xsc ARS.c<br> cc -c -I/app1/ARS_512_api/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION=\"1.82\" -DXS_VERSION=\"1.82\" -KPIC -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -g -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=6 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 ARS.c<br> make: cc: Command not found<br> make: *** [ARS.o] Error 127<br> <br> </body> </html> |
|
From: David A. <D.J...@so...> - 2005-05-26 08:56:38
|
Greg, I installed ARSperl on Solaris 2.9 with Perl 5.8.0 very recently and had = no difficulties whatever. I believe that Perl will generate a Makefile with CC set to the compiler = that was used to compile Perl itself. It looks to me that your problem = is not with Solaris 2.9 but the way that Perl was installed on it. Just = possibly all you need do is to change the PATH so that the right cc is = found. Hope that helps. David Adams Corporate Information Services Information Systems Services University of Southampton ----- Original Message -----=20 From: Felling, Greg=20 To: ars...@ar...=20 Sent: Wednesday, May 25, 2005 11:48 PM Subject: [Arsperl-users] compile trouble on solaris 9 I'm compiling ARSPerl on Solaris 9. This has worked for me fine on = Solairs 8. As you can see, I've set CC to the path to gcc, yet = Makefile.PL still generates a Makefile containing CC=3Dcc. I've even = tried changing this line to gcc in the Makefile, same error. Someone = please explain this to me while I still have some hair. Thanks. $ env CC=3D/usr/local/bin/gcc perl Makefile.PL $ env CC=3D/usr/local/bin/gcc make =20 cp ARSnt-h.pm blib/lib/ARSnt-h.pm cp ARS.pm blib/lib/ARS.pm AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS) cp ARSOOmsgs.pm blib/lib/ARSOOmsgs.pm cp ARSnparm.pm blib/lib/ARSnparm.pm cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm cp ARSar-h.pm blib/lib/ARSar-h.pm cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm cp ARSOOform.pm blib/lib/ARSOOform.pm cp ARSOOsup.pm blib/lib/ARSOOsup.pm /usr/bin/perl -I/usr/perl5/5.6.1/lib/sun4-solaris-64int = -I/usr/perl5/5.6.1/lib /usr/perl5/5.6.1/lib/ExtUtils/xsubpp -typemap = /usr/perl5/5.6.1/lib/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc = && mv ARS.xsc ARS.c cc -c -I/app1/ARS_512_api/include -D_LARGEFILE_SOURCE = -D_FILE_OFFSET_BITS=3D64 -xO3 -xdepend -DVERSION=3D\"1.82\" = -DXS_VERSION=3D\"1.82\" -KPIC = -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -g -DARS32 -DARS452 = -DPERL_PATCHLEVEL_IS=3D6 -DPERL_SUBVERSION_IS=3D1 -DPERL_BASEREV_IS=3D50 = ARS.c make: cc: Command not found make: *** [ARS.o] Error 127 ------------------------------------------------------- SF.Net email = is sponsored by: GoToMeeting - the easiest way to collaborate online = with coworkers and clients while avoiding the high cost of travel and = communications. There is no equipment to buy and you can meet as often = as you want. Try it = free.http://ads.osdn.com/?ad_id=3D7402&alloc_id=3D16135&op=3Dclick = _______________________________________________ Arsperl-users mailing = list Ars...@ar... = https://lists.sourceforge.net/lists/listinfo/arsperl-users |
|
From: Felling, G. <Gre...@Le...> - 2005-05-26 18:32:39
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thank you very much, David! That was exactly the issue. I installed a
Perl built with gcc and all is good now.<br>
<br>
David Adams wrote:
<blockquote cite="mid002801c561d0$b3b606f0$3f504e98@grendel" type="cite">
<title></title>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<meta content="MSHTML 6.00.2900.2627" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Greg,</font></div>
<div> </div>
<div><font face="Arial" size="2">I installed ARSperl on Solaris 2.9
with Perl 5.8.0 very recently and had no difficulties whatever.</font></div>
<div> </div>
<div><font face="Arial" size="2">I believe that Perl will generate a
Makefile with CC set to the compiler that was used to compile Perl
itself. It looks to me that your problem is not with Solaris 2.9 but
the way that Perl was installed on it. Just possibly all you need do
is to change the PATH so that the right cc is found.</font></div>
<div> </div>
<div><font face="Arial" size="2">Hope that helps.</font></div>
<div> </div>
<div><font face="Arial" size="2">David Adams<br>
Corporate Information Services<br>
Information Systems Services<br>
University of Southampton</font></div>
<div> </div>
<blockquote
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
<div
style="background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>From:</b>
<a title="Gre...@Le..."
href="mailto:Gre...@Le...">Felling, Greg</a> </div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
<a title="ars...@ar..."
href="mailto:ars...@ar...">ars...@ar...</a> </div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Wednesday, May 25, 2005 11:48 PM</div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
[Arsperl-users] compile trouble on solaris 9</div>
<div><br>
</div>
I'm compiling ARSPerl on Solaris 9. This has worked for me fine on
Solairs 8. As you can see, I've set CC to the path to gcc, yet
Makefile.PL still generates a Makefile containing CC=cc. I've even
tried changing this line to gcc in the Makefile, same error. Someone
please explain this to me while I still have some hair.<b> Thanks.<br>
<br>
</b><b><br>
$ env CC=/usr/local/bin/gcc perl Makefile.PL</b><br>
<b><br>
$ env CC=/usr/local/bin/gcc make </b> <br>
cp ARSnt-h.pm blib/lib/ARSnt-h.pm<br>
cp ARS.pm blib/lib/ARS.pm<br>
AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS)<br>
cp ARSOOmsgs.pm blib/lib/ARSOOmsgs.pm<br>
cp ARSnparm.pm blib/lib/ARSnparm.pm<br>
cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm<br>
cp ARSar-h.pm blib/lib/ARSar-h.pm<br>
cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm<br>
cp ARSOOform.pm blib/lib/ARSOOform.pm<br>
cp ARSOOsup.pm blib/lib/ARSOOsup.pm<br>
/usr/bin/perl -I/usr/perl5/5.6.1/lib/sun4-solaris-64int
-I/usr/perl5/5.6.1/lib /usr/perl5/5.6.1/lib/ExtUtils/xsubpp -typemap
/usr/perl5/5.6.1/lib/ExtUtils/typemap -typemap typemap ARS.xs >
ARS.xsc && mv ARS.xsc ARS.c<br>
cc -c -I/app1/ARS_512_api/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION=\"1.82\"
-DXS_VERSION=\"1.82\" -KPIC
-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -g -DARS32 -DARS452
-DPERL_PATCHLEVEL_IS=6 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50
ARS.c<br>
make: cc: Command not found<br>
make: *** [ARS.o] Error 127<br>
<br>
------------------------------------------------------- SF.Net email is
sponsored by: GoToMeeting - the easiest way to collaborate online with
coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often
as you want. Try it
free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________ Arsperl-users mailing
list <a class="moz-txt-link-abbreviated" href="mailto:Ars...@ar...">Ars...@ar...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/arsperl-users">https://lists.sourceforge.net/lists/listinfo/arsperl-users</a> </blockquote>
</blockquote>
</body>
</html>
|