« Return to Thread: DO NOT REPLY [Bug 45361] New: Installation of 2.2.9 fails in srclib/ apr-util (fix given)

DO NOT REPLY [Bug 45361] New: Installation of 2.2.9 fails in srclib/ apr-util (fix given)

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View in Thread

https://issues.apache.org/bugzilla/show_bug.cgi?id=45361

           Summary: Installation of 2.2.9 fails in srclib/apr-util (fix
                    given)
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Build
        AssignedTo: bugs@...
        ReportedBy: strube@...


This is a new bug in 2.2.9. Installation of 2.2.9 fails in srclib/apr-util when
none of the database options are used.
make install DESTDIR=/export/www/src/httpd-2.2.9/dest yields:

Making install in apr-util
Making all in xml/expat
/export/www/src/httpd-2.2.9/srclib/apr/build/mkdir.sh
/export/www/src/httpd-2.2.9/dest/opt/dpiwww/apache2/lib/apr-util-1
bash: -c: line 1: syntax error near unexpected token `;'
*** Error code 2
make: Fatal error: Command failed for target `install-modules-yes'
Current working directory /export/www/src/httpd-2.2.9/srclib/apr-util

The reason is that, in srclib/apr-util/Makefile, line 88 is
install-modules: install-modules-yes
even when APU_MODULES is empty. This is due to a wrong check of emptiness in
srclib/spr-util/configure, line 44439: test -n "$APU_MODULES" cannot detect
emptiness, because "$APU_MODULES" is at least " ", see line 44107:
APU_MODULES="$APU_MODULES $dsos". Thus two fixes are possible:
either change line 44107 to
     [ -n "$dsos" ] && APU_MODULES="$APU_MODULES $dsos"
or change line 44439 to
if [ "$APU_MODULES" != " " ]; then


--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@...
For additional commands, e-mail: bugs-help@...

 « Return to Thread: DO NOT REPLY [Bug 45361] New: Installation of 2.2.9 fails in srclib/ apr-util (fix given)

LightInTheBox - Buy quality products at wholesale price!