in reply to Inline::C error.

Hi all.

Perl version:
This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail)

Inline::C version is:
0.43
As for a C compiler, I am using DJGPP. The Inline::C module was installed via ppm ( ActiveState ).
Thanks,
-Katie.

Replies are listed 'Best First'.
Re: Re: Inline::C error.
by PodMaster (Abbot) on Jan 04, 2003 at 09:41 UTC
    I don't know much about Inline::C, but in general, you cannot do that.

    You have to use the compiler perl was compiled with. ActivePerl is compiled using cl (perl -V:cc)

    Either buy Microsoft Visual Studio, or download the perl sourcecode (ActivePerl from http://downloads.activestate.com/), and compile everything yourself from scratch using DJGPP (or Borland's free compiler, see outside links for a link), including Inline::C.

    Do understand that if you do this, using PPM is gonna be pretty much useless, cause all PPM repositories use CL as the compiler (cause if you got a compiler like DJGPP, you don't need PPM).


    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    ** The Third rule of perl club is a statement of fact: pod is sexy.

      Thanks PodMaster. That is my problem too then.

Re: Re: Inline::C error.
by Corion (Patriarch) on Jan 04, 2003 at 10:51 UTC

    Another way to get at a MS C compiler is to look for the bundled Teaching Edition of MSVC 6 - it comes for about 20$ together with some (bad) books about C++, that's where I got my version of MSVC from. I needed it because I didn't want to spend time hunting compiled versions - now I spend time hunting down a gcc crosscompiler for Win32->Solaris, resp. the Solaris header files :-))

    perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web