Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Problem of Perl5.005_03 #360

Closed
p5pRT opened this issue Aug 9, 1999 · 4 comments
Closed

Installation Problem of Perl5.005_03 #360

p5pRT opened this issue Aug 9, 1999 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Aug 9, 1999

Migrated from rt.perl.org#1194 (status was 'resolved')

Searchable as RT1194$

@p5pRT
Copy link
Author

p5pRT commented Aug 9, 1999

From scfung@midland.com.hk

Dear sir/madam,

When I installed Perl5.005_03 in my specify directory,
I first run the command 'sh Configure -Dprefix=/export/home/scfung -des' ,
there is no error return,
therefore, I run make, then got the error

make​: Fatal error​: Command failed for target '../../lib/auto/DynaLoader/DynaLoader.a'
Current working directory /export/home/scfung/perl5.005_03/ext/DynaLoader
make : Fatal error​: Command failed for target 'lib/auto/DynaLoader/DynaLoader.a'

Then, I edit config.sh and change the line
optimize='-O'
to
optimize=' '
then propagate your changes with 'sh Configure -S' and rebuild with make depend; make,
and I got the error as follows,

*** Error code 255
make​: Fatal error​: Command failed for target 'Makefile'
Current working directory /export/home/scfung/perl5.005_03/ext/DynaLoader
make config failed, continuing anyway...
../../miniperl -I../../lib -I../../lib -I../../lib -I../../lib DynaLoader_pm.PL
DynaLoader.pm
Skip ../../lib/DynaLoader.pm (unchanged)
cp dl_dlopen.xs DynaLoader.xs
../../miniperl -I../../lib -I../../lib ../../lib/ExtUtils/xsubpp -noprototypes -typemap ../../lib/ExtUtils/typemap DynaLoader.xs >xstmp.c && mv xstmp.c DynaLoader.c
cc -c DEVERSION=\"1.03\" -DXS_VERSION=\"1.03\" --I../.. -DPERL_CORE -DLIBC="/lib/libc.so" DynaLoader.c
rm -rf ../../lib/auto/DynaLoader/DynaLoader.a
ar cr ../../lib/auto/DynaLoader/DynaLoader.a DynaLoader.o && : ../../lib/auto/DynaLoader/DynaLoader.a
sh​: ar​: not found
*** Error code 1
make​: Fatal error​: Command failed for target '../../lib/auto/DynaLoader/DynaLoader.a'
Current working directory /export/home/scfung/perl5.005_03/ext/DynaLoader
*** Error code 1
make​: Fatal error​: Command failed for target 'lib/auto/DynaLoader/DynaLoader.a'

Can anybody tells me how to solve this problem, and I also want to know what is DynaLoader and what is the aim of this?

Thanks

@p5pRT
Copy link
Author

p5pRT commented Aug 9, 1999

From [Unknown Contact. See original ticket]

Scfung <scfung@​midland.com.hk> writes​:

Then, I edit config.sh and change the line=20
optimize=3D'-O'
to=20
optimize=3D' '
then propagate your changes with 'sh Configure -S' and rebuild with make =
depend; make,
and I got the error as follows,

You need not have done that.

rm -rf ../../lib/auto/DynaLoader/DynaLoader.a
ar cr ../../lib/auto/DynaLoader/DynaLoader.a DynaLoader.o && : =
../../lib/auto/DynaLoader/DynaLoader.a
sh​: ar​: not found

You need the 'ar' program in your PATH (it is used to build object libraries).

You don't say what platform you are trying to build on.
But (for example) on Solaris 'ar' is in /usr/ccs/bin

--
Nick Ing-Simmons <nik@​tiuk.ti.com>
Via, but not speaking for​: Texas Instruments Ltd.

@p5pRT
Copy link
Author

p5pRT commented Aug 9, 1999

From [Unknown Contact. See original ticket]

Scfung <scfung@​midland.com.hk> writes​:

I found 'ar' in /usr/ccs/bin,
do I need to copy it into export/home/scfung where Perl5.00503 is buildin=
g?

No - just add /usr/ccs/bin to your PATH

/bin/csh :

set path=($path /usr/ccs/bin)

/bin/sh

PATH=$PATH​:/usr/ccs/bin
export PATH

--
Nick Ing-Simmons <nik@​tiuk.ti.com>
Via, but not speaking for​: Texas Instruments Ltd.

@p5pRT
Copy link
Author

p5pRT commented Aug 9, 1999

From [Unknown Contact. See original ticket]

I found 'ar' in /usr/ccs/bin,
do I need to copy it into export/home/scfung where Perl5.00503 is building?

-----???憪???萎辣-----
撖?隞嗉??​: Nick Ing-Simmons <nik@​tiuk.ti.com>
??嗡辣???​: scfung@​midland.com.hk <scfung@​midland.com.hk>
??舀?祆?????​: perl5-porters@​perl.org <perl5-porters@​perl.org>
??交??​: 1999撟?8???9??? PM 05​:04
銝餅??​: Re​: [ID 19990809.004] Installation Problem of Perl5.005_03

Scfung <scfung@​midland.com.hk> writes​:

Then, I edit config.sh and change the line=20
optimize=3D'-O'
to=20
optimize=3D' '
then propagate your changes with 'sh Configure -S' and rebuild with make =
depend; make,
and I got the error as follows,

You need not have done that.

rm -rf ../../lib/auto/DynaLoader/DynaLoader.a
ar cr ../../lib/auto/DynaLoader/DynaLoader.a DynaLoader.o && : =
../../lib/auto/DynaLoader/DynaLoader.a
sh​: ar​: not found

You need the 'ar' program in your PATH (it is used to build object
libraries).

You don't say what platform you are trying to build on.
But (for example) on Solaris 'ar' is in /usr/ccs/bin

--
Nick Ing-Simmons <nik@​tiuk.ti.com>
Via, but not speaking for​: Texas Instruments Ltd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant