HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Perl 5.6.1 Make Failure - Inconsistent type de...
Operating System - HP-UX
1833759
Members
2413
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 11:50 AM
01-03-2002 11:50 AM
Perl 5.6.1 Make Failure - Inconsistent type declaration: "getuid"
I'm trying to build Perl 5.6.1 but I'm failing on the make step with the following error: "inconsistnet type declaration: "getuid". I get the same for the geteuid. I'm compiling with additional cc flag of -D_POSIX_C_COURCE=199506L.
I'm trying to build on 10.2 with threads. I'm using the thread library supplied in the Core DCE libs and have appropriate patches applied. If someone has successfully installed 5.6.1 on 10.2, could they perhaps simply past a "perl -V" into this note or suggest what I might being doing wrong.
As always, thanks a million....
I'm trying to build on 10.2 with threads. I'm using the thread library supplied in the Core DCE libs and have appropriate patches applied. If someone has successfully installed 5.6.1 on 10.2, could they perhaps simply past a "perl -V" into this note or suggest what I might being doing wrong.
As always, thanks a million....
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 11:59 AM
01-03-2002 11:59 AM
Re: Perl 5.6.1 Make Failure - Inconsistent type declaration: "getuid"
I'm not sure if it is an option to you, but I've found it many times easier to install perl usuing gcc to compile it.
You can download bintuils and gcc in depot format here:
http://hpux.connect.org.uk/
And even Perl, but I'm not sure if it's threading perl.
If you must compile with cc, then I'm sorry I can't help!
You can download bintuils and gcc in depot format here:
http://hpux.connect.org.uk/
And even Perl, but I'm not sure if it's threading perl.
If you must compile with cc, then I'm sorry I can't help!
Turning and turning in the widening gyre,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 06:43 AM
02-28-2002 06:43 AM
Re: Perl 5.6.1 Make Failure - Inconsistent type declaration: "getuid"
Beware, I'm usring /pro as prefix, not /usr or /opt. Change accordingly.
d3:/u/usr/merijn 102 > perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=hpux, osvers=10.20, archname=PA-RISC2.0
uname='hp-ux k1 b.10.20 u 9000800 90308302 unlimited-user license '
config_args='-des'
hint=recommended, useposix=true, d_sigaction=define
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='cc', ccflags =' -DDEBUGGING +DAportable -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
optimize='+O2 +Onolimit',
cppflags='-DDEBUGGING +DAportable -Ae -D_HPUX_SOURCE -I/pro/local/include'
ccversion='A.10.32.30', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='ld', ldflags ='-L/pro/local/lib'
libpth=/pro/local/lib /lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=-lnsl_s -lndbm -lgdbm -ldb -ldld -lm -lc -lndir -lcrypt -lsec
perllibs=-lnsl_s -ldld -lm -lc -lndir -lcrypt -lsec
libc=/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='+z', lddlflags='-b +vnocompatwarnings -L/pro/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING USE_LARGE_FILES
Built under hpux
Compiled at May 30 2001 12:23:47
@INC:
/pro/lib/perl5/5.6.1/PA-RISC2.0
/pro/lib/perl5/5.6.1
/pro/lib/perl5/site_perl/5.6.1/PA-RISC2.0
/pro/lib/perl5/site_perl/5.6.1
/pro/lib/perl5/site_perl
.
d3:/u/usr/merijn 103 >
Need anything else? A Policy.sh maybe? A revised hints/hpux.sh?
d3:/u/usr/merijn 102 > perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=hpux, osvers=10.20, archname=PA-RISC2.0
uname='hp-ux k1 b.10.20 u 9000800 90308302 unlimited-user license '
config_args='-des'
hint=recommended, useposix=true, d_sigaction=define
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='cc', ccflags =' -DDEBUGGING +DAportable -Ae -D_HPUX_SOURCE -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
optimize='+O2 +Onolimit',
cppflags='-DDEBUGGING +DAportable -Ae -D_HPUX_SOURCE -I/pro/local/include'
ccversion='A.10.32.30', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='ld', ldflags ='-L/pro/local/lib'
libpth=/pro/local/lib /lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=-lnsl_s -lndbm -lgdbm -ldb -ldld -lm -lc -lndir -lcrypt -lsec
perllibs=-lnsl_s -ldld -lm -lc -lndir -lcrypt -lsec
libc=/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='+z', lddlflags='-b +vnocompatwarnings -L/pro/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING USE_LARGE_FILES
Built under hpux
Compiled at May 30 2001 12:23:47
@INC:
/pro/lib/perl5/5.6.1/PA-RISC2.0
/pro/lib/perl5/5.6.1
/pro/lib/perl5/site_perl/5.6.1/PA-RISC2.0
/pro/lib/perl5/site_perl/5.6.1
/pro/lib/perl5/site_perl
.
d3:/u/usr/merijn 103 >
Need anything else? A Policy.sh maybe? A revised hints/hpux.sh?
Enjoy, Have FUN! H.Merijn
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP