httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45276] New: Little issue with srclib/apr-util/Makefile
Date Wed, 25 Jun 2008 15:51:56 GMT
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: bugs@httpd.apache.org
        ReportedBy: jeremy.jacque@maximo.fr


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message