Sign in Join

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

Mailing lists / lazarus / 2003-08

PostgreSQL Components

12 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Unknown author
to Thomas Edwin Santosa: I'm a newbie. I'm using Lazarus 0.9.0beta and freepascal 1.0.10 and Redhat Linux 8.0. How…
Thomas Edwin Santosa wrote 10 lines
Hi, I'm a newbie. I'm using Lazarus 0.9.0beta and freepascal 1.0.10 and Redhat Linux 8.0. How do I connect to PostgreSQL 7.3? I have read the postgres (?) unit. But it looks more to a non datasource compatible (cmiiw). Where can I find any good component to connect to Postgre compatible with TDatasource?

There is none that I know of. If you find one that works with Delphi, it shouldn't be too hard to get it to work with FPC, though.

Michael.

Reply by email

Marc Weustink
to le_barbu: I'm a new "pascaliste" (in french in the text:-) I began pascal with delphi and kylix but…
le_barbu wrote 7 lines
I'm a new "pascaliste" (in french in the text:-) I began pascal with delphi and kylix but i would continue with lazarus. but that's not all! i would help in the project... the only problem is that i can't compile anything with lazarus! a simple frame does not compile! and when i try to add a package, i need to compile lazarus and it does not compile too... i have "/tmp/projext1.lpr(6,13) Fatal: can't find unit INTERFACES

How do you compile it ?

Marc

_________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

le_barbu
to Marc Weustink: How do you compile it ? Marc

ok, i didn't understand the question, here it is:

-Rintel -S2cgi -CD -Ch8000000 -OG1P1 -Tlinux -gl -XD -vewnhi -l -Fu$(LazarusDir)/lcl/units -Fu$(LazarusDir)/lcl/units/$(LCLWidgetType)

Le Lundi 11 Ao�t 2003 23:12, Marc Weustink a �crit :

Show quoted text 13 lines
At 22:59 11-8-2003 +0200, le_barbu wrote: >I just click on the 'run' button. Have you set the Lazarus dir in Environment options ? If yes what does Run->Compiler options -> show options show ? Marc _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Thomas Edwin Santosa
to Marc Weustink: Have you set the Lazarus dir in Environment options ? If yes what does Run->Compiler…

Hi,

I'm a newbie.
I'm using Lazarus 0.9.0beta and freepascal 1.0.10 and Redhat Linux 8.0.

How do I connect to PostgreSQL 7.3? I have read the postgres (?) unit. But it looks more to a non datasource compatible (cmiiw).

Where can I find any good component to connect to Postgre compatible with TDatasource?

Thanks in advance.
Thomas Edwin Santosa

Reply by email

le_barbu
to Marc Weustink: How do you compile it ? Marc

I just click on the 'run' button.

Le Lundi 11 Ao�t 2003 22:27, Marc Weustink a �crit :

Show quoted text 22 lines
At 20:43 11-8-2003 +0200, le_barbu wrote: >I'm a new "pascaliste" (in french in the text:-) >I began pascal with delphi and kylix but i would continue with lazarus. >but that's not all! i would help in the project... the only problem is > that i can't compile anything with lazarus! a simple frame does not > compile! and when i try to add a package, i need to compile lazarus and > it does not compile too... >i have "/tmp/projext1.lpr(6,13) Fatal: can't find unit INTERFACES How do you compile it ? Marc >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Marc Weustink
to le_barbu: yes, it does... :-(... Le Mardi 12 Ao�t 2003 00:00, Marc Weustink a �crit :

+ From: le_barbu
+ Sent: dinsdag 12 augustus 2003 0:14
+
+ yes, it does...
+
+ :-(...

Pfff..... eehh...

what if you try to compile tor app manually with:

fpc -Rintel -S2cgi -CD -Ch8000000 -OG1P1 -Tlinux -gl -XD -vewnhi -l \ -FuYour_LazarusDir_Here/lcl/units \
-FuYour_LazarusDir_Here/lcl/units/gtk your_project.lpr

and if this also doesn't work, what is the output of

fpc -vut -FuYour_LazarusDir_Here/lcl/units \
-FuYour_LazarusDir_Here/lcl/units/gtk your_project.lpr

The last one gives a very detailed output about searchpaths and so.

Marc

Reply by email

le_barbu
to Marc Weustink: Have you set the Lazarus dir in Environment options ? If yes what does Run->Compiler…

yes, it does...

:-(...

Le Mardi 12 Ao�t 2003 00:00, Marc Weustink a �crit :

Show quoted text 26 lines
Le Lundi 11 Ao�t 2003 23:12, Marc Weustink a �crit : > At 22:59 11-8-2003 +0200, le_barbu wrote: > >I just click on the 'run' button. > > Have you set the Lazarus dir in Environment options ? > If yes what does Run->Compiler options -> show options show ? At 23:39 11-8-2003 +0200, le_barbu wrote: >ok, i didn't understand the question, here it is: > >-Rintel -S2cgi -CD -Ch8000000 -OG1P1 -Tlinux -gl -XD -vewnhi -l >-Fu$(LazarusDir)/lcl/units -Fu$(LazarusDir)/lcl/units/$(LCLWidgetType) Hmmm... does interfaces.ppu exist in $(LazarusDir)/lcl/units/gtk I assume you've set the widgettype to GTK Marc _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

le_barbu

I'm a new "pascaliste" (in french in the text:-)
I began pascal with delphi and kylix but i would continue with lazarus. but that's not all! i would help in the project... the only problem is that i can't compile anything with lazarus! a simple frame does not compile! and when i try to add a package, i need to compile lazarus and it does not compile too...
i have "/tmp/projext1.lpr(6,13) Fatal: can't find unit INTERFACES

Reply by email

le_barbu
to Marc Weustink: How do you compile it ? Marc

the dir in the env options is correctly set (i think...) and the compiler options are set to:
other units:
$(LazarusDir)/lcl/units;$(LazarusDir)/lcl/units/$(LCLWidgetType)

other sources:
$(LazarusDir)/lcl;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType)

pathes to compile:
$(CompPath)

other fields are empty...

PS: thx for trying to find problem and sorry for my english but i'm french :-))

Le Lundi 11 Ao�t 2003 23:12, Marc Weustink a �crit :

Show quoted text 13 lines
At 22:59 11-8-2003 +0200, le_barbu wrote: >I just click on the 'run' button. Have you set the Lazarus dir in Environment options ? If yes what does Run->Compiler options -> show options show ? Marc _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gif00003.gif
Type: application/octet-stream
Size: 743 bytes
Desc: ""
Url : http://localhost/pipermail/lazarus/attachments/20030811/fe056387/gif00003.obj

Reply by email

Marc Weustink
to Marc Weustink: Have you set the Lazarus dir in Environment options ? If yes what does Run->Compiler…

Le Lundi 11 Ao�t 2003 23:12, Marc Weustink a �crit :

Show quoted text 6 lines
At 22:59 11-8-2003 +0200, le_barbu wrote: >I just click on the 'run' button. Have you set the Lazarus dir in Environment options ? If yes what does Run->Compiler options -> show options show ?
le_barbu wrote
ok, i didn't understand the question, here it is: -Rintel -S2cgi -CD -Ch8000000 -OG1P1 -Tlinux -gl -XD -vewnhi -l -Fu$(LazarusDir)/lcl/units -Fu$(LazarusDir)/lcl/units/$(LCLWidgetType)

Hmmm...
does interfaces.ppu exist in $(LazarusDir)/lcl/units/gtk

I assume you've set the widgettype to GTK

Marc

Reply by email

Thomas Edwin Santosa
to Unknown author: There is none that I know of. If you find one that works with Delphi, it shouldn't be too…

Umm,

Can I have some articles about porting Delphi components to Lazarus? (Links are welcome).

Thanks.

Show quoted text 9 lines
> Where can I find any good component to connect to Postgre compatible > with TDatasource? There is none that I know of. If you find one that works with Delphi, it shouldn't be too hard to get it to work with FPC, though. Michael.

Reply by email