revOpenDatabase on Linux - works in IDE, broken in standalone - how do I fix?

Ben Rubinstein benr at cogapp.com
Mon Jan 12 05:09:05 EST 2009


Ah, I see what you mean now - unfortunately this is already what I do.  But 
good to know that you've at least got MySQL working in standalones on Linux.

thanks,

Ben

Riccardo wrote:
> Hi Ben
> 
> In standalone settings you have to unselect the "search for required 
> inclusions ..." option and so you have to select the "select inclusions 
> ..." option. Then you check the database support and you select all the 
> drivers. You have to select the other libraries too.
> 
> 
> Riccardo
> Inviato da iPhone
> 
> Il giorno 11/gen/09, alle ore 18:20, Ben Rubinstein <benr at cogapp.com> ha 
> scritto:
> 
>> Riccardo,
>>
>> Thanks for your reply - can you give me any more details?  If I 
>> uncheck the database inclusions in the standalone, what do I then need 
>> to do manually in order to enable revOpenDatabase?
>>
>> Many thanks,
>>
>> Ben
>>
>> Riccardo wrote:
>>> You can try not use the automatic inclusion of the library in the 
>>> standalone settings. I have solved in this way the same problem with 
>>> mysql.
>>> Riccardo
>>> Inviato da iPhone
>>> Il giorno 09/gen/09, alle ore 17:22, Ben Rubinstein 
>>> <benr_mc at cogapp.com> ha scritto:
>>>> Accessing PostgreSQL database on Linux.  Works in IDE; using 
>>>> standalone,
>>>> throws error in revOpenDatabase. (219: Function: error in function 
>>>> handler).
>>>>
>>>> Works in both 2.9 and 3.0 in IDE; fails in standalone built from 
>>>> either.
>>>>
>>>> Looking at the Externals folder of the standalone, in both I get:
>>>>
>>>>  revxml.so
>>>>  [database_drivers]
>>>>      dbmysql.so
>>>>      dbodbc.so
>>>>      dbpostgresql.so
>>>>
>>>> Whereas looking at the actual Rev installation (ie "2.9.0-gm-1" or
>>>> "3.0.0-gm-3") the Externals folder looks like this:
>>>>
>>>>  Externals.txt
>>>>  revdb.so
>>>>  revxml.so
>>>>  revzip.so
>>>>  [database_drivers]
>>>>      dbmysql.so
>>>>      dbodbc.so
>>>>      dbpostgresql.so
>>>>
>>>> So I copied the extra .so files, and the Externals.txt file, over to 
>>>> the
>>>> standalone installation - that didn't fix it.
>>>>
>>>> Please help!
>>>>
>>>> TIA,
>>>>
>>>> - Ben





More information about the use-livecode mailing list