You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/05/28 15:12:33 UTC

DO NOT REPLY [Bug 9457] New: - Compilation fails on HP-UX 10.20

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9457>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9457

Compilation fails on HP-UX 10.20

           Summary: Compilation fails on HP-UX 10.20
           Product: Apache httpd-2.0
           Version: 2.0.36
          Platform: HP
               URL: Intranet no reachable from Internet
        OS/Version: HP-UX
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: l_faillie@yahoo.com


Hi all,

The configure step finish successfully but make fails w/ following errors :

/bin/sh /datas/depot/httpd-2.0.36/srclib/apr/libtool --silent --mode=compile gcc
-g -O2   -DHAVE_CONFIG_H -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT   -I../../include
-I.
./../include/arch/unix -I../../include/arch/unix  -c open.c && touch open.lo
open.c: In function `apr_file_open':
open.c:169: structure has no member named `cma_pipe'
gmake[4]: *** [open.lo] Error 1
gmake[4]: Leaving directory `/datas/depot/httpd-2.0.36/srclib/apr/file_io/unix'

The faulty line is :
    (*new)->pipe = 0;

I use gcc version 2.95.3 on a (slow ;-D) HP 715 workstation.

After some search, I discover a wraper in 
./opt/dce/include/dce/cma_ux.h

#  define pipe		cma_pipe

I totaly duno why this include is called for compiling Apache ...

My workaround is obviously to add such
#ifdef HPUX
#undef pipe
#endif

but I think it's quite dirty.

I haven't the time yet to check on HP-UX 11.

Bye

Laurent

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org