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 did not install successfully #996

Closed
p5pRT opened this issue Dec 28, 1999 · 11 comments
Closed

Perl did not install successfully #996

p5pRT opened this issue Dec 28, 1999 · 11 comments

Comments

@p5pRT
Copy link

p5pRT commented Dec 28, 1999

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

Searchable as RT1946$

@p5pRT
Copy link
Author

p5pRT commented Dec 28, 1999

From sobrika@erols.com

Created by rvanes@etius.com

I just want to get Perl and Perl/Tk working.
Originally I installed the Perl binary for Solaris 7 from sunfreeware.
Then I downloaded Perl/Tk and attempted to build it using the gcc
compiler package which I installed off the sunfreeware site.
The Perl/Tk package did not work with the Perl package.
It was suggested that I needed to compile Perl with the same compiler
as Perl/Tk.

Consequently, I downloaded stable.tar.gz from www.perl.com and
attempted to build it. The 'make test ' phase failed.
I have included the output from 'make depend', 'make', 'maketest',
and 'perl harness'. I hope this is something simple.

Robert van Es

Perl Info


Site configuration information for perl 5.00503:

Configured by Robert at Mon Dec 27 14:37:50 EST 1999.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.7, archname=sun4-solaris
    uname='sunos onyx 5.7 generic_106541-02 sun4u sparc sunw,ultra-5_10 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc -B/usr/ccs/bin/', optimize='-O', gccversion=2.95.2 19991024
(release)
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'

Locally applied patches:



@INC for perl 5.00503:
    lib
    /usr/local/lib/perl5/5.00503/sun4-solaris
    /usr/local/lib/perl5/5.00503
    /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.005
    .


Environment for perl 5.00503:
    HOME=/users/Robert
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)

PATH=.:/bin:/usr/bin:/usr/ucb:/etc:/usr/ccs/bin:/usr/openwin/bin:/usr/local/
bin:/opt/SUNWspro/bin:/usr/openwin/demo
    PERL_BADLANG (unset)
    SHELL=/bin/csh

@p5pRT
Copy link
Author

p5pRT commented Dec 28, 1999

From sobrika@erols.com

perlbug.tar.gz

@p5pRT
Copy link
Author

p5pRT commented Dec 30, 1999

From [Unknown Contact. See original ticket]

Eti Inc \ <sobrika@​erols.com> writes​:

To​: perlbug@​perl.com
Subject​: Perl did not install successfully
Reply-To​: rvanes@​etius.com

This is a bug report for perl from rvanes@​etius.com,
generated with the help of perlbug 1.26 running under perl 5.00503.

-----------------------------------------------------------------
[Please enter your report here]

I just want to get Perl and Perl/Tk working.
Originally I installed the Perl binary for Solaris 7 from sunfreeware.
Then I downloaded Perl/Tk and attempted to build it using the gcc
compiler package which I installed off the sunfreeware site.
The Perl/Tk package did not work with the Perl package.
It was suggested that I needed to compile Perl with the same compiler
as Perl/Tk.

So long as there is only C code (no C++) I have had no real problems
mixing various GCCs and/or Sun compilers. But that is good advice.

Consequently, I downloaded stable.tar.gz from www.perl.com and
attempted to build it. The 'make test ' phase failed.
I have included the output from 'make depend', 'make', 'maketest',
and 'perl harness'. I hope this is something simple.

Cannot see anything obviously wrong.
That is a squeaky clean new GCC though I have the impression that
it has not been shaken down on "Solaris7" yet.

Can you run
gcc -v
to see how GCC is built?
It is _possible_ that the compiler is at fault.
But it looks more like a library/include file mis-match
problem.

bin​:/opt/SUNWspro/bin​:/usr/openwin/demo

If you have the SunPro compiler you could try building with
that.

--
Nick Ing-Simmons

@p5pRT
Copy link
Author

p5pRT commented Jan 3, 2000

From [Unknown Contact. See original ticket]

Nick​:

Thank-you for your response. Here are the outputs of some version commands.

/users/Robert/downloads/Tk800.015 19 > gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
/users/Robert/downloads/Tk800.015 20 > perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration​:
  Platform​:
  osname=solaris, osvers=2.7, archname=sun4-solaris
  uname='sunos 5.7 generic_patch sun4u sparc sunw,ultra-1 '
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=undef useperlio=undef d_sfio=undef
  Compiler​:
  cc='gcc', optimize='-O', gccversion=2.8.1
  cppflags='-I/usr/local/include'
  ccflags ='-I/usr/local/include'
  stdchar='char', d_stdstdio=define, usevfork=false
  intsize=4, longsize=4, ptrsize=4, doublesize=8
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
  alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries​:
  ld='gcc', ldflags =' -L/usr/local/lib'
  libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
  libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt
  libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking​:
  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
  cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'

Characteristics of this binary (from libperl)​:
  Built under solaris
  Compiled at Jun 27 1999 20​:12​:35
  @​INC​:
  /usr/local/lib/perl5/5.00503/sun4-solaris
  /usr/local/lib/perl5/5.00503
  /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
  /usr/local/lib/perl5/site_perl/5.005
  .

As you can see, the binary Perl distribution that is still installed on my
system was compiled in gcc. Also, it works and I'd hate to replace it. So,
my primary goal is just to get Perl/Tk to work with it. Do you think that
compiling Tk with another compiler would work if compiling it with gcc does
not?

Robert van Es

@p5pRT
Copy link
Author

p5pRT commented Jan 3, 2000

From [Unknown Contact. See original ticket]

Nick​:

I attempted to install Perl/Tk again this morning.
I have included the output of the following commands in the attachment​:

perl Makefile.PL => perlMakefilePL.txt
make => make.txt
make test => maketest.txt

I am really getting frustrated with the amount of time it is taking me to
get Perl/Tk to work on my workstation when all the conditions appear to be
perfect on the surface.

Robert van Es

@p5pRT
Copy link
Author

p5pRT commented Jan 3, 2000

From [Unknown Contact. See original ticket]

install.tar.gz

@p5pRT
Copy link
Author

p5pRT commented Jan 3, 2000

From [Unknown Contact. See original ticket]

Eti Inc \ <sobrika@​erols.com> writes​:

Nick​:

Thank-you for your response. Here are the outputs of some version commands.

Thanks.

/users/Robert/downloads/Tk800.015 19 > gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)

Well at least that gcc is compiled for Solaris7.

/users/Robert/downloads/Tk800.015 20 > perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration​:
Platform​:
osname=solaris, osvers=2.7, archname=sun4-solaris
uname='sunos 5.7 generic_patch sun4u sparc sunw,ultra-1 '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler​:
cc='gcc', optimize='-O', gccversion=2.8.1

That perl was compiled with gcc-2.8.1 - which is a nice "mature" gcc
I think it is what I use myself at work on the Solaris machines.
(The Sun I have here at home has egcs-1.1.2 version of gcc, as does this
linux machine.)

As you can see, the binary Perl distribution that is still installed on my
system was compiled in gcc. Also, it works and I'd hate to replace it.

Given that you new gcc is playing up I would not replace it either.

So,
my primary goal is just to get Perl/Tk to work with it. Do you think that
compiling Tk with another compiler would work if compiling it with gcc does
not?

I am (fairly) sure that combining gcc-2.8.1 and SunPro cc will work fine.
I am sure that an all SunPro built perl/Tk works, and that an all gcc-2.8.1
perl/Tk works.

If it was my system I would find gcc-2.8.1 and install that - I would
install from source but there are probably binaries somewhere.

I will try building gcc-2.95.2 and perl when I get to work tomorrow
(other issues permitting). (Work policy prohibits downloading binaries
though - so I can't just grab same gcc you did.)

--
Nick Ing-Simmons

@p5pRT
Copy link
Author

p5pRT commented Jan 3, 2000

From [Unknown Contact. See original ticket]

Eti Inc \ <sobrika@​erols.com> writes​:

Nick​:

I attempted to install Perl/Tk again this morning.
I have included the output of the following commands in the attachment​:

perl Makefile.PL => perlMakefilePL.txt
make => make.txt
make test => maketest.txt

Makefile.PL transcript looks normal.
make transcript shows you did not do a "make clean" and essentialy
reused any .o files you had from before - which does not tell me anything.
The "make test" transcript is still showing the weird "normal ...DynaLoader"
messages which were reported before. As I said before - run the
test outside the harness to get the full message​:

perl -Mblib t/Require.t

I am really getting frustrated with the amount of time it is taking me to
get Perl/Tk to work on my workstation when all the conditions appear to be
perfect on the surface.

I suspect your gcc-2.95.2

--
Nick Ing-Simmons

@p5pRT
Copy link
Author

p5pRT commented Jan 4, 2000

From [Unknown Contact. See original ticket]

Nick​:

I did as you suggested by getting the gcc 2.8.1 binary distribution from
sunfreeware.
Then I removed the gcc 2.95.2 package and added the gcc 2.8.1 package.
Finally, I did a 'make clean', 'perl Makefile.PL', 'make', etc. on the
Perl/Tk stuff.
It continues to behave the same way as before. All my output for these
various
commands are included in the attachment. I believe this eliminates the
possibility
of a compiler version mismatch being responsible for this problem. What do
you think?

Robert van Es

-----Original Message-----
From​: Nick Ing-Simmons [mailto​:nick@​ing-simmons.net]
Sent​: Monday, January 03, 2000 4​:45 PM
To​: sobrika@​erols.com
Cc​: nick@​ing-simmons.net; perl5-porters@​perl.org
Subject​: Re​: [ID​: 19991228.001] Problem Installing Perl/Tk

Eti Inc \ <sobrika@​erols.com> writes​:

Nick​:

I attempted to install Perl/Tk again this morning.
I have included the output of the following commands in the attachment​:

perl Makefile.PL => perlMakefilePL.txt
make => make.txt
make test => maketest.txt

Makefile.PL transcript looks normal.
make transcript shows you did not do a "make clean" and essentialy
reused any .o files you had from before - which does not tell me anything.
The "make test" transcript is still showing the weird "normal ...DynaLoader"
messages which were reported before. As I said before - run the
test outside the harness to get the full message​:

perl -Mblib t/Require.t

I am really getting frustrated with the amount of time it is taking me to
get Perl/Tk to work on my workstation when all the conditions appear to be
perfect on the surface.

I suspect your gcc-2.95.2

--
Nick Ing-Simmons

@p5pRT
Copy link
Author

p5pRT commented Jan 4, 2000

From [Unknown Contact. See original ticket]

ptkinstall.txt.gz

@p5pRT
Copy link
Author

p5pRT commented Jan 5, 2000

From [Unknown Contact. See original ticket]

Nick​:

Thank-you for your perseverance on my behalf. The file SPECIFIC.DAT from
the gcc installation suite which you sent did the trick. By simply removing
Solaris 7 patch 107058-01 from my machine I was able to re-make Perl/Tk and
pass all the post-installation tests. Just for the record, I am using the
gcc 2.8.1 and perl 5.00503 binary distributions from the sunfreeware site.
The perl binary was compiled with gcc 2.8.1. I normally read most, if not
all, related docs when installing new software but I guess I just assumed
that if I installed the Solaris 7 gcc binary distribution from sunfreeware
on a system where Sun had preinstalled Solaris 7, that everything should be
consistent... NOT! Anyway, now I can move on to what I'm really supposed
to be doing with this setup. Thanks again.

Robert

P.S. Keep up the good work in developing Perl/Tk. I love it and use it for
creating platform-independent GUI's. I understand that you will soon be
issuing version 800.017. Is it out yet?

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