Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: ExtUtils::MakeMaker, APR::UUID or Perl problem?

by randyk (Parson)
on Dec 04, 2005 at 18:43 UTC ( #513980=note: print w/replies, xml ) Need Help??


in reply to Re^2: ExtUtils::MakeMaker, APR::UUID or Perl problem?
in thread ExtUtils::MakeMaker, APR::UUID or Perl problem?

That sounds right about it being a more global problem. One place that something specific to openbsd arises is in APR.pm, in defining the dl_load_flags sub. I'm not sure of the background behind this - probably someone on the modperl mailing list would be able to help.

Is this Perl built with ithreads support? If so, the comment in README.openbsd of the perl sources about needing to upgrade to Perl 5.8.7 may be relevant.

  • Comment on Re^3: ExtUtils::MakeMaker, APR::UUID or Perl problem?

Replies are listed 'Best First'.
Re^4: ExtUtils::MakeMaker, APR::UUID or Perl problem?
by jk2addict (Chaplain) on Dec 04, 2005 at 18:49 UTC

    Assuming I'm reading this correctly, it doesn't look like thread-enabled:

    test:~$ perl -V Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=openbsd, osvers=3.8, archname=i386-openbsd uname='openbsd' config_args='-dsE -Dopenbsd_distribution=defined' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultipl +icity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef
Re^4: ExtUtils::MakeMaker, APR::UUID or Perl problem?
by jk2addict (Chaplain) on Dec 04, 2005 at 19:26 UTC

    Even stranger. If I save a copy of that APR.pm into the dists lib and do perl -Ilib Makefile.PL, I still get a 0 byte Makefile. Now, if I add this to that APR.pm:

    BEGIN {warn 'using custom APR'};

    and rerun perl -Ilib Makefile.PL, I get the correct full Makefile. Removing that BEIGN statement make the Makefile 0 bytes again.

    If I comment out the line:

    # sub dl_load_flags { DL_GLOBAL }

    I still get an empty Makefile. There be demons in there.

Re^4: ExtUtils::MakeMaker, APR::UUID or Perl problem?
by jk2addict (Chaplain) on Dec 04, 2005 at 20:23 UTC

    He he. I can't wait to see what the hell the answer to all of this mess is. If I put this in my Makefile.PL

    print 'foo';

    My Makefile gets created. So, it seems to point to an APR/XS I/O buffering issue outside of MP.

      Does something equally perplexing solve the problems with the sqlite tests?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2022-05-27 19:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (97 votes). Check out past polls.

    Notices?