HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: @ HP-UX Perl porters, procura et al.; Perl Lar...
Operating System - HP-UX
1833051
Members
2260
Online
110049
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
Go to solution
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
06-03-2003 12:04 AM
06-03-2003 12:04 AM
Hi,
with the advent of Oracle9i on some of our servers the respective DBAs switch to *dbf files > 2GB.
This means I will have to adapt my Perl backup scripts accordingly.
I do fear that I had configured/compiled my Perl interpreters neglective in that respect.
Since I'm not quite sure, and I know there are wizards from the Perl HP-UX porters regular participants in this forum I want to double check first before undergoing the fuss of a new Perl rebuild.
I guessed that the required feature must have something like "largefile" as key.
So all those keys that %Config holds seem to have undef values, which leads me to the assumption that my Perl-build isn't largefile-capable.
Could you confirm?
# perl -MConfig -e 'map{printf"%30s => %s\n",$_,$Config{$_}}grep/large[_]?file/
i,keys%Config'
ccflags_uselargefiles =>
ldflags_uselargefiles =>
libswanted_uselargefiles =>
uselargefiles =>
Regards
Ralph
with the advent of Oracle9i on some of our servers the respective DBAs switch to *dbf files > 2GB.
This means I will have to adapt my Perl backup scripts accordingly.
I do fear that I had configured/compiled my Perl interpreters neglective in that respect.
Since I'm not quite sure, and I know there are wizards from the Perl HP-UX porters regular participants in this forum I want to double check first before undergoing the fuss of a new Perl rebuild.
I guessed that the required feature must have something like "largefile" as key.
So all those keys that %Config holds seem to have undef values, which leads me to the assumption that my Perl-build isn't largefile-capable.
Could you confirm?
# perl -MConfig -e 'map{printf"%30s => %s\n",$_,$Config{$_}}grep/large[_]?file/
i,keys%Config'
ccflags_uselargefiles =>
ldflags_uselargefiles =>
libswanted_uselargefiles =>
uselargefiles =>
Regards
Ralph
Madness, thy name is system administration
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 12:13 AM
06-03-2003 12:13 AM
Re: @ HP-UX Perl porters, procura et al.; Perl Largefiles Support
Addendum,
after having built largefile support into Perl will this also affect modules like File::Copy etc.?
Probably it is required to reinstall/relink those anyway?
after having built largefile support into Perl will this also affect modules like File::Copy etc.?
Probably it is required to reinstall/relink those anyway?
Madness, thy name is system administration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 02:29 AM
06-03-2003 02:29 AM
Solution
l1:/u/usr/merijn 101 > perl -V | grep -i large
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
cc='cc', ccflags =' -Ae -DDEBUGGING -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
Compile-time options: DEBUGGING USE_LARGE_FILES
l1:/u/usr/merijn 102 >
If you did not diable large file support or used one of my perl's, you already *have* large file support. This means that you do not need any changes while using regular IO functionality: it just works (including File::Copy).
BUT
in order to access those files from within perl by address (lseek and such) you need a 64bit perl
HTH Enjoy, have FUN! H.Merijn
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
cc='cc', ccflags =' -Ae -DDEBUGGING -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
Compile-time options: DEBUGGING USE_LARGE_FILES
l1:/u/usr/merijn 102 >
If you did not diable large file support or used one of my perl's, you already *have* large file support. This means that you do not need any changes while using regular IO functionality: it just works (including File::Copy).
BUT
in order to access those files from within perl by address (lseek and such) you need a 64bit perl
HTH Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 03:08 AM
06-03-2003 03:08 AM
Re: @ HP-UX Perl porters, procura et al.; Perl Largefiles Support
Hi Merijn,
looks like the Config module was correct :-(
# perl -V|grep -i large
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
So I will have to build Perl again.
looks like the Config module was correct :-(
# perl -V|grep -i large
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
So I will have to build Perl again.
Madness, thy name is system administration
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