+ Reply to Thread
Results 1 to 6 of 6

Thread: Can I install a new module?

  1. #1
    newatthis is offline x10Hosting Member newatthis is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    4

    Can I install a new module?

    Hi.

    I'd like to use the GeniusTrader set of modules as found at http://www.geniustrader.org

    I don't see them in the huge list of available modules.

    What do I do? Is there a way I can install them?

    Thanks.

  2. #2
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: Can I install a new module?

    What do you mean by new module?
    If you mean perl module, then go on the cpan website for a list of modules. http://www.cpan.org/

    If you want to install the GT modules, follow the instructions. http://www.geniustrader.org/first_use.html
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  3. #3
    newatthis is offline x10Hosting Member newatthis is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    4

    Re: Can I install a new module?

    Thanks.

    When I say I want to install a new module, yes, I should say I want to install a new Perl module.

    I have the module file. The instructions on the web site say to run the installer exe file. I don't think I can do that and have it install in my x10hosting directory. I want to use this module in a Perl script on my web page.

    Any idea how to install it to my perl directory on x10hosting?

    Thanks.

  4. #4
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: Can I install a new module?

    If I am right, the only way for you to install specific modules on perl in X10 is if you have a VPS or a whole server. However try to include the module use
    Code:
    use Module::Name();
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  5. #5
    newatthis is offline x10Hosting Member newatthis is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    4

    Re: Can I install a new module?

    Hi. Thanks again.

    I tried my script and called the module as if I knew it was installed. It couldn't find the module and then crashed.

    Maybe X10 could install the modules for me.

    Otherwise, I might forget the modules and just hard-code the formulas and routines I need.

    Thanks.

  6. #6
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Can I install a new module?

    If the module makefile doesn't do anything more complex than copying files and setting attributes (ie no compilation and doesn't alter file contents), you can install the module by hand into (eg) ~/lib/perl. At the start of every script that uses the module, add ~/lib/perl to @INC:
    Code:
    BEGIN {
      unshift @INC, '/home/<username>/lib/perl';
    }
    If you want it to be a little more self configuring:
    Code:
    use File::Basename;
    BEGIN {
      unshift @INC, dirname($ENV{'DOCUMENT_ROOT'}) . '/lib/perl';
    }
    Edit: Finance::QuoteDB::Geniustrader shows up in the list of modules installable from cPanel. Log in to cPanel, go to "Perl modules" and search for "Geniustrader".
    Last edited by misson; 06-06-2009 at 09:37 PM.

+ Reply to Thread

Similar Threads

  1. Joomla 1.5 "x10 hosting ads" module here
    By groovedriver in forum Tutorials
    Replies: 5
    Last Post: 02-28-2009, 03:14 PM
  2. failed to install perl module curl::easy
    By rembrant in forum Free Hosting
    Replies: 1
    Last Post: 01-27-2008, 03:26 PM
  3. school firewall help(not hacking passed it)
    By Xempttt in forum Off Topic
    Replies: 15
    Last Post: 12-06-2007, 11:52 PM
  4. Replies: 8
    Last Post: 11-12-2007, 03:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers