You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ryan Bloom <rb...@raleigh.ibm.com> on 2000/01/11 15:38:21 UTC

HPUX build issues.

Besides the SHARED_SUFFIX_NAME issue that has been backed out already,
there appears to be another HPUX issue that needs to be fixed before we
can release.  Apparently, HPUX requires a -Ae option in order to use "long
long" types.  This is any easy fix, but Apache doesn't appear to compile
"out of the box" (or off the web if you like that better) without it.

Here is the patch.

Ryan

Index: src/Configure
===================================================================
RCS file: /home/cvs/apache-1.3/src/Configure,v
retrieving revision 1.386
diff -u -r1.386 Configure
--- Configure	2000/01/10 23:53:08	1.386
+++ Configure	2000/01/11 14:35:33
@@ -1393,7 +1393,7 @@
     'HI-UX')
 	case "$CC" in
 	    */cc|cc )
-		CFLAGS="$CFLAGS -Aa -D_HIUX_SOURCE"
+		CFLAGS="$CFLAGS -Aa -Ae -D_HIUX_SOURCE"
 		OPTIM=" "
 		TOPTIM=""
 	    ;;
@@ -1402,7 +1402,7 @@
     'HP-UX'|'HP-UX 10'|'HP-UX 11')
 	case "$CC" in
 	    */cc|cc )
-		CFLAGS="$CFLAGS -Aa -D_HPUX_SOURCE"
+		CFLAGS="$CFLAGS -Aa -Ae -D_HPUX_SOURCE"
 		OPTIM=" "
 		TOPTIM=""
 	    ;;

_______________________________________________________________________
Ryan Bloom		rbb@raleigh.ibm.com
4205 S Miami Blvd	
RTP, NC 27709		

Come to the first official Apache Software Foundation
Conference!  <http://ApacheCon.Com/>





RE: HPUX build issues.

Posted by Keith Wannamaker <kr...@raleigh.ibm.com>.
It's broken on the two HP machines to which I have access.  We have been
building it for months by manually setting CFLAGS="-Ae".  I think it is a
safe
addition.

Keith Wannamaker
IBM HTTP Server

| -----Original Message-----
| From: new-httpd-owner@apache.org [mailto:new-httpd-owner@apache.org]On
| Behalf Of Ryan Bloom
| Sent: Tuesday, January 11, 2000 1:02 PM
| To: new-httpd@apache.org
| Subject: Re: HPUX build issues.
|
|
|
| As far as I can tell this is a flag that the compiler has understood for a
| while.  I am not a HPUX expert though, I just know there are currently
| issues with the build.
|
| Ryan
|
| On Tue, 11 Jan 2000, Greg Stein wrote:
|
| > On Tue, 11 Jan 2000, Ryan Bloom wrote:
| > > Besides the SHARED_SUFFIX_NAME issue that has been backed out already,
| > > there appears to be another HPUX issue that needs to be fixed
| before we
| > > can release.  Apparently, HPUX requires a -Ae option in order
| to use "long
| > > long" types.  This is any easy fix, but Apache doesn't appear
| to compile
| > > "out of the box" (or off the web if you like that better) without it.
| >
| > Will all versions of the HP/UX compiler know about this? i.e.
| are we going
| > to have to test for it before using it?
| >
| > Yes, I realize that this makes it work for where it didn't before, but
| > this may be an incomplete solution...
| >
| > Cheers,
| > -g
| >
| > --
| > Greg Stein, http://www.lyra.org/
| >
|
| _______________________________________________________________________
| Ryan Bloom		rbb@raleigh.ibm.com
| 4205 S Miami Blvd
| RTP, NC 27709
|
| Come to the first official Apache Software Foundation
| Conference!  <http://ApacheCon.Com/>
|
|
|


Re: HPUX build issues.

Posted by Ryan Bloom <rb...@raleigh.ibm.com>.
As far as I can tell this is a flag that the compiler has understood for a
while.  I am not a HPUX expert though, I just know there are currently
issues with the build.

Ryan

On Tue, 11 Jan 2000, Greg Stein wrote:

> On Tue, 11 Jan 2000, Ryan Bloom wrote:
> > Besides the SHARED_SUFFIX_NAME issue that has been backed out already,
> > there appears to be another HPUX issue that needs to be fixed before we
> > can release.  Apparently, HPUX requires a -Ae option in order to use "long
> > long" types.  This is any easy fix, but Apache doesn't appear to compile
> > "out of the box" (or off the web if you like that better) without it.
> 
> Will all versions of the HP/UX compiler know about this? i.e. are we going
> to have to test for it before using it?
> 
> Yes, I realize that this makes it work for where it didn't before, but
> this may be an incomplete solution...
> 
> Cheers,
> -g
> 
> -- 
> Greg Stein, http://www.lyra.org/
> 

_______________________________________________________________________
Ryan Bloom		rbb@raleigh.ibm.com
4205 S Miami Blvd	
RTP, NC 27709		

Come to the first official Apache Software Foundation
Conference!  <http://ApacheCon.Com/>



Re: HPUX build issues.

Posted by Greg Stein <gs...@lyra.org>.
On Tue, 11 Jan 2000, Ryan Bloom wrote:
> Besides the SHARED_SUFFIX_NAME issue that has been backed out already,
> there appears to be another HPUX issue that needs to be fixed before we
> can release.  Apparently, HPUX requires a -Ae option in order to use "long
> long" types.  This is any easy fix, but Apache doesn't appear to compile
> "out of the box" (or off the web if you like that better) without it.

Will all versions of the HP/UX compiler know about this? i.e. are we going
to have to test for it before using it?

Yes, I realize that this makes it work for where it didn't before, but
this may be an incomplete solution...

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/