Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Do you know where your variables are?
 
PerlMonks  

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

by syphilis (Canon)
on Mar 06, 2008 at 22:40 UTC ( #672618=note: print w/ replies, xml ) Need Help??


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

Try creating copies of I:/strawberry/perl/site/lib/auto/Gtk2/Gtk2.dll named I:/strawberry/perl/site/lib/auto/Gtk2/(null).dll and I:/strawberry/perl/site/lib/auto/Gtk2/.dll. (I don't know if that will have the desired effect. I'm surprised that, having got it compiled, 'dmake test' doesn't run for you pretty much the same as it ran for me. Did you build it by altering the generated Makefile as I had done ? ... or did you do something slightly different ?)

This just gets more and more ridiculous, doesn't it :-)
Is Gtk2 really worth the effort ?

Cheers,
Rob


Comment on Re^2: RFC: Setting up a minGW compiling envronment for Perl 5.10
Select or Download Code
Re^3: RFC: Setting up a minGW compiling envronment for Perl 5.10
by Bloodrage (Monk) on Mar 06, 2008 at 23:36 UTC

    I'll give that a go. Yes I followed your instructions and they worked nicely. I've also revised that library renaming script, but I still had to append the other external libraries and include directories.

    Gtk2 is probably not worth all this effort, but I'm a stubborn and persistant son of a bitch. This meditation is as much about putting the solutions to these compiler problems up front on Perl Monks as it is about getting it done. Soon I think I'll be supressing my rage and writing up another article on the robustness, or lack therof, of makefiles. :)

Re^3: RFC: Setting up a minGW compiling envronment for Perl 5.10
by Bloodrage (Monk) on Mar 07, 2008 at 01:45 UTC

    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.

      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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2014-04-17 01:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (437 votes), past polls