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

View: New views
6 Messages — Rating Filter:   Alert me  

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 Threaded | Show Only this Message

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


DO NOT REPLY [Bug 45361] 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 Threaded | Show Only this Message

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


Ruediger Pluem <rpluem@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




--- Comment #1 from Ruediger Pluem <rpluem@...>  2008-07-08 06:11:06 PST ---


*** This bug has been marked as a duplicate of bug 45232 ***


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


DO NOT REPLY [Bug 45361] 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 Threaded | Show Only this Message

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





--- Comment #2 from zaithoonnisa <znbasheerahmed@...>  2008-07-24 07:13:48 PST ---
(In reply to comment #0)

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


DO NOT REPLY [Bug 45361] 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 Threaded | Show Only this Message

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


zaithoonnisa <znbasheerahmed@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |znbasheerahmed@...
                   |                            |om
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |




--- Comment #3 from zaithoonnisa <znbasheerahmed@...>  2008-07-24 07:18:19 PST ---
I tried with both the solutions provided. But still Iam getting the same error.
Please help.

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


DO NOT REPLY [Bug 45361] 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 Threaded | Show Only this Message

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





--- Comment #4 from HWS <strube@...>  2008-07-24 08:28:55 PST ---
> I tried with both the solutions provided. But still Iam getting the same error.
> Please help.
Strange. I again confirmed that both solutions work for me in Solaris 9 SPARC.
Hope you did a "make distclean" -- at least in srclib/apr-util -- before
testing.
After configuring, srclib/apr-util/config.status should contain the line
S["APU_HAVE_MODULES"]="no"
and srclib/apr-util/Makefile should have an empty-valued
APU_MODULES =


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


DO NOT REPLY [Bug 45361] 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 Threaded | Show Only this Message

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


Ruediger Pluem <rpluem@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |DUPLICATE




--- Comment #5 from Ruediger Pluem <rpluem@...>  2008-07-24 08:48:16 PST ---


*** This bug has been marked as a duplicate of bug 45232 ***


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