[users@httpd] Encountering compile problems installing version 2.0.54 on HP-UX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
	I am attempting to get the latest version of Apache installed
under HP-UX.  I have followed the instructions and all was well until
the make.  During the make a compile problem is being reported.  

Is anyone else encountering a compile problem in HP-UX environments for
the latest apache release version 2.0.54?

The compilation is complaining about the header file apr_errno.h during
the building of the strings in header file apr_cpystrn.h.  The
apr_errno.h is included in the apr_lib.h which is included in the
apr_cpystrn.h program.  The specific errors are noted in the Make
session information.

At first I thought this could be caused by the compiler commands but I
issued a simple compile to see if the same error is returned and it is,
included at the end of this thread.  I also included the line that the
error is occurring on.

Any and all help is appreciated.

Brent



Configuration:

  $ ./configure --prefix=/usr/edi01/apache2s -n --disable-cgid
--disable-charset-lite --enable-auth-dbm --enable-auth-ldap
--enable-cache --enable-headers --enable-ldap --enable-logio --enable-so
--enable-ssl --enable-unique-id --enable-vhost-alias


Make session:

Making all in srclib
Making all in apr
Making all in strings
        /bin/sh /usr/edi01/httpd-2.0.54/srclib/apr/libtool --silent
--mode=compile cc -g -Ae +Z +DAportable   -DHAVE_CONFIG_H -DHPUX11
-D_REENTRANT -D_XOPEN_SOURCE_EXTENDED   -I../include
-I../include/arch/unix  -c apr_cpystrn.c && touch apr_cpystrn.lo
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: "../include/apr_errno.h", line 52: error 1000: Unexpected
symbol: "statcode".
(Bundled) cc: "../include/apr_errno.h", line 53: error 1000: Unexpected
symbol: "apr_size_t".
(Bundled) cc: "../include/apr_errno.h", line 52: error 1705: Function
prototypes are an ANSI feature.
(Bundled) cc: "../include/apr_errno.h", line 52: error 1677: Parameter
type has an invalid storage class specifier "static".
(Bundled) cc: "../include/apr_errno.h", line 53: error 1573: Type of
"bufsize" is undefined due to an illegal declaration.
(Bundled) cc: "../include/apr_general.h", line 179: error 1000:
Unexpected symbol: "apr_initialize".
(Bundled) cc: error 2017: Cannot recover from earlier errors,
terminating.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Simple compile attempt:

compile cc -I../include -I../include/arch/unix  -c apr_cpystrn.c &&
touch apr_cpystrn.lo

Line in apr_errno.h that the complaint is against.

Line 52 in apr_errno.h APR_DECLARE(char *) apr_strerror(apr_status_t
statcode, char *buf, apr_size_t bufsize);

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux