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

Re: strange bug with DBI and mod_perl

2010-01-07 Thread Terence J. Young, D.C.
what if you use.. system(qq{perl -e 'print hi;'}); in lieu of .. system(qq{perl -e 'print hi'}); terry Jonathan Swartz wrote: Ok, take Sybase out of the equation. I've gotten it to happen with mysql as well. jswartz ./test.sh dbh1 - ok dbh2 - error: DBD::mysql::db do failed: Lost

Re: Is it possible to build DBD::Sybase on an intel based mac Pro (running 10.4.8)

2007-03-08 Thread Terence J. Young, D.C.
for my needs. terry S P Arif Sahari Wibowo wrote: On Sun, 4 Mar 2007, Terence J. Young, D.C. wrote: Has anyone been able to run or compile DBD::Sybase on an intel based apple computer. Open client middleware is compiled to be be used on the PPC arch. Never done it myself, but apparently DBD

Is it possible to build DBD::Sybase on an intel based mac Pro (running 10.4.8)

2007-03-05 Thread Terence J. Young, D.C.
Hi, Has anyone been able to run or compile DBD::Sybase on an intel based apple computer. Open client middleware is compiled to be be used on the PPC arch. I assume that isql from a terminal is able to use the middleware because it runs in some form of rosetta; I am able to run a universal

Re: Error installing DBD::Sybase RPM

2006-12-18 Thread Terence J. Young, D.C.
Hi Keven, Not sure if this will help, but In order to set the sybase env variables on Redhat (both 32 and 64 bit), I had sourced a copy of the SYBASE.sh file in the .bash_profile file in each each users home directory. While this was sufficient to create most of the needed variables for the

Re: Error installing DBD::Sybase RPM

2006-12-18 Thread Terence J. Young, D.C.
I am sorry, I misread that error. Please ignore my response. terry Terence J. Young, D.C. wrote: Hi Keven, Not sure if this will help, but In order to set the sybase env variables on Redhat (both 32 and 64 bit), I had sourced a copy of the SYBASE.sh file in the .bash_profile file in each

Re: trouble loading DBD sybase, 1_07_01 -found out problem

2006-09-12 Thread Terence J. Young, D.C.
a static install would have made a difference. I am not completely sure of all the consequences to using this option. Thanks for your help, terry Terence J. Young, D.C. wrote: I had tried that; I loaded the 64 bit OCS libs and retried the build; This eliminated any obvious errors from

Re: trouble loading DBD sybase, 1_07_01

2006-09-11 Thread Terence J. Young, D.C.
I had tried that; I loaded the 64 bit OCS libs and retried the build; This eliminated any obvious errors from the make, but the make test failed miserably. I then did a clean install of ocs for sybase 15 and applied the latest 64 bit ebf over that; I appled the DBD install and it worked. I

trouble loading DBD sybase, 1_07_01

2006-09-09 Thread Terence J. Young, D.C.
Hi, I am trying to load DBD sybase on linux I am using RedHat 4, update 4 for x64_68 platform on an EM_64T machine. My updates are current. I am tying to load DBDSybase 1_07_01 (1_07 didn't work either) I am running a 32 bit version of sybase. I tried loading a 64 version of the

Re: DBD::Sybase and IQ anomaly.

2006-02-21 Thread Terence J. Young, D.C.
Aren't you missing the.. my $sql = $self-{load_statement}; part in the main code?? Matthew Persico wrote: One of my programmers is reporting this. In my heart I believe its got to be a stupid-perl-typo-that-we-don't-see, but since we both cannot see it, I submit it to the community at large,

Re: trouble loading DBD::Sybase 1.05 on tiger, MacOSX 10.4.4

2006-02-13 Thread Terence J. Young, D.C.
[EMAIL PROTECTED] wrote: Please post the build log (perl Makefile.PL and make) How do I create a build log while doing the perl Makefile.PL and make?? Is the file automatically created; and, if so, where do I find it? terry Thanks, Michael Extranet [EMAIL PROTECTED] -

Re: trouble loading DBD::Sybase 1.05 on tiger, MacOSX 10.4.4 - problem solved

2006-02-13 Thread Terence J. Young, D.C.
to give myself read write to all included files , set group to admin with read privileges to all included files, set other to read privileges to all included files terry Terence J. Young, D.C. wrote: [EMAIL PROTECTED] wrote: Please post the build log (perl Makefile.PL and make) How

Can gcc 4.0 be used to build DBI modules if perl is bulit with gcc 3.3?

2006-02-06 Thread Terence J. Young, D.C.
Hi, I am have trouble loading DBI, and DBD modules on Tiger. I upgraded to tiger from 10.3.9. perl -V indicates that perl was complied from gcc 3.3xxx. Is there a problem trying to do an install of DBI using gcc 4.0?? The tiger Developer files come with both gcc 3.3 and gcc4.0. If I

Re: Can gcc 4.0 be used to build DBI modules if perl is bulit with gcc 3.3?

2006-02-06 Thread Terence J. Young, D.C.
help, terry Jonathan Leffler wrote: On 2/6/06, Terence J. Young, D.C. [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Jonathan We have loaded Tiger onto several machines here. My production machine still uses 10.39 and I am afraid to upgrade because of the problems we

Re: trouble loading DBD::Sybase 1.05 on tiger, MacOSX 10.4.4

2006-02-01 Thread Terence J. Young, D.C.
Hi, I tried your solution on a newer version (1.07) of the install..it did not help. Here is the output of the make test; this is real show stopper for us..any ideas??? make test PERL_DL_NONLAZY=1 /usr/bin/perl -MExtUtils::Command::MM -e test_harness(0, 'blib/lib', 'blib/arch') t/*.t

trouble loading DBD::Sybase 1.05 on tiger, MacOSX 10.4.4

2006-01-31 Thread Terence J. Young, D.C.
Hi, I had trouble loading DBD::Sybase on MacOSx 10.4.4.. Any ideas boehme:~/DBD-Sybase-1.05_02 boehme$ perl Makefile.PL Sybase OpenClient 12.5.1 ASE Edition found. By default DBD::Sybase 1.05 and later use the 'CHAINED' mode (where available) when 'AutoCommit' is turned off. Versions

Re: Attempt to initiate a new SQL Server operation with results pending.

2005-06-22 Thread Terence J. Young, D.C.
Hi, You should only have to clear the statement if you are fetching a single row or fetching into a set variables. This will happen even if the result set on the backend contains only one record. If you are fetching row by row in a loop, fetching one more time beyond the last record should

Re: DBD::Sybase returns blank character instead of empty string

2005-04-27 Thread Terence J. Young, D.C.
Hi, Actually, when storing an empty string, '', to a varchar, sybase stores it as a space. Some apps provide a setting to strip trailing spaces. terry Rainer J. H. Brandt wrote: Hi, I have stored en empty string in a varchar(255) column of a Sybase ASE. When I retrieve it via $r =

Re: DBD::Sybase::db do failed: Server message number=2762

2004-12-23 Thread Terence J. Young, D.C.
try turning autocommit to 1 (ktrue). Create Table cannot be done within an implied transaction. I believe you will alos have to have chained transactions turned off also. terry Anderson, James (Company IT) wrote: I googled and found a reference to this, but the link was dead :-( There no longer

Re: DBD::Sybase rollback()

2004-10-01 Thread Terence J. Young, D.C.
I have seen something similar when connecting to Sybase using another product, Studio. If Sybase has an unfinished select results table on the back end, subsequent commits or rollbacks will fail unless you do something to clear this table. This situation arises if I do a single fetch(via a

Re: DBD::Sybase and Sybase::CTlib build problems w/ 5.8.1, Solaris, gcc 3.x

2003-10-22 Thread Terence J. Young, D.C.
How is the patch applied?? terry Alan Burlison wrote: However, having said that this is Sybase brokenness, this still obviously needs a fix. The reason I added '-z ignore' in the first place was to make perl load a little faster - when building perl we use the same set of libraries on the

Re: DBI 1.38 / perl 5.8.0 ithreads / Solaris causes segfault

2003-09-05 Thread Terence J. Young, D.C.
How can you tell if threads are enabled? How do you know if you are using 64 bit integers (is this a solaris thing or a Perl thing?) terry Michael Peppler wrote: One of the DBD::Sybase users is reporting that DBD::Sybase segfaults on startup when built with DBI 1.38, perl 5.8.0 with ithreads