Linux Database Drivers Missing

Creating desktop or client-server database solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ghettocottage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 366
Joined: Tue Apr 10, 2012 9:18 am

Linux Database Drivers Missing

Post by ghettocottage » Sat Mar 07, 2015 7:50 am

Hello all. I am a beginner, so bear with me.

I have an application I am working on that connects to a mysql database. Things are working fine on the IDE, but when I export it as a standalone, I get an error message that the Drivers were not found for Linux.

Are those located somewhere that I need to make a path to?

Also, in the IDE I reference a couple of bash scripts using a complete path /home/me/livecode/database_project/bashscript

In the export as standalone settings, I have told it to save those file...which it does. But the standalone does not seem to be referencing them properly. I tried chaning the path to just bashscript but that does not seem to work.

Any advice or clues?

ghettocottage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 366
Joined: Tue Apr 10, 2012 9:18 am

Re: Linux Database Drivers Missing

Post by ghettocottage » Mon Mar 09, 2015 3:43 am

OK. I found where the database files are (~/.runrev/components/livecodecommunity-7.0.0 (x86)/Externals/Database Drivers) but still not able to make my standalone application with the drivers.

Is there a setting somewhere to tell livecode where those drivers should be?


I have managed to figure out why my bash scripts were not working in my standalone: when saving for linux 64, it puts it into a folder calle "linux x64"

That space in between linux and x64 was throwing things off quite a bit. Not sure why it would save anything for linux into a folder with a space in the name, but once I figured that out, I renamed the folder and then my standalone was able to access external files properly.


Now if I can just figure out what is happening with the drivers..

Klaus
Posts: 13878
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Linux Database Drivers Missing

Post by Klaus » Mon Mar 09, 2015 1:52 pm

Hi ghettocottage,

LC should add the externals automatically when builidng a standalone!
You DID check "Database Support" etc. in the standalone builder setting, right?


Best

Klaus

ghettocottage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 366
Joined: Tue Apr 10, 2012 9:18 am

Re: Linux Database Drivers Missing

Post by ghettocottage » Mon Mar 09, 2015 3:10 pm

Hi Klaus,

Thank you for responding.

Yes, I did check "Database Support". Underneath that checkbox is a little window that gives me a tool-tip that says "Choose one more more database drives to include"
However, that window is empty. I am not seeing a way to add anything to it. So far I have tried:

just including the database drivers as non-stack files
including the database drivers in the same folder as the stack I am building
including the database drivers in the Externals folder
burning one white chicken in honour of the Livecode Gods

none of those seems to have helped.

Klaus
Posts: 13878
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Linux Database Drivers Missing

Post by Klaus » Mon Mar 09, 2015 3:18 pm

Hm, sound like an incomplete installation?
We are currently at LC 7.03, could you please install and test again with that version?
http://downloads.livecode.com/livecode/

ghettocottage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 366
Joined: Tue Apr 10, 2012 9:18 am

Re: Linux Database Drivers Missing

Post by ghettocottage » Mon Mar 09, 2015 8:41 pm

Alrighty...I uninstalled the Community Version (I think it was 7.01) and installed the 7.03 version. I was still having issues with the stack I had built, but on a whim I created a new blank stack and looked at the standalone application settings, and lo there were the db drivers nicely listed where you would expect.

Saving the new stack as a standlone finishes without any errors.

Fortunately I just have a few scripts on my previously built stack, so it should not be a problem to move everything over to a new stack...although I wish I could just jiggle something to get it to work correctly.

Thanks Klaus, for pointing me in the direction of reinstalling the newer version.

Post Reply

Return to “Databases”