Archive for the 'Perl' Category

Rethinking My Ikiwiki Setup

Time to rethink my ikiwiki setup:

ikiwiki: [NeoCarz Wiki] failed to get lock

No problem though, I’m using Subversion to store the ikiwiki data. For unrelated reasons, I happen to be using NFS to store the subversion repositories.

cc: error trying to exec ‘cc1plus’: execvp: No such file or directory

I’m trying to install encode::detect on debian, but got this error:

cc: error trying to exec 'cc1plus': execvp: No such file or directory

This fixed it:

apt-get install g++

Perl S3 Proxy




I’m surprised this isn’t easier to find: Perl S3 Proxy.

Too bad its Apache2 mod_perl2 specific. That’s not really bad, but I would like to use it with NGINX too.

There is also Net::Amazon::S3 and Amazon::S3, maybe those could be run as FastCGI applications?

Debian Perl Conflict: libxml-sax-perl local version

Preparing to replace libxml-sax-perl 0.96+dfsg-1 (using libxml-sax-perl_0.96+dfsg-1_all.deb) ...
Unpacking replacement libxml-sax-perl ...
Setting up libxml-sax-perl (0.96+dfsg-1) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10...
Fatal: cannot call XML::SAX->save_parsers_debian().
You probably have a locally installed XML::SAX module.
See /usr/share/doc/libxml-sax-perl/README.Debian.gz .
dpkg: error processing libxml-sax-perl (--install):
 subprocess post-installation script returned error exit status 1
Processing triggers for man-db ...
Errors were encountered while processing:
 libxml-sax-perl

I was able to work around this using:

cd /usr/local/share/perl/5.10.0/XML/
mkdir dnu
mv SAX* dnu/
apt-get install libxml-libxml-perl