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

Problems running make on AIX #428

Closed
p5pRT opened this issue Aug 24, 1999 · 3 comments
Closed

Problems running make on AIX #428

p5pRT opened this issue Aug 24, 1999 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Aug 24, 1999

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

Searchable as RT1269$

@p5pRT
Copy link
Author

p5pRT commented Aug 24, 1999

From support@processing.net

bash-2.01$ make
"makefile", line 500​: make​: 1254-055 Dependency line needs colon or double
colon operator.
"makefile", line 501​: make​: 1254-055 Dependency line needs colon or double
colon operator.
"makefile", line 502​: make​: 1254-055 Dependency line needs colon or double
colon operator.
.
.
.
"makefile", line 557​: make​: 1254-055 Dependency line needs colon or double
colon operator.
make​: 1254-058 Fatal errors encountered -- cannot continue.

Here is the myconfig output​:

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration​:
  Platform​:
  osname=aix, osvers=4.3.1.0, archname=aix
  uname='aix ocho 3 4 000068654c00 '
  hint=previous, useposix=true, d_sigaction=define
  usethreads=undef useperlio=undef d_sfio=undef
  Compiler​:
  cc='cc', optimize='-O', gccversion=
  cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192'
  ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=8192'
  stdchar='unsigned char', d_stdstdio=define, usevfork=false
  intsize=4, longsize=4, ptrsize=4, doublesize=8
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
  alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries​:
  ld='ld', ldflags =''
  libpth=/lib /usr/lib /usr/ccs/lib
  libs=-lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW
  libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
  Dynamic Linking​:
  dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-bE​:perl.exp'
  cccdlflags=' ', lddlflags='-bhalt​:4 -bM​:SRE -bI​:$(PERL_INC)/perl.exp
-bE​:$(BASEEXT).exp -b noentry -lc'

@p5pRT
Copy link
Author

p5pRT commented Aug 24, 1999

From [Unknown Contact. See original ticket]

Actually I got the make to work for some reason there was about 30 or so
lines of .. in the makefile. I was trying to install the latest stable
version of perl but then downgraded to the previous stable version​:
perl5.004_05.

I ran make test and got​:

Failed 21 test scripts out of 164, 84.15% okay.
  ### Since not all tests were successful, you may want to run some
  ### of them individually and examine any diagnostic messages they
  ### produce. See the INSTALL document's section on "make test".
  ###
  ### Since most tests were successful, you have a good chance to
  ### get information with better granularity by running
  ### ./perl harness
  ### in directory ./t.
u=0.31 s=1.35 cu=10.46 cs=15.57 scripts=140 tests=4743
make​: 1254-004 The error code from the last command is 1.

The errors all look like​:

at ./lib/posix.t line 13
BEGIN failed--compilation aborted at ./lib/posix.t line 13.
FAILED at test 0
lib/safe1.........Can't load '../lib/auto/Opcode/Opcode.so' for module
Opcode​: readExports​: bad magic at ../lib/DynaLoader.pm line 169.
So I ran ./perl harness as suggested in the t dir and got​:

bash-2.01$ ./perl harness
Can't load '../lib/auto/IO/IO.so' for module IO​: readExports​: bad magic at
../lib/DynaLoader.pm line 169.

at ../lib/IO/Handle.pm line 248
BEGIN failed--compilation aborted at ../lib/IO/Seekable.pm line 50.
BEGIN failed--compilation aborted at ../lib/IO/File.pm line 111.
BEGIN failed--compilation aborted at ../lib/Test/Harness.pm line 7.
BEGIN failed--compilation aborted at harness line 13.

What is this 'bad magic' thing?

I am trying to install it into my home directory and not in /usr/local.

TIA

Jason

On Tue, 24 Aug 1999, TPN Support wrote​:

I got the following errors when trying to run make​:

bash-2.01$ make
"makefile", line 500​: make​: 1254-055 Dependency line needs colon or double
colon operator.
"makefile", line 501​: make​: 1254-055 Dependency line needs colon or double
colon operator.
"makefile", line 502​: make​: 1254-055 Dependency line needs colon or double
colon operator.

Could you please tell us exactly what version of perl you are trying
and also just what *is* on lines 500, 501, and 502 of makefile? (The
makefile generated can be slightly differenton different systems, so I
don't know what the problem is.)

Thanks,

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

@p5pRT
Copy link
Author

p5pRT commented Aug 26, 1999

From [Unknown Contact. See original ticket]

On Tue, Aug 24, 1999 at 12​:07​:14PM -0700, TPN Support wrote​:

I got the following errors when trying to run make​:

bash-2.01$ make
"makefile", line 500​: make​: 1254-055 Dependency line needs colon or double
colon operator.
"makefile", line 501​: make​: 1254-055 Dependency line needs colon or double
colon operator.
"makefile", line 502​: make​: 1254-055 Dependency line needs colon or double
colon operator.

  Could you please re-post, including the output of the `myconfig'
program in your Perl build directory?

  Peace,
* Kurt Starsinic (Kurt.Starsinic@​isinet.com) --------- Technical Specialist *
| `In very small systems, the idea of something having a meaning becomes |
| as vacuous as saying that a brick is a very small house.' |
| - Marvin Minsky |
Institute for Scientific Information http​://www.isinet.com/

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