RE: Building httpd2.4.25 on powerpc-ibm-aix7.1.0.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the reply.

I decided to run configure with the built APRs as follows:

  $ CC='gcc' CPP='gcc -E' ./configure --enable-so –enable-dav --prefix=/opt/eai/ci/httpd-2.4.25/apache --with-iconv=/opt/eai/ci/libiconv-1.15/libiconv/lib --with-included-apr --with-included-apr-util --with-pcre=/opt/eai/ci/httpd-2.4.25/srclib/pcre/pcre-config

Configure is successful

Make is successful

For make install, I get the following error:

Making install in worker

Target "local-install" is up to date.

Target "install" is up to date.

Target "local-install" is up to date.

Target "install" is up to date.

Target "local-install" is up to date.

Target "install" is up to date.

Making install in modules

Making install in aaa

rm -f /opt/eai/ci/httpd-2.4.25/apache/modules/mod_authn_file.so

/opt/eai/ci/httpd-2.4.25/srclib/apr/libtool --silent --mode=install install mod_authn_file.la /opt/eai/ci/httpd-2.4.25/apache/modules/

find: bad status-- /opt/eai/ci/httpd-2.4.25/apache/modules/mod_authn_file.so

find: cannot chdir to </etc/Tivoli/tec> : Permission denied

find: cannot chdir to </etc/cluster/locks> : Permission denied

find: cannot open < /etc/corrals >

find: cannot chdir to </etc/emc/diag> : Permission denied

find: cannot chdir to </etc/emc/ppme> : Permission denied

find: cannot chdir to </etc/iscsi> : Permission denied

find: cannot chdir to </etc/openldap/slapd.d> : Permission denied

find: cannot chdir to </etc/security> : Permission denied

find: cannot open < /etc/tivoli >

find: cannot chdir to </etc/tunables> : Permission denied

find: cannot chdir to </usr/lib/boot/network> : Permission denied

find: cannot open < /usr/lib/corrals >

find: cannot chdir to </usr/lib/drivers/crypto> : Permission denied

find: cannot open < /usr/lib/methods/wio >

find: cannot chdir to </usr/lib/ras/snapscripts/tmp> : Permission denied

find: cannot chdir to </usr/lib/security/tnc> : Permission denied

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.

I noted in the config.log that mod_authn_file is shared

configure:7781: result: no

configure:8909: checking whether to enable mod_authn_file

configure:8970: result: shared

Any guidance?

From: William A Rowe Jr [mailto:wrowe@xxxxxxxxxxxxx]
Sent: Wednesday, May 31, 2017 3:35 PM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: [users@httpd] Building httpd2.4.25 on powerpc-ibm-aix7.1.0.0

 

You'll need to provision libuuid and rebuild apr[-util] - a required prerequisite for httpd.

 

On May 31, 2017 2:25 PM, "Joseph, Anselm" <Anselm.Joseph@xxxxxxx> wrote:

Thank you all for your replies.

So I got back on the horse and installed latest APRs and PCRE, then ran configure again as follows:

CC='gcc' CPP='gcc -E' ./configure --enable-so --enable-dav --prefix=/opt/eai/ci/httpd-2.4.25/apache --with-iconv=/opt/eai/ci/libiconv-1.15/libiconv/lib --with

-apr=/opt/eai/ci/httpd-2.4.25/srclib/apr --with-apr-util=/opt/eai/ci/httpd-2.4.25/srclib/apr-util --with-pcre=/opt/eai/ci/httpd-2.4.25/srclib/pcre/pcre-config

 

Config was clean, with a warning about OpenSSL being too old

configure:37818: summary of build options:

 

    Server Version: 2.4.25

    Install prefix: /opt/eai/ci/httpd-2.4.25/apache

    C compiler:     gcc -std=gnu99

    CFLAGS:           -O2 -pg -pthread

    LDFLAGS:         -Wl,-brtl

    LIBS:

    CPPFLAGS:        -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE

    C preprocessor: gcc -E

 

I tried 'make' and got the following Undefined symbol: apr_os_uuid_get Error:

Target "local-all" is up to date.

Target "all" is up to date.

        /opt/eai/ci/httpd-2.4.25/srclib/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -O2 -pg -pthread      -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE     -I. -I/opt/eai/ci/httpd-2.4.25/os/unix -I/opt/eai/ci/httpd-2.4.25/include -I/opt/eai/ci/httpd-2.4.25/srclib/apr/include/apr-1 -I/opt/eai/ci/httpd-2.4.25/srclib/apr-util/include/apr-1 -I/opt/eai/ci/httpd-2.4.25/srclib/pcre/include -I/opt/eai/ci/httpd-2.4.25/modules/aaa -I/opt/eai/ci/httpd-2.4.25/modules/cache -I/opt/eai/ci/httpd-2.4.25/modules/core -I/opt/eai/ci/httpd-2.4.25/modules/database -I/opt/eai/ci/httpd-2.4.25/modules/filters -I/opt/eai/ci/httpd-2.4.25/modules/ldap -I/opt/eai/ci/httpd-2.4.25/modules/loggers -I/opt/eai/ci/httpd-2.4.25/modules/lua -I/opt/eai/ci/httpd-2.4.25/modules/proxy -I/opt/eai/ci/httpd-2.4.25/modules/session -I/opt/eai/ci/httpd-2.4.25/modules/ssl -I/opt/eai/ci/httpd-2.4.25/modules/test -I/opt/eai/ci/httpd-2.4.25/server -I/opt/eai/ci/httpd-2.4.25/modules/arch/unix -I/opt/eai/ci/httpd-2.4.25/modules/dav/main -I/opt/eai/ci/httpd-2.4.25/modules/generators -I/opt/eai/ci/httpd-2.4.25/modules/mappers  -prefer-non-pic -static -c modules.c && touch modules.lo

        gcc -std=gnu99  -O2 -pg -pthread      -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64_SOURCE     -I. -I/opt/eai/ci/httpd-2.4.25/os/unix -I/opt/eai/ci/httpd-2.4.25/include -I/opt/eai/ci/httpd-2.4.25/srclib/apr/include/apr-1 -I/opt/eai/ci/httpd-2.4.25/srclib/apr-util/include/apr-1 -I/opt/eai/ci/httpd-2.4.25/srclib/pcre/include -I/opt/eai/ci/httpd-2.4.25/modules/aaa -I/opt/eai/ci/httpd-2.4.25/modules/cache -I/opt/eai/ci/httpd-2.4.25/modules/core -I/opt/eai/ci/httpd-2.4.25/modules/database -I/opt/eai/ci/httpd-2.4.25/modules/filters -I/opt/eai/ci/httpd-2.4.25/modules/ldap -I/opt/eai/ci/httpd-2.4.25/modules/loggers -I/opt/eai/ci/httpd-2.4.25/modules/lua -I/opt/eai/ci/httpd-2.4.25/modules/proxy -I/opt/eai/ci/httpd-2.4.25/modules/session -I/opt/eai/ci/httpd-2.4.25/modules/ssl -I/opt/eai/ci/httpd-2.4.25/modules/test -I/opt/eai/ci/httpd-2.4.25/server -I/opt/eai/ci/httpd-2.4.25/modules/arch/unix -I/opt/eai/ci/httpd-2.4.25/modules/dav/main -I/opt/eai/ci/httpd-2.4.25/modules/generators -I/opt/eai/ci/httpd-2.4.25/modules/mappers  -c /opt/eai/ci/httpd-2.4.25/server/buildmark.c

        /opt/eai/ci/httpd-2.4.25/srclib/apr/build-1/libtool --silent --mode=link gcc -std=gnu99  -O2 -pg -pthread      -Wl,-brtl   -o httpd  modules.lo buildmark.o -export-dynamic -Wl,-uXML_Parse -Wl,-bE:/opt/eai/ci/httpd-2.4.25/server/httpd.exp server/libmain.la  modules/core/libmod_so.la modules/http/libmod_http.la  server/mpm/worker/libworker.la  os/unix/libos.la -L/opt/eai/ci/httpd-2.4.25/srclib/pcre/lib -lpcre    /opt/eai/ci/httpd-2.4.25/srclib/apr-util/lib/libaprutil-1.la -lexpat -liconv /opt/eai/ci/httpd-2.4.25/srclib/apr/lib/libapr-1.la -lpthread

ld: 0711-317 ERROR: Undefined symbol: apr_os_uuid_get

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

collect2: ld returned 8 exit status

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

Any idea how to link to the right libraries?

Thank you in advance.

-----Original Message-----
From: Jose R R [mailto:jose.r.r@xxxxxxxxxxx]
Sent: Wednesday, May 24, 2017 7:24 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Building httpd2.4.25 on powerpc-ibm-aix7.1.0.0

 

CAUTION - EXTERNAL EMAIL

 

 

 

Niltze [Hello]

 

On Wed, May 24, 2017 at 8:08 AM, Joseph, Anselm <Anselm.Joseph@xxxxxxx> wrote:

> I have been trying to install/compile Apache Subversion 1.9.5 with HTTPD-2.2.32, and it’s been failing consistently.

> Someone mentioned that Subversion1.9.5 may not have been fully tested with HTTPD2.2.x. So I decided to install httpd-2.4.25 on the same machine and give it a try.

> Except that I am getting errors when building httpd-2.2.32.

> Config command line is as follows:

> It was created by configure, which was

> generated by GNU Autoconf 2.69.  Invocation command line was

>   $ ./configure --enable-so –enable-dav --prefix=/opt/eai/ci/httpd-2.4.25/apache --with-iconv=/opt/eai/ci/libiconv-1.15/libiconv/lib --with-apr=/opt/fre

> eware/bin/apr-1-config --with-apr-util=/opt/freeware/bin --with-pcre=/opt/eai/ci/httpd-2.2.32/pcre/pcre-config

> There are no significant errors in config, as far as I can see.

> The make fails with the following:

> Target "shared-build" is up to date.

> Building shared: mod_authn_file.la mod_authn_dbm.la mod_authn_anon.la mod_authn_dbd.la mod_authn_socache.la mod_authn_core.la mod_authz_host

> .la mod_authz_groupfile.la mod_authz_user.la mod_authz_dbm.la mod_authz_owner.la mod_authz_dbd.la mod_authz_core.la mod_authnz_ldap.la mod_a

> ccess_compat.la mod_auth_basic.la mod_auth_form.la mod_auth_digest.la mod_allowmethods.la

>         /opt/freeware/lib/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99  -qHALT=E      -U__STR__ -D_THREAD_SAFE -D_USE_IRS -D_L

> ARGEFILE64_SOURCE     -I. -I/opt/eai/ci/httpd-2.4.25/os/unix -I/opt/eai/ci/httpd-2.4.25/include -I/opt/freeware/include/apr-1 -I/opt/eai/ci/

> httpd-2.2.32/pcre/include -I/opt/eai/ci/httpd-2.4.25/modules/aaa -I/opt/eai/ci/httpd-2.4.25/modules/cache -I/opt/eai/ci/httpd-2.4.25/modules

> /core -I/opt/eai/ci/httpd-2.4.25/modules/database -I/opt/eai/ci/httpd-2.4.25/modules/filters -I/opt/eai/ci/httpd-2.4.25/modules/ldap -I/opt/

> eai/ci/httpd-2.4.25/modules/loggers -I/opt/eai/ci/httpd-2.4.25/modules/lua -I/opt/eai/ci/httpd-2.4.25/modules/proxy -I/opt/eai/ci/httpd-2.4.

> 25/modules/session -I/opt/eai/ci/httpd-2.4.25/modules/ssl -I/opt/eai/ci/httpd-2.4.25/modules/test -I/opt/eai/ci/httpd-2.4.25/server -I/opt/e

> ai/ci/httpd-2.4.25/modules/arch/unix -I/opt/eai/ci/httpd-2.4.25/modules/dav/main -I/opt/eai/ci/httpd-2.4.25/modules/generators -I/opt/eai/ci

> /httpd-2.4.25/modules/mappers -prefer-pic -c mod_authn_file.c && touch mod_authn_file.slo

> gcc: unrecognized option '-qHALT=E'

>         /opt/freeware/lib/apr-1/build/libtool --silent --mode=link gcc -std=gnu99  -qHALT=E     -Wl,-brtl   -Wl,-brtl    -o mod_authn_file.l

> a -rpath /opt/eai/ci/httpd-2.4.25/apache/modules -module -avoid-version  mod_authn_file.lo

> /opt/freeware/lib/apr-1/build/libtool[3447]: cc:  not found

> make: 1254-004 The error code from the last command is 127.

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

> I am using previously installed apr and apr-util, as well as pcre for httpd2.2.32.

> Can you guys provide some guidance ? It’s really appreciated.

> Thanks

Please, look at:

 

< http://www.aixtools.net/index.php/httpd-2.4 >

 

And/Or try your build with tools in this bundle:

 

< http://download.aixtools.net/tools/apache/aixtools.httpd-2.4.bundle.tar.bz2 >

 

 

Best Professional Regards.

 

--

Jose R R

http://metztli.it

---------------------------------------------------------------------------------------------

Download Debian-Reiser4 for AMD64 https://sf.net/projects/debian-reiser4/

---------------------------------------------------------------------------------------------

Try at no charge http://b2evolution.net for http://OpenShift.com PaaS

---------------------------------------------------------------------------------------------

from our GitHub http://Nepohualtzintzin.com repository. Cloud the easy way!

 

---------------------------------------------------------------------

To unsubscribe, e-mail: users-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