Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-02

SQLdb tab

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

David W Noon

I am running Lazarus 0.9.26 under Gentoo Linux 2.6.27 using gtk2 widgets.

The Lazarus IDE did not have a SQLdb tab when I first installed it (using a Gentoo ebuild). I looked in /usr/share/lazarus[/components, etc.] and found that the units had not been built; after some experimentation I managed to get the "bigidecomponents" target built. This caused the SQLDBlaz package in the "Installed Packages" dialogue to change from a version of 0.0 to 1.0.1, so I had hoped that installing it from the dialogue and restarting Lazarus would cause the SQLdb tab to appear. It didn't.

I noticed that the .o & .ppu files built by the "make bigidecomponents" were not copied or moved to /usr/share/lazarus/units/i386-linux. Since the IDE picked up the version change correctly, I have assumed that it was not necessary to copy them there.

So, what have I missed?

Regards, Dave [RLU #314465] ======================================================================= (David W Noon) =======================================================================

Reply by email

Graeme Geldenhuys
to David W Noon
David W Noon wrote
experimentation I managed to get the "bigidecomponents" target built. This caused the SQLDBlaz package in the "Installed Packages" dialogue to

What I do is as follows:

* Packages | "Open package file (*.lpk)"
* Then browse to the components/sqldb/ directory
* select "sqldblaz.lpk"
* In the new dialog, click "Compile"
* Then click "Install"
* Lazarus should now restart and you should see the SqlDB tab.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

David W Noon
to Graeme Geldenhuys
Graeme Geldenhuys wrote 13 lines
On Tue, Feb 17, 2009 at 11:33 PM, David W Noon wrote: > experimentation I managed to get the "bigidecomponents" target built. > This caused the SQLDBlaz package in the "Installed Packages" dialogue to What I do is as follows: * Packages | "Open package file (*.lpk)" * Then browse to the components/sqldb/ directory * select "sqldblaz.lpk" * In the new dialog, click "Compile" * Then click "Install" * Lazarus should now restart and you should see the SqlDB tab.

That worked a treat. Many thanks, Graeme.

Regards, Dave [RLU #314465] ======================================================================= (David W Noon) =======================================================================

Reply by email

David W Noon
to David W Noon
David W Noon wrote 17 lines
On Wed, 2009-02-18 at 10:43 +0200, Graeme Geldenhuys wrote: > On Tue, Feb 17, 2009 at 11:33 PM, David W Noon > wrote: > > experimentation I managed to get the "bigidecomponents" target built. > > This caused the SQLDBlaz package in the "Installed Packages" dialogue to > > What I do is as follows: > > * Packages | "Open package file (*.lpk)" > * Then browse to the components/sqldb/ directory > * select "sqldblaz.lpk" > * In the new dialog, click "Compile" > * Then click "Install" > * Lazarus should now restart and you should see the SqlDB tab. That worked a treat. Many thanks, Graeme.

Just as an FYI:

The above method installed the updated Lazarus under my home directory. To make the SQLdb tab universally accessible, one can build (as root) the main Lazarus program using:

cd /usr/share/lazarus
make clean bigide LCL_PLATFORM=gtk2 {or qt, or whatever}

This will also make the RTTI and IPro tools available.

It would be nice if this were documented in the README.txt file that is included in the Lazarus bundle.

Regards, Dave [RLU #314465] ======================================================================= (David W Noon) =======================================================================

Reply by email