Re: Installing 32 bit DBI.pm

2012-05-28 Thread Tim Bunce
On Fri, May 25, 2012 at 03:52:05PM +, chee.yuen...@accenture.com wrote:
> Hi,
> 
> We are using a 32 bit perl 5.8.0 = ELF 32-bit LSB executable, Intel 80386, 
> version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), 
> for GNU/Linux 2.2.5, not stripped
> 
> As per your support matrix -  
> http://matrix.cpantesters.org/?dist=DBI%201.621;maxver=1 , I downloaded DBI 
> 1.605 and installed it.
> 
> I got errors when installing and it seems to be due to DBI.pm is ELF 64-bit 
> LSB shared object, AMD x86-64, version 1 (SYSV), not stripped

You're more likely to get help if you show the actual error message.

You're much more likely to get help if you include a url to a complete
log of all you commands and responses. Perhaps paste them into a service
like http://pastebin.com/

Tim.

p.s. http://mikeash.com/getting_answers.html


Re: Installing 32 bit DBI.pm

2012-05-25 Thread Terence J. Young, D.C.

Hi,

On MacOsx, perl is universal (ie both 64 and 32 bit). To install a 32 
bit module (for example, installing DBD::Sybase against a 32 middleware 
for sybase) you would use this..


   env ARCHFLAGS -i386 perl Makefile.PL

On linux, you could try using..

   setarch i386 perl Makefile.PL

I have never tried this on linux.  The setarch i386 tells perl tp see 
the machine it is running on as a 32 machine.  Of course, you would also 
need all the required 32 bit devel libs to be installed.


terry




On 5/25/12 10:52 AM, chee.yuen...@accenture.com wrote:

Hi,

We are using a 32 bit perl 5.8.0 = ELF 32-bit LSB executable, Intel 80386, 
version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), 
for GNU/Linux 2.2.5, not stripped

As per your support matrix -  
http://matrix.cpantesters.org/?dist=DBI%201.621;maxver=1 , I downloaded DBI 
1.605 and installed it.

I got errors when installing and it seems to be due to DBI.pm is ELF 64-bit LSB 
shared object, AMD x86-64, version 1 (SYSV), not stripped

In the location where I downloaded the installer 
http://backpan.perl.org/authors/id/T/TI/TIMB/ , there is no different installer 
for 32 bit and 64 bit.

Please advise.

Thanks,
Chee-Yuen



Subject to local law, communications with Accenture and its affiliates 
including telephone calls and emails (including content), may be monitored by 
our systems for the purposes of security and the assessment of internal 
compliance with Accenture policy.
__

www.accenture.com



Installing 32 bit DBI.pm

2012-05-25 Thread chee.yuen.ng
Hi,

We are using a 32 bit perl 5.8.0 = ELF 32-bit LSB executable, Intel 80386, 
version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), 
for GNU/Linux 2.2.5, not stripped

As per your support matrix -  
http://matrix.cpantesters.org/?dist=DBI%201.621;maxver=1 , I downloaded DBI 
1.605 and installed it.

I got errors when installing and it seems to be due to DBI.pm is ELF 64-bit LSB 
shared object, AMD x86-64, version 1 (SYSV), not stripped

In the location where I downloaded the installer 
http://backpan.perl.org/authors/id/T/TI/TIMB/ , there is no different installer 
for 32 bit and 64 bit.

Please advise.

Thanks,
Chee-Yuen



Subject to local law, communications with Accenture and its affiliates 
including telephone calls and emails (including content), may be monitored by 
our systems for the purposes of security and the assessment of internal 
compliance with Accenture policy.
__

www.accenture.com