Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: RFC: Setting up a minGW compiling envronment for Perl 5.10

by Bloodrage (Monk)
on Mar 07, 2008 at 01:45 UTC ( [id://672642]=note: print w/replies, xml ) Need Help??


in reply to Re^2: RFC: Setting up a minGW compiling envronment for Perl 5.10
in thread RFC: Setting up a minGW compiling envronment for Perl 5.10

Well the dll isn't there yet, it's not been installed. It's still in the blib/arch/auto/Gtk2 directory in the build directory. Renaming it as per directed didn't help... wait no it set of a dmake clean and deleted everything. Grr. Trying again.

Righty the error is now The procedure entry point cairo_object_from_sv could not be located in the dynamic link library  (null). :(

...I am also beginning to suspect that there is another Config.pm file that I need modification as per the config script I use to set up Strawberry Perl.

Replies are listed 'Best First'.
Re^4: RFC: Setting up a minGW compiling envronment for Perl 5.10
by syphilis (Archbishop) on Mar 07, 2008 at 02:53 UTC
    Righty the error is now The procedure entry point cairo_object_from_sv could not be located in the dynamic link library (null).

    Looks like you instead need to copy I:/strawberry/perl/site/lib/auto/Cairo/Cairo.dll to I:/strawberry/perl/site/lib/auto/Cairo/(null).dll and then delete any other instances of a file named (null).dll.

    Try that and re-run dmake test. (There's no need to first recompile Gtk2.) I suspect you'll get more errors.

    We probably should instead be trying to work out why *you* have struck this additional hitch, but *I* didn't. Hmmm ... better still ... we probably shouldn't even be thinking about it at all :-)

    Cheers,
    Rob

      Interesting, Cairo's make install has put the cairo.dll in I:\strawberry\per\lib\auto\Cairo which makes me suspect that my script that reconfigures CPAN may be pointing to the wrong installation directory.

      As for recompiling... the Makefile has it's own ideas on that.

        Cairo's make install has put the cairo.dll in I:\strawberry\per\lib\auto\Cairo

        I don't think that will matter. The real problem is that I gave you a bum steer on the 'dlltool' command that needs to be run. You need to specify the dll name in the command. Try:
        dlltool --input-def Glib.def --output-lib libGlib.a --dllname Glib.dll
        ... and similar re Cairo.

        Cheers,
        Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://672642]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-03-19 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found