logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: [Module::Build] Alzabo / Module::Build Cygwin installation problem: msg#00027

Subject: Re: [Module::Build] Alzabo / Module::Build Cygwin installation problem
Randy W. Sims wrote:

Ok. Sorry to get back so late on this. I tried yesterday but got frustrated with Cygwin trying to install PostgreSQL and stuff...

Postgresql on Cygwin is a snap. Jason Tishler put together the Postgresql package and here is his install instructions:

http://www.tishler.net/jason/software/postgresql/

And I have a little script that does it for me:

       ~/bin/psql $ cat START_PG
#!/bin/sh -x

rm /usr/share/postgresql/data/postmaster.pid
ipc-daemon2 &
postmaster -i -D /usr/share/postgresql/data &
       ~/bin/psql $

Anyway, I trace this to Alzabo-0.80/inc/Alzabo/Build.PL which does a 'use Cwd' which apparently conflicts with M::B's override of cwd. Can you comment out that use declaration and post your results.

a different use Cwd must be commented out. I did a recursive search for all such uses:

cd /home/metaperl/.cpan/build/Alzabo-0.80/
find . -type f -print0 | xargs -0 -e grep -n Cwd
./Build.PL:5:#use Cwd;
./inc/Alzabo/Build.pm:10:#use Cwd;
./Makefile.PL:11:#        require Cwd;
./Makefile.PL:16:        my $cwd = Cwd::cwd();
./t/lib/Alzabo/Test/Utils.pm:6:#use Cwd ();
./t/lib/Alzabo/Test/Utils.pm:58:    my $cwd = Cwd::cwd();

and commented them all out. Now the test suite passes and I am installing Alzabo-0.80. I am a happy man.

Many thanks to Randy for his help.


When I do this it goes a little further listing a bunch of prerequisites I'm not going to install unless there are further problems because Cygwin is extremely slow. I can run linux inside a VM Ware virtual machine faster than Cygwin (no exageration).

hmm, you have me licking my lips. A real Linux installation but with the tcp/ip ease-of-installation of Windows??? and no quirky compile problems because everybody develops and tests on Linux??? hmm....





-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/


<Prev in Thread] Current Thread [Next in Thread>