Greetings all:

I _finally_ got DBI and Msql_Mysql-modules to compile and work under SCO
OpenServer. I thought I would post my results and findings to the list
for future people attempting this daring feet. Thanks to Zdenek Jager
for his tip on using Skunware Perl, 5.005 (see e-mail below).

Here are my notes:

Installing DBI and Msql-Mysql-modules on SCO OpenServer 5.0.x:

1) Bring down the Skunkware tarball of perl-5.005.tar from the Skunkware
website (http://www.caldera.com). Specifically, perl-5.005.tar.gz. You
will probably have to search through the ftp site to find it.
Note: This is the only Perl I could get to work with the DBI and Mysql
modules. The failing version I tried were Skunkware 5.005_03, 5.005_04,
and I tried compiling my own version of 5.6.1.

2) Move perl-5.005.tar to / and untar

3) Make sure you have gcc 2.95.2 installed

4) Build/test/install Data-Dumper-2.101 Perl module

5) Build/test/install Data-ShowTable-3.3 Perl module

6) Build/test/install DBI-1.20 Perl module

7) Build/test/install Msql-Mysql-modules-1.2216
   a) run perl Makefile.PL
   b) run make
   c) cd mysql
   d) edit Makefile and change occurances of 'LD = ld -G' to 'LD = gcc
-G -fpic'
   e) run make test
   f) if successful, run make install

Notes: All of the above use 'gcc' to compile.

-----Original Message-----
From: Zdenek Jager [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 7:39 AM
To: Scott Powell
Subject: Re: DBI on SCO OpenServer


Hello Scott,

I tried to build Perl with DBI+DBD Oracle module on SCO Open
Server 5.0.5 about half a year ago.

I think my problems comes from building perl ... I used perl 5.6 and
I could'n build this perl with better score than 92% (make test).
I think - but I am not sure - that the main problem is dynamic loading
under SCO OpenServer. With such perl it was inpossible to build
modules as DBI and DBD-Oracle. I tried to use cc (SCO compiler)
and also gcc, but without any better result.

So I tried to load an binary perl from http://www.sco.com/skunkware/
There was about two - three possibilities. I tried all of them, and only
with perl 5.005 and gcc 2.95.2 I could build usable DBI and DBD-Oracle.
(You have to use the same compiler for perl and his modules also). I use
it
(for example for CGI-scripting with intreraction with Oracle) and it
works ok.

Now I am going to tried new SCO OpenServer 5.0.6 with "bundled" perl.
I have to make an new installation of one Oracle server in near future.
But I prefer Linux, there is all much better. I also use Perl with DBI
and DBD-Oracle on RedHat Linux 6.1 with Oracle 8.0.5.

Is it understandable for You? I'm sorry, my English is not very well.

Have You mail to me from John Coy ([EMAIL PROTECTED]) ?

Have a nice time.


Zdenek Jager

GSW, Dlouha 39, Praha 1
Czech Republic
e-mail: [EMAIL PROTECTED]


----------
From: Scott Powell <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: DBI on SCO OpenServer
Date: 22. října 2001 21:44


Hello,

I understand that you were able to get DBI compiled and working on SCO
OpenServer. Could you please enlighten me on how to do this?

Thanks,

Scott Powell
Unix Systems Engineer
H.O. Systems, Inc.
----------


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to