Return-Path: Mailing-List: contact modperl-help@apache.org; run by ezmlm Delivered-To: mailing list modperl@apache.org Delivered-To: moderator for modperl@apache.org Received: (qmail 56503 invoked from network); 22 Mar 2000 01:31:49 -0000 Received: from postal.thewrittenword.com (china@208.150.51.101) by locus.apache.org with SMTP; 22 Mar 2000 01:31:49 -0000 Received: (from china@localhost) by postal.thewrittenword.com (8.9.3/8.9.3) id TAA24953 for modperl@apache.org; Tue, 21 Mar 2000 19:23:43 -0600 (CST) From: Albert Chin-A-Young Date: Tue, 21 Mar 2000 19:23:42 -0600 To: modperl@apache.org Subject: Re: Build of mod_1.21 and apache 1.3.11 on HP-UX 10.20 Message-ID: <20000321192342.A13864@postal.thewrittenword.com> References: <852568A9.00535F14.00@dtc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.1.2i In-Reply-To: <852568A9.00535F14.00@dtc.org>; from jarnold@dtcc.com on Tue, Mar 21, 2000 at 10:02:03AM -0500 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Tue, Mar 21, 2000 at 10:02:03AM -0500, John Arnold wrote: > I can succesfully build apache if it is built w/o mod_perl. In order to > achieve this, slight modifications are required to the > ~/apache-1.3.11/src/Configure file, including changing the CFLAGS > parameter to -Ae (vs the original -Aa -D_HP_UX_SOURCE) > > However, when attempting to build with mod_perl, the build fails on the first > module compilation viz. > > cc -I. -I.. -I/opt/perl/lib/5.00503/PA-RISC2.0/CORE -I../os/unix -I../include > -DHPUX10 -Ae -DMOD_PERL -DUSE_PERL_SSI > -D_HPUX_SOURCE -Aa -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -DMOD_PERL > -DPOSIX_MISTAKE -c regcomp.c > cc: "/usr/include/sys/_inttypes.h", line 74: error 1681: Must use +e or -Ae for > long long in ANSI mode. > cc: "/usr/include/sys/_inttypes.h", line 75: error 1681: Must use +e or -Ae for > long long in ANSI mode. > *** Error exit code 1 > > Any suggestions (other than forget about HP-UX) would be gratefully received We've built mod_perl 1.21_03 with Apache 1.3.12 on 10.20 without problems. DSO doesn't work but building mod_perl with Apache does. What's your ./configure line like? We did not need to patch 1.3.12 to achieve what we wanted. We do compile with the HP-UX C compiler and use CFLAGS="-Ae +DAportable". -- albert chin (china@thewrittenword.com)