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

Unable to configure perl 5.8.8 on AIX 5.3 TL10 #13584

Closed
p5pRT opened this issue Feb 6, 2014 · 19 comments
Closed

Unable to configure perl 5.8.8 on AIX 5.3 TL10 #13584

p5pRT opened this issue Feb 6, 2014 · 19 comments

Comments

@p5pRT
Copy link

p5pRT commented Feb 6, 2014

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

Searchable as RT121195$

@p5pRT
Copy link
Author

p5pRT commented Feb 6, 2014

From Abdul.Mohammed@dominos.com

Hi,

I am trying to install perl 5.8.8 and running into compilation errors, I am attaching here the errors for reference. Any help will be appreciated.

Would you like to use it? [y] y
./Configure[3867]​: //cat​: 0403-006 Execute permission denied.
./Configure[3874]​: //cat​: 0403-006 Execute permission denied.
gcc​: unrecognized option '-brtl'
gcc​: unrecognized option '-bdynamic'
gcc​: unrecognized option '-bmaxdata​:0x80000000'
ld​: 0711-317 ERROR​: Undefined symbol​: .main
ld​: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2​: ld returned 8 exit status
./Configure[3874]​: //cat​: 0403-006 Execute permission denied.

Thank you,
Abdul Mohammed

@p5pRT
Copy link
Author

p5pRT commented Feb 8, 2014

From @jkeenan

On Thu Feb 06 12​:59​:03 2014, Abdul.Mohammed@​dominos.com wrote​:

Hi,

I am trying to install perl 5.8.8 and running into compilation errors,
I am attaching here the errors for reference. Any help will be
appreciated.

Would you like to use it? [y] y
./Configure[3867]​: //cat​: 0403-006 Execute permission denied.
./Configure[3874]​: //cat​: 0403-006 Execute permission denied.
gcc​: unrecognized option '-brtl'
gcc​: unrecognized option '-bdynamic'
gcc​: unrecognized option '-bmaxdata​:0x80000000'
ld​: 0711-317 ERROR​: Undefined symbol​: .main
ld​: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2​: ld returned 8 exit status
./Configure[3874]​: //cat​: 0403-006 Execute permission denied.

Thank you,
Abdul Mohammed

Perl 5.8.8 is long out of support. Could you try a more recent version of Perl, such as Perl 5.18.2?

Should you do so, please post the complete text of the ./Configure command you used.

Thank you very much.
Jim Keenan

@p5pRT
Copy link
Author

p5pRT commented Feb 8, 2014

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

@p5pRT
Copy link
Author

p5pRT commented Feb 9, 2014

From @doughera88

On Thu, Feb 06, 2014 at 12​:59​:04PM -0800, Abdul Mohammed wrote​:

# New Ticket Created by Abdul Mohammed
# Please include the string​: [perl #121195]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl5/Ticket/Display.html?id=121195 >

Hi,

I am trying to install perl 5.8.8 and running into compilation errors, I am attaching here the errors for reference. Any help will be appreciated.

Version 5.8.8 is over 8 years old. Is there a reason you need such an
old version?

Would you like to use it? [y] y

This usually only shows up when Configure tries to use the native
compiler, 'cc', fails, and then detects that 'gcc' is available and
tries that. This often works, but doesn't on AIX, since several of
the compiler flags have already been set. This is why you get the
various 'gcc​: unrecognized option' errors. The solution is to specify
gcc from the start​:

  sh Configure -Dcc=gcc

./Configure[3867]​: //cat​: 0403-006 Execute permission denied.
./Configure[3874]​: //cat​: 0403-006 Execute permission denied.

This is bizarre -- I've never seen this error before. It looks as
if Configure were unable to find /bin/cat, and instead ended up
calling it '//cat'.

If you're still getting this error, the problem is much earlier in
Configure, and you'll need to tell us more precisely what you did.

--
  Andy Dougherty doughera@​lafayette.edu

@p5pRT
Copy link
Author

p5pRT commented Feb 11, 2014

From Abdul.Mohammed@dominos.com

Thanks for getting back to me, I have downloaded the perl version from the CPAN website and untar it and try installing through Configure as per the INSTALL and README.AIX file. I got these request from one of our developer and she need perl 5.8.8 to run her scripts.

When I do this sh Configure -Dcc=gcc, I am getting the below error messages.

Good, your tr supports [​:lower​:] and [​:upper​:] to convert case.
Using [​:upper​:] and [​:lower​:] to convert case.
Configure[3016]​: //cat​: 0403-006 Execute permission denied.
ld​: 0711-317 ERROR​: Undefined symbol​: .main
ld​: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2​: ld returned 8 exit status
Configure[3016]​: //cat​: 0403-006 Execute permission denied.

I tried these commands also still no luck.

rm config.sh
  ./Configure \
  -d \
  -Dcc='gcc -maix64'
  -Duseshrplib \
  -Duse64bitall \
  -Dprefix=/usr/opt/perl5_64

Thank you,
Abdul.

-----Original Message-----
From​: Andy Dougherty via RT [mailto​:perlbug-followup@​perl.org]
Sent​: Sunday, February 09, 2014 5​:47 PM
To​: Abdul Mohammed
Subject​: Re​: [perl #121195] Unable to configure perl 5.8.8 on AIX 5.3 TL10

On Thu, Feb 06, 2014 at 12​:59​:04PM -0800, Abdul Mohammed wrote​:

# New Ticket Created by Abdul Mohammed # Please include the string​:
[perl #121195] # in the subject line of all future correspondence
about this issue.
# <URL​: https://rt-archive.perl.org/perl5/Ticket/Display.html?id=121195 >

Hi,

I am trying to install perl 5.8.8 and running into compilation errors, I am attaching here the errors for reference. Any help will be appreciated.

Version 5.8.8 is over 8 years old. Is there a reason you need such an old version?

Would you like to use it? [y] y

This usually only shows up when Configure tries to use the native compiler, 'cc', fails, and then detects that 'gcc' is available and tries that. This often works, but doesn't on AIX, since several of the compiler flags have already been set. This is why you get the various 'gcc​: unrecognized option' errors. The solution is to specify gcc from the start​:

  sh Configure -Dcc=gcc

./Configure[3867]​: //cat​: 0403-006 Execute permission denied.
./Configure[3874]​: //cat​: 0403-006 Execute permission denied.

This is bizarre -- I've never seen this error before. It looks as if Configure were unable to find /bin/cat, and instead ended up calling it '//cat'.

If you're still getting this error, the problem is much earlier in Configure, and you'll need to tell us more precisely what you did.

--
  Andy Dougherty doughera@​lafayette.edu

@p5pRT
Copy link
Author

p5pRT commented Feb 11, 2014

From @Tux

On Mon, 10 Feb 2014 15​:13​:01 +0000, Abdul Mohammed
<Abdul.Mohammed@​dominos.com> wrote​:

Thanks for getting back to me, I have downloaded the perl version from
the CPAN website and untar it and try installing through Configure as
per the INSTALL and README.AIX file. I got these request from one of
our developer and she need perl 5.8.8 to run her scripts.

Is there a compelling reason for het to require that old version?

When I do this sh Configure -Dcc=gcc, I am getting the below error messages.

Good, your tr supports [​:lower​:] and [​:upper​:] to convert case.
Using [​:upper​:] and [​:lower​:] to convert case.
Configure[3016]​: //cat​: 0403-006 Execute permission denied.

What is your $PATH
What is the output of

$ which cat

this smells like wrapper scripts that are very badly configured

ld​: 0711-317 ERROR​: Undefined symbol​: .main
ld​: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2​: ld returned 8 exit status
Configure[3016]​: //cat​: 0403-006 Execute permission denied.

I tried these commands also still no luck.

rm config.sh
./Configure \
-d \
-Dcc='gcc -maix64'
-Duseshrplib \
-Duse64bitall \
-Dprefix=/usr/opt/perl5_64

Thank you,
Abdul.

-----Original Message-----
From​: Andy Dougherty via RT [mailto​:perlbug-followup@​perl.org]
Sent​: Sunday, February 09, 2014 5​:47 PM
To​: Abdul Mohammed
Subject​: Re​: [perl #121195] Unable to configure perl 5.8.8 on AIX 5.3 TL10

On Thu, Feb 06, 2014 at 12​:59​:04PM -0800, Abdul Mohammed wrote​:

# New Ticket Created by Abdul Mohammed # Please include the string​:
[perl #121195] # in the subject line of all future correspondence
about this issue.
# <URL​: https://rt-archive.perl.org/perl5/Ticket/Display.html?id=121195 >

Hi,

I am trying to install perl 5.8.8 and running into compilation errors, I am attaching here the errors for reference. Any help will be appreciated.

Version 5.8.8 is over 8 years old. Is there a reason you need such an old version?

Would you like to use it? [y] y

This usually only shows up when Configure tries to use the native compiler, 'cc', fails, and then detects that 'gcc' is available and tries that. This often works, but doesn't on AIX, since several of the compiler flags have already been set. This is why you get the various 'gcc​: unrecognized option' errors. The solution is to specify gcc from the start​:

sh Configure \-Dcc=gcc

./Configure[3867]​: //cat​: 0403-006 Execute permission denied.
./Configure[3874]​: //cat​: 0403-006 Execute permission denied.

This is bizarre -- I've never seen this error before. It looks as if Configure were unable to find /bin/cat, and instead ended up calling it '//cat'.

If you're still getting this error, the problem is much earlier in Configure, and you'll need to tell us more precisely what you did.

--
H.Merijn Brand http​://tux.nl Perl Monger http​://amsterdam.pm.org/
using perl5.00307 .. 5.19 porting perl5 on HP-UX, AIX, and openSUSE
http​://mirrors.develooper.com/hpux/ http​://www.test-smoke.org/
http​://qa.perl.org http​://www.goldmark.org/jeff/stupid-disclaimers/

@p5pRT
Copy link
Author

p5pRT commented Feb 11, 2014

From @b2gills

On Mon, Feb 10, 2014 at 9​:13 AM, Abdul Mohammed
<Abdul.Mohammed@​dominos.com> wrote​:

Thanks for getting back to me, I have downloaded the perl version from the CPAN website and untar it and try installing through Configure as per the INSTALL and README.AIX file. I got these request from one of our developer and she need perl 5.8.8 to run her scripts.

What is the reason she thinks she needs that old of a Perl?

If it is because of a line like one of the following​:

  use v5.8.8;
  use 5.8.8;
  use 5.008008;
  require v5.8.8;
  require 5.8.8;
  require 5.008008;

Then she may be confused, as that just indicates a **minimum** version.

The vast majority of programs/scripts will continue to work on the
latest version.

If that isn't the reason, maybe someone can help fix the program/script so that
it will work on the latest version.

So I would recommend installing the latest version, and have her try using it
before digging any further.

@p5pRT
Copy link
Author

p5pRT commented Feb 12, 2014

From Abdul.Mohammed@dominos.com

I was able to install perl 5.8.8 with the help of IBM, however whenever she is trying to run the scripts she is getting these errors.

Can't locate Mail/Internet.pm. I have downloaded and installed MIME tools also from cpan website. Can you help me fixing this?

Thank you.

-----Original Message-----
From​: Brad Gilbert via RT [mailto​:perlbug-followup@​perl.org]
Sent​: Tuesday, February 11, 2014 9​:09 AM
To​: Abdul Mohammed
Subject​: Re​: [perl #121195] Unable to configure perl 5.8.8 on AIX 5.3 TL10

On Mon, Feb 10, 2014 at 9​:13 AM, Abdul Mohammed <Abdul.Mohammed@​dominos.com> wrote​:

Thanks for getting back to me, I have downloaded the perl version from the CPAN website and untar it and try installing through Configure as per the INSTALL and README.AIX file. I got these request from one of our developer and she need perl 5.8.8 to run her scripts.

What is the reason she thinks she needs that old of a Perl?

If it is because of a line like one of the following​:

  use v5.8.8;
  use 5.8.8;
  use 5.008008;
  require v5.8.8;
  require 5.8.8;
  require 5.008008;

Then she may be confused, as that just indicates a **minimum** version.

The vast majority of programs/scripts will continue to work on the latest version.

If that isn't the reason, maybe someone can help fix the program/script so that it will work on the latest version.

So I would recommend installing the latest version, and have her try using it before digging any further.

@p5pRT
Copy link
Author

p5pRT commented Feb 12, 2014

From @Tux

On Tue, 11 Feb 2014 14​:39​:56 +0000, Abdul Mohammed <Abdul.Mohammed@​dominos.com> wrote​:

I was able to install perl 5.8.8 with the help of IBM, however whenever

Still no reason given why she needs that old a version

she is trying to run the scripts she is getting these errors.

We'd also like to see the feedback in what the cause of the fail was.
If it has *anything* to do with how we support building build, we might
be able to change something to prevent build failures in the future

Furthermore, you did not really answer any questions asked in this
thread so far, which makes it harder to give answers that really matter

Can't locate Mail/Internet.pm. I have downloaded and installed MIME
tools also from cpan website. Can you help me fixing this?

did your try cpan?

$ cpan Mail​::Internet

Thank you.

-----Original Message-----
From​: Brad Gilbert via RT [mailto​:perlbug-followup@​perl.org]
Sent​: Tuesday, February 11, 2014 9​:09 AM
To​: Abdul Mohammed

On Mon, Feb 10, 2014 at 9​:13 AM, Abdul Mohammed <Abdul.Mohammed@​dominos.com> wrote​:

Thanks for getting back to me, I have downloaded the perl version from
the CPAN website and untar it and try installing through Configure as
per the INSTALL and README.AIX file. I got these request from one of
our developer and she need perl 5.8.8 to run her scripts.

What is the reason she thinks she needs that old of a Perl?

If it is because of a line like one of the following​:

use v5\.8\.8;
use 5\.8\.8;
use 5\.008008;
require v5\.8\.8;
require 5\.8\.8;
require 5\.008008;

Then she may be confused, as that just indicates a **minimum** version.

The vast majority of programs/scripts will continue to work on the
latest version.

If that isn't the reason, maybe someone can help fix the program/script
so that it will work on the latest version.

So I would recommend installing the latest version, and have her try
using it before digging any further.

--
H.Merijn Brand http​://tux.nl Perl Monger http​://amsterdam.pm.org/
using perl5.00307 .. 5.19 porting perl5 on HP-UX, AIX, and openSUSE
http​://mirrors.develooper.com/hpux/ http​://www.test-smoke.org/
http​://qa.perl.org http​://www.goldmark.org/jeff/stupid-disclaimers/

@p5pRT
Copy link
Author

p5pRT commented Feb 13, 2014

From Abdul.Mohammed@dominos.com

Complete text for command ./Configure

root > ./Configure
(I see you are using the Korn shell. Some ksh's blow up on Configure,
mainly on older exotic systems. If yours does, try the Bourne shell instead.)

Beginning of configuration questions for perl5.

Checking echo to see how to suppress newlines...
...using \c
The star should be here-->*

First let's make sure your kit is complete. Checking...
Looks good...

Would you like to see the instructions? [n]

Locating common programs...
awk is in /usr/bin/awk.
cat is in //cat.
chmod is in /usr/bin/chmod.
comm is in /usr/bin/comm.
cp is in /usr/bin/cp.
echo is in /usr/bin/echo.
expr is in /usr/bin/expr.
grep is in /usr/bin/grep.
ls is in //ls.
mkdir is in /usr/bin/mkdir.
rm is in /usr/bin/rm.
sed is in /usr/bin/sed.
sort is in /usr/bin/sort.
touch is in /usr/bin/touch.
tr is in /usr/bin/tr.
uniq is in /usr/bin/uniq.

Don't worry if any of the following aren't found...
I don't see Mcc out there, offhand.
ar is in /usr/bin/ar.
I don't see bison out there, either.
I don't see byacc out there, either.
cpp is in /usr/bin/cpp.
csh is in /usr/bin/csh.
date is in /usr/bin/date.
egrep is in /usr/bin/egrep.
I don't see gmake out there, either.
gzip is in /usr/bin/gzip.
I don't see less out there, either.
ln is in /usr/bin/ln.
make is in /usr/local/bin/make.
more is in /usr/bin/more.
nm is in /usr/bin/nm.
nroff is in /usr/bin/nroff.
pg is in /usr/bin/pg.
test is in /usr/bin/test.
uname is in /usr/bin/uname.
I don't see zip out there, either.
Using the test built into your sh.

Checking compatibility between /usr/bin/echo and builtin echo (if any)...
They are compatible. In fact, they may be identical.

Symbolic links are supported.

Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.

Good, your tr supports [​:lower​:] and [​:upper​:] to convert case.
Using [​:upper​:] and [​:lower​:] to convert case.
./Configure[3018]​: //cat​: 0403-006 Execute permission denied.
3b1 dos_djgpp irix_6_0 nonstopux sunos_4_0
aix dynix irix_6_1 openbsd sunos_4_1
aix_3 dynixptx isc opus super-ux
aix_4 epix isc_2 os2 svr4
altos486 esix4 linux os390 svr5
amigaos fps lynxos os400 ti1500
apollo freebsd machten posix-bc titanos
atheos genix machten_2 powerux ultrix_4
aux_3 gnu mint qnx umips
beos gnukfreebsd mips rhapsody unicos
bsdos gnuknetbsd mpc sco unicosmk
convexos greenhills mpeix sco_2_3_0 unisysdynix
cxux hpux ncr_tower sco_2_3_1 utekv
cygwin i386 netbsd sco_2_3_2 uts
darwin interix newsos4 sco_2_3_3 uwin
dcosx irix_4 next_3 sco_2_3_4 vmesa
dec_osf irix_5 next_3_0 solaris_2 vos
dgux irix_6 next_4 stellar
./Configure[3365]​: //cat​: 0403-006 Execute permission denied.

Which of these apply, if any? [aix] aix
./Configure[3382]​: //cat​: 0403-006 Execute permission denied.

Configure uses the operating system name and version to set some defaults.
The default value is probably right if the name rings a bell. Otherwise,
since spelling matters for me, either accept the default or answer "none"
to leave it blank.

Operating system name? [aix] aix

Operating system version? [5.3.0.0] y

Perl can be built to use the SOCKS proxy protocol library. To do so,
Configure must be run with -Dusesocks. If you use SOCKS you also need
to use the PerlIO abstraction layer, this will be implicitly selected.

If this doesn't make any sense to you, just accept the default 'n'.
Build Perl for SOCKS? [n] n

Previous version of perl5 used the standard IO mechanisms as
defined in <stdio.h>. Versions 5.003_02 and later of perl5 allow
alternate IO mechanisms via the PerlIO abstraction layer, but the
stdio mechanism is still available if needed. The abstraction layer
can use AT&T's sfio (if you already have sfio installed) or regular stdio.
Using PerlIO with sfio may cause problems with some extension modules.

If this doesn't make any sense to you, just accept the default 'y'.
Use the PerlIO abstraction layer? [y] y

Perl can be built to take advantage of threads on some systems.
To do so, Configure can be run with -Dusethreads.

Note that Perl built with threading support runs slightly slower
and uses more memory than plain Perl. The current implementation
is believed to be stable, but it is fairly new, and so should be
treated with caution.

If this doesn't make any sense to you, just accept the default 'n'.
Build a threading Perl? [n] n
Your platform has some specific hints regarding threaded builds, using them...

Perl can be built so that multiple Perl interpreters can coexist
within the same Perl executable.

If this doesn't make any sense to you, just accept the default 'n'.
Build Perl for multiplicity? [n] n

Hmm... Looks kind of like a Version 7 system, but we'll see...

Congratulations. You aren't running Eunice.

It's not Xenix...

Nor is it Venix...
Use which C compiler? [cc] Use which C compiler? [cc] cc
./Configure[3867]​: //cat​: 0403-006 Execute permission denied.
"try.c", line 1​: 1506-229 (W) File is empty.
"try.c", line 1.1​: 1506-356 (W) Compilation unit is empty.
ld​: 0711-317 ERROR​: Undefined symbol​: .main
ld​: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
Uh-oh, the C compiler 'cc' doesn't seem to be working.

You seem to have a working gcc, though.
Would you like to use it? [y] y
./Configure[3867]​: //cat​: 0403-006 Execute permission denied.
./Configure[3874]​: //cat​: 0403-006 Execute permission denied.
gcc​: unrecognized option '-brtl'
gcc​: unrecognized option '-bdynamic'
gcc​: unrecognized option '-bmaxdata​:0x80000000'
ld​: 0711-317 ERROR​: Undefined symbol​: .main
ld​: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2​: ld returned 8 exit status
./Configure[3874]​: //cat​: 0403-006 Execute permission denied.

Thank you,
Abdul.

-----Original Message-----
From​: James E Keenan via RT [mailto​:perlbug-followup@​perl.org]
Sent​: Friday, February 07, 2014 9​:26 PM
To​: Abdul Mohammed
Subject​: [perl #121195] Unable to configure perl 5.8.8 on AIX 5.3 TL10

On Thu Feb 06 12​:59​:03 2014, Abdul.Mohammed@​dominos.com wrote​:

Hi,

I am trying to install perl 5.8.8 and running into compilation errors,
I am attaching here the errors for reference. Any help will be
appreciated.

Would you like to use it? [y] y
./Configure[3867]​: //cat​: 0403-006 Execute permission denied.
./Configure[3874]​: //cat​: 0403-006 Execute permission denied.
gcc​: unrecognized option '-brtl'
gcc​: unrecognized option '-bdynamic'
gcc​: unrecognized option '-bmaxdata​:0x80000000'
ld​: 0711-317 ERROR​: Undefined symbol​: .main
ld​: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2​: ld returned 8 exit status
./Configure[3874]​: //cat​: 0403-006 Execute permission denied.

Thank you,
Abdul Mohammed

Perl 5.8.8 is long out of support. Could you try a more recent version of Perl, such as Perl 5.18.2?

Should you do so, please post the complete text of the ./Configure command you used.

Thank you very much.
Jim Keenan

@p5pRT
Copy link
Author

p5pRT commented Feb 13, 2014

From Abdul.Mohammed@dominos.com

Actually she is running her scripts on another server on Perl 5.8.8 and she wants the same version on the this server also to run her scripts. She wants to use this server as backup for her scripts to avoid outages.

If we can install the old version that will be awesome. When I try to install using cpan Mail​::Internet it is trying to connect using ftp and which is disabled in our environment, so no luck with that also.

I hope this helps.

root > perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration​:
  Platform​:
  osname=aix, osvers=6.1.2.0, archname=aix-thread-multi
  uname='aix akash79 1 6 00011a85d600 powerpc unknown aix '
  config_args='-desr -Dinstallprefix=/usr/opt/perl5 -Dprefix=/usr/opt/perl5 -Dcc=xlc_r -Duseshrplib -Dusethreads'
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
  useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
  use64bitint=undef use64bitall=undef uselongdouble=undef
  usemymalloc=n, bincompat5005=undef
  Compiler​:
  cc='cc_r', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong',
  optimize='-O',
  cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -I/usr/local/include'
  ccversion='10.1.0.9', gccversion='', gccosandvers=''
  intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
  ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
  alignbytes=8, prototype=define
  Linker and Libraries​:
  ld='ld', ldflags =' -brtl -bdynamic -L/usr/local/lib -b32'
  libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
  libs=-lbind -lnsl -lgdbm -ldbm -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd
  perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd
  libc=, so=a, useshrplib=true, libperl=libperl.a
  gnulibc_version=''
  Dynamic Linking​:
  dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -bE​:/usr/opt/perl5/lib/5.8.8/aix-thread-multi/CORE/perl.exp'
  cccdlflags=' ', lddlflags='-bhalt​:4 -bexpall -G -bnoentry -lpthreads -lc -L/usr/local/lib'

Characteristics of this binary (from libperl)​:
  Compile-time options​: MULTIPLICITY PERL_IMPLICIT_CONTEXT
  PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
  USE_PERLIO USE_REENTRANT_API
  Built under aix
  Compiled at May 19 2013 14​:46​:07
  @​INC​:
  /usr/opt/perl5/lib/5.8.8/aix-thread-multi
  /usr/opt/perl5/lib/5.8.8
  /usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi
  /usr/opt/perl5/lib/site_perl/5.8.8
  /usr/opt/perl5/lib/site_perl
 

Thanks,
Abdul.

-----Original Message-----
From​: H. Merijn Brand via RT [mailto​:perlbug-followup@​perl.org]
Sent​: Wednesday, February 12, 2014 2​:12 AM
To​: Abdul Mohammed
Subject​: Re​: [perl #121195] Unable to configure perl 5.8.8 on AIX 5.3 TL10

On Tue, 11 Feb 2014 14​:39​:56 +0000, Abdul Mohammed <Abdul.Mohammed@​dominos.com> wrote​:

I was able to install perl 5.8.8 with the help of IBM, however
whenever

Still no reason given why she needs that old a version

she is trying to run the scripts she is getting these errors.

We'd also like to see the feedback in what the cause of the fail was.
If it has *anything* to do with how we support building build, we might be able to change something to prevent build failures in the future

Furthermore, you did not really answer any questions asked in this thread so far, which makes it harder to give answers that really matter

Can't locate Mail/Internet.pm. I have downloaded and installed MIME
tools also from cpan website. Can you help me fixing this?

did your try cpan?

$ cpan Mail​::Internet

Thank you.

-----Original Message-----
From​: Brad Gilbert via RT [mailto​:perlbug-followup@​perl.org]
Sent​: Tuesday, February 11, 2014 9​:09 AM
To​: Abdul Mohammed

On Mon, Feb 10, 2014 at 9​:13 AM, Abdul Mohammed <Abdul.Mohammed@​dominos.com> wrote​:

Thanks for getting back to me, I have downloaded the perl version
from the CPAN website and untar it and try installing through
Configure as per the INSTALL and README.AIX file. I got these
request from one of our developer and she need perl 5.8.8 to run her scripts.

What is the reason she thinks she needs that old of a Perl?

If it is because of a line like one of the following​:

use v5\.8\.8;
use 5\.8\.8;
use 5\.008008;
require v5\.8\.8;
require 5\.8\.8;
require 5\.008008;

Then she may be confused, as that just indicates a **minimum** version.

The vast majority of programs/scripts will continue to work on the
latest version.

If that isn't the reason, maybe someone can help fix the
program/script so that it will work on the latest version.

So I would recommend installing the latest version, and have her try
using it before digging any further.

--
H.Merijn Brand http​://tux.nl Perl Monger http​://amsterdam.pm.org/
using perl5.00307 .. 5.19 porting perl5 on HP-UX, AIX, and openSUSE
http​://mirrors.develooper.com/hpux/ http​://www.test-smoke.org/
http​://qa.perl.org http​://www.goldmark.org/jeff/stupid-disclaimers/

@p5pRT
Copy link
Author

p5pRT commented Feb 13, 2014

From @doughera88

On Wed, Feb 12, 2014 at 07​:14​:05PM +0000, Abdul Mohammed wrote​:

Complete text for command ./Configure

root > ./Configure

I would recommend not running Configure as root. It normally does
not need root privileges to do anything, and root may well have a
different working environment than normal users, which may well
complicate the Configure and build process.

(I see you are using the Korn shell. Some ksh's blow up on Configure,
mainly on older exotic systems. If yours does, try the Bourne shell instead.)

This may be relevant. What happens if you try

  /bin/sh Configure

Beginning of configuration questions for perl5.

Checking echo to see how to suppress newlines...
...using \c
The star should be here-->*

First let's make sure your kit is complete. Checking...
Looks good...

Would you like to see the instructions? [n]

Locating common programs...
awk is in /usr/bin/awk.
cat is in //cat.

  ^^ There is the start of you problems.

For some reason, Configure is not finding cat. Configure looks in
$PATH for commands (but adds a few common directories). This may
be related to you running as root with an unusual $PATH, or it may
be related to running the Korn shell with an unusual environment.

I would recommend running Configure with /bin/sh as a normal user
and seeing if it still fails to find 'cat'. If it does, you need
to examine your $PATH variable to find 'cat' and try to figure out
why Configure can't find it.

--
  Andy Dougherty doughera@​lafayette.edu

@p5pRT
Copy link
Author

p5pRT commented Feb 14, 2014

From @Tux

On Thu, 13 Feb 2014 15​:57​:42 -0500, Andy Dougherty
<doughera@​lafayette.edu> wrote​:

Locating common programs...
awk is in /usr/bin/awk.
cat is in //cat.

        ^^ There is the start of you problems\.

For some reason, Configure is not finding cat. Configure looks in
$PATH for commands (but adds a few common directories). This may
be related to you running as root with an unusual $PATH, or it may
be related to running the Korn shell with an unusual environment.

I would recommend running Configure with /bin/sh as a normal user
and seeing if it still fails to find 'cat'. If it does, you need
to examine your $PATH variable to find 'cat' and try to figure out
why Configure can't find it.

Additionally for //ls

I have not yet encountered a system where the admin has allowed "ls"
or "cat" as root folders, so I wonder what they are and how Configure
comes to think those can be used

What does

$ ls -ld /cat /ls
$ file /cat /ls

come up with?

--
H.Merijn Brand http​://tux.nl Perl Monger http​://amsterdam.pm.org/
using perl5.00307 .. 5.19 porting perl5 on HP-UX, AIX, and openSUSE
http​://mirrors.develooper.com/hpux/ http​://www.test-smoke.org/
http​://qa.perl.org http​://www.goldmark.org/jeff/stupid-disclaimers/

@p5pRT
Copy link
Author

p5pRT commented Feb 23, 2014

From Abdul.Mohammed@dominos.com

ls -ld /cat /ls
-rw-r--r-- 1 root system 0 Oct 14 13​:39 /cat
-rw-r--r-- 1 root system 132 Sep 09 2010 /ls
$ file /cat /ls
/cat​: empty
/ls​: ascii text

-----Original Message-----
From​: H. Merijn Brand via RT [mailto​:perlbug-followup@​perl.org]
Sent​: Friday, February 14, 2014 2​:03 AM
To​: Abdul Mohammed
Subject​: Re​: [perl #121195] Unable to configure perl 5.8.8 on AIX 5.3 TL10

On Thu, 13 Feb 2014 15​:57​:42 -0500, Andy Dougherty <doughera@​lafayette.edu> wrote​:

Locating common programs...
awk is in /usr/bin/awk.
cat is in //cat.

        ^^ There is the start of you problems\.

For some reason, Configure is not finding cat. Configure looks in
$PATH for commands (but adds a few common directories). This may be
related to you running as root with an unusual $PATH, or it may be
related to running the Korn shell with an unusual environment.

I would recommend running Configure with /bin/sh as a normal user and
seeing if it still fails to find 'cat'. If it does, you need to
examine your $PATH variable to find 'cat' and try to figure out why
Configure can't find it.

Additionally for //ls

I have not yet encountered a system where the admin has allowed "ls"
or "cat" as root folders, so I wonder what they are and how Configure comes to think those can be used

What does

$ ls -ld /cat /ls
$ file /cat /ls

come up with?

--
H.Merijn Brand http​://tux.nl Perl Monger http​://amsterdam.pm.org/
using perl5.00307 .. 5.19 porting perl5 on HP-UX, AIX, and openSUSE
http​://mirrors.develooper.com/hpux/ http​://www.test-smoke.org/
http​://qa.perl.org http​://www.goldmark.org/jeff/stupid-disclaimers/

@p5pRT
Copy link
Author

p5pRT commented Feb 23, 2014

From Abdul.Mohammed@dominos.com

I am encountering below errors.

$ /bin/sh Configure
(I see you are using the Korn shell. Some ksh's blow up on Configure,
mainly on older exotic systems. If yours does, try the Bourne shell instead.)
rm​: 0653-609 Cannot remove ./bsd.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./checkcc.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./cmdline.opt.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./config.sh.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./eunice.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./extract.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./loc.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./myread.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./optdef.sh.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./os2.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./osf1.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./posthint.sh.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./tr.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./try.c.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./trygcc.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./use64bitall.cbu.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./uselargefiles.cbu.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./usethreads.cbu.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./usg.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./v7.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./venix.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./whoa.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove ./xenix.
The file access permissions do not allow the specified action.
The file access permissions do not allow the specified action.
Configure[1364]​: sharp​: 0403-005 Cannot create the specified file.
chmod​: sharp​: A file or directory in the path name does not exist.
The file access permissions do not allow the specified action.
Configure[1367]​: today​: 0403-005 Cannot create the specified file.
The file access permissions do not allow the specified action.
Configure[1371]​: sharp​: 0403-005 Cannot create the specified file.
chmod​: sharp​: A file or directory in the path name does not exist.
The file access permissions do not allow the specified action.
Configure[1374]​: today​: 0403-005 Cannot create the specified file.
The file access permissions do not allow the specified action.
Configure[1401]​: sharp​: 0403-005 Cannot create the specified file.
chmod​: sharp​: A file or directory in the path name does not exist.
Configure[1409]​: ./sharp​: not found.
Hmm... '​: use /bin/sh' does not guarantee sh startup...
You may have to fix up the shell scripts to make sure /bin/sh runs them.
The file access permissions do not allow the specified action.
Configure[1420]​: cmdline.opt​: 0403-005 Cannot create the specified file.
The file access permissions do not allow the specified action.
Configure[1447]​: options.awk​: 0403-005 Cannot create the specified file.
awk​: 0602-546 Cannot find or open file options.awk.
rm​: 0653-609 Cannot remove optdef.sh.
The file access permissions do not allow the specified action.
rm​: 0653-609 Cannot remove posthint.sh.
The file access permissions do not allow the specified action.
The file access permissions do not allow the specified action.
Configure[1510]​: optdef.sh​: 0403-005 Cannot create the specified file.
touch​: 0652-048 Cannot change the modification time on optdef.sh.
touch​: 0652-048 Cannot change the modification time on posthint.sh.
The file access permissions do not allow the specified action.
Configure[1695]​: grimble​: 0403-005 Cannot create the specified file.

AGH! Grep doesn't return a status. Attempting remedial action.
The file access permissions do not allow the specified action.
Configure[1709]​: contains​: 0403-005 Cannot create the specified file.
chmod​: contains​: A file or directory in the path name does not exist.

Thank you,
Abdul.

-----Original Message-----
From​: Andy Dougherty via RT [mailto​:perlbug-followup@​perl.org]
Sent​: Thursday, February 13, 2014 3​:58 PM
To​: Abdul Mohammed
Subject​: Re​: [perl #121195] Unable to configure perl 5.8.8 on AIX 5.3 TL10

On Wed, Feb 12, 2014 at 07​:14​:05PM +0000, Abdul Mohammed wrote​:

Complete text for command ./Configure

root > ./Configure

I would recommend not running Configure as root. It normally does not need root privileges to do anything, and root may well have a different working environment than normal users, which may well complicate the Configure and build process.

(I see you are using the Korn shell. Some ksh's blow up on Configure,
mainly on older exotic systems. If yours does, try the Bourne shell
instead.)

This may be relevant. What happens if you try

  /bin/sh Configure

Beginning of configuration questions for perl5.

Checking echo to see how to suppress newlines...
...using \c
The star should be here-->*

First let's make sure your kit is complete. Checking...
Looks good...

Would you like to see the instructions? [n]

Locating common programs...
awk is in /usr/bin/awk.
cat is in //cat.

  ^^ There is the start of you problems.

For some reason, Configure is not finding cat. Configure looks in $PATH for commands (but adds a few common directories). This may be related to you running as root with an unusual $PATH, or it may be related to running the Korn shell with an unusual environment.

I would recommend running Configure with /bin/sh as a normal user and seeing if it still fails to find 'cat'. If it does, you need to examine your $PATH variable to find 'cat' and try to figure out why Configure can't find it.

--
  Andy Dougherty doughera@​lafayette.edu

@p5pRT
Copy link
Author

p5pRT commented Feb 24, 2014

From @Tux

On Thu, 20 Feb 2014 20​:44​:31 +0000, Abdul Mohammed
<Abdul.Mohammed@​dominos.com> wrote​:

ls -ld /cat /ls
-rw-r--r-- 1 root system 0 Oct 14 13​:39 /cat
-rw-r--r-- 1 root system 132 Sep 09 2010 /ls
$ file /cat /ls
/cat​: empty
/ls​: ascii text

What are those doing there?
What strikes me as odd is that even though these two are not executable
they are still detected as possible executables

I think your system is not healthy anymore. You have files in locations
where they should not be, like these two files. It could be that
someone with root-rights did some less-clever commands like

# cd /
# some_command > cat

instead of

# cd /
# some_command | cat

but you should encounter a lot more trouble when your system is in
this state. First clean up this mess

What does

$ echo $PATH

show you? I have a hunch it does contain something like :/​:

-----Original Message-----
From​: H. Merijn Brand via RT [mailto​:perlbug-followup@​perl.org]
Sent​: Friday, February 14, 2014 2​:03 AM
To​: Abdul Mohammed

On Thu, 13 Feb 2014 15​:57​:42 -0500, Andy Dougherty <doughera@​lafayette.edu> wrote​:

Locating common programs...
awk is in /usr/bin/awk.
cat is in //cat.

        ^^ There is the start of you problems\.

For some reason, Configure is not finding cat. Configure looks in
$PATH for commands (but adds a few common directories). This may be
related to you running as root with an unusual $PATH, or it may be
related to running the Korn shell with an unusual environment.

I would recommend running Configure with /bin/sh as a normal user and
seeing if it still fails to find 'cat'. If it does, you need to
examine your $PATH variable to find 'cat' and try to figure out why
Configure can't find it.

Additionally for //ls

I have not yet encountered a system where the admin has allowed "ls"
or "cat" as root folders, so I wonder what they are and how Configure
comes to think those can be used

What does

$ ls -ld /cat /ls
$ file /cat /ls

come up with?

--
H.Merijn Brand http​://tux.nl Perl Monger http​://amsterdam.pm.org/
using perl5.00307 .. 5.19 porting perl5 on HP-UX, AIX, and openSUSE
http​://mirrors.develooper.com/hpux/ http​://www.test-smoke.org/
http​://qa.perl.org http​://www.goldmark.org/jeff/stupid-disclaimers/

@p5pRT
Copy link
Author

p5pRT commented May 17, 2014

From @jkeenan

On Sun Feb 23 23​:27​:19 2014, hmbrand wrote​:

On Thu, 20 Feb 2014 20​:44​:31 +0000, Abdul Mohammed
<Abdul.Mohammed@​dominos.com> wrote​:

ls -ld /cat /ls
-rw-r--r-- 1 root system 0 Oct 14 13​:39 /cat
-rw-r--r-- 1 root system 132 Sep 09 2010 /ls
$ file /cat /ls
/cat​: empty
/ls​: ascii text

What are those doing there?
What strikes me as odd is that even though these two are not
executable
they are still detected as possible executables

I think your system is not healthy anymore. You have files in
locations
where they should not be, like these two files.

We have not heard back from the OP in nearly three months. The version of Perl which the OP was trying to install is long out of support. And some highly qualified Perl developers have questioned the wisdom of the OP's actions and the health of his machine.

I recommend that this ticket be closed within 7 days unless there is new information provided.

Thank you very much.
Jim Keenan

@p5pRT
Copy link
Author

p5pRT commented Jul 7, 2016

From @dcollinsn

I most strongly agree with everything that Jim said​: There is no evidence here of a bug, 5.8.8 is long out of support, and the user seems to have a profoundly broken system. For each of these reasons alone, I'm closing this ticket.

@p5pRT
Copy link
Author

p5pRT commented Jul 7, 2016

@dcollinsn - 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