httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47659] New: needs check for DBM_LIST, dies on build
Date Fri, 07 Aug 2009 07:30:34 GMT

           Summary: needs check for DBM_LIST, dies on build
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build

--- Comment #0 from Gregg L. Smith <> 2009-08-07 00:30:32 PDT ---
Hello folks,

Trunk R664253 Branch R664254 added the DBD_LIST to the build process. 
The makefile checked if DBD_LIST was defined or it would gently tell you
that the drivers could not be made as none were defined. 

#     no DBD_LIST

    @echo -----
    @echo apr_dbd drivers will not build unless DBD_LIST is set to the list
    @echo of all the client modules available in the LIB and INCLUDE path.


Trunk R704771 Branch R712514 removed the check for the DBD_LIST since the odbc
driver was going to be built on Windows since support for odbc is built in. At
this time the above check was removed and the odbc was directly inserted into
the for loop prior to the value of the DBD_LIST render the check unnecessary.
Had this unneeded check been left behind, it would have at least been a clue
when adding dbm in the build. 

Trunk R799069 Branch R799070 

+    cd ..\dbm
+    for %d in ($(DBM_LIST)) do \
+      $(MAKE) $(MAKEOPT) -f apr_dbm_%d.mak CFG="apr_dbm_%d - Win32 $(LONG)"
     cd ..\..\..
+    @for %d in ($(DBM_LIST)) do \
+      msdev Apache.dsw /USEENV /MAKE \
+        "apr_dbm_%d - Win32 $(LONG)" /NORECURSE $(CTARGET)

The problem show up cause unlike odbc, there is no built in support for any of
the DBMs and since they have been added to the dbd build section without a
check to see if DBM_LIST is actually defined, the for loop is being fed and
undefined value and nmake barfs. 

for %d in () do \

--------------------Configuration: apr_dbd_odbc - Win32
   Creating library Release/apr_dbd_odbc-1.lib and object
Embed .manifest
apr_dbd_odbc-1.dll - 0 error(s), 0 warning(s)
NMAKE : fatal error U1077: 'for' : return code '0x3020302'
Error executing NMAKE.

See attached patches. It is not pretty but the dbd and dbm cannot simply be
built together and a separate build for dbm is a made necessary.


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message