www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject Re: os-windows/1442: mod_info won't link under Windows NT/95
Date Tue, 02 Jun 1998 02:43:08 GMT
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]


Synopsis: mod_info won't link under Windows NT/95

State-Changed-From-To: feedback-analyzed
State-Changed-By: coar
State-Changed-When: Mon Jun  1 19:43:08 PDT 1998
State-Changed-Why:
[Feedback from submittor]
I've confirmed that this bug still exists in the 1.3b7 version of
Apache. However, the fix is quite simple; it's just a matter of
exporting a few more variables from ApacheCore.dll (and also re-enabling
the building of Mod_info in the makefile).

Here is a patch - it may not be in standard format, but hopefully you
can apply it without too much problem as it's not very big. (I've never
been able to get these NT tools to work properly).

*** src/Makefile.nt-orig Fri Apr 17 14:58:52 1998
--- src/Makefile.nt Sun May 31 20:41:50 1998
***************
*** 65,71 ****
        cd os\win32
         set CFG=ApacheModuleStatus - Win32 %LONG%
         nmake /nologo CFG="ApacheModuleStatus - Win32 %LONG%" -f
ApacheModuleStatus.mak
! #      nmake /nologo CFG ""/nologo -f
ApacheModuleStatus.mak"=ApacheModuleInfo - Win32 %LONG%" -f
ApacheModuleInfo.mak
         nmake /nologo CFG="ApacheModuleAuthAnon - Win32 %LONG%" -f
ApacheModuleAuthAnon.mak
         nmake /nologo CFG="ApacheModuleDigest - Win32 %LONG%" -f
ApacheModuleDigest.mak
         nmake /nologo CFG="ApacheModuleCERNMeta - Win32 %LONG%" -f
ApacheModuleCERNMeta.mak
--- 65,71 ----
        cd os\win32
         set CFG=ApacheModuleStatus - Win32 %LONG%
         nmake /nologo CFG="ApacheModuleStatus - Win32 %LONG%" -f
ApacheModuleStatus.mak
!        nmake /nologo CFG="ApacheModuleInfo - Win32 %LONG%" -f
ApacheModuleInfo.mak
         nmake /nologo CFG="ApacheModuleAuthAnon - Win32 %LONG%" -f
ApacheModuleAuthAnon.mak
         nmake /nologo CFG="ApacheModuleDigest - Win32 %LONG%" -f
ApacheModuleDigest.mak
         nmake /nologo CFG="ApacheModuleCERNMeta - Win32 %LONG%" -f
ApacheModuleCERNMeta.mak
***************
*** 87,93 ****
        copy Apache%SHORT%\Apache.exe $(INSTDIR)
        copy Core%SHORT%\ApacheCore.dll $(INSTDIR)
        copy os\win32\ApacheModuleStatus%SHORT%\ApacheModuleStatus.dll
$(INSTDIR)\modules
! #       copy os\win32\ApacheModuleInfo%SHORT%\ApacheModuleInfo.dll
$(INSTDIR)\modules
        copy
os\win32\ApacheModuleAuthAnon%SHORT%\ApacheModuleAuthAnon.dll
$(INSTDIR)\modules
        copy os\win32\ApacheModuleDigest%SHORT%\ApacheModuleDigest.dll
$(INSTDIR)\modules
        copy
os\win32\ApacheModuleCERNMeta%SHORT%\ApacheModuleCERNMeta.dll
$(INSTDIR)\modules
--- 87,93 ----
        copy Apache%SHORT%\Apache.exe $(INSTDIR)
        copy Core%SHORT%\ApacheCore.dll $(INSTDIR)
        copy os\win32\ApacheModuleStatus%SHORT%\ApacheModuleStatus.dll
$(INSTDIR)\modules
!         copy os\win32\ApacheModuleInfo%SHORT%\ApacheModuleInfo.dll
$(INSTDIR)\modules
        copy
os\win32\ApacheModuleAuthAnon%SHORT%\ApacheModuleAuthAnon.dll
$(INSTDIR)\modules
        copy os\win32\ApacheModuleDigest%SHORT%\ApacheModuleDigest.dll
$(INSTDIR)\modules
        copy
os\win32\ApacheModuleCERNMeta%SHORT%\ApacheModuleCERNMeta.dll
$(INSTDIR)\modules
***************
*** 118,124 ****
         nmake /nologo CFG="Apache - Win32 %LONG%" -f Apache.mak clean
        cd os\win32
         nmake /nologo CFG="ApacheModuleStatus - Win32 %LONG%" -f
ApacheModuleStatus.mak clean
! #      nmake /nologo CFG="ApacheModuleInfo - Win32 %LONG%" -f
ApacheModuleInfo.mak clean
         nmake /nologo CFG="ApacheModuleAuthAnon - Win32 %LONG%" -f
ApacheModuleAuthAnon.mak clean
         nmake /nologo CFG="ApacheModuleDigest - Win32 %LONG%" -f
ApacheModuleDigest.mak clean
         nmake /nologo CFG="ApacheModuleCERNMeta - Win32 %LONG%" -f
ApacheModuleCERNMeta.mak clean
--- 118,124 ----
         nmake /nologo CFG="Apache - Win32 %LONG%" -f Apache.mak clean
        cd os\win32
         nmake /nologo CFG="ApacheModuleStatus - Win32 %LONG%" -f
ApacheModuleStatus.mak clean
!        nmake /nologo CFG="ApacheModuleInfo - Win32 %LONG%" -f
ApacheModuleInfo.mak clean
         nmake /nologo CFG="ApacheModuleAuthAnon - Win32 %LONG%" -f
ApacheModuleAuthAnon.mak clean
         nmake /nologo CFG="ApacheModuleDigest - Win32 %LONG%" -f
ApacheModuleDigest.mak clean
         nmake /nologo CFG="ApacheModuleCERNMeta - Win32 %LONG%" -f
ApacheModuleCERNMeta.mak clean
*** src/include/http_conf_globals.h-orig Sun May 31 19:29:06 1998
--- src/include/http_conf_globals.h Sun May 31 19:36:38 1998
***************
*** 66,93 ****
   * Process config --- what the process ITSELF is doing
   */
  
! extern int ap_standalone;
! extern uid_t ap_user_id;
! extern char *ap_user_name;
! extern gid_t ap_group_id;
  #ifdef MULTIPLE_GROUPS
  extern gid_t group_id_list[NGROUPS_MAX];
  #endif
! extern int ap_max_requests_per_child;
! extern int ap_threads_per_child;
! extern int ap_excess_requests_per_child;
  extern struct in_addr ap_bind_address;
  extern listen_rec *ap_listeners;
! extern int ap_daemons_to_start;
! extern int ap_daemons_min_free;
! extern int ap_daemons_max_free;
! extern int ap_daemons_limit;
  extern MODULE_VAR_EXPORT int ap_suexec_enabled;
  extern int ap_listenbacklog;
  extern int ap_dump_settings;
  
! extern char *ap_pid_fname;
! extern char *ap_scoreboard_fname;
  extern char *ap_lock_fname;
  extern MODULE_VAR_EXPORT char *ap_server_argv0;
  
--- 66,93 ----
   * Process config --- what the process ITSELF is doing
   */
  
! extern API_VAR_EXPORT int ap_standalone;
! extern API_VAR_EXPORT uid_t ap_user_id;
! extern API_VAR_EXPORT char *ap_user_name;
! extern API_VAR_EXPORT gid_t ap_group_id;
  #ifdef MULTIPLE_GROUPS
  extern gid_t group_id_list[NGROUPS_MAX];
  #endif
! extern API_VAR_EXPORT int ap_max_requests_per_child;
! extern API_VAR_EXPORT int ap_threads_per_child;
! extern API_VAR_EXPORT int ap_excess_requests_per_child;
  extern struct in_addr ap_bind_address;
  extern listen_rec *ap_listeners;
! extern API_VAR_EXPORT int ap_daemons_to_start;
! extern API_VAR_EXPORT int ap_daemons_min_free;
! extern API_VAR_EXPORT int ap_daemons_max_free;
! extern API_VAR_EXPORT int ap_daemons_limit;
  extern MODULE_VAR_EXPORT int ap_suexec_enabled;
  extern int ap_listenbacklog;
  extern int ap_dump_settings;
  
! extern API_VAR_EXPORT char *ap_pid_fname;
! extern API_VAR_EXPORT char *ap_scoreboard_fname;
  extern char *ap_lock_fname;
  extern MODULE_VAR_EXPORT char *ap_server_argv0;
  
***************
*** 100,106 ****
   */
  
  extern API_VAR_EXPORT char ap_server_root[MAX_STRING_LEN];
! extern char ap_server_confname[MAX_STRING_LEN];
  
  /* for -C and -c switches */
  extern array_header *ap_server_pre_read_config;
--- 100,106 ----
   */
  
  extern API_VAR_EXPORT char ap_server_root[MAX_STRING_LEN];
! extern API_VAR_EXPORT char ap_server_confname[MAX_STRING_LEN];
  
  /* for -C and -c switches */
  extern array_header *ap_server_pre_read_config;
*** src/include/http_config.h-orig Sun May 31 19:40:06 1998
--- src/include/http_config.h Sun May 31 19:39:20 1998
***************
*** 318,326 ****
  /* for implementing subconfigs and customized config files */
  API_EXPORT(const char *) ap_srm_command_loop(cmd_parms *parms, void
*config);
  
- #ifdef CORE_PRIVATE
- 
  extern API_VAR_EXPORT module *top_module;
  
  extern module *ap_prelinked_modules[];
  extern module *ap_preloaded_modules[];
--- 318,326 ----
  /* for implementing subconfigs and customized config files */
  API_EXPORT(const char *) ap_srm_command_loop(cmd_parms *parms, void
*config);
  
  extern API_VAR_EXPORT module *top_module;
+ 
+ #ifdef CORE_PRIVATE
  
  extern module *ap_prelinked_modules[];
  extern module *ap_preloaded_modules[];
*** src/modules/standard/mod_info.c-orig Sun May 31 19:42:56 1998
--- src/modules/standard/mod_info.c Sun May 31 19:42:28 1998
***************
*** 103,109 ****
  } info_cfg_lines;
  
  module MODULE_VAR_EXPORT info_module;
- extern module *top_module;
  
  static void *create_info_config(pool *p, server_rec *s)
  {
--- 103,108 ----



Mime
View raw message