DBI install error under Solaris 10

DBI install error under Solaris 10

am 14.11.2007 19:11:37 von zilonx

Hi,

I need to install the DBD::Pg under Solaris 10 sparc, the DBI::DBD
installed without errors with CPAN, but when trying to install DBI I
get the following error:
"Can't create variants of tests in 't' directory: No such file or
directory at /usr/perl5/site_perl/5.8.4/sun4-solaris-64int/DBI/DBD.pm
line 3119."

This is the exact same error with Sun Studio or GCC 3.4.6 - I'm not
sure if this is the correct location to ask for help.

Thank you for any advice.

Re: DBI install error under Solaris 10

am 15.11.2007 04:37:44 von jonathan.leffler

------=_Part_3029_13155400.1195097864244
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Nov 14, 2007 10:11 AM, zilonx wrote:

> I need to install the DBD::Pg under Solaris 10 sparc, the DBI::DBD
> installed without errors with CPAN, but when trying to install DBI I
> get the following error:
> "Can't create variants of tests in 't' directory: No such file or
> directory at /usr/perl5/site_perl/5.8.4/sun4-solaris-64int/DBI/DBD.pm
> line 3119."
>
> This is the exact same error with Sun Studio or GCC 3.4.6 - I'm not
> sure if this is the correct location to ask for help.
>

Normally, I would have expected DBI::DBD (which is basically a POD for
developers of DBD modules) to come along with DBI.

The "Can't create" message suggests that you are trying to build in a
directory where you don't have a sub-directory called 't', which in turn
suggests that your current directory is not where the DBI source code is.

It is good that you have both Sun Studio and GCC available; the build will
use the same one as was used to build Perl. That should save you angst
later.


--
Jonathan Leffler #include
Guardian of DBD::Informix - v2007.0914 - http://dbi.perl.org
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."

------=_Part_3029_13155400.1195097864244--