New to list (with baggage)

Cullen, Lee (Treasury) LeeCullen at hbosts.com
Wed Dec 6 12:16:11 GMT 2006


Hi Guys,

I'm new to the list - Hooray!
But also come bearing a problem - Boo!

I'm sure iit's not a great big problem but I'm hoping someone has seen it
before and can offer an assist.  Here goes:

I have a perl install that has a DBI module (1.37) along with a DBD::Sybase
module configured to connect to a Sybase 12.0 database using the Sybase
OCS-12_0 Open Client.  With it so far...

As part of an upgrade project, we have a new Sybase 12.5.1 database which is
using the Sybase OCS-12_5 Open Client.  As such, I need to install another
version of DBD::Sybase in order to have my current perl scripts able to
connect correctly to the new database as I will have scripts connecting to
both databases at one time or another.

To do so, I need to install 2 versions of the same module.  Not possible...
:-(

Wait a second, what about using the only::install module?!  That will do it.
So, off I go and install that on my system.  Great!  I can now:

Use only DBI => '1.37';

In my scripts to check that only is working as expected, which it is.  So,
next thing is to install another version of DBI, so I can install the new
DBD::Sybase with it and have that connect correctly to my new (12.5.1)
database.

When building the module, the make is good, the make test is good although
during the installation part of the new DBI (1.53) module, using the
command:

sudo /hfx/opt/perl-5.8/bin/perl -Monly=install

I get the following error message:

---

lc4tre at trapd25 DBI-1.53 $ sudo /hfx/opt/perl-5.8/bin/perl -Monly=install
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/auto/DBI/DBIXS.h
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/auto/DBI/Driver_xst.h
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/auto/DBI/Driver.xst
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/auto/DBI/dbd_xsh.h
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/auto/DBI/dbi_sql.h
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/auto/DBI/dbivport.h
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/auto/DBI/dbipport.h
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/auto/DBI/DBI.so
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/auto/DBI/DBI.bs
(unchanged)
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Skipping /hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/Roadmap.pod
(unchanged)
Skipping /hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI.pm
(unchanged)
Skipping /hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/TASKS.pod
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/Win32/DBIODBC.pm
(unchanged)
Skipping /hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/Bundle/DBI.pm
(unchanged)
Skipping /hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBD/DBM.pm
(unchanged)
Skipping /hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBD/Proxy.pm
(unchanged)
Skipping /hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBD/NullP.pm
(unchanged)
Skipping /hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBD/File.pm
(unchanged)
Skipping /hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBD/Sponge.pm
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBD/ExampleP.pm
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/Changes.pm
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/Roadmap.pm
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/ProfileSubs.pm
(unchanged)
Skipping /hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/FAQ.pm
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/W32ODBC.pm
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/Profile.pm
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/ProfileDumper.pm
(unchanged)
Skipping /hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/DBD.pm
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/ProxyServer.pm
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/PurePerl.pm
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/ProfileData.pm
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/SQL/Nano.pm
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/ProfileDumper/Apac
he.pm (unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/DBD/Metadata.pm
(unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/Const/GetInfoType.
pm (unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/Const/GetInfoRetur
n.pm (unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/Const/GetInfo/ODBC
.pm (unchanged)
Skipping
/hfx/opt/perl-5.8/lib/version/5.8.0/sun4-solaris/1.53/DBI/Const/GetInfo/ANSI
.pm (unchanged)
Installing /hfx/opt/perl-5.8/lib/version/5.8.0/1.53/DBI/Changes.yaml
Can't open /hfx/opt/perl-5.8/lib/version/5.8.0/1.53/DBI/Changes.yaml for
output
 at /hfx/opt/perl-5.8/lib/site_perl/5.8.0/only.pm line 411
BEGIN failed--compilation aborted.

---

I am installing this using sudo access as root and am directly addressing my
perl installation in the command.  As such, the error message that seems to
indicate some kind of permissioning error doesn't make sense as the sudo as
root should allow me to dump the module in there.

I have managed to do a sudo 'make install' of the DBI module using PREFIX
and putting it in a parallel directory so I know I have the ability to
write to that area.  So, is this a problem some can offer some help on our
am I just as dumb as a big bag of rocks?

Any help greatly appreciated.

[Also, as an [OT] addendum Spike > Buffy]

Cheers!

Lee Cullen
HBoS Treasury Services
Tel:   +44 207 826 9101
Mob:   +44 777 378 4690
Email: leecullen at hbosts.com


"MMS <hbosplc.com>" made the following annotations.
------------------------------------------------------------------------------
For more information on HBOS Treasury Services, please visit http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes Halifax plc and Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 2692890. Registered in England.
Authorised and regulated by the Financial Services Authority.

The information contained in this message is confidential and is intended for the addressee only. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. This mail and any attachments have been scanned for viruses prior to leaving the HBOS Treasury Services plc network. HBOS Treasury Services plc will not be liable for direct, special, indirect or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record e-mail messages sent to and from this address for the purposes of investigating or detecting any unauthorised use of its system and ensuring its effective operation.
==============================================================================


More information about the london.pm mailing list