- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Apache 2.2.3 does not compile
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
08-08-2007 07:14 AM
08-08-2007 07:14 AM
I'm trying to compile Apache 2.2.3 on our machines but I get a lot of errors and the compilation fail:
/tmp/apache/httpd-2.2.3/srclib/apr/libtool --silent --mode=compile cc -g -Ae +Z +DAportable -mt -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -D_LARGEFILE64_SOURCE -I/tmp/apache/httpd-2.2.3/srclib/pcre -I. -I/tmp/apache/httpd-2.2.3/os/unix -I/tmp/apache/httpd-2.2.3/server/mpm/prefork -I/tmp/apache/httpd-2.2.3/modules/http -I/tmp/apache/httpd-2.2.3/modules/filters -I/tmp/apache/httpd-2.2.3/modules/proxy -I/tmp/apache/httpd-2.2.3/include -I/tmp/apache/httpd-2.2.3/modules/generators -I/tmp/apache/httpd-2.2.3/modules/mappers -I/tmp/apache/httpd-2.2.3/modules/database -I/tmp/apache/httpd-2.2.3/srclib/apr/include -I/tmp/apache/httpd-2.2.3/srclib/apr-util/include -I/tmp/apache/httpd-2.2.3/srclib/apr-util/xml/expat/lib -I/tmp/apache/httpd-2.2.3/modules/proxy/../generators -I/tmp/apache/httpd-2.2.3/modules/ssl -I/tmp/apache/httpd-2.2.3/modules/dav/main -prefer-non-pic -static -c exports.c && touch exports.lo
cc: "/tmp/apache/httpd-2.2.3/include/http_config.h", line 283: error 1000: Unexpected symbol: "ap_method_list_t".
cc: "/tmp/apache/httpd-2.2.3/include/http_config.h", line 296: error 1000: Unexpected symbol: "server_rec".
[...]
cc: "/tmp/apache/httpd-2.2.3/include/http_connection.h", line 94: error 1000: Unexpected symbol: "*".
cc: panic 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
We have all the required compilers installed:
B3394BA B.11.11.02 HP-UX Developer's Toolkit for 11.11
B3901BA B.11.11.12 HP C/ANSI C Developer's Bundle for HP-UX (S800)
B3909DB B.11.11.90 HP-UX 11.11 Fortran 90 Compiler and associated products (S800)
B3913DB C.03.65 HP aC++ Compiler (S800)
This compilation worked at least one time on one machine, then I don't understand why it fail now.
Any Idea ?
thx
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 07:28 AM
08-08-2007 07:28 AM
Re: Apache 2.2.3 does not compile
When you moved the source code, did you copy the tarball and run ./configure again? If not the build had not been configured for the new target environment.
Apache is typically a straighforward build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 07:46 AM
08-08-2007 07:46 AM
Re: Apache 2.2.3 does not compile
./configure --prefix=/opt/apache
Everything was OK
After this, I just tried to compile:
make
Could it be an updated of the compiler / linker ? We did one patches update the last week:
# swlist -l product BUNDLE_V5R18
# Initializing...
# Contacting target "predev"...
#
# Target: predev:/
#
# BUNDLE_V5R18 B.11.11 Patch Bundle
BUNDLE_V5R18.PHCO_31923 1.0 libc cumulative header file patch
BUNDLE_V5R18.PHSS_32977 B.11.11.36 Xserver cumulative patch
BUNDLE_V5R18.PHSS_31287 B.11.00.28 OpenGL 1.1 Dev (PA2.0 only)
BUNDLE_V5R18.PHSS_35381 1.0 ld(1) and linker tools cumulative patch
BUNDLE_V5R18.PHSS_33944 1.0 HP aC++ -AA runtime libraries (aCC A.03.71)
BUNDLE_V5R18.PHSS_32973 B.11.00.35 OpenGL Run (PA2.0 only)
BUNDLE_V5R18.PHSS_32972 B.11.00.35 3D Common Run (PA2.0 only)
BUNDLE_V5R18.PHSS_31286 B.11.00.28 Starbase/Hardcopy Dev (PA2.0 only)
BUNDLE_V5R18.PHSS_31283 B.11.00.28 PEX 5.1/Starbase/Hardcopy Run (PA2.0 only)
BUNDLE_V5R18.PHSS_30185 B.11.00.20 PEX 5.1 Run (PA2.0 only)
BUNDLE_V5R18.PHSS_30183 B.11.00.20 DDA Run (PA2.0 only)
BUNDLE_V5R18.PHKL_34805 1.0 JFS3.3 patch; mmap
BUNDLE_V5R18.PHKL_30398 1.0 KI FSS ID and KI_rfscall
BUNDLE_V5R18.PHKL_29243 1.0 vPar enablement, cumulative patch
BUNDLE_V5R18.PHCO_33205 1.0 mountall, Dev IDs enabler, iSCSI support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 02:05 PM
08-08-2007 02:05 PM
Re: Apache 2.2.3 does not compile
Try to use GCC for HP-UX 11i:
http://h21007.www2.hp.com/portal/site/dspp/PAGE.template/page.document?ciid=2a08725cc2f02110725cc2f02110275d6e10RCRD
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 02:21 PM
08-08-2007 02:21 PM
Solution>> We have all the required compilers installed:
>> B3394BA B.11.11.02 HP-UX Developer's Toolkit for 11.11
>> B3901BA B.11.11.12 HP C/ANSI C Developer's Bundle for HP-UX (S800)
>> B3909DB B.11.11.90 HP-UX 11.11 Fortran 90 Compiler and associated products (S800)
>> B3913DB C.03.65 HP aC++ Compiler (S800)
Is the following OS Patches installed?:
PHSS_33945 HP aC++ -AA runtime libraries (aCC A.03.76)
PHSS_34880 LIBCL patch
PHSS_35383 ld(1) and linker tools cumulative patch
PHSS_36086 ANSI C compiler B.11.11.16 cumulative patch
PHSS_36087 HP aC++ Compiler (A.03.77)
PHSS_36088 +O4/PBO Compiler B.11.11.16 cumulative patch
PHSS_36175 Fortran90 from B.11.11.70 to B.11.11.99.03
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 08:20 PM
08-08-2007 08:20 PM
Re: Apache 2.2.3 does not compile
cc: ".../include/http_config.h", line 283: error 1000: Unexpected symbol: "ap_method_list_t".
cc: ".../include/http_config.h", line 296: error 1000: Unexpected symbol: "server_rec".
Can you show us what's on those lines?
They don't have the inline keyword do they?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 01:35 AM
08-09-2007 01:35 AM
Re: Apache 2.2.3 does not compile
Attached, a file that contain all the errors and the .h concatenated.
For the patches, here is what we have currently installed:
PHSS_33944 1.0 HP aC++ -AA runtime libraries (aCC A.03.71)
PHSS_28303 1.0 LIBCL patch
PHSS_35381 1.0 ld(1) and linker tools cumulative patch
No Patches for ANSI C compiler, HP aC++ Compiler and Fortran90, only the bundle above.
No trace of +O4/PBO (patches or bundles)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 03:22 PM
08-09-2007 03:22 PM
Re: Apache 2.2.3 does not compile
This just indicates you will need to do some header spelunking to find out where those types are defined. And possibly what -Ds are needed to include them.
If you have a system where it works, you can compile with -E and redirect stdout to capture a .i file. (If you had a real compiler, you could just use "-E -.i". ;-) And do it with the bad one to compare where those types are found.
You might also want to compile with -Wp,-hincl.out to get a hierarchical include tree, and then compare. (If you have more recent compilers, you can just use -H.)
If you need to do -D/#if spelunking, there are other options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 11:39 PM
08-09-2007 11:39 PM
Re: Apache 2.2.3 does not compile
We installed the compilers on a wks and I'm now able to compile and install Apache.
It seems it is a patch issue. I will compare the logs to identify what is missing on our compilers machines.
Thank you for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2007 01:31 AM
08-10-2007 01:31 AM
Re: Apache 2.2.3 does not compile
>> For the patches, here is what we have currently installed:
>> PHSS_33944 1.0 HP aC++ -AA runtime libraries (aCC A.03.71)
>> PHSS_28303 1.0 LIBCL patch
>> PHSS_35381 1.0 ld(1) and linker tools cumulative patch
>> It seems it is a patch issue
PHSS_33944 is superseded by PHSS_33945
PHSS_28303 is superseded by PHSS_34880
PHSS_35381 is superseded by PHSS_35383
These 3 superseded OS Patches does not require Server Reboot:
PHSS_33945 HP aC++ -AA runtime libraries (aCC A.03.76)
PHSS_34880 LIBCL patch
PHSS_35383 ld(1) and linker tools cumulative patch
Should update to above Latest OS Patches if possible
Thanks