Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default Re: h2xs mess


    <kspecial@linuxmail.org> wrote in message
    news:365f784f.0307071452.5ab8221b@posting.google.c om...
    > My name is Noah. What i'm trying to figure out is how I can
    > compile this module: Win32::Scheduler. Most modules can simply be
    > inserted, be compiled (if you will) with a Makefile, or if there is
    > not one made, h2xs.
    >
    > Now. H2xs is probably what i'm going to need *not quite sure.
    > Check out how the file directory looks:
    >
    > ~\scheduler\blib\lib\Win32:
    > --> Scheduler.PM
    > --> Scheduler(Directory)
    > \Scheduler:
    > -->CopyJobs.pl
    > -->TEST.PL
    > -->Win32-Scheduler.ppd
    > -->TIE_Scheduler.xpp
    > -->TIE_Task.xpp
    > -->CONSTANT.CPP
    > -->Scheduler.cpp
    > -->TIE_Task.cpp
    > -->TIEFunctions.cpp
    > -->CONSTANT.H
    > -->Scheduler.hpp
    > -->SchedulerBuild.h
    > -->VERSION.H
    > -->Scheduler.dsp
    > -->Scheduler.dsw
    > -->Scheduler.def
    > -->win32perl.h
    > -->CUString.lib
    > -->CUString.hpp
    > <EOF>-----------------------------------<EOF>
    >
    > Quite UGLY I might add, but as you can see i have tried to
    > spiff it up for whomever may be reading.
    >
    > So. ANY clues or small hint's (weeny) would be helpfull.
    > Thank you.
    >
    These are (I'm told) MSVC++ Project Files - and you can build the module as
    a "Project" in the MSVC++ IDE (which I rarely use, and know little about).
    You can presumably do the same using command line arguments, if you know how
    to go about it. I tried to build his Net::Daemon (mainly for the exercise),
    but kept getting the message that "*** No perl was found", and couldn't work
    out what to do about that. After a few attempts I decided I'd give up
    *before* I threw a brick thru the monitor.

    Apparently this is the way Dave builds his modules - and this is the only
    source he provides. I don't like it any more than you do (especially the
    absence of a 'readme' to tell us what we need to do), but we've really got
    no grounds for complaint. We can simply install the ppm that he kindly
    provides.

    Cheers,
    Rob


    Sisyphus Guest

  2. Similar Questions and Discussions

    1. I'm in a right mess
      After installing a pile of assorted extensions one of which crashed Dreamweaver and the extension manager altogether I've ended up with a situation...
    2. h2xs woes
      I've been tyring to use h2xs to create a module which uses some C code I have in a shared library. However, when I try to run h2xs on the header...
    3. Administrator mess-up
      try to log in as local admin on the server & then add rights to our account... If the problem is really serious try "parallel recovery", where...
    4. IE 6.0 vs. NS 7.1 Background Mess
      sokaman, I viewed your link in NS 7.1 and IE 6.0 and I like the look in NS better.
    5. Compiling the h2xs way.
      My name is Noah. What i'm trying to figure out is how I can compile this module: Win32::Scheduler. Most modules can simply be inserted, be compiled...
  3. #2

    Default Re: h2xs mess

    "Sisyphus" <kalinabears@hdc.com.au> wrote in message news:<3f0a4fc9$0$414@echo-01.iinet.net.au>...
    > <kspecial@linuxmail.org> wrote in message
    > news:365f784f.0307071452.5ab8221b@posting.google.c om...
    > > My name is Noah. What i'm trying to figure out is how I can
    > > compile this module: Win32::Scheduler. Most modules can simply be
    > > inserted, be compiled (if you will) with a Makefile, or if there is
    > > not one made, h2xs.
    > >
    > > Now. H2xs is probably what i'm going to need *not quite sure.
    > > Check out how the file directory looks:
    > >
    > > ~\scheduler\blib\lib\Win32:
    > > --> Scheduler.PM
    > > --> Scheduler(Directory)
    > > \Scheduler:
    > > -->CopyJobs.pl
    > > -->TEST.PL
    > > -->Win32-Scheduler.ppd
    > > -->TIE_Scheduler.xpp
    > > -->TIE_Task.xpp
    > > -->CONSTANT.CPP
    > > -->Scheduler.cpp
    > > -->TIE_Task.cpp
    > > -->TIEFunctions.cpp
    > > -->CONSTANT.H
    > > -->Scheduler.hpp
    > > -->SchedulerBuild.h
    > > -->VERSION.H
    > > -->Scheduler.dsp
    > > -->Scheduler.dsw
    > > -->Scheduler.def
    > > -->win32perl.h
    > > -->CUString.lib
    > > -->CUString.hpp
    > > <EOF>-----------------------------------<EOF>
    > >
    > > Quite UGLY I might add, but as you can see i have tried to
    > > spiff it up for whomever may be reading.
    > >
    > > So. ANY clues or small hint's (weeny) would be helpfull.
    > > Thank you.
    > >
    >
    > These are (I'm told) MSVC++ Project Files - and you can build the module as
    > a "Project" in the MSVC++ IDE (which I rarely use, and know little about).
    > You can presumably do the same using command line arguments, if you know how
    > to go about it. I tried to build his Net::Daemon (mainly for the exercise),
    > but kept getting the message that "*** No perl was found", and couldn't work
    > out what to do about that. After a few attempts I decided I'd give up
    > *before* I threw a brick thru the monitor.
    >
    > Apparently this is the way Dave builds his modules - and this is the only
    > source he provides. I don't like it any more than you do (especially the
    > absence of a 'readme' to tell us what we need to do), but we've really got
    > no grounds for complaint. We can simply install the ppm that he kindly
    > provides.
    >
    > Cheers,
    > Rob
    So did you give up before you literly through a brick thru the
    monitor, or give up *before* you would have thrown a brick through the
    monitor? I can't give up.

    What you say sound's basicly correct. MSVC++ IDE might get expensive
    although it sounds like a great idea that I may have to resort to. I
    was realy hoping there was a way I could go about all of this (or find
    someone that has) using the commandline, i.e H2xs.

    BTW WTF is Net::Daemon, it might be better for my situation... Sound's
    sort of linux like though.

    But when in despair don't (always) pull out your hair.

    --K-sPecial (I'll figure something out)

    P.S if ANYONE has ever compiled this. Let me know.


    --K-sPecial
    kspecial@linuxmail.org Guest

  4. #3

    Default Re: h2xs mess


    <kspecial@linuxmail.org> wrote in message
    >
    > So did you give up before you literly through a brick thru the
    > monitor, or give up *before* you would have thrown a brick through the
    > monitor? I can't give up.
    >
    I'm having trouble reading this ........ someone's wedged a bloody brick in
    the middle of the screen .... and it's obscuring some of the text :-)

    Can't you install with ppm - or simply download the ppm package and manually
    place the files in the correct location ?
    It's probably only a matter of copying the '.pm' file and the '.dll' file to
    the appropriate perl folders.
    > What you say sound's basicly correct. MSVC++ IDE might get expensive
    > although it sounds like a great idea that I may have to resort to.
    You can get a 'Standard Edition' for about $US 60.00. But it won't optimise
    code. If you build perl using such a compiler, you'll find it to be about
    1.6 times slower than a perl built with an optimising compiler. For building
    modules it probably doesn't matter that much. (There are some other
    deficiencies with the standard edition as well - eg debugging capability.)
    > I
    > was realy hoping there was a way I could go about all of this (or find
    > someone that has) using the commandline, i.e H2xs.
    >
    No matter how you go about building it, at some point you'll need a
    compiler.
    > BTW WTF is Net::Daemon, it might be better for my situation... Sound's
    > sort of linux like though.
    >
    Sorry .... should've explained. Net::Daemon (I think I got the name right)
    is another module by the author of Win32::Scheduler. The source for all of
    his modules are in the form of Visual Studio Project Files - which, as I
    said, is apparently the way the author builds these modules.

    See [url]http://www.roth.net/perl/packages/[/url] (which is currently down) for a
    list/description of his modules.
    > But when in despair don't (always) pull out your hair.
    >
    > --K-sPecial (I'll figure something out)
    >
    > P.S if ANYONE has ever compiled this. Let me know.
    >
    I received an email recently from a guy who built it for perl 5.6 using the
    Visual Studio IDE. (He couldn't get it to work for perl 5.8.) He was unable
    to offer much in terms of building using command line switches, and I've got
    little interest in messing around with the IDE, so we didn't take the
    discussion any further.

    In my attempts I did get around the 'no perl was found error', but then
    received complaints that some of the header files contained syntax errors -
    which had me quickly looking around for another brick.

    I have this idea that it might be possible to combine the '.cpp' source
    files into one source file, and compile the module with Inline::CPP.
    *If* it worked, this wouldn't be a lot of trouble to go to .... but, for the
    moment at least, I can't be stuffed testing it out. Given that ppm's exist,
    the only point of doing it would be as a recreational exercise, and there's
    no point in doing recreational exercises if they are going to cause nothing
    but extreme frustration :-)

    Cheers,
    Rob



    Sisyphus Guest

  5. #4

    Default Re: h2xs mess

    Hey bud, I hope this is the usenet group you refered that you would be
    posting the same email you sent me on. Here we go.


    Hello,

    I give you mad props for even trying to install that fuckin thing
    (I feel ya)

    2 things.

    1) I contacted the auther and got an Response, him telling me that the
    only reason it was ever made is to prove it can be done and that no
    auther (programmer) has ever gone as far yet as to finish it (or
    help).

    2) He gave me another module that has been finished, to check out.
    Hold on i'll have to look what it was.
    [url]www.sourceforge.com/projects/taskscheduler[/url].

    --K-sPecial

    P.S

    I plan on causing complete frustration.
    kspecial@linuxmail.org Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139