in reply to Re: segmentation fault on HTML::TokeParser
in thread segmentation fault on HTML::TokeParser

Unfortunately, installing my own Perl on Dreamhost is *not* the quickest way. It is a very long way around. Why so? Because, since "the home directory on Dreamhost is not writeable" (I quote Dreamhost wiki here), the standard Perl installation in the home directory fails on cwd. Again, per the Dreamhost wiki, there is a patch for it created by Michael Schwern (see http://schwern.org/~schwern/src/dreamhost-5.8.8-cwd.patch), but that does become a very long way around for me. I will visit that option only when stumped every other way.

Wrt data, yes, I am using the same identical data and scripts on both my laptop and the Dreamhost space.

Thanks.

--

when small people start casting long shadows, it is time to go to bed

Replies are listed 'Best First'.
Re^3: segmentation fault on HTML::TokeParser
by Anonymous Monk on Mar 31, 2008 at 11:11 UTC
Re^3: segmentation fault on HTML::TokeParser
by tachyon-II (Chaplain) on Mar 28, 2008 at 17:23 UTC

    We clearly differ in terms of our definition of Dreamhost. Nightmarehost sounds more like it.

    but that does become a very long way around for me. I will visit that option only when stumped every other way.

    How is installing a patch and installing a local perl the long way round? Should take less than 10 minutes. Anyway good luck finding your easier solution.

      Thanks for your words of encouragement. I already found a solution via HTML::Truncate which does the job for me.

      Wrt needing 10 mins for installing a patch and then installing Perl -- well, I am not very well versed in the methods of installing Perl. I installed it on my Mac and it took me between 30 mins and an hour, IIRC, but that is because everything went without any hitch. That may or may not be the case on Dreamhost. Then, once I am done with Perl, I will have install all the various modules I need, only a very few of which I have installed locally for myself. All in all, way more than 10 mins for a newbie like me, although it probably is only 10 mins for someone such as you more well-versed in the ways of Perl.

      --

      when small people start casting long shadows, it is time to go to bed

        Installing perl is not that hard. You have done it once already - the second time is easier!

        In terms of modules you can use CPAN has tools like Module::Install::Bundle. There are plenty of nodes showing how to list all the modules your application or entire local perl distribution uses and need to be added to the standard distribution. You can make a bundle and then get CPAN to install them. It can be relatively painless.