https://issues.apache.org/bugzilla/show_bug.cgi?id=45276
Summary: Little issue with srclib/apr-util/Makefile
Product: Apache httpd-2
Version: 2.2.9
Platform: Other
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
When running "gmake install", i get this:
gmake[2]: Entering directory `/rpm/BUILD/httpd-2.2.9/srclib/apr-util'
/rpm/BUILD/httpd-2.2.9/srclib/apr/build/mkdir.sh
/rpm/apache-build/apache/lib/apr-util-1
/bin/sh: 0403-057 Syntax error at line 1 : `;' is not expected.
gmake[2]: *** [install-modules-yes] Error 2
gmake[2]: Leaving directory `/rpm/BUILD/httpd-2.2.9/srclib/apr-util'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/rpm/BUILD/httpd-2.2.9/srclib'
gmake: *** [install-recursive] Error 1
I'm building under AIX5.3 (TL7) and using make-3.80-1 .
The error is due to the fact that APU_MODULES may be an empty string in a for
statement.
(If it could help ) I solved the issue by changing the install-modules-yes
section like this :
@for m in $(APU_MODULES); do $(LIBTOOL) $(LT_LTFLAGS) $(LTFLAGS) --mode=install
$(INSTALL) -m 755 $$m $(DESTDIR)$(APU_DSO_LIBDIR); done
became :
mod='$(APU_MODULES)'
@for m in $$mod; do $(LIBTOOL) $(LT_LTFLAGS) $(LTFLAGS) --mode=install
$(INSTALL) -m 755 $$m $(DESTDIR)$(APU_DSO_LIBDIR); done
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]