Trouble installing DBI without using ActiveState Repository

Trouble installing DBI without using ActiveState Repository

am 04.10.2006 18:39:11 von Lisa.Goldsmith

------_=_NextPart_001_01C6E7D3.9EC5C08B
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

My company is including the installation of the DBD-Oracle and DBI Perl =
packages as part of the next scheduled release of our software, which is =
bundled with ActivePerl 5.8.3. We need to be able to install our =
software on machines that do *not* have internet access, and as part of =
the install I have a DOS batch file that turns off searching the =
ActiveState Repository:

call %1\ppm3.bat rep add xycd %2
call %1\ppm3.bat rep off ActiveState PPM2 Repository
call %1\ppm3.bat rep off ActiveState Package Repository
for %%f in (*.ppd) do call %1\ppm3.bat install %%f > %1\%%f.log 2>&1
call %1\ppm3.bat rep on ActiveState PPM2 Repository
call %1\ppm3.bat rep on ActiveState Package Repository
call %1\ppm3.bat rep delete xycd=20

However, I then get an error during the install of DBI that "Package =
'Test-Simple' not found; use 'Search' first." I find this puzzling as =
version .47 of Test-Simple that is installed as part of the 5.8.3 =
installation, and the DBI.ppd file is (if I'm understanding this =
correctly) version .4 or greater:



Has anyone else run into this? Do I need to install a different version =
of Test-Simple?



------_=_NextPart_001_01C6E7D3.9EC5C08B--

Re: Trouble installing DBI without using ActiveState Repository

am 04.10.2006 19:38:49 von jseger

Have you run 'ppm describe Test-Simple' to confirm that that is what
you actually have (or perl -MTest::Simple -e "print
$Test::Simple::VERSION" )? I can't confirm on my laptop that
Test-Simple was put in before or together with DBI, but this is a way
you can confirm that it's actually on yours.

Jeff

On 10/4/06, Lisa Goldsmith wrote:
> My company is including the installation of the DBD-Oracle and DBI Perl
> packages as part of the next scheduled release of our software, which is
> bundled with ActivePerl 5.8.3. We need to be able to install our software
> on machines that do *not* have internet access, and as part of the install I
> have a DOS batch file that turns off searching the ActiveState Repository:
>
> call %1\ppm3.bat rep add xycd %2
> call %1\ppm3.bat rep off ActiveState PPM2 Repository
> call %1\ppm3.bat rep off ActiveState Package Repository
> for %%f in (*.ppd) do call %1\ppm3.bat install %%f > %1\%%f.log 2>&1
> call %1\ppm3.bat rep on ActiveState PPM2 Repository
> call %1\ppm3.bat rep on ActiveState Package Repository
> call %1\ppm3.bat rep delete xycd
>
> However, I then get an error during the install of DBI that "Package
> 'Test-Simple' not found; use 'Search' first." I find this puzzling as
> version .47 of Test-Simple that is installed as part of the 5.8.3
> installation, and the DBI.ppd file is (if I'm understanding this correctly)
> version .4 or greater:
>
>
>
> Has anyone else run into this? Do I need to install a different version of
> Test-Simple?
>
>
>
>


--
------------------------------------------------------------ --------------------------------------------------
The darkest places in hell are reserved for those who maintain their
neutrality in times of moral crisis.
Dante Alighieri (1265 - 1321)

They who would give up an essential liberty for temporary security,
deserve neither liberty or security.
Benjamin Franklin

Our lives begin to end the day we become silent about things that matter.
Martin Luther King

The right of the people to be secure in their persons, houses, papers,
and effects, against unreasonable searches and seizures, shall not be
violated, and no warrants shall issue, but upon probable cause,
supported by oath or affirmation, and particularly describing the
place to be searched, and the persons or things to be seized.

Amendment IV to the Constitution of the United States
------------------------------------------------------------ --------------------------------------------------