[patch-SAMBA4] move config.pm to smb_build/

John E. Malmberg wb8tyw at qsl.net
Fri May 12 20:38:32 GMT 2006


Perl on case insensitive file systems can not tell the difference 
between 'use Config' and 'use config'.  With Perl 5.8.7 and later, there 
is a Config.pm that is part of Perl that is loaded by many core modules.

Jelmer's suggestion on IRC was to move config.pm into build/smb_build 
and that works around the problem.

Attached is the patch to do this.

-John
wb8tyw at qsl.net
Personal Opinion Only
-------------- next part --------------
--- /src_root/samba4/source/configure	Fri May 12 00:45:53 2006
+++ /lcl_root/samba4/source/configure	Fri May 12 10:18:45 2006
@@ -31027,7 +31027,7 @@
 
 
 echo "configure: creating config.pm"
-cat >config.pm<<CEOF
+cat >${srcdir}/build/smb_build/config.pm<<CEOF
 # config.pm - Autogenerate by configure. DO NOT EDIT!
 
 package config;
--- /src_root/samba4/source/build/smb_build/main.pl	Fri May 12 00:07:44 2006
+++ /lcl_root/samba4/source/build/smb_build/main.pl	Fri May 12 10:20:29 2006
@@ -13,7 +13,7 @@
 use smb_build::env;
 use smb_build::cflags;
 use smb_build::summary;
-use config;
+use smb_build::config;
 use strict;
 
 my $INPUT = {};


More information about the samba-technical mailing list