Re: Line too long on windows with msys



On 2/15/06, Vincent LADEUIL <v ladeuil alplog fr> wrote:

Deep into installing  Gtk2 on windows using msys  and mingw I ran
into the  infamous line  too long' problem  at the  final linking
stage of Gtk2.dll.

 I do have some experience with building and installing gtk2/perl on
MSWin32, but more with MSVC than msys I'm afraid. ( MS's dev kit is
free beer lately and it is possible to build stuff around with their
SDK and free compiler. Not that it's fun, but heh, imo fun/MSWin32 =
illegal division by zero, generally speaking )
 Indeed the most common problem I too face is the 'line too long'
shell joke, which I generally get around with (g)vim. For example,
Gtk2's Makefile: 878gg :s/ //gc (near Mksymlists in mine).
 There are some other minor issues with perl -e '' (used for docs at
the end) which needs lots of escaping under MSWin32 and I get around
those with q{}, qq{} and qw{}. I was hoping in a more portable
generated Makefile (i.e. "" -> qw{} / qq{$var}, etc) and had plans for
providing a patch if needed, but unfortunatelly hadn't had the time
yet to see where to change those.
 Also, perl -nae 'foo' < bar >> foobar needs to be written type bar |
perl -nae "foo" >> foobar. And this kind of stuff. :)
 I am sorry, I would provide those binaries myself but I am using a
custom build of Perl, surely incompatible with most users'.
 So ... try s/// spaces out and such from Makefile at relevant lines,
maybe you'll have a way through.

--
perl -MLWP::Simple -e'print$_[rand(split(q|%%\n|,
get(q=http://cpan.org/misc/japh=)))]'



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