perl – installing a module in user space

Install in a custom directory

Problem

You want to install SOAP::Lite, but don’t have root/administrator privileges.

Solution

Install SOAP::Lite into a custom directory using CPAN module:

# perl -MCPAN -e shell
> o conf make_arg -I~/lib
> o conf make_install_arg -I~/lib
> o conf makepl_arg LIB=~/lib PREFIX=~ INSTALLMAN1DIR=~/man/man1 INSTALLMAN3DIR=~/man/man3
> install SOAP::Lite
Discussion

Setup PERL5LIB environment variable. Depending on your shell it may look like:

PERL5LIB=/you/home/directory/lib; export PERL5LIB
lib here is the name of directory where all libraries will be installed under your home directory.

Run CPAN module with

perl -MCPAN -e shell
and run three commands from CPAN shell

> o conf make_arg -I~/lib
> o conf make_install_arg -I~/lib
> o conf makepl_arg LIB=~/lib PREFIX=~ INSTALLMAN1DIR=~/man/man1 INSTALLMAN3DIR=~/man/man3
LIB will specify directory where all libraries will reside.

PREFIX will specify prefix for all directories (like lib, bin, man, though it doesn’t work in all cases for some reason).

INSTALLMAN1DIR and INSTALLMAN3DIR specify directories for manuals (if you don’t specify them, install will fail because it’ll try to setup it in default directory and you don’t have permissions for that).

Then run:

> install SOAP::Lite
Now in your scripts you need to specify:

use lib ‘/your/home/directory/lib’;
somewhere before ‘use SOAP::Lite;’

Home Gardening

So I’ve decided my first home garden will be Green Beans and an Apple Tree.  I have very little hopes of me keeping an Apple tree alive, but I think I can grow green beans.  The entire family likes them, and I think it would be a good experiment to say the least.  Lisa had mentioned she wanted to remove the swing set, as the kids rarely ever play on it.  that section of the yard would make a great area for an above ground garden.  I do have an issue with water pooling there, so I would have to fix the drainage issues first.

So to get this started, we must first research what to do.  I would like to try either hydroponics or aeroponics.  Aeroponics looks like it might be the easiest to deal with right out of the gate though.  Much less time/effort/money to invest into the project.

Here are some links/videos I’ve been watching on the subject.

  1. https://www.youtube.com/watch?v=8eMt3kCUYnw
  2. https://www.youtube.com/watch?v=RLjXc2rBJE8
  3. http://www.tomorrowsgarden.net/
  4. http://buildasoil.com/
  5. http://www.instructables.com/id/Organic-pesticide-and-fungicide-spray/
  6. http://www.rareseeds.com
  7. http://seedsofchange.com
  8. monstergardens.com

Midget Hydroponic system

Bonsai Hydroponics (link)

Great review of led vs cfl with product links here.