httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Felt <mamf...@gmail.com>
Subject Re: Cannot start httpd v2.4.1 with mpm_build on AIX
Date Wed, 21 Mar 2012 18:45:50 GMT
Unfortunately - 2.4.2 is a nogo...

Same compiler warning messages, install and then ...

Installation Summary
--------------------
Name                        Level           Part        Event       Result
-------------------------------------------------------------------------------
ASF.httpd.rte               2.4.2.0         USR         APPLY
SUCCESS
ASF.httpd.man.en_US         2.4.2.0         USR         APPLY
SUCCESS
ASF.httpd.rte               2.4.2.0         ROOT        APPLY
SUCCESS
ASF.httpd.man.en_US         2.4.2.0         ROOT        APPLY
SUCCESS
root@x103:[/data/prj/httpd-2.4.x]/opt/httpd/sbin/apachectl -t
httpd: Syntax error on line 143 of /etc/httpd/httpd.conf: Cannot load
/opt/httpd/libexec/mod_mpm_worker.so into server: rtld: 0712-001 Symbol
ap_fatal_signal_setup was referenced\n      from module
/opt/httpd/libexec/mod_mpm_worker.so(), but a runtime definition\n      of
the symbol was not found.\nrtld: 0712-001 Symbol ap_reclaim_child_processes
was referenced\n      from module /opt/httpd/libexec/mod_mpm_worker.so(),
but a runtime definition\n      of the symbol was not found.\nrtld:
0712-001 Symbol ap_relieve_child_processes was referenced\n      from
module /opt/httpd/libexec/mod_mpm_worker.so(), but a runtime
definition\n      of the symbol was not found.\nrtld: 0712-001 Symbol
ap_mpm_safe_kill was referenced\n      from module
/opt/httpd/libexec/mod_mpm_worker.so(), but a runtime definition\n      of
the symbol was not found.\nrtld: 0712-001 Symbol ap_wait_or_timeout was
referenced\n      from module /opt/httpd/libexec/mod_mpm_worker.so(), but a
runtime definition\n      of the symbol was not found.\nrtld: 0712-001
Symbol ap_process_child_status was referenced\n      from module
/opt/httpd/libexec/mod_mpm_worker.so(), but a runtime definition\n      of
the symbol was not found.\nrtld: 0712-001 Symbol
ap_unregister_extra_mpm_process was referenced\n      from module
/opt/httpd/libexec/mod_mpm_worker.so(), but a runtime definition\n      of
the symbol was not found.\n\t0509-021 Additional errors occurred but are
not reported.


On Wed, Mar 21, 2012 at 7:17 PM, Michael Felt <mamfelt@gmail.com> wrote:

> root@x103:[/data/prj/httpd-trunk]build/aix/buildaix.ksh
>
> + ./configure
>                 --enable-layout=AIX
>                 --with-apr=/opt/bin/apr-1-config
>                 --with-apr-util=/opt/bin/apu-1-config
>                 --enable-mpms-shared=all
>                 --enable-mods-shared=all
>                 --enable-load-all-modules
>                 --disable-lua > build/aix/configure.out
> configure: WARNING: apr/apr-util is compiled without ldap support
> configure: WARNING: apr/apr-util is compiled without ldap support
> + make > build/aix/make.out
> "util_expr_eval.c", line 1553.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*)" is not
> allowed.
> "util_expr_eval.c", line 1554.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*)" is not
> allowed.
> "util_expr_eval.c", line 1555.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*)" is not
> allowed.
> "util_expr_eval.c", line 1556.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*)" is not
> allowed.
> "util_expr_eval.c", line 1561.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*,const char*)"
> is not allowed.
> "util_expr_eval.c", line 1562.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*,const char*)"
> is not allowed.
> "util_expr_eval.c", line 1563.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*,const char*)"
> is not allowed.
> "util_expr_eval.c", line 1564.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*,const char*)"
> is not allowed.
> "util_expr_eval.c", line 1566.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*,const char*)"
> is not allowed.
> "util_expr_eval.c", line 1567.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*,const char*)"
> is not allowed.
> "util_expr_eval.c", line 1568.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*,const char*)"
> is not allowed.
> "util_expr_eval.c", line 1569.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*,const char*)"
> is not allowed.
> "util_expr_eval.c", line 1570.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*,const char*)"
> is not allowed.
> "util_expr_eval.c", line 1571.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*,const char*)"
> is not allowed.
> "util_expr_eval.c", line 1572.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*,const char*)"
> is not allowed.
> "util_expr_eval.c", line 1573.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*,char*)" is not
> allowed.
> "util_expr_eval.c", line 1574.7: 1506-196 (W) Initialization between types
> "const void*" and "const char*(*)(struct {...}*,const void*,char*)" is not
> allowed.
> "util_expr_eval.c", line 1580.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "util_expr_eval.c", line 1581.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "util_expr_eval.c", line 1582.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "util_expr_eval.c", line 1583.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "util_expr_eval.c", line 1584.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "util_expr_eval.c", line 1585.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "util_expr_eval.c", line 1586.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "util_expr_eval.c", line 1587.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "util_expr_eval.c", line 1588.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "util_expr_eval.c", line 1589.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "util_expr_eval.c", line 1590.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "util_expr_eval.c", line 1591.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "util_expr_eval.c", line 1592.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "util_expr_eval.c", line 1593.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "util_expr_eval.c", line 1598.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*,const
> char*)" is not allowed.
> "util_expr_eval.c", line 1599.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*,const
> char*)" is not allowed.
> "util_expr_eval.c", line 1600.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*,const
> char*)" is not allowed.
> "util_expr_eval.c", line 1601.7: 1506-196 (W) Initialization between types
> "const void*" and "int(*)(struct {...}*,const void*,const char*,const
> char*)" is not allowed.
> "mod_include.c", line 721.26: 1506-068 (W) Operation between types "const
> void*" and "const char*(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "mod_headers.c", line 898.43: 1506-280 (W) Function argument assignment
> between types "const void*" and "const char*(*)(struct request_rec*,char*)"
> is not allowed.
> "ssl_engine_vars.c", line 88.26: 1506-068 (W) Operation between types
> "const void*" and "const char*(*)(struct {...}*,const void*)" is not
> allowed.
> "ssl_engine_vars.c", line 95.26: 1506-068 (W) Operation between types
> "const void*" and "struct apr_array_header_t*(*)(struct {...}*,const
> void*,const char*)" is not allowed.
> + make install DESTDIR=/var/tmp/root/httpd.2.5.0 > build/aix/install.out
> mkdir /var/tmp/root/httpd.2.5.0
> mkdir /var/tmp/root/httpd.2.5.0/opt
> mkdir /var/tmp/root/httpd.2.5.0/opt/httpd
> mkdir /var/tmp/root/httpd.2.5.0/opt/httpd/libexec
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> libtool: install: warning: remember to run `libtool --finish
> /opt/httpd/libexec'
> mkdir /var/tmp/root/httpd.2.5.0/opt/httpd/bin
> mkdir /var/tmp/root/httpd.2.5.0/opt/httpd/sbin
> mkdir /var/tmp/root/httpd.2.5.0/etc
> mkdir /var/tmp/root/httpd.2.5.0/etc/httpd
> mkdir /var/tmp/root/httpd.2.5.0/etc/httpd/extra
> mkdir /var/tmp/root/httpd.2.5.0/etc/httpd/original
> mkdir /var/tmp/root/httpd.2.5.0/etc/httpd/original/extra
> mkdir /var/tmp/root/httpd.2.5.0/var
> mkdir /var/tmp/root/httpd.2.5.0/var/httpd
> mkdir /var/tmp/root/httpd.2.5.0/var/httpd/htdocs
> mkdir /var/tmp/root/httpd.2.5.0/var/httpd/error
> mkdir /var/tmp/root/httpd.2.5.0/opt/httpd/icons
> mkdir /var/tmp/root/httpd.2.5.0/var/httpd/logs
> mkdir /var/tmp/root/httpd.2.5.0/var/httpd/run
> mkdir /var/tmp/root/httpd.2.5.0/var/httpd/cgi-bin
> mkdir /var/tmp/root/httpd.2.5.0/opt/httpd/include
> mkdir /var/tmp/root/httpd.2.5.0/var/httpd/build
> mkdir /var/tmp/root/httpd.2.5.0/usr
> mkdir /var/tmp/root/httpd.2.5.0/usr/share
> mkdir /var/tmp/root/httpd.2.5.0/usr/share/man
> mkdir /var/tmp/root/httpd.2.5.0/usr/share/man/man1
> mkdir /var/tmp/root/httpd.2.5.0/usr/share/man/man8
> mkdir /var/tmp/root/httpd.2.5.0/opt/httpd/manual
> + build/aix/mkinstallp.ksh /var/tmp/root/httpd.2.5.0 >
> build/aix/mkinstallp.out
> readline() on closed filehandle RAL at /usr/sbin/makebff.pl line 276.
> ========================
> ASF.httpd:ASF.httpd.man.en_US:2.5.0.0::I:T:::::N:httpd 2.5.0 man pages
> Apache Software Foundation::::0::
> ASF.httpd:ASF.httpd.rte:2.5.0.0::I:T:::::N:httpd version 2.5.0 for
> powerpc Apache Software Foundation::::0::
> ========================
>
> ....
> Installation Summary
> --------------------
> Name                        Level           Part        Event       Result
>
> -------------------------------------------------------------------------------
> ASF.httpd.rte               2.5.0.0         USR         APPLY
> SUCCESS
> ASF.httpd.man.en_US         2.5.0.0         USR         APPLY
> SUCCESS
> ASF.httpd.rte               2.5.0.0         ROOT        APPLY
> SUCCESS
> ASF.httpd.man.en_US         2.5.0.0         ROOT        APPLY
> SUCCESS
> root@x103:[/data/prj/httpd-trunk]/opt/httpd/sbin/apachectl -t
> AH00544: httpd: bad group name daemon
> root@x103:[/data/prj/httpd-trunk]mkgroup daemon
> root@x103:[/data/prj/httpd-trunk]/opt/httpd/sbin/apachectl -t
> Syntax OK
> root@x103:[/data/prj/httpd-trunk]
>
> So, for trunk - the Syntax test is succesful.
> Building 2.4.2 now.
>
>
>
>
> On Wed, Mar 21, 2012 at 6:44 PM, Michael Felt <mamfelt@gmail.com> wrote:
>
>> root@x103:[/data/prj/httpd-trunk]mv ../apr ../aprx
>> root@x103:[/data/prj/httpd-trunk]./buildconf
>>
>> You don't have a copy of the apr source in srclib/apr.
>> Please get the source using the following instructions,
>> or specify the location of the source with
>> --with-apr=[path to apr] :
>>
>>    svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr
>> ========
>> root@x103:[/data/prj/httpd-trunk]cd ..
>> root@x103:[/data/prj]ln -s /data/prj/apr-1.4.6 apr
>> root@x103:[/data/prj]ls -l apr
>> lrwxrwxrwx 1 root system 19 Mar 21  2012 apr -> /data/prj/apr-1.4.6
>> root@x103:[/data/prj]
>> root@x103:[/data/prj/httpd-trunk]./buildconf
>> found apr source: ../apr
>>
>> You don't have a copy of the apr-util source in srclib/apr-util.
>> Please get one the source using the following instructions,
>> or specify the location of the source with
>> --with-apr-util=[path to apr-util]:
>>
>>    svn co http://svn.apache.org/repos/asf/apr/apr-util/trunksrclib/apr-util
>>
>> === Surprised here, because there is a copy of ../apr-util ===
>> lrwxrwxrwx  1 root    system   19 Mar 21  2012 ../apr ->
>> /data/prj/apr-1.4.6
>> drwxr-x--- 24 michael nobody 4096 Feb 29 23:01 ../apr-1.3.8
>> drwxr-xr-x 26 michael  10001 4096 Mar 21  2012 ../apr-1.4.6
>> drwxr-xr-x  3 root    system  256 Mar  2 12:19 ../apr-util
>> drwxr-x--- 19 michael nobody 4096 Feb 29 23:01 ../apr-util-1.3.9
>> drwxr-xr-x 20 nobody  nobody 4096 Mar  1 00:18 ../apr-util-1.4.1
>> drwxr-xr-x 39 root    system 4096 Mar 21 17:35 ../aprx
>> ========
>> root@x103:[/data/prj/httpd-trunk]cd ..
>> root@x103:[/data/prj]mv apr-util apr-util-x
>> root@x103:[/data/prj]ln -s /data/prj/apr-util-1.4.1 apr-util
>> root@x103:[/data/prj]ls -ld apr-util
>> lrwxrwxrwx 1 root system 24 Mar 21  2012 apr-util ->
>> /data/prj/apr-util-1.4.1
>> root@x103:[/data/prj]ls -ld apr*
>> lrwxrwxrwx  1 root    system   19 Mar 21  2012 apr -> /data/prj/apr-1.4.6
>> drwxr-x--- 24 michael nobody 4096 Feb 29 23:01 apr-1.3.8
>> drwxr-xr-x 26 michael  10001 4096 Mar 21  2012 apr-1.4.6
>> lrwxrwxrwx  1 root    system   24 Mar 21  2012 apr-util ->
>> /data/prj/apr-util-1.4.1
>> drwxr-x--- 19 michael nobody 4096 Feb 29 23:01 apr-util-1.3.9
>> drwxr-xr-x 20 nobody  nobody 4096 Mar  1 00:18 apr-util-1.4.1
>> drwxr-xr-x  3 root    system  256 Mar  2 12:19 apr-util-x
>> drwxr-xr-x 39 root    system 4096 Mar 21 17:35 aprx
>>
>> root@x103:[/data/prj]cd -
>> /data/prj/httpd-trunk
>> root@x103:[/data/prj/httpd-trunk]./buildconf
>> found apr source: ../apr
>> found apr-util source: ../apr-util
>> copying build files
>> rebuilding include/ap_config_auto.h.in
>> rebuilding configure
>> rebuilding rpm spec file
>> fixing timestamps for ap_expr sources
>> =======
>> So, there sems to something wierd with the new versions of apr and/or
>> apr-util - CAPS needed??
>>
>> the build process has started...
>>
>>
>> On Wed, Mar 21, 2012 at 5:43 PM, Michael Felt <mamfelt@gmail.com> wrote:
>>
>>>
>>>
>>> On Wed, Mar 21, 2012 at 2:36 AM, Gregg Smith <gls@gknw.net> wrote:
>>>
>>>> Gün,
>>>>
>>>> It Works!
>>>>
>>>>
>>>> On 3/20/2012 4:18 PM, Guenter Knauf wrote:
>>>>
>>>>>
>>>>> Gregg, can you please run a Windows build?
>>>>>
>>>>> Gün.
>>>>>
>>>>
>>>> tried to build from fresh apr, apr-util and httpd-trunk
>>>
>>> could not run buildconf for apr because I do not have python installed.
>>> I'll worry about that later.
>>>
>>> loaded apr-1.4.6 and apr-util-1.4.1
>>>
>>> ran buildconf in httpd-trunk
>>>
>>> it found ../apr as apr source, rather than the one installed in /opt/bin
>>>
>>> result:
>>> + ./configure
>>>                 --enable-layout=AIX
>>>                 --with-apr=/opt/bin/apr-1-config
>>>                 --with-apr-util=/opt/bin/apu-1-config
>>>                 --enable-mpms-shared=all
>>>                 --enable-mods-shared=all
>>>                 --enable-load-all-modules
>>>                 --disable-lua > build/aix/configure.out
>>> configure: error: APR-util not found.  Please read the documentation.
>>>
>>> Note capital letters in APR-util - is that a bug?
>>>
>>> Anyway, will try some other experiments that do not demand I install
>>> python.
>>>
>>
>>
>

Mime
View raw message