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

Perl 5.6.1: compilation pb on AIX 4.3.2 #4736

Closed
p5pRT opened this issue Dec 21, 2001 · 5 comments
Closed

Perl 5.6.1: compilation pb on AIX 4.3.2 #4736

p5pRT opened this issue Dec 21, 2001 · 5 comments

Comments

@p5pRT
Copy link

p5pRT commented Dec 21, 2001

Migrated from rt.perl.org#8110 (status was 'rejected')

Searchable as RT8110$

@p5pRT
Copy link
Author

p5pRT commented Dec 21, 2001

From joel_saunier@yahoo.fr

Hi.

I try to compiled Perl 5.6.1 on a AIX 4.3.2.0 box.
I use GCC 3.0.2. The configuration step pass
successfully, but not the compilation.

Here are the output​:


# cd perl-5.6.1
# sh Configure -de -Dcc=gcc
<...everything seems correct...>
# /usr/local/bin/make
<...various compilation lines...>
`sh cflags libperl.a pp_sys.o` pp_sys.c
  CCCMD = gcc -DPERL_CORE -c -D_ALL_SOURCE
  -D_ANSI_C_SOURCE -D_POSIX_SOURCE
  -fno-strict-aliasing -I/usr/local/include
  -D_LARGE_FILES -O
pp_sys.c​: In function `Perl_pp_gmtime'​:
pp_sys.c​:4129​: warning​: assignment makes pointer
  from integer without a cast
pp_sys.c​:4131​: warning​: assignment makes pointer
  from integer without a cast
pp_sys.c​:4140​: dereferencing pointer to
  incomplete type
pp_sys.c​:4141​: dereferencing pointer to
  incomplete type
pp_sys.c​:4142​: dereferencing pointer to
  incomplete type
pp_sys.c​:4143​: dereferencing pointer to
  incomplete type
pp_sys.c​:4144​: dereferencing pointer to
  incomplete type
pp_sys.c​:4145​: dereferencing pointer to
  incomplete type
pp_sys.c​:4146​: dereferencing pointer to
  incomplete type
pp_sys.c​:4150​: dereferencing pointer to
  incomplete type
pp_sys.c​:4151​: dereferencing pointer to
  incomplete type
pp_sys.c​:4152​: dereferencing pointer to
  incomplete type
pp_sys.c​:4153​: dereferencing pointer to
  incomplete type
pp_sys.c​:4154​: dereferencing pointer to
  incomplete type
pp_sys.c​:4155​: dereferencing pointer to
  incomplete type
pp_sys.c​:4156​: dereferencing pointer to
  incomplete type
pp_sys.c​:4157​: dereferencing pointer to
  incomplete type
pp_sys.c​:4158​: dereferencing pointer to
  incomplete type
make​: *** [pp_sys.o] Error 1


The output of ./myconfig is​:


Summary of my perl5 (revision 5.0 version 6
subversion 1) configuration​:
  Platform​:
  osname=aix, osvers=4.3.2.0, archname=aix
  uname='aix messagerie 3 4 00915a704c00 '
  config_args='-de -Dcc=gcc'
  hint=recommended, useposix=true,
  d_sigaction=undef
  usethreads=undef use5005threads=undef
  useithreads=undef usemultiplicity=undef
  useperlio=undef d_sfio=undef
  uselargefiles=define usesocks=undef
  use64bitint=undef use64bitall=undef
  uselongdouble=undef
  Compiler​:
  cc='gcc', ccflags ='-D_ALL_SOURCE
  -D_ANSI_C_SOURCE -D_POSIX_SOURCE
  -fno-strict-aliasing -I/usr/local/include
  -D_LARGE_FILES ',
  optimize='-O',
  cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE
  -D_POSIX_SOURCE -fno-strict-aliasing
  -I/usr/local/include'
  ccversion='', gccversion='3.0.2',
  gccosandvers='aix4.3.2.0'
  intsize=4, longsize=4, ptrsize=4,
  doublesize=8, byteorder=4321
  d_longlong=undef, longlongsize=,
  d_longdbl=undef, longdblsize=
  ivtype='long', ivsize=4, nvtype='double',
  nvsize=8, Off_t='off_t', lseeksize=4
  alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries​:
  ld='ld', ldflags ='-L/usr/local/lib -b32'
  libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
  libs=-lbind -lnsl -lgdbm -ldbm -ldl -lld -lm
  -lc -lcrypt -lbsd -lPW -liconv
  perllibs=-lbind -lnsl -ldl -lld -lm -lc
  -lcrypt -lbsd -lPW -liconv
  libc=/lib/libc.a, so=a, useshrplib=false,
  libperl=libperl.a
  Dynamic Linking​:
  dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef,
  ccdlflags='-Xlinker
  -bE​:/usr/local/lib/perl5/5.6.1/aix/CORE/perl.exp'
  cccdlflags='-fpic', lddlflags=' -bhalt​:4
  -bM​:SRE -bI​:$(PERL_INC)/perl.exp
  -bE​:$(BASEEXT).exp -b noentry -lc
  -L/usr/local/lib'


Could you help me ?

Joel

___________________________________________________________
Do You Yahoo!? -- Une adresse @​yahoo.fr gratuite et en français !
Yahoo! Courrier : http​://courrier.yahoo.fr

@p5pRT
Copy link
Author

p5pRT commented Dec 21, 2001

From @doughera88

On Fri, 21 Dec 2001, [Iso-8859-1] Joel saunier wrote​:

Hi.

I try to compiled Perl 5.6.1 on a AIX 4.3.2.0 box.
I use GCC 3.0.2. The configuration step pass
successfully, but not the compilation.

Here are the output​:

---------------------------------------------
# cd perl-5.6.1
# sh Configure -de -Dcc=gcc
<...everything seems correct...>
# /usr/local/bin/make
<...various compilation lines...>
`sh cflags libperl.a pp_sys.o` pp_sys.c
CCCMD = gcc -DPERL_CORE -c -D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE
-fno-strict-aliasing -I/usr/local/include
-D_LARGE_FILES -O
pp_sys.c​: In function `Perl_pp_gmtime'​:
pp_sys.c​:4129​: warning​: assignment makes pointer
from integer without a cast
pp_sys.c​:4131​: warning​: assignment makes pointer
from integer without a cast
pp_sys.c​:4140​: dereferencing pointer to
incomplete type

Odd. Your system seems to have trouble using 'struct tm'. I don't see
anything special that perl is doing here that might be causing trouble.
Are you sure your gcc is installed and working correctly? Can you compile
a simple non-perl program using struct tm?

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

@p5pRT
Copy link
Author

p5pRT commented Apr 24, 2012

From @dmcbride

Seeing as AIX 4.3 is out of service, and perl 5.6 is long out of support,
and perl 5.14.2 compiles with xlC on AIX 6, I vote to close this.

@p5pRT
Copy link
Author

p5pRT commented Apr 24, 2012

The RT System itself - Status changed from 'stalled' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Apr 24, 2012

@cpansprout - Status changed from 'open' to 'rejected'

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