Re: windows-NT/mkconfig.pl & windows-NT/fix-msvc-mak.pl change
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Conrad T. Pino wrote: | Previously I wasn't aware of the existence of the intermediates on | UNIX and of course they don't exist on Windows. The commands I ran | on both Windows and UNIX are: | | cd ccvs perl windows-NT/fix-msvc-mak.pl cd windows-NT perl | mkconfig.pl cd .. | | which in the case of "mkconfig" will generate: | | *** config.h.in, generated by mkconfig.pl: | | when run on either Windows and UNIX. | | I believe no patch is required. I will correct my process now that | I understand why the intermediates exist. Yeah, but the intermediates are not necessary. My patch calls, similarly, ~perl mkconfig.pl where a simple ~./mkconfig used to be called. Since there is no mkconfig file distributed or checked in, my patch should sync what we are generating. It also has the advantage or simplifying by removing the unneeded intermediates. Regardless, I think you have answered my question. I will commit the change and your previous build process should still suffice. Have you thought about putting the `perl mkconfig.pl' and `perl fix-msvc-mak.pl' calls into the MSVC build files (is that even possible with fix-msvc-mak.pl?)? It's always nice to encode our build knowledge into automation when possible. Regards, Derek -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCL1KVLD1OTBfyMaQRAlmeAKCi0dQecn8Q9lfHndlIm2rt+fFDTACgnbtd Az/X4epxDLpsm0h7OworT74= =ZBf6 -END PGP SIGNATURE- ___ Bug-cvs mailing list Bug-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cvs
RE: windows-NT/mkconfig.pl & windows-NT/fix-msvc-mak.pl change
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Derek, I'm slow to understand the goal. I'm coming to the conclusion what you're trying is eliminate the difference between: *** config.h.in, generated by mkconfig: as opposed to: *** config.h.in, generated by mkconfig.pl: and if that's the case then I believe it's not a Windows or UNIX issue. I propose it's an operation difference issue as follows: The UNIX make process generates intermediates: fix-msvc-mak mkconfig of which "mkconfig" is used later in the build and "fix-msvc-mak" is built but not used in the build. Previously I wasn't aware of the existence of the intermediates on UNIX and of course they don't exist on Windows. The commands I ran on both Windows and UNIX are: cd ccvs perl windows-NT/fix-msvc-mak.pl cd windows-NT perl mkconfig.pl cd .. which in the case of "mkconfig" will generate: *** config.h.in, generated by mkconfig.pl: when run on either Windows and UNIX. I believe no patch is required. I will correct my process now that I understand why the intermediates exist. Conrad -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 iQA/AwUBQi9JjrNM28ubzTo9EQIKhgCglpDGRupS5gwAKZD0wxVqMKdlzA4An2rk Lv3ZH3gShpt7zrOIkbvhB0Vw =sbX4 -END PGP SIGNATURE- ___ Bug-cvs mailing list Bug-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cvs
RE: windows-NT/mkconfig.pl & windows-NT/fix-msvc-mak.pl change
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Derek, > From: Derek Price [mailto:[EMAIL PROTECTED] > > The two files are listed in the subject line. :) Oops, I need another cup of coffee!! :) > First off, the problem cited in your output is not caused by the patch > I just sent, but I'll deal with it anyhow. Yes, I was aware of that but since it prevented an immediate run of the process I wanted you to know the basis of the delay. I didn't intend to imply you needed to act and please don't at this time (see below). > Secondly, I think I would prefer that you use a more modern Perl > release (I've had good luck with the version shipped by ActiveState - > the installer is quick & easy & it doesn't require any external > libraries). I'm happy to try a modern PERL. Expect feedback in a day or two. > Regards, Ditto, > Derek Conrad -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 iQA/AwUBQi4FMrNM28ubzTo9EQK4WwCfbFDSKfEgvkjCcRxmuILe0mZbLCUAniwR eOM6y6eCr3YObD7vtpNIUTxL =0DRc -END PGP SIGNATURE- ___ Bug-cvs mailing list Bug-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cvs
Re: windows-NT/mkconfig.pl & windows-NT/fix-msvc-mak.pl change
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Conrad T. Pino wrote: | | Hi Derek, | |> From: Derek Price [mailto:[EMAIL PROTECTED] | |> I've attached the diff. Conrad or somebody, would you mind |> verifying that after applying this patch (on WOE32, only the two |> named files will be relevant)... | | | Please define the phrase "two named" files by enumerating the | names. The two files are listed in the subject line. :) | OK, I'm picking up the goal is run whatever on both Windows and | UNIX to make sure the generated results are identical. | | File "mkconfig.pl" has changes that prevent is from running with | PERL implementation supplied with old MKS Tool Kit I have on | Windows 2000. Error output and MKS PERL version information follow | at message end. | | I can install a modern PERL binary release which will take some | time but I could report back results in a day or two. | | What's you preference (1) fix "mkconfig.pl" to run with MKS PERL I | have or (2) install a modern PERL binary release? First off, the problem cited in your output is not caused by the patch I just sent, but I'll deal with it anyhow. Secondly, I think I would prefer that you use a more modern Perl release (I've had good luck with the version shipped by ActiveState - the installer is quick & easy & it doesn't require any external libraries). If you really don't want to, you could replace the mv call with a wrapper function which calls rename, followed by a call to copy and a call to unlink when the initial rename fails. This is necessary because the source and build dirs might be on different file systems and a simple rename will usually fail in this case. File::Copy::mv already handles this. | H:\Conrad\Projects\cvs-1.12\windows-NT>perl mkconfig.pl "mv" is not | exported by the File::Copy module at | C:\MKSToolKit/etc/perl/lib/Exporter.pm line 95 Exporter::export | called at C:\MKSToolKit/etc/perl/lib/Exporter.pm line 149 | Exporter::import called at mkconfig.pl line 4 main::BEGIN called at | C:\MKSToolKit/etc/perl/lib/File/Copy.pm line 0 eval {...} called | at C:\MKSToolKit/etc/perl/lib/File/Copy.pm line 0 Can't continue | after import errors at mkconfig.pl line 4 BEGIN failed--compilation | aborted at mkconfig.pl line 4. | | H:\Conrad\Projects\cvs-1.12\windows-NT>perl -v | | This is perl, version 5.003 with DEBUGGING MULTIPLICITY built under | Windows_NT at Sep 24 1997 00:36:07 + suidperl security patch Regards, Derek -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCLf8TLD1OTBfyMaQRAh6BAJ96voL4e3cRX+UYLMCq/ZzqXsIbWACgvzIp 6GeML8xDlNsGuLWUiBUmf3E= =zm+7 -END PGP SIGNATURE- ___ Bug-cvs mailing list Bug-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cvs
RE: windows-NT/mkconfig.pl & windows-NT/fix-msvc-mak.pl change
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Derek, > From: Derek Price [mailto:[EMAIL PROTECTED] > > I've attached the diff. Conrad or somebody, would you mind verifying > that after applying this patch (on WOE32, only the two named files will > be relevant)... Please define the phrase "two named" files by enumerating the names. > ...that you can still run the programs? Yes I will but I'd appreciate an enumerated definition of "the programs" or a list of commands to run specifying which platform (Windows 2000 or Solar 8 Intel) to use. > ... After this change, > the content of these files generated in WOE or on UNIX should look the > same (previously, WOE said generated by 'XXX.pl' where UNIX said > generated by 'xxx'). OK, I'm picking up the goal is run whatever on both Windows and UNIX to make sure the generated results are identical. File "mkconfig.pl" has changes that prevent is from running with PERL implementation supplied with old MKS Tool Kit I have on Windows 2000. Error output and MKS PERL version information follow at message end. I can install a modern PERL binary release which will take some time but I could report back results in a day or two. What's you preference (1) fix "mkconfig.pl" to run with MKS PERL I have or (2) install a modern PERL binary release? > Thanks, Ditto, > Derek Conrad H:\Conrad\Projects\cvs-1.12\windows-NT>perl mkconfig.pl "mv" is not exported by the File::Copy module at C:\MKSToolKit/etc/perl/lib/Exporter.pm line 95 Exporter::export called at C:\MKSToolKit/etc/perl/lib/Exporter.pm line 149 Exporter::import called at mkconfig.pl line 4 main::BEGIN called at C:\MKSToolKit/etc/perl/lib/File/Copy.pm line 0 eval {...} called at C:\MKSToolKit/etc/perl/lib/File/Copy.pm line 0 Can't continue after import errors at mkconfig.pl line 4 BEGIN failed--compilation aborted at mkconfig.pl line 4. H:\Conrad\Projects\cvs-1.12\windows-NT>perl -v This is perl, version 5.003 with DEBUGGING MULTIPLICITY built under Windows_NT at Sep 24 1997 00:36:07 + suidperl security patch Copyright 1987-1996, Larry Wall Win32 port Copyright 1996 by Mortice Kern Systems Inc. MKS version 6.1 build 209 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5.0 source kit. H:\Conrad\Projects\cvs-1.12\windows-NT> -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 iQA/AwUBQi369rNM28ubzTo9EQIHpQCfTD5zOpubbOFMNX/+A90Z2tHoyDEAoO99 lRkHnCub4JB5AFRzXvsOIpJi =1EEN -END PGP SIGNATURE- ___ Bug-cvs mailing list Bug-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cvs