Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77083931E for ; Tue, 12 Jun 2012 21:04:34 +0000 (UTC) Received: (qmail 94723 invoked by uid 500); 12 Jun 2012 21:04:31 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 94681 invoked by uid 500); 12 Jun 2012 21:04:31 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 94671 invoked by uid 99); 12 Jun 2012 21:04:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 21:04:31 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mamfelt@gmail.com designates 209.85.215.45 as permitted sender) Received: from [209.85.215.45] (HELO mail-lpp01m010-f45.google.com) (209.85.215.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 21:04:24 +0000 Received: by lahc1 with SMTP id c1so5039470lah.18 for ; Tue, 12 Jun 2012 14:04:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=kkPVDDhfsFrKEVTMa+6RKi1T35Lp65WBQk/LLZ1wiZo=; b=nP7dga3Wc9Tk0Y1hmv8Rl153NlfnlbRsPUAWOA4+1ADetoC27QBQf4DT4Upl7qvCdi o2mn1ymq2xBjZCZp625HpaXbCyZhVyvm2KrQv+/54tX/qMKCQo5IbfeTxi7dDx5ICUut 0a6TdsopnZs7gptMrlN3yBKxPtUsSHRu5gV5Mo/VTjUkltmB1y9RbsYDswkLNbWl7t1S 1cLbWMmoGcwdyM92iOXRvfxFd2c5hZyEt6swMbOgTr/lCcVl2iEGZLX3BIQiXgQmOgn4 7spqCCoy1nxph0UlToBQpYXwGoK2zYzeWqrwdm88GxFvTcXLD7O/pk9Ec5gmI4flV14I kv0w== MIME-Version: 1.0 Received: by 10.112.49.68 with SMTP id s4mr5293469lbn.27.1339535043819; Tue, 12 Jun 2012 14:04:03 -0700 (PDT) Received: by 10.112.117.71 with HTTP; Tue, 12 Jun 2012 14:04:03 -0700 (PDT) In-Reply-To: <37CAD44053C7CA4EA6E242DF34594A6312076976CB@MB-NCR-128.ad.pwgsc-tpsgc.gc.ca> References: <37CAD44053C7CA4EA6E242DF34594A6312076976C8@MB-NCR-128.ad.pwgsc-tpsgc.gc.ca> <37CAD44053C7CA4EA6E242DF34594A6312076976CB@MB-NCR-128.ad.pwgsc-tpsgc.gc.ca> Date: Tue, 12 Jun 2012 23:04:03 +0200 Message-ID: From: Michael Felt To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=90e6ba308ef273793804c24cce73 Subject: Re: [users@httpd] RE: httpd-2.4.2 "make install" fails on AIX 6.1 --90e6ba308ef273793804c24cce73 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable It may not have all the options you want installed, but I worked on a set up scripts in ./build/aix The idea is that if you run build/aix/buildaix.ksh it does a configure for you. I also suggested a layout for AIX (look in config.layout). The layout uses /opt/httpd, /var/httpd and /etc/httpd as the directories to put the files and puts the man pages in /usr/share/man1 The "difficulity" is with apr and apr-util. As long as these can be found the configure command should run fine. Note: if you have already run configure (i.e. Makefile exists) the scripts do not run configure but run make make DESTDIR=3Dxxx install and then calls a final script that creates an installp installable in build/aix/xxx.I This creates both a root part and a usr part (man pages, binaries go in usr part). Am very interested in hearing how it works (or where it did not work); what you like, do not like. regards, Michael note: the script tests for the fileset with the mkinstallp command and stops if it is not installed. On Tue, Jun 5, 2012 at 6:26 PM, Brian Gaber wrote: > ** > This suggestion worked. > > For the "configure" and "make" I had the PATH have "/usr/bin" before > "/opt/freeware/bin". Before running "make install" I changed PATH to hav= e > "/opt/freeware/bin" before "/usr/bin" and this worked. > > Having the path with "/opt/freeware/bin" before "/usr/bin" from the > beginning resulted in a make error. > > Thanks. > > ------------------------------ > *From:* Reimer, George [mailto:George.Reimer@fisglobal.com] > *Sent:* Tuesday, June 05, 2012 10:31 AM > *To:* users@httpd.apache.org > *Subject:* [users@httpd] RE: httpd-2.4.2 "make install" fails on AIX 6.1 > > Hi Brian,**** > > I ran into this same problem just a week ago, if I knew more about > mailing lists and how to update a Wiki I=92d be able to refer you to the > email I sent In about it.**** > > ** ** > > The problem went away for me when I set up my execution path so that > the =91which install=92 command found the GNU CoreUtils install program i= n > /opt/freeware/bin (I think) instead of the AIX one in /usr/bin. You may > need to re-run the configure script so the GNU install program gets picke= d > out then.**** > > ** ** > > Yours,**** > > ** ** > > George Reimer**** > > **** > > ** ** > > *From:* Brian Gaber [mailto:Brian.Gaber@tpsgc-pwgsc.gc.ca] > *Sent:* Tuesday, June 05, 2012 8:31 AM > *To:* 'users@httpd.apache.org' > *Subject:* [users@httpd] httpd-2.4.2 "make install" fails on AIX 6.1**** > > ** ** > > I have similar problem to the problem described here: > http://grokbase.com/t/apache/dev/11cva03wa7/httpd-2-3-16-beta-make-instal= l-fails > **** > > **** > > I have coreutils and libtools installed.**** > > **** > > I have successfully compiled apr and apr-utils as follows:**** > > **** > > # Build and install apr**** > > ./configure --prefix=3D/usr/local/apr-httpd/**** > > make**** > > make install**** > > **** > > # Build and install apr-util**** > > ./configure --prefix=3D/usr/local/apr-util-httpd/ > --with-apr=3D/usr/local/apr-httpd/ --with-openssl --with-crypto --with-ld= ap > --with-expat=3D/usr**** > > make**** > > make install**** > > **** > > # Configure httpd**** > > ./configure --with-apr=3D/usr/local/apr-httpd/ > --with-apr-util=3D/usr/local/apr-util-httpd/ \**** > > --with-mpm=3Dprefork \**** > > --enable-auth-basic \**** > > --enable-auth-form \**** > > --enable-authn-anon \**** > > --enable-authn-dbm \**** > > --enable-auth-digest \**** > > --enable-authnz-ldap \**** > > --enable-cern-meta \**** > > --enable-dav \**** > > --enable-dav-fs \**** > > --enable-dbd \**** > > --enable-deflate \**** > > --enable-expires \**** > > --enable-ext-filter \**** > > --enable-headers \**** > > --enable-info \**** > > --enable-ldap \**** > > --enable-mime-magic \**** > > --enable-proxy \**** > > --enable-rewrite \**** > > --enable-session \**** > > --enable-session-cookie \**** > > --enable-session-crypto \**** > > --enable-session-dbd \**** > > --enable-speling \**** > > --enable-ssl \**** > > --enable-unique-id \**** > > --enable-usertrack \**** > > --enable-vhost-alias \**** > > --enable-mods-shared=3D"auth-basic auth-form authn_anon authn_dbm > auth_digest authnz-ldap cern_meta dav dav_fs dbd deflate expires ext_filt= er > headers info ldap mime_magic proxy rewrite session session-cookie > session-crypto session-dbd ssl speling unique_id usertrack vhost_alias"**= * > * > > **** > > make is successful.**** > > **** > > make install fails with this error:**** > > **** > > Making install in modules**** > > Making install in aaa**** > > rm -f /usr/local/apache2/modules/mod_authn_file.so**** > > /usr/local/apr-httpd//build-1/libtool --silent --mode=3Dinstall install > mod_authn_file.la /usr/local/apache2/modules/**** > > find: bad status-- /usr/local/apache2/modules/mod_authn_file.so**** > > install: File mod_authn_file.so was not found.**** > > make: 1254-004 The error code from the last command is 2.**** > > **** > > **** > > Stop.**** > > make: 1254-004 The error code from the last command is 1.**** > > **** > > **** > > Stop.**** > > make: 1254-004 The error code from the last command is 1.**** > > **** > > **** > > Stop.**** > > make: 1254-004 The error code from the last command is 1.**** > > **** > > **** > > Stop.**** > > **** > > Thanks for assistance.**** > > **** > _____________ > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete t= he > message and all copies; (ii) do not disclose, distribute or use the messa= ge > in any manner; and (iii) notify the sender immediately. In addition, plea= se > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > --90e6ba308ef273793804c24cce73 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable It may not have all the options you want installed, but I worked on a set u= p scripts in ./build/aix

The idea is that if you run build/aix/build= aix.ksh it does a configure for you. I also suggested a layout for AIX (loo= k in config.layout).

The layout uses /opt/httpd, /var/httpd and /etc/httpd as the directorie= s to put the files and puts the man pages in /usr/share/man1

The &qu= ot;difficulity" is with apr and apr-util. As long as these can be foun= d the configure command should run fine.

Note: if you have already run configure (i.e. Makefile exists) the scri= pts do not run configure but run
make
make DESTDIR=3Dxxx install
<= br>and then calls a final script that creates an installp installable in bu= ild/aix/xxx.I

This creates both a root part and a usr part (man pages, binaries go in= usr part).

Am very interested in hearing how it works (or where it = did not work); what you like, do not like.

regards,
Michael

note: the script tests for the fileset with the mkinstallp command and = stops if it is not installed.

On Tue, Jun= 5, 2012 at 6:26 PM, Brian Gaber <Brian.Gaber@tpsgc-pwgsc.gc.c= a> wrote:
This suggestion worked.
=A0
For the "configure" and "make" I had the PATH h= ave=20 "/usr/bin" before "/opt/freeware/bin".=A0 Before runnin= g "make install" I=20 changed PATH to have "/opt/freeware/bin" before "/usr/bin&qu= ot; and this=20 worked.
=A0
Having the path with "/opt/freeware/bin" before=20 "/usr/bin"=A0 from the beginning resulted in a make=20 error.
=A0
Thanks.


From: Reimer, George=20 [mailto:Ge= orge.Reimer@fisglobal.com]
Sent: Tuesday, June 05, 2012=20 10:31 AM
To: users@httpd.apache.org
Subject: [users@httpd]=20 RE: httpd-2.4.2 "make install" fails on AIX 6.1

Hi=20 Brian,

=A0=A0=A0=A0=20 I ran into this same problem just a week ago, if I knew more about mailing = lists=20 and how to update a Wiki I=92d be able to refer you to the email I sent In = about=20 it.

=A0

=A0=A0=A0=A0=20 The problem went away for me when I set up my execution path so that the = =91which=20 install=92 command found the GNU CoreUtils install program in /opt/freeware= /bin (I=20 think) instead of the AIX one in /usr/bin. You may need to re-run the confi= gure=20 script so the GNU install program gets picked out then.

=A0

Yours,

=A0

George=20 Reimer

=A0

From: Brian Gaber=20 [mailto:= Brian.Gaber@tpsgc-pwgsc.gc.ca]
Sent: Tuesday, June 05, 2012= =20 8:31 AM
To: 'users@httpd.apache.org'
Subject: [users@httpd= ]=20 httpd-2.4.2 "make install" fails on AIX 6.1
<= /p>

=A0

I have similar=20 problem to the problem described here: http://grokbase.com/t/apache/dev/11cva03w= a7/httpd-2-3-16-beta-make-install-fails

=A0

I have coreutils and=20 libtools installed.<= /p>

=A0

I have successfully=20 compiled apr and apr-utils as follows:

=A0

# Build and install=20 apr

./configure=20 --prefix=3D/usr/local/apr-httpd/

make

make=20 install

=A0

# Build and install=20 apr-util

./configure=20 --prefix=3D/usr/local/apr-util-httpd/ --with-apr=3D/usr/local/apr-httpd/=20 --with-openssl --with-crypto --with-ldap=20 --with-expat=3D/usr

make

make=20 install

=A0

# Configure=20 httpd

./configure=20 --with-apr=3D/usr/local/apr-httpd/ --with-apr-util=3D/usr/local/apr-util-ht= tpd/=20 \

--with-mpm=3Dprefork=20 \

--enable-auth-basic=20 \

--enable-auth-form=20 \

--enable-authn-anon=20 \

--enable-authn-dbm=20 \

--enable-auth-digest=20 \

--enable-authnz-ldap=20 \

--enable-cern-meta=20 \

--enable-dav=20 \

--enable-dav-fs=20 \

--enable-dbd=20 \

--enable-deflate=20 \

--enable-expires=20 \

--enable-ext-filter=20 \

--enable-headers=20 \

--enable-info=20 \

--enable-ldap=20 \

--enable-mime-magic=20 \

--enable-proxy=20 \

--enable-rewrite=20 \

--enable-session=20 \

--enable-session-cookie=20 \

--enable-session-crypto=20 \

--enable-session-dbd=20 \

--enable-speling=20 \

--enable-ssl=20 \

--enable-unique-id=20 \

--enable-usertrack=20 \

--enable-vhost-alias=20 \

--enable-mods-shared=3D"auth-basic=20 auth-form authn_anon authn_dbm auth_digest authnz-ldap cern_meta dav dav_fs= dbd=20 deflate expires ext_filter headers info ldap mime_magic proxy rewrite sessi= on=20 session-cookie session-crypto session-dbd ssl speling unique_id usertrack= =20 vhost_alias"

=A0

make is=20 successful.

=A0

make install fails=20 with this error:

=A0

Making install in=20 modules

Making install in=20 aaa

rm -f=20 /usr/local/apache2/modules/mod_authn_file.so

/usr/local/apr-httpd//build-1/libtool=20 --silent --mode=3Dinstall install mod_authn_file.la=20 /usr/local/apache2/modules/

find: bad status--=20 /usr/local/apache2/modules/mod_authn_file.so

install: File=20 mod_authn_file.so was not found.

make: 1254-004 The=20 error code from the last command is 2.

=A0

=A0

Stop.

make: 1254-004 The=20 error code from the last command is 1.

=A0

=A0

Stop.

make: 1254-004 The=20 error code from the last command is 1.

=A0

=A0

Stop.

make: 1254-004 The=20 error code from the last command is 1.

=A0

=A0

Stop.

=A0

=A0=A0=A0=A0=A0=A0=A0=20 Thanks for=20 assistance.

=A0

_____________
The information contained in this message is propriet= ary=20 and/or confidential. If you are not the intended recipient, please: (i) del= ete=20 the message and all copies; (ii) do not disclose, distribute or use the mes= sage=20 in any manner; and (iii) notify the sender immediately. In addition, please= be=20 aware that any message addressed to our domain is subject to archiving and= =20 review by persons other than the intended recipient. Thank=20 you.

--90e6ba308ef273793804c24cce73--