Recent

Author Topic: sqlite errors  (Read 2017 times)

BLL

  • Sr. Member
  • ****
  • Posts: 276
sqlite errors
« on: December 16, 2017, 10:07:43 am »
Hi,
I am trying to install weblaz into lazarus 1.7 on my RasPi 3.

I am getting an error message:

Compile package SQLDBLaz 1.0.2: Exit code 256, Errors: 1
ibconnection.pp(12,3) Fatal: Cannot find ibase60dyn used by IBConnection.

I have looked in the components directory but I don't see any IB...
I am therefore stuck.

Can anyone help me please?

Thanks

Brian
« Last Edit: December 16, 2017, 10:17:57 am by BLL »

Cyrax

  • Hero Member
  • *****
  • Posts: 836
Re: sqlite errors
« Reply #1 on: December 16, 2017, 12:45:25 pm »
Which FPC version you are using in your RasPi?

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: sqlite errors
« Reply #2 on: December 16, 2017, 12:50:16 pm »
IB is not available for the raspberry pi.  (Luckily, it is an extremely bad choice for an embedded database)
Suggest to use Sqlite (for embedded), MySql or MariaDb
If weblaz uses interbase or firebird or derivatives they should be flocked and change it to a mainstream solution ASAP.
« Last Edit: December 16, 2017, 12:54:52 pm by Thaddy »
Specialize a type, not a var.

BLL

  • Sr. Member
  • ****
  • Posts: 276
Re: sqlite errors
« Reply #3 on: December 16, 2017, 04:51:31 pm »
Hi
Thanks for the replies. I am using fpc 3.0.0.

My reason for installing weblaz was to follow the tutorial: 'Creating a simple webserver in Lazarus by Michaël Van Canneyt.' Are you saying that weblaz can't be used with lazarus on the RasPi simply because this IB isn't available?

What I am trying to do is add a very simple web server to my lazarus program. It only needs to be very simple, so I can remotely retrieve a small file of data.

I have never done anything with web servers before so I am very much a beginner at this. I have searched the web for simple examples but there's not much there.

Brian

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: sqlite errors
« Reply #4 on: December 16, 2017, 05:19:49 pm »
IB is not available, but is a database engine. It can be changed in weblaz to any other dbms engine you like.
It is simply that in the example Firebird was used as a database engine. You can change that to sqlite.
Specialize a type, not a var.

BLL

  • Sr. Member
  • ****
  • Posts: 276
Re: sqlite errors
« Reply #5 on: December 16, 2017, 05:27:55 pm »
Hi Thaddy

Thanks for the reply, but I don't get it. I can't, at the moment install weblaz, so this is what I need to sort. What do I have to do and where to weblaz, so it will install?

As I say, I am all new to this and so what is obvious to you is not so for me!!

Thanks

Brian

 

TinyPortal © 2005-2018