- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: GNU find static
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО04-18-2005 12:57 AM
тАО04-18-2005 12:57 AM
I need to use GNU find utility and to ship it with my scripts. The problem is that I dont know if the right libs will be in place in the other systems.
I tried to compile GNU findutils on my HP-UX B.11.11 U 9000/811, but it failed. Im using the default C compiler (no gcc).
Can someone give me some tips on how to compile with static libs? Is there any patch that I must apply to be able to compile?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 01:18 AM
тАО04-18-2005 01:18 AM
Re: GNU find static
http://hpux.cs.utah.edu/hppd/hpux/Gnu/findutils-4.1.5/
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 01:33 AM
тАО04-18-2005 01:33 AM
Re: GNU find static
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/opt/findutils/share/locale\" -c -o quotearg_.o `test -f quotearg_.c || echo './'`quotearg_.c
(Bundled) cc: "quotearg.c", line 359: error 1000: Unexpected symbol: "mbstate".
(Bundled) cc: "quotearg.c", line 275: warning 30: Character constant contains undefined escape sequence.
(Bundled) cc: "quotearg.c", line 359: error 1588: "mbstate_t" undefined.
(Bundled) cc: "quotearg.c", line 360: error 1588: "mbstate" undefined.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 01:59 AM
тАО04-18-2005 01:59 AM
Solutionhttp://hpux.cs.utah.edu/ftp/hpux/Gnu/findutils-4.1.5/findutils-4.1.5-sd-11.00.depot.gz
2) gunzip the depot
3) install the depot:
$ mkdir /mnt/depot
$ mv findutils-4.1.5-sd-11.00.depot /tmp/depot
$ swreg -l depot /tmp/depot/findutils-4.1.5-sd-11.00.depot
$ /usr/sbin/swinstall -s /tmp/depot/findutils-4.1.5-sd-11.00.depot
'/opt/findutils/bin/find' will work without additional libraries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 04:56 AM
тАО04-18-2005 04:56 AM
Re: GNU find static
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 05:05 AM
тАО04-18-2005 05:05 AM
Re: GNU find static
I've just uploaded version 4.2.20 that is only depending on libc and libld, both standard on HP-UX
Fetch it on my site:
http://mirrors.develooper.com/hpux/downloads.html look in the depot section
If you are in a hurry, you might get it from
http://www.cmve.net/~mbrand/downloads.html
Enjoy, Have FUN! H.merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 05:58 AM
тАО04-18-2005 05:58 AM
Re: GNU find static
It seems that my compiler doesnt support ANSI C :/
I dont know what to do to fix this problem, the offending line looks like this:
mbstate_t mbstate = mbstate_zero;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 08:25 AM
тАО04-18-2005 08:25 AM
Re: GNU find static
2. Get a free ANSI C compiler (without localization and weird dependencies) from my site too:
http://mirrors.develooper.com/hpux/gcc-3.4.3-32-11.11-hppa2.0.tbz
Installation instructions here:
http://mirrors.develooper.com/hpux/#gcc_install
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 10:34 AM
тАО04-18-2005 10:34 AM