[31684] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 2947 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun May 16 18:09:23 2010

Date: Sun, 16 May 2010 15:09:05 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Sun, 16 May 2010     Volume: 11 Number: 2947

Today's topics:
    Re: Debugging question: tracing the origin of an error. <stevem_clipthis_@clubtrout.com>
        determining whether a server supports secure authentica <merrilljensen@q.com>
    Re: determining whether a server supports secure authen <hjp-usenet2@hjp.at>
    Re: determining whether a server supports secure authen <merrilljensen@q.com>
    Re: MinGW and Perl 5.12 - Windows 64 bits ActiveState <sisyphus359@gmail.com>
    Re: MinGW and Perl 5.12 - Windows 64 bits ActiveState <dilbert1999@gmail.com>
    Re: MinGW and Perl 5.12 - Windows 64 bits ActiveState <dilbert1999@gmail.com>
    Re: MinGW and Perl 5.12 - Windows 64 bits ActiveState <ben@morrow.me.uk>
        Pb resolved -- MinGW Perl 5.12 -- Windows 64 bits -- us <dilbert1999@gmail.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Sat, 15 May 2010 20:14:01 -0700
From: Steve M <stevem_clipthis_@clubtrout.com>
Subject: Re: Debugging question: tracing the origin of an error.
Message-Id: <xwJHn.6933$304.2127@newsfe12.iad>

On 5/15/2010 2:01 PM, Ben Morrow wrote:
>
> Quoth Steve M<stevem_clipthis_@clubtrout.com>:
>> On 5/15/2010 5:39 AM, Tad McClellan wrote:
>>> Steve M<stevem_clipthis_@clubtrout.com>   wrote:
>>>
>>>> no one pointed out
>>>> any obvious no-no's
>>>
>>>>      $error =&Caller_error_path( $error,1,0 );
>>>
>>>
>>> You should lose that ampersand.
> <snip>
>> In short, is this a style/usage thing? Or am I totally missing some
>> other potential problem?
>
> It's mostly a style/usage thing. The biggest potential problem is that
> the&  calls ignore prototypes; a smaller (but IMHO just as important)
> problem is that the&  asks for a rather specific and rarely-wanted
> feature that you don't need in this case, so anyone reading that code
> has to think 'Why is that&  there? Why does this call need to override
> prototypes?'.
>
> Ben
>

OK, I guess I can see that.

I was aware of the pass through issue(s), but wrote that way anyway 
because it makes/made it easier for me to visually scan the code for 
subroutine calls. And I wasn't real concerned about the prototype issues 
since I don't use that approach. But if it makes things confusing for 
the next poor sod who comes along.... well, I'm not planning on living 
forever.

Thanks guys, you've given me something to think about.

\s
-- 
"There is no use in your walking five miles to fish when you can depend 
on being just as unsuccessful near home." M. Twain


------------------------------

Date: Sun, 16 May 2010 00:09:40 -0500
From: Uno <merrilljensen@q.com>
Subject: determining whether a server supports secure authentication
Message-Id: <859gh5Fhf9U1@mid.individual.net>

Hello newsgroup,

I'm trying to use thunderbird to get an e-mail capability on linux, and 
since this is the only reason I have to boot windows at all, I'd like to 
figure it out.

Where I'm stuck right now is that I know OE uses SSL authentication to 
get my mail successfully when I ask for it, but the t-bird set-up is 
telling me that the server does not support it.

http://i42.tinypic.com/s5vktk.jpg

This image shows what qwest says are the thunderbird settings.  I admit 
the possibility that qwest is a crappy corporation with misleading 
information, but the evidence points elsewhere.

When I change thunderbird's settings to be analogous to the above, then 
I get this:

http://i39.tinypic.com/28ulb3d.jpg

Can I use the perl programming language to determine whether what type 
of authentication this server understands?

Thanks for your comment and cheers,
-- 
Uno


------------------------------

Date: Sun, 16 May 2010 14:20:43 +0200
From: "Peter J. Holzer" <hjp-usenet2@hjp.at>
Subject: Re: determining whether a server supports secure authentication
Message-Id: <slrnhuvoor.1m7.hjp-usenet2@hrunkner.hjp.at>

On 2010-05-16 05:09, Uno <merrilljensen@q.com> wrote:
> I'm trying to use thunderbird to get an e-mail capability on linux, and 
> since this is the only reason I have to boot windows at all, I'd like to 
> figure it out.
>
> Where I'm stuck right now is that I know OE uses SSL authentication to 
> get my mail successfully when I ask for it, but the t-bird set-up is 
> telling me that the server does not support it.
[...]
> http://i39.tinypic.com/28ulb3d.jpg

"SSL Authentication" != "Secure Authentication".

You probably just have to turn "Secure Authentication" off (but leave
STARTTLS on).


> Can I use the perl programming language to determine whether what type 
> of authentication this server understands?

Yes. However, you don't have to write that program yourself, as somebody
has already done it: Look for "swaks" (the SWiss Army Knife for Smtp).
Some linux distributions (e.g. Debian) include it, or you can download
it from http://www.jetmore.org/john/code/swaks/

	hp



------------------------------

Date: Sun, 16 May 2010 15:43:00 -0600
From: Uno <merrilljensen@q.com>
Subject: Re: determining whether a server supports secure authentication
Message-Id: <85b776Fm3cU1@mid.individual.net>

On 5/16/2010 6:20 AM, Peter J. Holzer wrote:
> On 2010-05-16 05:09, Uno<merrilljensen@q.com>  wrote:
>> I'm trying to use thunderbird to get an e-mail capability on linux, and
>> since this is the only reason I have to boot windows at all, I'd like to
>> figure it out.
>>
>> Where I'm stuck right now is that I know OE uses SSL authentication to
>> get my mail successfully when I ask for it, but the t-bird set-up is
>> telling me that the server does not support it.
> [...]
>> http://i39.tinypic.com/28ulb3d.jpg
>
> "SSL Authentication" != "Secure Authentication".
>
> You probably just have to turn "Secure Authentication" off (but leave
> STARTTLS on).

What was going on here was that I was conflating secure connections and 
secure authentication.  The latter is an MS thing, and the whole picture 
you get of it as a windows user slightly distorts what is actually 
happening.

I was "sure" that I was using SSL, and in my head it sounded right that 
a secure socket layer would employ secure authentication.  They are 
completely separate notions.

So, problem solved by unchecking a box.
>
>
>> Can I use the perl programming language to determine whether what type
>> of authentication this server understands?
>
> Yes. However, you don't have to write that program yourself, as somebody
> has already done it: Look for "swaks" (the SWiss Army Knife for Smtp).
> Some linux distributions (e.g. Debian) include it, or you can download
> it from http://www.jetmore.org/john/code/swaks/

Well, hot damn:

> $ swaks --to merrilljensen@q.com --server pop3.live.com
=== Trying pop3.live.com:25...
*** Error connecting 0.0.0.0 to pop3.live.com:25:
*** 	IO::Socket::INET: connect: timeout
$ swaks --to merrilljensen@q.com --server smtp.live.com
=== Trying smtp.live.com:25...
=== Connected to smtp.live.com.
<-  220 BLU0-SMTP21.blu0.hotmail.com Microsoft ESMTP MAIL Service, 
Version: 6.0.3790.4675 ready at  Sun, 16 May 2010 14:29:18 -0700
  -> EHLO dan-desktop
<-  250-BLU0-SMTP21.blu0.hotmail.com Hello [97.123.175.133]
<-  250-TURN
<-  250-SIZE 35840000
<-  250-ETRN
<-  250-PIPELINING
<-  250-DSN
<-  250-ENHANCEDSTATUSCODES
<-  250-8bitmime
<-  250-BINARYMIME
<-  250-CHUNKING
<-  250-VRFY
<-  250-TLS
<-  250-STARTTLS
<-  250 OK
  -> MAIL FROM:<dan@dan-desktop>

So ... what's all this?

http://www.jetmore.org/john/code/swaks/latest/doc/ref.txt

I didn't see in the documentation above any discussion on how to 
determine whether a server wants "secure authentication."

Cheers,
-- 
Uno







------------------------------

Date: Sun, 16 May 2010 02:00:06 -0700 (PDT)
From: sisyphus <sisyphus359@gmail.com>
Subject: Re: MinGW and Perl 5.12 - Windows 64 bits ActiveState
Message-Id: <7055f96e-1cba-4ff9-8dad-09b6c208a79d@r21g2000prr.googlegroups.com>

On May 16, 6:18=A0am, Dilbert <dilbert1...@gmail.com> wrote:
> On 15 mai, 09:56, sisyphus <sisyphus...@gmail.com> wrote:

> C:/Users/CK/DOCUME~1/PROGRA~2/MINGW6~1/gcc.exe -c =A0 =A0 =A0 -DNDEBUG -
> DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIV
> E -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -
> DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasin
> g -mms-bitfields -O2 =A0 =A0 =A0-DVERSION=3D\"0.73\" =A0 =A0-DXS_VERSION=
=3D\"0.73\"
> "-IC:\Perl64\lib\CORE" =A0 CSV_XS.c
> gcc.exe: CreateProcess: No such file or directory
> dmake.exe: =A0Error code 1, while making 'CSV_XS.o'

Odd - I've just downloaded that exact same compiler, and it works fine
for me with ActivePerl. I've just used it to build Text::CSV_XS-0.73.
I don't think I've overlooked anything in my instructions (apart from
the need to have dmake - but you're ahead of me on that, anyway :-)

The solitary "-O2" in the failing command is a bit of a puzzle - the
patch should have changed that to an "-s -O2", but I don't think
that's what's causing the failure.

Anyway, if you're happy with Strawberry Perl (and there's no reason
you oughtn't be) then that's the simplest route to travel. It gives
you a compiler built by the same person (and same toolchain) as the
20100515_sezero zip you downloaded - but Strawberry has gcc-4.4.3, not
the gcc-4.4.5 that's currently on offer.

Cheers,
Rob


------------------------------

Date: Sun, 16 May 2010 03:36:08 -0700 (PDT)
From: Dilbert <dilbert1999@gmail.com>
Subject: Re: MinGW and Perl 5.12 - Windows 64 bits ActiveState
Message-Id: <15ccdb50-459f-4c3e-9ee7-c4801ca6879e@v37g2000vbv.googlegroups.com>

On 16 mai, 11:00, sisyphus <sisyphus...@gmail.com> wrote:
> On May 16, 6:18=A0am, Dilbert <dilbert1...@gmail.com> wrote:
>
> > On 15 mai, 09:56, sisyphus <sisyphus...@gmail.com> wrote:
> > C:/Users/CK/DOCUME~1/PROGRA~2/MINGW6~1/gcc.exe -c =A0 =A0 =A0 -DNDEBUG =
-
> > DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIV
> > E -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -
> > DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasin
> > g -mms-bitfields -O2 =A0 =A0 =A0-DVERSION=3D\"0.73\" =A0 =A0-DXS_VERSIO=
N=3D\"0.73\"
> > "-IC:\Perl64\lib\CORE" =A0 CSV_XS.c
> > gcc.exe: CreateProcess: No such file or directory
> > dmake.exe: =A0Error code 1, while making 'CSV_XS.o'
>
> Odd - I've just downloaded that exact same compiler, and it works fine
> for me with ActivePerl. I've just used it to build Text::CSV_XS-0.73.
> I don't think I've overlooked anything in my instructions (apart from
> the need to have dmake - but you're ahead of me on that, anyway :-)
>
> The solitary "-O2" in the failing command is a bit of a puzzle - the
> patch should have changed that to an "-s -O2"

That's my fault, because I accidently patched the wrong file. That's
fixed now:

C:\Users\CK\Documents\PerlModules\Text-CSV_XS\Text-CSV_XS-0.73>dmake
Skip blib\lib\Text\CSV_XS.pm (unchanged)
C:/Users/CK/DOCUME~1/PROGRA~2/MINGW6~1/gcc.exe -c       -DNDEBUG -
DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIV
E -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -
DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasin
g -mms-bitfields -s -O2           -DVERSION=3D\"0.73\"    -DXS_VERSION=3D
\"0.73\"  "-IC:\Perl64\lib\CORE"   CSV_XS.c
gcc.exe: CreateProcess: No such file or directory
dmake.exe:  Error code 1, while making 'CSV_XS.o'

> but I don't think
> that's what's causing the failure.

You're right, that's not causing the failure.

> Anyway, if you're happy with Strawberry Perl (and there's no reason
> you oughtn't be) then that's the simplest route to travel. It gives
> you a compiler built by the same person (and same toolchain) as the
> 20100515_sezero zip you downloaded - but Strawberry has gcc-4.4.3, not
> the gcc-4.4.5 that's currently on offer.

I will install Strawberry Perl 5.12, 64 bits on my Windows Vista and
see if that works for me.


------------------------------

Date: Sun, 16 May 2010 05:05:55 -0700 (PDT)
From: Dilbert <dilbert1999@gmail.com>
Subject: Re: MinGW and Perl 5.12 - Windows 64 bits ActiveState
Message-Id: <b7f7c025-aaf5-4753-8eda-04925ba91f08@d12g2000vbr.googlegroups.com>

On 16 mai, 12:36, Dilbert <dilbert1...@gmail.com> wrote:
> C:\Users\CK\Documents\PerlModules\Text-CSV_XS\Text-CSV_XS-0.73>dmake
> Skip blib\lib\Text\CSV_XS.pm (unchanged)
> C:/Users/CK/DOCUME~1/PROGRA~2/MINGW6~1/gcc.exe -c =A0 =A0 =A0 -DNDEBUG -
> DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIV
> E -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -
> DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasin
> g -mms-bitfields -s -O2 =A0 =A0 =A0 =A0 =A0 -DVERSION=3D\"0.73\" =A0 =A0-=
DXS_VERSION=3D
> \"0.73\" =A0"-IC:\Perl64\lib\CORE" =A0 CSV_XS.c
> gcc.exe: CreateProcess: No such file or directory
> dmake.exe: =A0Error code 1, while making 'CSV_XS.o'

> On 16 mai, 11:00, sisyphus <sisyphus...@gmail.com> wrote:
> > Anyway, if you're happy with Strawberry Perl (and there's no reason
> > you oughtn't be) then that's the simplest route to travel. It gives
> > you a compiler built by the same person (and same toolchain) as the
> > 20100515_sezero zip you downloaded - but Strawberry has gcc-4.4.3, not
> > the gcc-4.4.5 that's currently on offer.

> I will install Strawberry Perl 5.12, 64 bits on my Windows Vista and
> see if that works for me.

I installed Strawberry Perl 5.12, 64 bits (
http://strawberry-perl.googlecode.com/files/strawberry-perl-5.12.0.1.msi
) on my Windows Vista and it worked:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
C:\Users\CK\Documents\PerlModules\Text-CSV_XS\Text-CSV_XS-0.73>dmake
cp CSV_XS.pm blib\lib\Text\CSV_XS.pm
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils
\xsubpp  -typemap C:\strawberry\perl\lib\ExtUtils\typemap  CSV_XS.xs >
CSV_XS.xsc
&& C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" --
CSV_XS.xsc CSV_XS.c
gcc -c          -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -
DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-
bitfie
lds -DPERL_MSVCRT_READFIX -s -O2          -DVERSION=3D\"0.73\"    -
DXS_VERSION=3D\"0.73\"  "-IC:\strawberry\perl\lib\CORE"   CSV_XS.c
Running Mkbootstrap for Text::CSV_XS ()
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644
CSV_XS.bs
C:\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=3D>\"Text::CSV_XS\", 'DLBASE' =3D> 'CSV_XS',
'DL_FUNCS' =3D> {  }, 'FUNCLIST' =3D> [], 'IMPORTS' =3D> {  }, 'DL_VARS' =
=3D>
[]);"
dlltool --def CSV_XS.def --output-exp dll.exp
g++ -o blib\arch\auto\Text\CSV_XS\CSV_XS.dll -Wl,--base-file -
Wl,dll.base -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c
\lib" CSV_XS
 .o -Wl,--image-base,0x1b000000  C:\strawberry\perl\lib\CORE
\libperl512.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -
lcomdlg32 -ladvapi32
-lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -
lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
dlltool --def CSV_XS.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Text\CSV_XS\CSV_XS.dll -mdll -s -L"C:\strawberry
\perl\lib\CORE" -L"C:\strawberry\c\lib" CSV_XS.o -Wl,--image-base,
0x1b00000
0  C:\strawberry\perl\lib\CORE\libperl512.a -lmoldname -lkernel32 -
luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -
loleaut32
-lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32
-lcomctl32 dll.exp
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755
blib\arch\auto\Text\CSV_XS\CSV_XS.dll
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "cp" --
CSV_XS.bs blib\arch\auto\Text\CSV_XS\CSV_XS.bs
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644
blib\arch\auto\Text\CSV_XS\CSV_XS.bs
C:\strawberry\perl\bin\perl.exe "-Iblib\arch" "-Iblib\lib" CSV_XS.PL
CSV_XS

C:\Users\CK\Documents\PerlModules\Text-CSV_XS\Text-CSV_XS-0.73>dmake
test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/00_pod.t ........ skipped: Test::Pod 1.00 required for testing POD
[ ... ]
t/81_subclass.t ... ok
All tests successful.
Files=3D22, Tests=3D12055,  5 wallclock secs ( 1.51 usr +  0.17 sys =3D
1.69 CPU)
Result: PASS
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Basically, problem solved, however I still insist in getting MinGW
running with Activestate Perl, so I did the following:

I removed "C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" from
the path (and carefully left "C:\strawberry\c\bin" in there, so to
have the MinGW compiler still available), then I added "C:\Perl64\site
\bin;C:\Perl64\bin" to the path to re-instate Activestate Perl

So basically I replaced Strawberry Perl by ActiveState Perl (but left
the MinGW64 part in the path).

I also made sure that the two patches (to lib/ExtUtils/MM_Win32.pm and
to lib/ActivePerl/Config.pm as provided by sisyphus) were re-instated.

Fortunately, when I now run "dmake", I get past the error ("gcc.exe:
CreateProcess: No such file or directory")...

 ...but there is now another error ("C:\Perl64\bin\perl512.dll: file
not recognized: File format not recognized")

C:\Users\CK\Documents\PerlModules\Text-CSV_XS\Text-CSV_XS-0.73>dmake
cp CSV_XS.pm blib\lib\Text\CSV_XS.pm
C:\Perl64\bin\perl.exe C:\Perl64\lib\ExtUtils\xsubpp  -typemap C:
\Perl64\lib\ExtUtils\typemap  CSV_XS.xs > CSV_XS.xsc && C:\Perl64\bin
\perl.exe -
MExtUtils::Command -e "mv" -- CSV_XS.xsc CSV_XS.c
C:/STRAWB~1/c/bin/gcc.exe -c    -DNDEBUG -DWIN32 -D_CONSOLE -
DNO_STRICT -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE -
DUSE_SITECUSTOMIZE -DPERL_IMPLI
CIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -
DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -s -O2      -
DVERSION=3D\"0.7
3\"     -DXS_VERSION=3D\"0.73\"  "-IC:\Perl64\lib\CORE"   CSV_XS.c
Running Mkbootstrap for Text::CSV_XS ()
C:\Perl64\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 CSV_XS.bs
C:\Perl64\bin\perl.exe -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=3D>\"Text::CSV_XS\", 'DLBASE' =3D> 'CSV_XS',
'DL_FUNCS' =3D> {  }, 'FUNCLIST' =3D> [], 'IMPORTS' =3D> {  }, 'DL_VARS' =
=3D>
[]);"
Set up gcc environment - 4.4.3
dlltool --def CSV_XS.def --output-exp dll.exp

C:\STRAWB~1\c\bin\g++.exe -o blib\arch\auto\Text\CSV_XS\CSV_XS.dll -
Wl,--base-file -Wl,dll.base -s -mdll -L"C:\Perl64\lib\CORE" CSV_XS.o -
Wl,--image-base,0x1b000000

C:\Perl64\bin\perl512.dll -lkernel32 -luser32 -lgdi32 -lwinspool -
lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -
lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -
lmsvcrt dll.exp

C:\Perl64\bin\perl512.dll: file not recognized: File format not
recognized
collect2: ld returned 1 exit status
dmake:  Error code 129, while making 'blib\arch\auto\Text\CSV_XS
\CSV_XS.dll'


------------------------------

Date: Sun, 16 May 2010 21:36:07 +0100
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: MinGW and Perl 5.12 - Windows 64 bits ActiveState
Message-Id: <ni16c7-q572.ln1@osiris.mauzo.dyndns.org>


Quoth Dilbert <dilbert1999@gmail.com>:
> 
> I have downloaded and unzipped "mingw-w64-bin_x86_64-
> mingw_20100515_sezero.zip" (that's "...20100515..." and not "...
> 20100428...") from http://sourceforge.net/projects/mingw-w64/files.
> 
> Then I added the "mingw64\bin" directory to the path.
> 
<snip>
> 
> Now I want to download and make Text::CSV_XS, but unfortunately there
> is an error "gcc.exe: CreateProcess: No such file or directory"
> 
> C:\Users\CK\Documents\PerlModules\Text-CSV_XS\Text-CSV_XS-0.73>dmake
> cp CSV_XS.pm blib\lib\Text\CSV_XS.pm
> C:\Perl64\bin\perl.exe C:\Perl64\lib\ExtUtils\xsubpp  -typemap C:
> \Perl64\lib\ExtUtils\typemap  CSV_XS.xs > CSV_XS.xsc && C:\Perl64\bin\
> perl.exe -MExtUtils::Command -e "mv" -- CSV_XS.xsc CSV_XS.c
> C:/Users/CK/DOCUME~1/PROGRA~2/MINGW6~1/gcc.exe -c       -DNDEBUG -
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
Is this a 'spaces in the path' or 'path too long' problem? Can you
install the compiler somewhere like c:\mingw64 and try again?

Ben



------------------------------

Date: Sun, 16 May 2010 06:09:09 -0700 (PDT)
From: Dilbert <dilbert1999@gmail.com>
Subject: Pb resolved -- MinGW Perl 5.12 -- Windows 64 bits -- use Strawberry  Perl
Message-Id: <47e4da24-dd4a-4c82-90ba-d321af95d3ea@d12g2000vbr.googlegroups.com>

On 16 mai, 14:05, Dilbert <dilbert1...@gmail.com> wrote:
> Basically, problem solved, however I still insist in getting MinGW
> running with Activestate Perl

I abandon the idea of getting MinGW running with Activestate Perl. The
recent experience with getting a C-compiler for Perl is what tipped my
scale today from Activestate to Strawberry.

Thanks for your help.


------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

Back issues are available via anonymous ftp from
ftp://cil-www.oce.orst.edu/pub/perl/old-digests. 

#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V11 Issue 2947
***************************************


home help back first fref pref prev next nref lref last post