- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need help to build apache on HP-Unix.
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
Forums
Discussions
Discussions
Discussions
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
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
05-09-2006 09:57 PM
05-09-2006 09:57 PM
I am trying to build apache on HP-Unix.
bash-3.00# uname -a
HP-UX banpchp5 B.11.23 U ia64 1952620000 unlimited-user license
I am getting a lot of warnings of the following kind.
/bin/sh /tmp/apache/httpd-2.0.58/srclib/apr/libtool --silent --mode=link cc -g -Ae +Z -mt -DHAVE_CONFIG_H -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -I/tmp/apache/httpd-2.0.58/srclib/apr-util/include -I/tmp/apache/httpd-2.0.58/srclib/apr-util/include/private -I/tmp/apache/httpd-2.0.58/srclib/apr/include -I/tmp/apache/httpd-2.0.58/srclib/apr-util/xml/expat/lib -version-info 9:12:9 -o libaprutil-0.la -rpath /disk1/apache2058/lib buckets/apr_buckets_file.lo buckets/apr_buckets_pool.lo buckets/apr_buckets_flush.lo buckets/apr_buckets_refcount.lo buckets/apr_buckets_heap.lo buckets/apr_buckets_simple.lo buckets/apr_buckets.lo buckets/apr_buckets_mmap.lo buckets/apr_buckets_socket.lo buckets/apr_buckets_eos.lo buckets/apr_buckets_pipe.lo buckets/apr_brigade.lo buckets/apr_buckets_alloc.lo crypto/apr_sha1.lo crypto/apr_md4.lo crypto/apr_md5.lo crypto/uuid.lo crypto/getuuid.lo dbm/sdbm/sdbm.lo dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm_lock.lo dbm/sdbm/sdbm_pair.lo dbm/apr_dbm.lo dbm/apr_dbm_berkeleydb.lo dbm/apr_dbm_gdbm.lo dbm/apr_dbm_sdbm.lo dbm/apr_dbm_ndbm.lo encoding/apr_base64.lo hooks/apr_hooks.lo ldap/apr_ldap_compat.lo ldap/apr_ldap_url.lo uri/apr_uri.lo xml/apr_xml.lo misc/apr_date.lo misc/apr_rmm.lo misc/apr_reslist.lo misc/apr_queue.lo misc/apu_version.lo strmatch/apr_strmatch.lo xlate/xlate.lo
(Bundled) cc: warning 922: "-b" is unsupported in the bundled compiler, ignored.
ld: Unsatisfied symbol "apr_array_push" in file hooks/.libs/apr_hooks.o
ld: Unsatisfied symbol "apr_os_default_encoding" in file xlate/.libs/xlate.o
ld: Unsatisfied symbol "apr_allocator_alloc" in file buckets/.libs/apr_buckets_alloc.o
ld: Unsatisfied symbol "apr_proc_mutex_lock" in file misc/.libs/apr_rmm.o
ld: Unsatisfied symbol "apr_thread_cond_destroy" in file misc/.libs/apr_reslist.o
1 warnings.
75 errors.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Please suggest.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 10:00 PM
05-09-2006 10:00 PM
Re: Need help to build apache on HP-Unix.
there is apache depot to download from HP and no need to build it...
http://h20293.www2.hp.com/portal/swdepot/displayProductsList.do?category=NSM
GOOD LUCK!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 10:06 PM
05-09-2006 10:06 PM
SolutionYou are trying to build Apache with Bundled C Compiler which is not at all possible,. Either you should go for Ansi-C compiler or GCC on HP-UX. You can download GCC for free from,
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,7663,00.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 11:44 PM
05-09-2006 11:44 PM
Re: Need help to build apache on HP-Unix.
I have downloaded and installed gcc.
I want to build apache 2.0.58 to get it installed on /disk1/apache2058. So I have done the following:
1. export CC="gcc"
2. ./configure --prefix=/disk1/apache2058
3. make
4. make install
Now when I start apache I am getting the following error. Please suggest.
bash-3.00# pwd
/disk1/apache2058/bin
bash-3.00# ./apachectl start
/usr/lib/hpux32/dld.so: Unable to find library 'libgcc_s.so.0'.
./apachectl[80]: 6695 Killed
bash-3.00#
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 12:07 AM
05-10-2006 12:07 AM
Re: Need help to build apache on HP-Unix.
You need to link lingcc.so to /usr/lib/hpux32
Find out where it is in your system and link it.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 12:32 AM
05-10-2006 12:32 AM
Re: Need help to build apache on HP-Unix.
libgcc_s.so.0 was found in /opt/hp-gcc-4.0.3/lib/libgcc_s.so.0.
The following did the trick.
# pwd
/usr/lib/hpux32
# ln -s /opt/hp-gcc-4.0.3/lib/libgcc_s.so.0 libgcc_s.so.0
Thanks a lot.