Re: glib-mkenums in glib 2

On 26 Dec 2012, at 20:12, John Ralls wrote:

> If you run:
> perl -e 'print(join("\n", @ARGV));' foo bar
> you should get the output
> foo
> bar

Hi John, I discovered something quite interesting this morning...  I have 5 different versions of Perl installed (on different machines) - namely:-

1)  64 Studio (Linux)
2)  Cygwin
3)  Windows XP
4)  Windows 7
5)  MinGW / MSYS

If I issue your command with either of the first two (Cygwin or Linux) I get the output that you described.  However, on any of the Windows versions I get this error:-

Can't find string terminator "'" anywhere before EOF at -e line 1.

This is kinda looking like Perl doesn't work very well on Windows - but surely somebody would have noticed that before now??  However....

On 26 Dec 2012, at 18:37, Kevin Connor Arpe wrote:

> On Windows, normally I use Strawberry Perl which is very slick.  [...] I highly recommend you try this package.

Kevin - could you try John's command-line with Strawberry Perl and let us know the result?  If it works with Strawberry Perl I might as well switch to that.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]