- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Compiling Apache on HP-UX 11.11
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
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-17-2008 11:56 AM
тАО04-17-2008 11:56 AM
Compiling Apache on HP-UX 11.11
The configure script ran fine as did much of the make process. However, when the make tries to create a shared library, it keeps failing.
I don't do this too often so I'm a bit stumped.
The command that is failing is:
/usr/bin/posix/sh /archive0/apache-2.2.8/httpd-2.2.8/srclib/apr/libtool --silent --mode=link cc -g -Ae +Z +DAportable -DHAVE_CONFIG_H -DHPUX11 -D_REENTRANT -D_HPUX_SOURCE -D_LARGEFILE64_SOURCE -b -I./include -I/archive0/apache-2.2.8/httpd-2.2.8/srclib/apr/include/arch/unix -I./include/arch/unix -I/archive0/apache-2.2.8/httpd-2.2.8/srclib/apr/include -version-info 2:12:2 -o libapr-1.la -rpath /home/dev/bridwelj/apache2/lib passwd/apr_getpass.lo strings/apr_cpystrn.lo strings/apr_fnmatch.lo strings/apr_snprintf.lo strings/apr_strings.lo strings/apr_strnatcmp.lo strings/apr_strtok.lo tables/apr_hash.lo tables/apr_tables.lo atomic/unix/apr_atomic.lo dso/unix/dso.lo file_io/unix/copy.lo file_io/unix/dir.lo file_io/unix/fileacc.lo file_io/unix/filedup.lo file_io/unix/filepath.lo file_io/unix/filepath_util.lo file_io/unix/filestat.lo file_io/unix/flock.lo file_io/unix/fullrw.lo file_io/unix/mktemp.lo file_io/unix/open.lo file_io/unix/pipe.lo file_io/unix/readwrite.lo file_io/unix/seek.lo file_io/unix/tempdir.lo locks/unix/global_mutex.lo locks/unix/proc_mutex.lo locks/unix/thread_cond.lo locks/unix/thread_mutex.lo locks/unix/thread_rwlock.lo memory/unix/apr_pools.lo misc/unix/charset.lo misc/unix/env.lo misc/unix/errorcodes.lo misc/unix/getopt.lo misc/unix/otherchild.lo misc/unix/rand.lo misc/unix/start.lo misc/unix/version.lo mmap/unix/common.lo mmap/unix/mmap.lo network_io/unix/inet_ntop.lo network_io/unix/inet_pton.lo network_io/unix/multicast.lo network_io/unix/sendrecv.lo network_io/unix/sockaddr.lo network_io/unix/sockets.lo network_io/unix/sockopt.lo poll/unix/epoll.lo poll/unix/kqueue.lo poll/unix/poll.lo poll/unix/port.lo poll/unix/select.lo random/unix/apr_random.lo random/unix/sha2.lo random/unix/sha2_glue.lo shmem/unix/shm.lo support/unix/waitio.lo threadproc/unix/proc.lo threadproc/unix/procsup.lo threadproc/unix/signals.lo threadproc/unix/thread.lo threadproc/unix/threadpriv.lo time/unix/time.lo time/unix/timestr.lo user/unix/groupinfo.lo user/unix/userinfo.lo -lrt -lm -lpthread -ldld
cc: warning 422: Unknown option "b" ignored.
/usr/ccs/bin/ld: Unsatisfied symbols:
main (Not referenced yet! Probably due to -u option)
*** Error exit code 1
Since the command is linking a set of objects to a shared library, it shouldn't require a main option yet this is the error I keep getting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 12:10 PM
тАО04-17-2008 12:10 PM
Re: Compiling Apache on HP-UX 11.11
Please allow 1 question - why?
Go to
http://software.hp.com and search for "apache" - you will find ready to install apache depots, it's pretty easy.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 12:21 PM
тАО04-17-2008 12:21 PM
Re: Compiling Apache on HP-UX 11.11
We are running HP 11.11. The downloads from HP reference HP 11 version 2 and version 3 but I don't see one that matches our current release.
I'll download a copy and see if it flies on our development server despite the version concerns.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 12:50 PM
тАО04-17-2008 12:50 PM
Re: Compiling Apache on HP-UX 11.11
a "-b" option ("man gcc"):
Target Options
-V version -b machine
I'd guess that something got confused between
GCC and HP C. (You seem to have the "-b"
option, but not the "machine" parameter,
which would certainly confuse me, and which
would seem unlikely to please anyone.) Could
be in "libtool", could be in the
configuration infrastructure, ...
Have you considered trying this whole thing
using GCC? That build environment is
probably better tested than yours. I got the
new GCC 4.3.0 build to go through with no
problems (using an older depot-supplied GCC),
which was a pleasant surprise. (After
installing the new GMP and MPFR
prerequisites, of course. Nothing's ever so
easy as I might like.)
Does anyone reveal the tricks/procedures used
to create the depots?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 12:53 PM
тАО04-17-2008 12:53 PM
Re: Compiling Apache on HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 01:06 PM
тАО04-17-2008 01:06 PM
Re: Compiling Apache on HP-UX 11.11
> MPFR prerequisites [...]
Oh, yeah. The native "sed" was inadequate
for "configure", too, so I had to haul in GNU
"sed", and put "/usr/local/bin" at the front
of my PATH. (I already had "bison" and GNU
"m4", as required by previous GCC versions.)
> [...] when you run into an issue.
Is that anything like a problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2008 01:11 PM
тАО04-17-2008 01:11 PM
Re: Compiling Apache on HP-UX 11.11
Thanks again for your suggestions. If the depot is a dead-end, I'll go back to the open source and compiling.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2008 02:01 AM
тАО04-18-2008 02:01 AM
Re: Compiling Apache on HP-UX 11.11
>cc -g -Ae +Z +DAportable ... -b
You have an obsolete version of the C compiler. It doesn't support -b, to create shlibs.
>Steven: it appears that GCC has a "-b" option: -b machine
These aren't the droids you're looking for. :-)