logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: File mod_mpm_worker.so&other module not found during com
Author
Joey



Joined: 27 Oct 2020
Posts: 11
Location: Czech Republic

PostPosted: Fri 11 Oct '24 11:20    Post subject: File mod_mpm_worker.so&other module not found during com Reply with quote

On AIX 7.1.

During compilations from source, HTTPD breaks during "make install". Info from config.log
..........
Making install in srclib
Target "local-install" is up to date.
Target "install" is up to date.
Making install in os
Making install in unix
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 server
Making install in mpm
Making install in worker
rm -f /applications/apache/2.4.62.0/modules/mod_mpm_worker.so
/applications/apache/2.4.62.0/apr-1/build/libtool --silent --mode=install install mod_mpm_worker.la /applications/apache/2.4.62.0/modules/
find: bad status-- /applications/apache/2.4.62.0/modules/mod_mpm_worker.so
install: File mod_mpm_worker.so was not found.
make: The error code from the last command is 2.
........


Any idea why this happening while the files even exist.
I have tried to get the "pwd" and it seems in the correct directory. Even if I run the libtool from the where the module file reside, the output remains the same, but the file is there.

Any form of help is much appreciated.
........
Regards
Joey
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 14 Oct '24 9:49    Post subject: Reply with quote

What does your configure line look like? Do you include

Code:
--enable-mpms-shared=all --with-mpm=worker
?
Back to top
Joey



Joined: 27 Oct 2020
Posts: 11
Location: Czech Republic

PostPosted: Wed 16 Oct '24 8:04    Post subject: Reply with quote

Hello James

Thank you for your resdponse.

I compiled the past several releases successfully on AIX using the following "configure" and it worked:
.................

# Configure Apache HTTP Server (AHS)
./configure \
--prefix=${PREFIX} \
--enable-authnz-fcgi \
--enable-mods-shared="all cgi proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http ssl cern_meta env expires he
aders ident mime_magic setenvif unique_id usertrack version actions alias dir imagemap negotiation rewrite speling userdir vhost
_alias log_config log_forensic logio mime asis autoindex cgi cgid info status suexec charset_lite deflate ext_filter filter incl
ude echo bucketeer dumpio dav_fs dav_lock dav dbd cache disk_cache file_cache mem_cache auth auth_digest auth_basic authn_alias
authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_us
er" \
--enable-mpms-shared=all \
--enable-suexec=shared \
--enable-cgi \
--with-curl=${PREFIX} \
--enable-http2 \
--with-nghttp2=${PREFIX_NGHTTP2}/nghttp2 \
--enable-proxy-http2 \
--with-apr=${PREFIX} \
--with-apr-util=${PREFIX} \
--with-expat=${PREFIX_EXPAT} \
--with-pcre=${PREFIX_PCRE}/bin/pcre-config \
--with-pcre2=${PREFIX_PCRE2}/bin/pcre2-config \
--enable-so \
--enable-ssl \
--with-ssl=/applications/openssl/${OPENSSL_RCM_VERSION} \
--with-suexec \
--enable-ssl=shared \
--with-openssl=/applications/openssl/CURRENT/lib \
--with-crypto \
--with-z=${PREFIX_ZLIB} \
--enable-fcgid \
--with-ldap-include=${PREFIX_LDAP_INCLUDE}/ \
--with-ldap-lib=${PREFIX_LDAP_LIB} \
--with-ldap=ibmldapn \

.........

make
make install


Now "Make install" now fails at:
..............
INFO: ...Installing Apache HTTP Server (AHS)...
Making install in srclib
Target "local-install" is up to date.
Target "install" is up to date.
Making install in os
Making install in unix
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 server
Making install in mpm
Making install in worker
rm -f /applications/apache/2.4.62.0/modules/mod_mpm_worker.so
/applications/apache/2.4.62.0/apr-1/build/libtool --silent --mode=install install mod_mpm_worker.la /applications/apache/2.4.62.0/modules/
find: bad status-- /applications/apache/2.4.62.0/modules/mod_mpm_worker.so
install: File mod_mpm_worker.so was not found.
make: The error code from the last command is 2.


Stop.
make: The error code from the last command is 1.
...............

If I try to exclude that module, then the same error occurs for the next module in line, hence I suspect it isn't a problem in the module itself.

FYI, I compiled the LINUX package using the same source code and it worked well..


Thank you
Regards

Joey
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Thu 17 Oct '24 12:05    Post subject: Reply with quote

I found from Eric Covener his list of how to compile on AIX

https://www.askapache.com/aa/wiki/AIXPlatform.html

maybe that helps.
Back to top


Reply to topic   Topic: File mod_mpm_worker.so&other module not found during com View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads