- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Apache 2.2 on HPUX 11i v3 - error make
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-29-2009 08:42 PM
05-29-2009 08:42 PM
I will appreciate your help on the following issue.
I am trying to compile Apache 2.2 on HPUX 11i v3.
# ./configure --enable-so --with-perl --enable-ssl --with-ssl=/usr/bin/openssl --prefix=/usr/local/apache/wsislac --enable-modules=all --enable-mods-shared=most --enable-logio
# make
Making all in srclib
Making all in apr
sed 's,^\(location=\).*$,\1installed,' < apr-1-config > apr-config.out
sed 's,^\(apr_build.*=\).*$,\1/usr/local/apache/wsislac/build,' < build/apr_rules.mk > build/apr_rules.out
Making all in apr-util
Making all in xml/expat
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"' -I. -I.. -I/tmp/httpd-2.2.11/srclib/apr-util/xml/expat/lib -mlp64 -mlp64 -c xmlparse.c
cc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" -I. -I.. -I/tmp/httpd-2.2.11/srclib/apr-util/xml/expat/lib -mlp64 -mlp64 -c xmlparse.c -DPIC -o .libs/xmlparse.o
cc: warning 901: unknown option: `-mlp64': use +help for online documentation.
cc: warning 901: unknown option: `-mlp64': use +help for online documentation.
cc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" -I. -I.. -I/tmp/httpd-2.2.11/srclib/apr-util/xml/expat/lib -mlp64 -mlp64 -c xmlparse.c -o xmlparse.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link cc -version-info 1:0:1 -mlp64 -o libexpat.la -rpath /usr/local/apache/wsislac/lib xmlparse.lo xmltok.lo xmlrole.lo
rm -fr .libs/libexpat.a .libs/libexpat.la .libs/libexpat.lai .libs/libexpat.so .libs/libexpat.so.1 .libs/libexpat.so.1.0
cc -b -Wl,+h -Wl,libexpat.so.1 -Wl,+nodefaultrpath -o .libs/libexpat.so.1.0 .libs/xmlparse.o .libs/xmltok.o .libs/xmlrole.o -lc -mlp64
cc: warning 901: unknown option: `-mlp64': use +help for online documentation.
(cd .libs && rm -f libexpat.so.1 && ln -s libexpat.so.1.0 libexpat.so.1)
(cd .libs && rm -f libexpat.so && ln -s libexpat.so.1.0 libexpat.so)
ar cru .libs/libexpat.a xmlparse.o xmltok.o xmlrole.o
ranlib .libs/libexpat.a
creating libexpat.la
(cd .libs && rm -f libexpat.la && ln -s ../libexpat.la libexpat.la)
/bin/sh /tmp/httpd-2.2.11/srclib/apr/libtool --silent --mode=link cc -Ae +Z -mt -mlp64 -DHAVE_CONFIG_H -DHPUX11 -D_REENTRANT -D_HPUX_SOURCE -D_LARGEFILE64_SOURCE -mlp64 -I/tmp/httpd-2.2.11/srclib/apr-util/include -I/tmp/httpd-2.2.11/srclib/apr-util/include/private -I/tmp/httpd-2.2.11/srclib/apr/include -I/tmp/httpd-2.2.11/srclib/apr-util/xml/expat/lib -version-info 3:4:3 -o libaprutil-1.la -rpath /usr/local/apache/wsislac/lib buckets/apr_brigade.lo buckets/apr_buckets_mmap.lo buckets/apr_buckets_flush.lo buckets/apr_buckets_alloc.lo buckets/apr_buckets_pipe.lo buckets/apr_buckets_simple.lo buckets/apr_buckets_eos.lo buckets/apr_buckets_refcount.lo buckets/apr_buckets_pool.lo buckets/apr_buckets_file.lo buckets/apr_buckets.lo buckets/apr_buckets_socket.lo buckets/apr_buckets_heap.lo crypto/getuuid.lo crypto/apr_md4.lo crypto/apr_sha1.lo crypto/apr_md5.lo crypto/uuid.lo dbm/apr_dbm_ndbm.lo dbm/apr_dbm_berkeleydb.lo dbm/apr_dbm_sdbm.lo dbm/apr_dbm.lo dbm/apr_dbm_gdbm.lo dbm/sdbm/sdbm_lock.lo dbm/sdbm/sdbm_pair.lo dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm.lo encoding/apr_base64.lo hooks/apr_hooks.lo ldap/apr_ldap_stub.lo ldap/apr_ldap_url.lo misc/apr_reslist.lo misc/apr_rmm.lo misc/apr_date.lo misc/apu_version.lo misc/apu_dso.lo misc/apr_thread_pool.lo misc/apr_queue.lo memcache/apr_memcache.lo uri/apr_uri.lo xml/apr_xml.lo strmatch/apr_strmatch.lo xlate/xlate.lo dbd/apr_dbd.lo -lrt -lm -lpthread -ldld /tmp/httpd-2.2.11/srclib/apr-util/xml/expat/lib/libexpat.la /tmp/httpd-2.2.11/srclib/apr/libapr-1.la -lrt -lm -lpthread -ldld
cc: warning 901: unknown option: `-mlp64': use +help for online documentation.
cc: warning 901: unknown option: `-mlp64': use +help for online documentation.
ld: Unknown input file type: "/tmp/httpd-2.2.11/srclib/apr/.libs/libapr-1.so"
Fatal error.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Any comment is welcome.
Regards.
Omar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2009 09:06 PM
05-29-2009 09:06 PM
Re: Apache 2.2 on HPUX 11i v3 - error make
is this first time are you configuring this? mean it was working fine prviously?
below i had notedown erros which looks need to fix first and may resolve this issue.
1)cc: warning 901: unknown option: `-mlp64': use +help for online documentation
2)ld: Unknown input file type: "/tmp/httpd-2.2.11/srclib/apr/.libs/libapr-1.so"
below thread is surely going to help you, let me know the progress of your troubleshooting, thanks,
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1243659948454+28353475&threadId=1114372
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2009 09:24 PM
05-29-2009 09:24 PM
Re: Apache 2.2 on HPUX 11i v3 - error make
Thanks for your quick response.
Well, I would like to explain you the whole thing.
I am trying to install Apache 2.2 + PHP 5.2 + MySQL 5.0 + Oracle 10g + Tomcat 5.5.25 + JDK 1.5.0.8 + J2EE on HPUX 11i v3 IA64
This is the first time, actually is a POC. But I faced with no information on web. Only with the HPUX Package with binaries Apache 2.0.59, etc.
I am wondering if you can help me with any comment, finding on this.
If you see above, the Apache "configure" involves some components, so I can not use the HPUX package.
Anything is welcome.
Omar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2009 01:18 AM
05-30-2009 01:18 AM
Re: Apache 2.2 on HPUX 11i v3 - error make
-mlp64 is the gcc option for +DD64.
>ld: Unknown input file type: /tmp/httpd-2.2.11/srclib/apr/.libs/libapr-1.so
What does file(1) show for that file?
>Apache "configure"
Why does it think you are using gcc?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2009 01:41 AM
05-31-2009 01:41 AM
Solutionhttp://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW303
According to the Release Notes incluced in WSS v.3.0.03, this
bundle contains:
- Apache 2.2.8 + security vulnerability fixes reported until 2.2.10:
- PHP 5.2.6
- Tomcat 5.5.27 + security vulnerability fixes
- All of PHP extentions are linked with archive libraries
except for oci8.sl.
WSS v.3.0.03:
% ldd /opt/hpws22/apache/php/lib/php/extensions/oci8.sl
Unable to find library 'libclntsh.so.10.1'.
% ldd /opt/hpws22/apache/php/lib/php/extensions/mysql.sl
libc.so.1 => /usr/lib/hpux64/libc.so.1
libdl.so.1 => /usr/lib/hpux64/libdl.so.1
%
old WSS version:
% ldd /opt/hpws/apache/php/lib/php/extensions/mysql.sl
Unable to find library 'libmysqlclient.so.15'.
%
You should configure /opt/hpws22/apache/bin/apachectl to use
oci8.sl for your Oracle 10g.
If you desperately want to build Apache 2.2.11 from source code,
the following thread may be helpful to you:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1297740
This was a challenge on 11.11. Personally, I built successfully
2.2.11 as 64-bit binary using HP ANSI C Compiler on 11.23. There
was no BIG changes in the configure line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2009 03:19 AM
05-31-2009 03:19 AM
Re: Apache 2.2 on HPUX 11i v3 - error make
Unless you need special options, I recommend you choose the hpws http://software.hp.com selections.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2009 08:26 PM
05-31-2009 08:26 PM
Re: Apache 2.2 on HPUX 11i v3 - error make
I decided to install HP-UX Apache-based Web Server v.3.01.
But I have another issue, I need to add another PHP modules as MySQLi, Mcript, XMM and jpegsrc
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2009 08:53 PM
05-31-2009 08:53 PM
Re: Apache 2.2 on HPUX 11i v3 - error make
Regarding MySQLi and Mcrypt as PHP extentions, I think you have
to build PHP from its source code. XMM ? I can not find it under
the ext directory in php-4.3.* and 5.2.* I built so far.