[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 6686 - trunk/build/generator

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-08-12 00:32:54 CEST

rey4@tigris.org wrote:

>Author: rey4
>Date: Sat Aug 9 12:18:45 2003
>New Revision: 6686
>
>Modified:
> trunk/build/generator/gen_win.py
>Log:
>Visual Studio projects for perl bindings now link with the perl library.
>The perl command used to figure out the library name came from
>Branko Cibej <brane@xbc.nu> and Colin Watson <cjwatson@flatline.org.uk>.
>
>* build/generator/gen_win.py
> (WinGeneratorBase.__init__): now detects library name for installed
> perl version
>
> (WinGeneratorBase.get_win_libs): now includes perl library
>
>+ else:
>+ self.perl_lib = 'perl56.lib'
>+ sys.stderr.write('Could not detect perl version. Perl bindings will\n'
>+ ' be linked with %s\n' % self.perl_lib)
>
If you can't detect the version of Perl, then most likely the user
either doesn't have it installed, or it's not on the PATH. In any case,
script generation should abort and the user should figure out what's
wrong. Generating project files that you know won't work isn't right.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 12 00:34:11 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.