Vista Service Pack 1 unbreaks Strawberry Perl?

Alias on 2008-06-04T19:05:07

I've received word that for at least one person, upgrading a Windows Vista install to Service Pack 1 seems to make CPAN XS compilation magically start working for the existing April Strawberry Perl releases.

If anyone out there has copies of Windows Vista and is able to help confirm these reports, it would be greatly appreciated.


So it was SP1?

snaury on 2008-06-04T19:26:29

That's what it was! And I thought how came I buy a new laptop with Vista, immediately upgrade to SP1, read a lot about msvcrt.dll upgrade and how it breaks access(), swear at Microsoft in preparation to use a recompiled gcc, when I suddenly I discover that I don't have this bug.

To be honest, I thought it could be some difference between English and Russian SKU, a thought that SP1 fixes something like that didn't even cross my mind. :)

Ping me

jk2addict on 2008-06-04T19:28:50

on irc this evening (claco).

I've got Vista SP1 running under Parallels. I'll give SP a whirl. Any particular module to try and compile, or just any old xs module will do?

I'll try it

Mr. Muskrat on 2008-06-04T20:07:23

It's been a while since I've booted my laptop into Vista but I'll give a shot.

Re:I'll try it

Mr. Muskrat on 2008-06-06T13:53:49

I tried installing a few XS modules last night and it was hit and miss. I'm hopeful that once I go through the tweaks that made it sort of work pre-SP1 that it will be good to go.

YouTube

pudge on 2008-06-04T21:29:33

Not that I care much about this Microsoft stuff -- as far as you know -- but I saw this new video on teh YouTube called Strawberry Perl that I figured maybe you haven't seen. So there it is!

Maybe. Not so sure.

jk2addict on 2008-06-04T23:24:52

I have Vista SP1 on Parallels. It's an as yet unmolested install. In fact, SP is the first thing to be installed right after Firefox. :-)

Data::UUID, which builds fine on XP, failed in Vista with a bung of unicode/character errors.

However, DBI built and tested in the first shot. So depending on what the Vista issue really is, it appears to work on SP1.

Then I want back to Data::UUID. Sometimes it builds. Sometimes it doesn't. Damn inconsistant.

C:\strawberry\cpan\build\Data-UUID-1.148-nc9CkU>dmake
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_
IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"1.
148\" -DXS_VERSION=\"1.148\" "-IC:\strawberry\perl\lib\CORE" -D_STDIR=\"C:\U
sers\claco\AppData\Local\Temp\" -D__MSWin32__ -D_DEFAULT_UMASK=0007 UUID.c
UUID.xs:263:45: warning: universal character names are only valid in C++ and C99

UUID.xs:263:45: incomplete universal character name \U
UUID.xs:263:45: warning: unknown escape sequence '\c'
UUID.xs:263:45: warning: unknown escape sequence '\A'
UUID.xs:263:45: warning: unknown escape sequence '\L'
UUID.xs:263:45: warning: unknown escape sequence '\T'
UUID.xs:269:46: warning: universal character names are only valid in C++ and C99

UUID.xs:269:46: incomplete universal character name \U
UUID.xs:269:46: warning: unknown escape sequence '\c'
UUID.xs:269:46: warning: unknown escape sequence '\A'
UUID.xs:269:46: warning: unknown escape sequence '\L'
UUID.xs:269:46: warning: unknown escape sequence '\T'
UUID.xs:280:49: warning: universal character names are only valid in C++ and C99

UUID.xs:280:49: incomplete universal character name \U
UUID.xs:280:49: warning: unknown escape sequence '\c'
UUID.xs:280:49: warning: unknown escape sequence '\A'
UUID.xs:280:49: warning: unknown escape sequence '\L'
UUID.xs:280:49: warning: unknown escape sequence '\T'
UUID.xs:319:47: warning: universal character names are only valid in C++ and C99

UUID.xs:319:47: incomplete universal character name \U
UUID.xs:319:47: warning: unknown escape sequence '\c'
UUID.xs:319:47: warning: unknown escape sequence '\A'
UUID.xs:319:47: warning: unknown escape sequence '\L'
UUID.xs:319:47: warning: unknown escape sequence '\T'
UUID.xs:463:45: warning: universal character names are only valid in C++ and C99

UUID.xs:463:45: incomplete universal character name \U
UUID.xs:463:45: warning: unknown escape sequence '\c'
UUID.xs:463:45: warning: unknown escape sequence '\A'
UUID.xs:463:45: warning: unknown escape sequence '\L'
UUID.xs:463:45: warning: unknown escape sequence '\T'
dmake: Error code 129, while making 'UUID.o'

C:\strawberry\cpan\build\Data-UUID-1.148-nc9CkU>perl Makefile.PL
UUID state storage [C:\Users\claco\AppData\Local\Temp] dmake
Writing Makefile for Data::UUID

C:\strawberry\cpan\build\Data-UUID-1.148-nc9CkU>dmake
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_
IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"1.
148\" -DXS_VERSION=\"1.148\" "-IC:\strawberry\perl\lib\CORE" -D_STDIR=\"dmak
e\" -D__MSWin32__ -D_DEFAULT_UMASK=0007 UUID.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_
IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"1.
148\" -DXS_VERSION=\"1.148\" "-IC:\strawberry\perl\lib\CORE" -D_STDIR=\"dmak
e\" -D__MSWin32__ -D_DEFAULT_UMASK=0007 md5.c
Running Mkbootstrap for Data::UUID ()
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 UUID.bs
dlltool --def UUID.def --output-exp dll.exp
g++ -o blib\arch\auto\Data\UUID\UUID.dll -Wl,--base-file -Wl,dll.base -mdll -s -
L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" UUID.o md5.o -Wl,--imag
e-base,0x7b310000 C:\strawberry\perl\lib\CORE\libperl510.a -lmsvcrt -lmoldname
-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -
loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32
  dll.exp
dlltool --def UUID.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Data\UUID\UUID.dll -mdll -s -L"C:\strawberry\perl\lib\CORE
" -L"C:\strawberry\c\lib" UUID.o md5.o -Wl,--image-base,0x7b310000 C:\st
rawberry\perl\lib\CORE\libperl510.a -lmsvcrt -lmoldname -lkernel32 -luser32 -lgd
i32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -lu
uid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.exp
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\auto\
Data\UUID\UUID.dll
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp UUID.bs blib\arch\auto
\Data\UUID\UUID.bs
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arch\auto\
Data\UUID\UUID.bs

C:\strawberry\cpan\build\Data-UUID-1.148-nc9CkU>