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

can't finish "make" #760

Closed
p5pRT opened this issue Oct 21, 1999 · 3 comments
Closed

can't finish "make" #760

p5pRT opened this issue Oct 21, 1999 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Oct 21, 1999

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

Searchable as RT1684$

@p5pRT
Copy link
Author

p5pRT commented Oct 21, 1999

From hyh@biomirror.bjmu.edu.cn

Dear Sir,
        I want to install perl on
Sun3500/SunOS5.7    I downloaded  perl5.005_03 from
your website and I read the file named "INSTALL" and did installation according
to it , but when I execute 'make', the following message appeared, 
would you please let me know what's wrong. I amlooking forward to your
reply

All the Best,
Yuhong Hao
hyh@​mail.bjmu.edu.cn

        Here is the message
# make
/bin/sh Makefile.SH
Extracting Makefile (with variable substitutions)
make depend MAKEDEPEND=
sh ./makedepend MAKE=make
make​: Warning​: Both `makefile' and `Makefile' exist
Current working directory /export/home1/glimpse4.1-for-sunOs5.6/perl5.005_03
sh writemain lib/auto/DynaLoader/DynaLoader.a  > tmp
sh mv-if-diff tmp perlmain.c
File perlmain.c not changed.
echo malloc.c av.c scope.c op.c doop.c doio.c dump.c hv.c mg.c byterun.c
perl.c
perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c gv.c
sv.c taint.c toke.c
util.c deb.c run.c universal.c globals.c perlio.c miniperlmain.c
perlmain.c | tr ' '
'\n' >.clist
Finding dependencies for malloc.o.
Finding dependencies for av.o.
Finding dependencies for scope.o.
Finding dependencies for op.o.
Finding dependencies for doop.o.
Finding dependencies for doio.o.
Finding dependencies for dump.o.
Finding dependencies for hv.o.
Finding dependencies for mg.o.
Finding dependencies for byterun.o.
Finding dependencies for perl.o.
Finding dependencies for perly.o.
Finding dependencies for pp.o.
Finding dependencies for pp_hot.o.
Finding dependencies for pp_ctl.o.
Finding dependencies for pp_sys.o.
Finding dependencies for regcomp.o.
Finding dependencies for regexec.o.
Finding dependencies for gv.o.
Finding dependencies for sv.o.
Finding dependencies for taint.o.
Finding dependencies for toke.o.
Finding dependencies for util.o.
Finding dependencies for deb.o.
Finding dependencies for run.o.
Finding dependencies for universal.o.
Finding dependencies for globals.o.
Finding dependencies for perlio.o.
Finding dependencies for miniperlmain.o.
Finding dependencies for perlmain.o.
make​: Warning​: Both `makefile' and `Makefile' exist
Current working directory /export/home1/glimpse4.1-for-sunOs5.6/perl5.005_03
echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH 
makedir.SH
perl_exp.SH writemain.SH | tr ' ' '\n' >.shlist
Updating makefile...
test -s perlmain.c && touch perlmain.c
cd x2p; make depend
make​: Warning​: Both `makefile' and `Makefile' exist
Current working directory /export/home1/glimpse4.1-for-sunOs5.6/perl5.005_03/x2p
sh ../makedepend MAKE=make
make​: Warning​: Both `makefile' and `Makefile' exist
Current working directory /export/home1/glimpse4.1-for-sunOs5.6/perl5.005_03/x2p
echo hash.c  str.c util.c walk.c | tr ' ' '\n' >.clist
Finding dependencies for hash.o.
Finding dependencies for str.o.
Finding dependencies for util.o.
Finding dependencies for walk.o.
make​: Warning​: Both `makefile' and `Makefile' exist
Current working directory /export/home1/glimpse4.1-for-sunOs5.6/perl5.005_03/x2p
echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
Updating makefile...
`sh  cflags libperl.a miniperlmain.o`  miniperlmain.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a perl.o`  perl.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a malloc.o`  malloc.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a gv.o`  gv.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a toke.o`  toke.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a perly.o`  perly.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a op.o`  op.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a regcomp.o`  regcomp.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a dump.o`  dump.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a util.o`  util.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a mg.o`  mg.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a byterun.o`  byterun.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a hv.o`  hv.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a av.o`  av.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a run.o`  run.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a pp_hot.o`  pp_hot.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a sv.o`  sv.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a pp.o`  pp.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a scope.o`  scope.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a pp_ctl.o`  pp_ctl.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a pp_sys.o`  pp_sys.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a doop.o`  doop.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a doio.o`  doio.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a regexec.o`  regexec.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a taint.o`  taint.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a deb.o`  deb.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a universal.o`  universal.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a globals.o`  globals.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
`sh  cflags libperl.a perlio.o`  perlio.c
          CCCMD = 
gcc -DPERL_CORE -c  -O
rm -f libperl.a
/usr/ccs/bin/ar rcu libperl.a perl.o malloc.o gv.o toke.o perly.o
op.o regcomp.o
dump.o util.o mg.o byterun.o hv.o av.o run.o pp_hot.o sv.o pp.o
scope.o pp_ctl.o
pp_sys.o doop.o doio.o regexec.o taint.o deb.o universal.o globals.o
perlio.o
gcc  -L/usr/local/lib -o miniperl miniperlmain.o libperl.a
-lsocket -lnsl -ldl -lm
-lc -lcrypt
./miniperl -w -Ilib -MExporter -e 0 || make minitest
./miniperl configpm tmp
sh mv-if-diff tmp lib/Config.pm
rm -f lib/re.pm
cat ext/re/re.pm > lib/re.pm
./miniperl -Ilib pod/pod2html.PL
Extracting pod2html (with variable substitutions)
./miniperl -Ilib pod/pod2latex.PL
Extracting pod2latex (with variable substitutions)
./miniperl -Ilib pod/pod2man.PL
Extracting pod2man (with variable substitutions)
./miniperl -Ilib pod/pod2text.PL
Extracting pod2text (with variable substitutions)
        AutoSplitting perl library
./miniperl -Ilib -e 'use AutoSplit; \
        autosplit_lib_modules(@​ARGV)'
lib/*.pm lib/*/*.pm
AutoSplitting lib/Getopt/Long.pm (lib/auto/Getopt/Long)
./miniperl minimod.pl > tmp
sh mv-if-diff tmp lib/ExtUtils/Miniperl.pm
`sh  cflags libperl.a perlmain.o`  perlmain.c
          CCCMD = 
gcc -DPERL_CORE -c  -O

        Making DynaLoader (static)
Writing Makefile for DynaLoader
mkdir ../../lib/auto/DynaLoader
../../miniperl -I../../lib -I../../lib -I../../lib -I../../lib DynaLoader_pm.PL
DynaLoader.pm
cp DynaLoader.pm ../../lib/DynaLoader.pm
AutoSplitting ../../lib/DynaLoader.pm (../../lib/auto/DynaLoader)
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
gcc -c   -O     -DVERSION=\"1.03\" 
-DXS_VERSION=\"1.03\"  -I../.. -DPERL_CORE
-DLIBC="" 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/home1/glimpse4.1-for-sunOs5.6/perl5.005_03/ext/DynaLoader
*** Error code 1
make​: Fatal error​: Command failed for target `lib/auto/DynaLoader/DynaLoader.a'
 
 
 

@p5pRT
Copy link
Author

p5pRT commented Oct 22, 1999

From @doughera88

On Fri, 22 Oct 1999, hyh wrote​:

Dear Sir,
I want to install perl on Sun3500/SunOS5.7 I downloaded
perl5.005_03 from your website and I read the file named "INSTALL" and
did installation according to it , but when I execute 'make', the
following message appeared, would you please let me know what's wrong.
I amlooking forward to your reply

[ successful steps omitted ]

ar cr ../../lib/auto/DynaLoader/DynaLoader.a DynaLoader.o && :
../../lib/auto/DynaLoader/DynaLoader.a
sh​: ar​: not found

Please read the section in the INSTALL file

  =item sh​: ar​: not found

which describes this exact problem and the appropriate solution.

--
  Andy Dougherty doughera@​lafayette.edu
  Dept. of Physics
  Lafayette College, Easton PA 18042

@p5pRT
Copy link
Author

p5pRT commented Oct 23, 1999

From [Unknown Contact. See original ticket]

Hyh <hyh@​biomirror.bjmu.edu.cn> writes​:

../../lib/auto/DynaLoader/DynaLoader.a
sh​: ar​: not found

You need to have /usr/ccs/bin in your path - that is where 'ar' command
is.

--
Nick Ing-Simmons

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