[Arsperl-users] ARSPerl Install Issue
Brought to you by:
jeffmurphy
|
From: Das, M. <md...@ti...> - 2005-05-24 22:02:35
|
I don't know where my previous posting landed so I am sending the fresh =
one. I am getting below error when I execute make. Looks like gcc cannot =
recognize KPIC option. Also it is saying cc not found but I already =
changed Makefile (CC =3D gcc).=20
There is another line in Makefile, LD =3D cc, should I make it LD =3D =
gcc ?
Any help/comments?
--------------------
$ /usr/ccs/bin/make =
=20
gcc -c -I/opt/ar/api/include -xO3 -xdepend -DVERSION=3D\"1.8002\" =
-DXS_VERSION=3D\"1.8002\" -KPIC -I/usr/perl5/5.00503/sun4-solarc
gcc: unrecognized option `-KPIC' =
=20
gcc: language depend not recognized =
=20
gcc: ARS.c: linker input file unused because linking not done =
=20
gcc -c -I/opt/ar/api/include -xO3 -xdepend -DVERSION=3D\"1.8002\" =
-DXS_VERSION=3D\"1.8002\" -KPIC -I/usr/perl5/5.00503/sun4-solarc
gcc: unrecognized option `-KPIC' =
=20
gcc: language depend not recognized =
=20
gcc: support.c: linker input file unused because linking not done =
=20
gcc -c -I/opt/ar/api/include -xO3 -xdepend -DVERSION=3D\"1.8002\" =
-DXS_VERSION=3D\"1.8002\" -KPIC -I/usr/perl5/5.00503/sun4-solarc
gcc: unrecognized option `-KPIC' =
=20
gcc: language depend not recognized =
=20
gcc: supportrev.c: linker input file unused because linking not done =
=20
Running Mkbootstrap for ARS () =
=20
chmod 644 ARS.bs =
=20
LD_RUN_PATH=3D"/opt/ar/api/lib:/lib" cc -o blib/arch/auto/ARS/ARS.so =
-R/opt/ar/api/lib -R/lib -G ARS.o support.o supportrev.o -L/o=20
sh: cc: not found =
=20
*** Error code 1 =
=20
make: Fatal error: Command failed for target `blib/arch/auto/ARS/ARS.so' =
=20
$
--------------------
Here is the env:
$ perl -v =
=20
This is perl, version 5.005_03 built for sun4-solaris
....
$ gcc -v =
=20
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.2/specs =
=20
Configured with: ../configure --with-as=3D/usr/ccs/bin/as =
--with-ld=3D/usr/ccs/bin/ld --disable-nls
Thread model: posix =
=20
gcc version 3.4.2
ARS version 5.01.02
ARSPerl 1.81
Regards,
Mano
|