Problem installing into Lazarus 1.0.2 Pallet

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Problem installing into Lazarus 1.0.2 Pallet

Post by snorkel » Fri 19 Oct 2012 16:43

Hi,
I have been using the PGdac components in Lazarus via code only, and today I decided to
install in the pallet, so I opened package dclpgdac10 and clicked install.
It compiled ok, but crashed on compiling the resources:

Compiling resource C:\lazarus\units\i386-win32\win32\lazarus.or
C:\lazarus\ide\lazarus.pp(133,1) Error: Error while compiling resources. Compile with -vd for more details. Check for duplicates.
C:\lazarus\ide\lazarus.pp(133,1) Fatal: There were 1 errors compiling module, stopping

I checked the permissions on the dir and my user account has full access. This is on Laz 1.0.2 (32bit) on windows 7 64bit

I also compiled with the -vd flags but it did not give any more info.

Any Ideas?

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: Problem installing into Lazarus 1.0.2 Pallet

Post by snorkel » Wed 24 Oct 2012 06:12

Anyone from devart know what may be going on with compiling the resources?

ZEuS
Devart Team
Posts: 240
Joined: Thu 05 Apr 2012 07:32

Re: Problem installing into Lazarus 1.0.2 Pallet

Post by ZEuS » Wed 24 Oct 2012 08:44

Unfortunatelly, we can not reproduce the problem with installing PgDAC in Lazarus 1.0.2.
First, check if the Lazarus IDE can be rebuilt at all, without using PgDAC packages:
1. Select the "Packages -> Install/Uninstall Packages..." menu item;
2. In the appeared window, remove all *dac*10 packages from the "Install" list by double-clicking on them;
3. Press the "Save and rebuild IDE" button and then press the "Continue" button in the next window.

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: Problem installing into Lazarus 1.0.2 Pallet

Post by snorkel » Thu 25 Oct 2012 14:59

Hi,
Yes it can be rebuilt as I routinely rebuild it with QT as the widget set.
I also made sure the permissions were correct.

I will hack around with it some more and see if I can get it to install.

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: Problem installing into Lazarus 1.0.2 Pallet

Post by snorkel » Fri 26 Oct 2012 02:30

Just a update, I tried to install the package on a completely different PC running
kubuntu 32bit with Laz 1.0.2 and get the exact same error:

"Compiling package dclpgdac10 3.5.9" completed
Compiling resource /home/snorkel/.lazarus/units/i386-linux/gtk2/lazarus.or
/usr/share/lazarus/1.0.2/ide/lazarus.pp(133,1) Error: Error while compiling resources. Compile with -vd for more details. Check for duplicates.
/usr/share/lazarus/1.0.2/ide/lazarus.pp(133,1) Fatal: There were 1 errors compiling module, stopping

It compiles ok, but bombs out when compiling the resources file.

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: Problem installing into Lazarus 1.0.2 Pallet

Post by snorkel » Fri 26 Oct 2012 14:46

Ok, I think I found the problem.
It seems to be related to having Securebridge 5.0 installed.
I tried a third time on my laptop which did not have Sbridge 5.0 installed and it worked.
I then installed Securebridge 5.0 on the PC which worked and it failed with the same
error that PGdac gave on the other two PCs. All the PCs that failed had Securebridge installed in the pallet. Installs fine without SecureBridge installed.

Any chance of getting a update out that works with Securebridge 5.0 on Lazarus?

AndreyZ

Re: Problem installing into Lazarus 1.0.2 Pallet

Post by AndreyZ » Mon 29 Oct 2012 11:39

Thank you for the information. We have reproduced the problem and the investigation is in progress. We will notify you when we have any results.

AndreyZ

Re: Problem installing into Lazarus 1.0.2 Pallet

Post by AndreyZ » Wed 31 Oct 2012 08:10

Thank you for the information. We have fixed this problem. This fix will be included in the next SecureBridge build.

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: Problem installing into Lazarus 1.0.2 Pallet

Post by snorkel » Wed 31 Oct 2012 14:58

Cool, are you guys going to put out the update sooner than later?
Just wondering as I am going to be porting a Delphi App to Lazarus that uses
both Sbridge and PGdac, so I need them both installed in the pallet.

Thanks for the great Lazarus support :-)

AndreyZ

Re: Problem installing into Lazarus 1.0.2 Pallet

Post by AndreyZ » Thu 01 Nov 2012 09:03

We plan to release SecureBridge next week.

Post Reply