Re: [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]

 



That is correct the bundled C compiler will compile the kernel. It has been a couple of years since I worked there but I remember needing to install the ansi-c compiler separately.

Philip


Tony Schreiner wrote:

If memory serves me, the C compiler that is bundled with HP-UX is very rudimentary and only useful for some system tasks. The really functional HP-UX compiler is a separate product.

It's been a few years, I admit.

Tony

On Jun 7, 2005, at 9:18 AM, McLaughlin, Brent wrote:

Thanks for the reply Owen,

I am using the c compiler that is bundled with the operating system. I'm hoping to draw from the experience from anyone who has compiled on HP-UX using the bundled c compiler.

Brent

-----Original Message-----
From: Boyle Owen [mailto:Owen.Boyle@xxxxxxx]
Sent: Tuesday, June 07, 2005 1:18 AM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: [users@httpd] Encountering compile problems installing version 2.0.54 on HP-UX


-----Original Message-----
From: McLaughlin, Brent [mailto:brent.mclaughlin@xxxxxx]
Sent: Dienstag, 7. Juni 2005 05:06
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd] Encountering compile problems
installing version
2.0.54 on HP-UX


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.


What compiler are you using, native HP-UX? You might try gcc...

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.



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



Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX.


This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
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


---------------------------------------------------------------------
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




---------------------------------------------------------------------
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





---------------------------------------------------------------------
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