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

Error while trying to install perl 5.8.7 on RHEL 6 #15632

Closed
p5pRT opened this issue Sep 27, 2016 · 6 comments
Closed

Error while trying to install perl 5.8.7 on RHEL 6 #15632

p5pRT opened this issue Sep 27, 2016 · 6 comments

Comments

@p5pRT
Copy link

p5pRT commented Sep 27, 2016

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

Searchable as RT129368$

@p5pRT
Copy link
Author

p5pRT commented Sep 27, 2016

From absouthpoint@gmail.com

Hello,

  My name is Avik. I am from India. I work as a junior system
administrator. I am trying to install *perl 5.8.7 on Red Hat Linux *
*6 *. I am trying to compile it from source. My configuration is as follows
(I got this after running *.\myconfig* in the perl5.8.7 folder).

*Summary of my perl5 (revision 5 version 8 subversion 7) configuration​:*
* Platform​:*
* osname=linux, osvers=2.6.32-504.el6.x86_64, archname=x86_64-linux*
* uname='linux localhost.localdomain 2.6.32-504.el6.x86_64 #1 smp tue
sep 16 01​:56​:35 edt 2014 x86_64 x86_64 x86_64 gnulinux '*
* config_args=''*
* hint=recommended, useposix=true, d_sigaction=define*
* usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef*
* useperlio=define d_sfio=undef uselargefiles=define usesocks=undef*
* use64bitint=define use64bitall=define uselongdouble=undef*
* usemymalloc=n, bincompat5005=undef*
* Compiler​:*
* cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',*
* optimize='-O2',*
* cppflags='-fno-strict-aliasing -pipe -I/usr/local/include
-I/usr/include/gdbm'*
* ccversion='', gccversion='4.4.7 20120313 (Red Hat 4.4.7-11)',
gccosandvers=''*
* intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678*
* d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16*
* ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8*
* alignbytes=8, prototype=define*
* Linker and Libraries​:*
* ld='ld', ldflags =' -L/usr/local/lib'*
* libpth=/usr/local/lib /lib /usr/lib*
* libs= *
* perllibs= *
* libc=/lib/libc-2.12.so <http​://libc-2.12.so>, so=so, useshrplib=false,
libperl=libperl.a*
* gnulibc_version='2.12'*
* Dynamic Linking​:*
* dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''*
* cccdlflags='', lddlflags=''*

  Initially I was getting the following error while running the make
command .

make​: *** No rule to make target `<command-line>', needed
by`miniperlmain.o'.

  So I commented all the lines containg the word <command-line> in the
makefile in the perl5.8.7 directory and also in the makefile in

the x2p subdirecotory under perl5.8.7. After this *I was able to get around
the above error.*

  But now I am getting *a new error* while running the make command.

*Error*

*cc -L/usr/local/lib -o miniperl \*
* miniperlmain.o opmini.o libperl.a *
*libperl.a(pp.o)​: In function `Perl_pp_int'​:*
*pp.c​:(.text+0x9e61)​: undefined reference to `floor'*
*pp.c​:(.text+0x9e81)​: undefined reference to `ceil'*
*libperl.a(pp.o)​: In function `Perl_pp_sqrt'​:*
*pp.c​:(.text+0x9fe1)​: undefined reference to `sqrt'*
*libperl.a(pp.o)​: In function `Perl_pp_log'​:*
*pp.c​:(.text+0xa0e9)​: undefined reference to `log'*
*libperl.a(pp.o)​: In function `Perl_pp_exp'​:*
*pp.c​:(.text+0xa273)​: undefined reference to `exp'*
*libperl.a(pp.o)​: In function `Perl_pp_cos'​:*
*pp.c​:(.text+0xa5b3)​: undefined reference to `cos'*
*libperl.a(pp.o)​: In function `Perl_pp_sin'​:*
*pp.c​:(.text+0xa713)​: undefined reference to `sin'*
*libperl.a(pp.o)​: In function `Perl_pp_atan2'​:*
*pp.c​:(.text+0xa8ed)​: undefined reference to `atan2'*
*libperl.a(pp.o)​: In function `Perl_pp_modulo'​:*
*pp.c​:(.text+0xcd94)​: undefined reference to `floor'*
*pp.c​:(.text+0xcdca)​: undefined reference to `floor'*
*pp.c​:(.text+0xce2e)​: undefined reference to `fmod'*
*libperl.a(pp.o)​: In function `Perl_pp_pow'​:*
*pp.c​:(.text+0xd48e)​: undefined reference to `pow'*
*libperl.a(pp_pack.o)​: In function `S_pack_rec'​:*
*pp_pack.c​:(.text+0x23fc)​: undefined reference to `floor'*
*pp_pack.c​:(.text+0x242f)​: undefined reference to `floor'*
*collect2​: ld returned 1 exit status*
*make​: *** [miniperl] Error 1*

  can you please help me out?

Thanks ,
Avik.

@p5pRT
Copy link
Author

p5pRT commented Sep 27, 2016

From @iabyn

On Mon, Sep 26, 2016 at 10​:21​:11PM -0700, absouthpoint . wrote​:

        My name is Avik\. I am from India\. I work as a junior system

administrator. I am trying to install *perl 5.8.7 on Red Hat Linux *
*6 *. I am trying to compile it from source.

perl 5.8.7 was released 13 years ago. Are you *really* sure you want
to install an ancient perl version like that? The current perl release
is version 5.24.0.

If you really need to install version 5.8.something, I would suggest
using version 5.8.9, which was released 3.5 years later than 5.8.7 and
contains lots of bug fixes.

To build an ancient perl, you may find perlbrew useful; see

http​://cpansearch.perl.org/src/GUGOD/App-perlbrew-0.76/README

In any case, this ticket doesn't concern a supported version of perl, so
I'm marking it as rejected.

--
Monto Blanco... scorchio!

@p5pRT
Copy link
Author

p5pRT commented Sep 27, 2016

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

@p5pRT p5pRT closed this as completed Sep 27, 2016
@p5pRT
Copy link
Author

p5pRT commented Sep 27, 2016

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

@p5pRT
Copy link
Author

p5pRT commented Sep 28, 2016

From @xsawyerx

On Mon Sep 26 22​:21​:11 2016, absouthpoint@​gmail.com wrote​:

Hello,

        My name is Avik\. I am from India\. I work as a junior system

administrator. I am trying to install *perl 5.8.7 on Red Hat Linux *
*6 *. I am trying to compile it from source. My configuration is as follows
(I got this after running *.\myconfig* in the perl5.8.7 folder).

Hi, Avik. :)

To add to Dave's response, the Perl 5 policy document[1] notes our support policy for Perl 5. It states that we "support the two most recent stable release series". Perl 5.24 is the latest stable version, which means we will extend support to fix failures (and help resolve issues) on 5.24 and 5.22.

While we try to help out with older versions (and might release an older version with important fixes), our resources are limited and we focus our efforts on recent versions as much as possible.

Thank you for understanding, and I hope you find it possible and simple to upgrade your Perl 5 version to a more up-to-date and supported version, per Dave's recommendations.

All the best,
Sawyer.

[1] http​://perldoc.perl.org/perlpolicy.html#MAINTENANCE-AND-SUPPORT

@p5pRT
Copy link
Author

p5pRT commented Sep 29, 2016

From absouthpoint@gmail.com

Hi,

  I have installed perl 5.24.0 on the RHEL 6.6 server without
any troubles. It seems to be working now. Thank you all for your response
and guidance.

Avik.

On Wed, Sep 28, 2016 at 11​:30 PM, Sawyer X via RT <perlbug-followup@​perl.org

wrote​:

On Mon Sep 26 22​:21​:11 2016, absouthpoint@​gmail.com wrote​:

Hello,

        My name is Avik\. I am from India\. I work as a junior system

administrator. I am trying to install *perl 5.8.7 on Red Hat Linux *
*6 *. I am trying to compile it from source. My configuration is as
follows
(I got this after running *.\myconfig* in the perl5.8.7 folder).

Hi, Avik. :)

To add to Dave's response, the Perl 5 policy document[1] notes our support
policy for Perl 5. It states that we "support the two most recent stable
release series". Perl 5.24 is the latest stable version, which means we
will extend support to fix failures (and help resolve issues) on 5.24 and
5.22.

While we try to help out with older versions (and might release an older
version with important fixes), our resources are limited and we focus our
efforts on recent versions as much as possible.

Thank you for understanding, and I hope you find it possible and simple to
upgrade your Perl 5 version to a more up-to-date and supported version, per
Dave's recommendations.

All the best,
Sawyer.

[1] http​://perldoc.perl.org/perlpolicy.html#MAINTENANCE-AND-SUPPORT

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