Froc has asked for the wisdom of the Perl Monks concerning the following question:

Am using SuSE 7.1 and CPAN trying to install Ace. The installation appears to go ok until Test 1 fails with "Couldn't establish connection to database." I have tried the default and setting ACEDB_MACHINE to all four Linux possibilities. What database is it trying to connect to? Any ideas to get me past this? TIA

Replies are listed 'Best First'.
Re: AcePerl setup
by mce (Curate) on Dec 18, 2002 at 14:17 UTC
    Hi,

    From the readme file

    You may "make test" to test the system. It will attempt to open a connection to a database at beta.crbm.cnrs-mop.fr:20000100. You may change these defaults by setting the environment variables ACEDB_HOST and ACEDB_PORT, or by defining them on the command line, as in: make test ACEDB_HOST=localhost ACEDB_PORT=200005 However, since some of the tests are dependent on specific values in the database, this may cause some tests to fail. Do not be alarmed if a handful of tests fail. Do be alarmed if all of the tests fail.

    It connects to the getaceserver, so you need it up and running, before running the tests. Take a look at t/basic.t and you'll see that it wants to open a socket th the Aceserver and port.


    ---------------------------
    Dr. Mark Ceulemans
    Senior Consultant
    IT Masters, Belgium