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

Problem with compiling perl. #432

Closed
p5pRT opened this issue Aug 25, 1999 · 2 comments
Closed

Problem with compiling perl. #432

p5pRT opened this issue Aug 25, 1999 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Aug 25, 1999

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

Searchable as RT1273$

@p5pRT
Copy link
Author

p5pRT commented Aug 25, 1999

From Richard.Meijn@nl.abnamro.com

I have a problem with compiling perl5 on my system and may be you could
help me a little
furter.

Environment overview​:

root@​tws-83​:/tmp/perl5.005_03 # ./myconfig
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration​:
  Platform​:
  osname=hpux, osvers=10.20, archname=PA-RISC1.1
  uname='hp-ux tws-83 b.10.20 a 9000715 -1 two-user license '
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=undef useperlio=undef d_sfio=undef
  Compiler​:
  cc='/opt/gcc/bin/gcc', optimize='', gccversion=2.8.1
  cppflags='-D_HPUX_SOURCE'
  ccflags ='-D_HPUX_SOURCE'
  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=y, prototype=define
  Linker and Libraries​:
  ld='ld', ldflags =' -L/usr/local/lib'
  libpth=/usr/lib /usr/lib/pa1.1 /usr/local/lib /lib/pa1.1 /lib
/usr/lib /usr/ccs/lib
  libs=-lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt
  libc=/usr/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
  Dynamic Linking​:
  dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-B,deferred '
  cccdlflags='-fpic', lddlflags='-b -L/usr/local/lib'

The problem is as follows​:Finding dependencies for hash.o.
Finding dependencies for str.o.
Finding dependencies for util.o.
Finding dependencies for walk.o.
  echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
Updating makefile...
  `sh cflags libperl.a pp.o` pp.c
  CCCMD = /opt/gcc/bin/gcc -DPERL_CORE -c -D_HPUX_SOURCE
In file included from
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/stdlib.h​:220,
  from perl.h​:373,
  from pp.c​:16​:
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/wait.h​:102​:
warning​: `struct rusage' declared inside parameter list
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/wait.h​:102​:
warning​: its scope is only this definition or declaration,
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/wait.h​:102​:
warning​: which is probably not what you want.
pp.c​: In function `seed'​:
pp.c​:1654​: storage size of `when' isn't known
*** Error exit code 1

Stop.

I have read the readme file and installed/changed some library files but
the problem remains.

What must I do to solve this problem?

If you need more information please let me know.

Thanks

Richard Meijn

I haven installed the gcc and the librarys on to this system. I have also
installed a couple
of patches "libc." and times" . Aftre that the compilation looks working
correct till the
following problem occurs​:

@p5pRT
Copy link
Author

p5pRT commented Sep 9, 1999

From [Unknown Contact. See original ticket]

Hello,

This is my configuration

root@​tws-83​:/tmp/perl5.005_03 # ./myconfig
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration​:
  Platform​:
  osname=hpux, osvers=10.20, archname=PA-RISC1.1
  uname='hp-ux tws-83 b.10.20 a 9000715 -1 two-user license '
  hint=previous, useposix=true, d_sigaction=define
  usethreads=undef useperlio=undef d_sfio=undef
  Compiler​:
  cc='/opt/gcc/bin/gcc', optimize=' ', gccversion=2.8.1
  cppflags='-D_HPUX_SOURCE'
  ccflags ='-D_HPUX_SOURCE'
  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=y, prototype=define
  Linker and Libraries​:
  ld='ld', ldflags =' -L/usr/local/lib
-L/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include
-L/usr/include/sys'
  libpth=/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include
/usr/lib /usr/lib/pa1.1 /usr/local/lib /lib/pa1.1 /lib /usr/ccs/lib
/usr/include /usr/include/sys /opt/gcc/include/g++
  libs=-lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt
  libc=/usr/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
  Dynamic Linking​:
  dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-B,deferred '
  cccdlflags='-fpic', lddlflags='-b -L/usr/local/lib
-L/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include
-L/usr/include/sys'

If I try to compile PERL5 I get the following problem.

root@​tws-83​:/tmp/perl5.005_03 # make
  `sh cflags libperl.a mg.o` mg.c
  CCCMD = /opt/gcc/bin/gcc -DPERL_CORE -c -D_HPUX_SOURCE
In file included from
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/stdlib.h​:231,
  from perl.h​:373,
  from mg.c​:16​:
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/wait.h​:102​:
warning​: `struct rusage' declared inside parameter list
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/wait.h​:102​:
warning​: its scope is only this definition or declaration,
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/wait.h​:102​:
warning​: which is probably not what you want.
mg.c​: In function `Perl_magic_get'​:
mg.c​:619​: `none' undeclared (first use in this function)
mg.c​:619​: (Each undeclared identifier is reported only once
mg.c​:619​: for each function it appears in.)
mg.c​:619​: parse error before `gary'
mg.c​:620​: `gary' undeclared (first use in this function)
mg.c​: In function `Perl_magic_set'​:
mg.c​:1755​: `none' undeclared (first use in this function)
mg.c​:1755​: parse error before `gary'
mg.c​:1768​: `gary' undeclared (first use in this function)
*** Error exit code 1

How could I solve the problem.

If you need more information please let me know

Kind regards,

Richard Meijn
Afdeling : TTF
Tel. : +31 (0)20-3830845 Fax. : +31
(0)20-6289682
PAC : AA1120 Lokatie :
Foppingadreef 22
E-mail : richard.meijn@​nl.abnamro.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