Bug 43532 - Error while compiling Apache 2.2.3 on HPUX
Summary: Error while compiling Apache 2.2.3 on HPUX
Status: RESOLVED INVALID
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: All (show other bugs)
Version: 2.2.3
Hardware: HP HP-UX
: P1 critical (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: ErrorMessage
Depends on:
Blocks:
 
Reported: 2007-10-02 03:29 UTC by Paramjeet Singh
Modified: 2015-12-31 14:01 UTC (History)
1 user (show)



Attachments
Config.log for Apache 2.2.6 compilation failure (87.38 KB, application/octet-stream)
2007-11-29 22:52 UTC, Paramjeet Singh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paramjeet Singh 2007-10-02 03:29:12 UTC
Hi
   I am getting the following error while configuring Apache 2.2.3 on HPUX 
11.31.
Checking for Threads...
checking pthread.h usability... no
checking pthread.h presence... yes
configure: WARNING: pthread.h: present but cannot be compiled
configure: WARNING: pthread.h:     check for missing prerequisite headers?
configure: WARNING: pthread.h: see the Autoconf documentation
configure: WARNING: pthread.h:     section "Present But Cannot Be Compiled"
configure: WARNING: pthread.h: proceeding with the preprocessor's result
configure: WARNING: pthread.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##

make results in the following error
/usr/include/sys/socket.h:300: syntax error before "socklen_t"
/usr/include/sys/socket.h:304: syntax error before "msg_controllen"
/usr/include/sys/socket.h:306: syntax error before '}' token
/usr/include/sys/socket.h:377: syntax error before "socklen_t"
/usr/include/sys/socket.h:381: syntax error before '}' token
/usr/include/sys/socket.h:444: syntax error before "socklen_t"
/usr/include/sys/socket.h:445: syntax error before "socklen_t"
/usr/include/sys/socket.h:446: syntax error before "socklen_t"
/usr/include/sys/socket.h:447: syntax error before "socklen_t"
/usr/include/sys/socket.h:448: syntax error before "socklen_t"
/usr/include/sys/socket.h:449: syntax error before "socklen_t"
/usr/include/sys/socket.h:453: syntax error before "socklen_t"
/usr/include/sys/socket.h:458: syntax error before "socklen_t"
/usr/include/sys/socket.h:459: syntax error before "socklen_t"
make[1]: *** [passwd/apr_getpass.lo] Error 1

I am using gcc compiler 3.2.3.
Please suggest as it is very critical.

Thanks and Regards
Paramjeet Singh
Comment 1 Davi Arnaut 2007-11-12 19:01:09 UTC
Can you please try Apache 2.2.6? It it doesn't work, please attach the config.log file.
Comment 2 Paramjeet Singh 2007-11-29 22:52:38 UTC
Created attachment 21207 [details]
Config.log for Apache 2.2.6 compilation failure

Added config.log for Apache 2.2.6 compilation failure for HPUX 11.31
Comment 3 Luca Toscano 2015-12-31 14:01:31 UTC
Hi Paramjeet,

this bug didn't get a lot of traction and it seems abandoned (also related to an old Apache release). I am inclined to close this ticket to prioritise the other ones, but please re-open it if you need further assistance.

Luca