Alien::Imager has escaped onto my Perl repository. With it, I can (almost) automatically install Imager with JPEG and PNG support on Win32, provided a suitable C environment is available. A pending patch to CPAN allowing a parameter to the recompile command will then recompile Imager with the added libraries.
I could not get Giflib to compile nicely on Windows, and I could not get Tifflib to play nice too, so these two are missing from the Imager build.
Configuring Imager was greatly simplified by Imager allowwing environment variables for all of the relevant parameters to Makefile.PL. If your module requires configuration during the Makefile.PL or build phase, please consider supporting environment variables so that external scripts can set up the environment and then install your script through CPAN.
One reason I'm playing around with VMWare Player is to try out SocialText in a virtual machine to play around with it instead of ruining a perfectly good machine+Perl installation by the bazillion prerequisites it has.
First, I tried the installation on Debian Sarge (3.1r3) via CPAN - that just didn't work. SOAP::Lite fails its tests for some dark reason. Without a local CPAN mirror, the installation will take ages.
Next try was on Debian Sarge using the Debian-provided packages - this didn't work, because Debian doesn't provide the recent enough versions.
Next try was on Debian Etch, the testing release that is soon to become the stable release of Debian. After adding the Socialtext repository to the list of repositories to hit, the only minor snag was that SOAP::Lite needed to be force-installed, as it failed its tests without indication as to why (Apache::Constants::OK wasn't autoloaded in the tests, but why?). Test::Base needed to be installed afterwards manually. The Socialtext package didn't make test for me, but maybe that was because I didn't have apache-perl installed but only apache. After installing the apache-perl package and fiddling around with PostgreSQL, it all now seems to work and has been compressed into a clean, 400MB virtual machine image.
The Perl script I used to automate the installation onto the Debian VM currently lives at http://datenzoo.de/pub/install-opentext.txt . I'd also publish the VMWare image, but it's 400MB and I don't have that kind of bandwidth...
So, hints as how to reduce the size of a VMWare image (like recipes for using dd to make a harddisk image more compressible) are welcome.
Socialtext itself looks quite slick once it's running - but it needs a lot of RAM too, as the kernel killed some tasks with 256MB RAM available to it when the page update daemon was running
and the machine load went up to 16. But it has a wiki, a blog and commentary features - so all that's missing is a mailing list and chat and you have your closed usergroup forum
As I'm currently toying around with VMWare Player (another blog entry), I'm looking for a convenient way to automate the generation of my Debian virtual machines. The Debian setup seems to be very inconveniently automatable - for Windows, there is the concept of an "answer file", which you generate once with all the answers for a setup and which you can then put onto a floppy disk and the installer will pick up all the answers from there and ask the open questions.
For Debian, I've only found the gigantic moloch that is FAI, which is far too big and far too unwieldly, when all I want to do is to specify one or two new users to create, some additional Debian packages to download, and maybe the http:// URL of a Perl script to run afterwards.
So, I'm asking the lazyweb, if somebody has a convenient way to supply the answers to the Debian setup without too much hassle, as a floppy disk (image) or maybe as a small (Perl) webserver or whatever. I'd pretty much prefer not to create a separate
I've made a major step forward in Zaphod development. The version 2 with much simpler change handling is now online. Not all features made it into the release - I skipped on some features in favour of actually releasing something. The features of the new release are:
The features that didn't make it into this release:
But then, I'll have something for the next release. Now it's refactoring time to cut down the leftover code from the other incarnations, and look into frameworks to replace my own crufty code. Maybe this is a good situation to look at Catalyst on the Perl side and one of the JS libraries, like Prototype. On the other hand, Prototype is documented even less than my own hackery.
The source code is "out there", on my Perl repository, at least until I release it onto CPAN. It's free for the taking, as in "same terms as Perl".
This is the first code where I have my doubts about using an unrestrictive license because this code might actually be worth something for a business, but on the other hand, if somebody actually manages to turn this into a working business without me being involved, I'll be pretty amazed
Update: I think it will only work with IE6 and FireFox 1.0.x, or at least FireFox 1.5. If you want to help with porting it to other browsers, like Safari or whatnot, your help and patches are appreciated.
That's what I like about non-broken installers. Class::Inspector comes with Module::Install 0.62, which is broken. The trick to still install it is as follows:
Thanks to Audrey for making this so painless
I got some spam by a German company (Online Microsystems) seeking a freelancer today. I gave them a call and educated them about jobs.perl.org, which they actually were really happy to learn about.
I didn't find the page with the rules what's fit for posting on jobs.perl.org and what's not though. Still, if it's not fit for posting on jobs.perl.org, I don't want to hear about it via my CPAN mail address either.
(This is the second incarnation because I only previewed, and didn't post
The next incarnation of Zaphod is progressing
nicely. The move away from complicated actions ("insert character", "insert line", "split line",
Publishing the second incarnation is currently blocked by one feature I want to add, "bookmarks", that is, marked positions within the document between which the user(s) can jump around. Bookmarks are the stepping stone for a lot of interesting features and bugfixes:
I hope I find the time during the weekend to publish the second incarnation. The source code release and/or svn repository are also on my list, but a bit lower on priority.
Lest this blog becomes too technical, here are some panoramic pictures I took on a trip with my motorbike through the Alps (and no, I'm neither of the guys on the pictures).
I've just uploaded some Alien:: modules onto my Perl modules webpage. They aren't really fit for a CPAN release yet, mostly because I've only tested them on Win32 and geared them mostly for nmake and MSVC (7), but they are there, and comments (or adopters) are welcome.
All modules follow the same concept that Jos laid out with his Alien::Zlib release. The complete steps of downloading and building the external library are done from within Makefile.PL and the external libraries are then installed below the module.
I've decided to write here a bit about Zaphod, which is to become a collaborative text editor. The version currently at datenzoo.de is the old v1, which basically works but has major design flaws. The reworked v2 will go online soonish, to allow others to chime in with better frameworks, browser compatibility etc.
Also, I will pimp some modules here that are up for adoption / CPAN release, like most of the stuff at http://corion.net/perl-dev.