|
Home > Archive > SQL Anywhere for Linux > August 2005 > Re: Perl or PHP with ASA [SOLVED]
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]
| Author |
Re: Perl or PHP with ASA [SOLVED]
|
|
| Gary MacKay 2005-08-30, 7:23 am |
| Greg Fenton wrote:
> Gary MacKay wrote:
>
>
>
> How did you source the file?
>
> greg.fenton
OK, figured it out. I started tracing through the Makefile.pl script and putting print statements everywhere. It find my ASANY env variable just fine. It was dieing because it was looking for 'dbeng8' and not finding it. I did not have any server stuff in
stalled, only client. I put the missing dbeng8 file in the /opt/sybase/SYBSsa8/bin folder and wha-la, it compiled fine. Now to see if it works.....
BTW: I had to do a force only because it tried to log into the asademo.db which I do not have running. If I did, it would be on the other SQL server box, not this one. How would I tell the perl CPAN script to look there instead?
- Gary
| |
| Greg Fenton 2005-08-30, 9:25 am |
| Gary MacKay wrote:
>
> It was dieing because it was looking for 'dbeng8' and not finding
> it.
Ah, right. The "test" target of the make file attempts to connect to
the asademo database and run a bunch of tests. This is documented in
the README of the module, point #2:
http://cpan.uwinnipeg.ca/htdocs/DBD-ASAny/README.html
As you mentioned, doing a force will have the install succeed. This is
because it will ignore any errors during the "make test" phase.
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
|
|
|
|
|