|
Home > Archive > SQL Anywhere for Linux > August 2005 > Perl and SQL any.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Jayvee Vibar 2005-08-26, 3:23 am |
| Hello,
Does anybody had a successful installation of perl and asa on linux? May I
know what specific version/environment are they? I'm no luck with my
environment:
Redhat linux 9
perl v5.8.0
DBD-ASAny-1.1x
ASA 8.0.2.3608
I'm encountering an error during *make*. Right after the command: perl
Makefile.PL . Running make cause the ff. error:
ASAny.xsi: In function `boot_DBD__ASAny':
ASAny.xsi:18: `DBISTATE_INIT' undeclared (first use in this function)
ASAny.xsi:20: `imp_drh_t' undeclared (first use in this function)
ASAny.xsi:21: `imp_dbh_t' undeclared (first use in this function)
ASAny.xsi:22: `imp_sth_t' undeclared (first use in this function)
ASAny.xsi:23: `DBIS' undeclared (first use in this function)
make: *** [ASAny.o] Error 1
Am I missing something? Thanks for any help.
| |
| Greg Fenton 2005-08-26, 9:23 am |
| Jayvee Vibar wrote:
> I'm encountering an error during *make*. Right after the command: perl
> Makefile.PL . Running make cause the ff. error:
>
> ASAny.xsi: In function `boot_DBD__ASAny':
> ASAny.xsi:18: `DBISTATE_INIT' undeclared (first use in this function)
I have DBD::ASAny installed on multiple combinations of Linux and Perl,
and in particular have had a RH 9/Perl 5.8.0/ASA 8.0.2 system.
Prior to your call to Makefile.PL, have you sourced the asa_config.sh
file to ensure that ASA is in your PATH and your LD_LIBRARY_PATH?
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
| |
| Jayvee Vibar 2005-08-29, 8:23 pm |
| Yes, I have run asa_config.sh, prior to calling perl Makefile.PL . Below is
the top most part of error during make. Thanks.
gcc -c -I/opt/asa/include -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-threa
d-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET
_BITS=64 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -g -DVERSION=\"1.1
3\" -DXS_VERSION=\"1.13\" -fPIC
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DUNIX ASAny.c
In file included from ASAny.xs:4:
ASAny.h:3:67: DBIXS.h: No such file or directory
"Greg Fenton" <greg. fenton_NOSPAM_@ianyw
here.com> wrote in message
news:430f0e44@forums
-2-dub...
> Jayvee Vibar wrote:
>
> I have DBD::ASAny installed on multiple combinations of Linux and Perl,
> and in particular have had a RH 9/Perl 5.8.0/ASA 8.0.2 system.
>
> Prior to your call to Makefile.PL, have you sourced the asa_config.sh
> file to ensure that ASA is in your PATH and your LD_LIBRARY_PATH?
>
> greg.fenton
> --
> Greg Fenton
> Consultant, Solution Services, iAnywhere Solutions
> --------
> Visit the iAnywhere Solutions Developer Community
> Whitepapers, TechDocs, Downloads
> http://www.ianywhere.com/developer/
| |
| Greg Fenton 2005-08-30, 3:24 am |
| Jayvee Vibar wrote:
> Yes, I have run asa_config.sh, prior to calling perl Makefile.PL . Below is
> the top most part of error during make. Thanks.
>
How are you running it? Can you show me the exact command you are
using? As well, what shell are you using?
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
| |
| Jayvee Vibar 2005-08-31, 3:23 am |
| Thanks.
## I run asa_config on bash shell like:
. /opt/asa/bin/asa_config.sh
## Then the Makefile.PL like:
perl Makefile.PL
Using DBI 1.32 installed in
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI
Configuring DBD::ASAny ...
Using ASA version 8 in /opt/asa
Using GNU compiler
System: perl5.008 linux stripples.devel.redhat.com 2.4.20-2.48smp #1 smp thu
feb 13 11:44:55 est 2003 i686 i686 i386 gnulinux i386-linux-thread-multi
dl_dlopen.xs
Compiler:
gcc -O2 -march=i386 -mcpu=i686 -g -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_
PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOUR
CE - D_FILE_OFFSET_BITS=6
4 -I/usr/include/gdbm
Using DBI 1.32 installed in
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI
Writing Makefile for DBD::ASAny
## It did not report any error yet. Until running make:
"Greg Fenton" <greg. fenton_NOSPAM_@ianyw
here.com> wrote in message
news:4313d964$1@foru
ms-2-dub...
> Jayvee Vibar wrote:
Below is[color=darkred]
>
> How are you running it? Can you show me the exact command you are
> using? As well, what shell are you using?
>
> greg.fenton
> --
> Greg Fenton
> Consultant, Solution Services, iAnywhere Solutions
> --------
> Visit the iAnywhere Solutions Developer Community
> Whitepapers, TechDocs, Downloads
> http://www.ianywhere.com/developer/
| |
| Greg Fenton 2005-08-31, 11:23 am |
| Jayvee Vibar wrote:
> In file included from ASAny.xs:4:
> ASAny.h:3:67: DBIXS.h: No such file or directory
>
This sounds like a DBI problem (DBIXS.h). Could you try upgrading or
re-installing your DBI module?
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
|
|
|
|
|