Re: [Module::Build] Alzabo / Module::Build Cygwin installation problem
Status: Beta
Brought to you by:
kwilliams
|
From: Randy W. S. <Ra...@Th...> - 2003-11-13 04:42:37
|
On 11/11/2003 4:32 AM, Terrence Brannon wrote:
> Randy W. Sims wrote:
>
>> Terrence Brannon wrote:
>>
>>> Thanks for all the work to get Module::Build functional under Cygwin.
>>> I was not able to run the more-recent versions of Alzabo until this
>>> happened. However, attempting to install Alzabo-0.80 yields an error
>>> which appears to be coming from Module::Build. I just installed
>>> Cygwin 3 days ago, so it is definitely the latest version.
>>>
>>
>> It will be at least tomorrow before I can try this out under Cygwin.
>> What happens if you build/test this manually with verbose=1?
>
>
> There is no more output than when it was ran by default, assuming I did
> things correctly:
>
> ~ $ perl -MCPAN -e 'get Alzabo'
>
> ~ $ ~ $ cd .cpan/build
> ~/.cpan/build $ cd Alzabo-0.80/
> ~/.cpan/build/Alzabo-0.80 $ ls
> Build.PL LICENSE Makefile.PL TODO install_helpers t
> Changes MANIFEST README eg lib
> INSTALL META.yml SIGNATURE inc mason
> ~/.cpan/build/Alzabo-0.80 $ perl Makefile.PL verbose=1
> perl Build.PL verbose=1
>
> Please select a root directory for Alzabo (schema files will be stored
> under this root.
> Alzabo root? [/home/metaperl/alzaobo] /home/metaperl/alzabo
>
> The following questions pertain to optional features of Alzabo. These
> questions help the installer determine what additional system checks
> to perform.
>
>
> To use the MySQL driver requires DBD::mysql (2.1017).
> Do you want to use the MySQL driver? [no]
> no
>
> To use the PostgreSQL driver requires DBD::Pg (1.13).
> Do you want to use the PostgreSQL driver? [yes]
> yes
>
> The information from the following questions are used solely for
> testing the pieces of Alzabo that require a real database for proper
> testing.
> Do tests with Postgres RDBMS? [yes]
> yes
>
> Please provide a username that can be used to connect to the Postgres
> RDBMS? This user must have the ability to create a new
> database/schema.
> Username? metaperl
> Password for metaperl?
>
> What host is the Postgres RDBMS located on. Press enter to skip this if
> the database server is located on the localhost or can be determined
> in another way (for example, Oracle can use TNS to find the database).
> Host?
>
> What port is the Postgres RDBMS located on. Press enter to skip this.
> Port?
>
> Please provide a database name that can be used for testing. A
> database/schema with this name will be created and dropped during the
> testing process.
> Database name? [test_alzabo_pg]
> test_alzabo_pg
> Usage: Cwd::cwd() at /usr/lib/perl5/site_perl/5.8.0/Module/Build/Base.pm
> line 84.
> Couldn't run Build.PL: at
> /usr/lib/perl5/site_perl/5.8.0/Module/Build/Compat.pm line 120.
> ~/.cpan/build/Alzabo-0.80 $
>
>
Ok. Sorry to get back so late on this. I tried yesterday but got
frustrated with Cygwin trying to install PostgreSQL and stuff...
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.
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).
Randy.
--
A little learning is a dang'rous thing;
Drink deep, or taste not the Pierian spring;
There shallow draughts intoxicate the brain;
And drinking largely sobers us again.
- Alexander Pope
|