IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New handed some perly stuff
needed to add some modules outside of where perl lives (app needs perl but each updates require blowing away perl and reinstalling their stuff new)

created $PERLPATH/CPAN to stick the nonapp modules(for a homegrown app)
added the library statement to add the $PERLPATH/CPAN to the @INC

One of the modules was DBI (database interface) now I needed this by monday so couldnt find compile info so added the PurePerl.pm so it would run without a gcc compile. Any immediate gotchas out there as PurePerl.pm is kinda new?
regards,
daemon
that way too many Iraqis conceived of free society as little more than a mosh pit with grenades. ANDISHEH NOURAEE
New I'm not sure...
...exactly what that said, but I think you said something about needing DBI installed.

If that's the case, hie thee to a command line (preferably as root) and enter the stuff in bold below:

$ perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support enabled

cpan> i DBI


That should install the DBI module into somewhere inside perl's @INC, and it should then be usable. Note that if you haven't set up the CPAN shell yet, you'll likely have to do that, too.
-YendorMike

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania
New sorry cant do that
I need to install outside the current @INC because of compatibility issues with my current vendor supplied solution.
regards,
daemon
that way too many Iraqis conceived of free society as little more than a mosh pit with grenades. ANDISHEH NOURAEE
New Re: sorry cant do that
Sorry, I can't say as I've ever done that before. What I would suggest is downloading the module from [link|http://www.cpan.org/|CPAN], untarring it (or whatever), then running perl Makefile.PL, make test, and then make install (and look for some commandline options on redirecting the installation directory, for I don't know 'em.)

Check out [link|http://www.perlmonks.org/index.pl?node_id=404917|this thread] for a more in-depth discussion of the basic installation routine, and [link|http://www.perlmonks.org/index.pl?node_id=403582|this thread] for a discussion on how to install to alternate directories.
-YendorMike

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania
New That is screwed up
app needs perl but each updates require blowing away perl and reinstalling their stuff new

If updates to their product actually require blowing away core Perl, then their product is set up incredibly badly. Furthermore if their product is set up that badly, then sight unseen I can guarantee you that they've screwed enough other things up that their product is shite.

I'll put my reputation as a Perl programmer behind that.

Given the situation that you describe, I'd suggest installing another copy of Perl that their crap doesn't even know about, let alone touch, and then install all of the binary modules that you want on that copy of Perl. If possible, I'd suggest making them use the private copy of Perl. But if they are already screwing with core Perl, then odds are that they don't have the good taste to understand that core Perl might not be exactly where they expect.

Are you sure that you haven't misunderstood something about the situation? If you do understand correctly, then can you convince the powers that be that they should use something that is a bit better designed than this?

Cheers,
Ben
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
New rather take the first part offline :-) but
your take would be a complete separate installation of perl for my other requirements would be the best solution?
I can do that.
regards,
daemon
that way too many Iraqis conceived of free society as little more than a mosh pit with grenades. ANDISHEH NOURAEE
New Yes
That way you can install whatever you want and not sweat it if, for instance, you need a driver with some binary bits.

Cheers,
Ben
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
     handed some perly stuff - (daemon) - (6)
         I'm not sure... - (Yendor) - (2)
             sorry cant do that - (daemon) - (1)
                 Re: sorry cant do that - (Yendor)
         That is screwed up - (ben_tilly) - (2)
             rather take the first part offline :-) but - (daemon) - (1)
                 Yes - (ben_tilly)

I don't know what "puerile twaddle" means.
75 ms