Page 1 of 1

Problem installing into Lazarus 1.0.2 Pallet

Posted: Fri 19 Oct 2012 16:43
by snorkel
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?

Re: Problem installing into Lazarus 1.0.2 Pallet

Posted: Wed 24 Oct 2012 06:12
by snorkel
Anyone from devart know what may be going on with compiling the resources?

Re: Problem installing into Lazarus 1.0.2 Pallet

Posted: Wed 24 Oct 2012 08:44
by ZEuS
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.

Re: Problem installing into Lazarus 1.0.2 Pallet

Posted: Thu 25 Oct 2012 14:59
by snorkel
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.

Re: Problem installing into Lazarus 1.0.2 Pallet

Posted: Fri 26 Oct 2012 02:30
by snorkel
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.

Re: Problem installing into Lazarus 1.0.2 Pallet

Posted: Fri 26 Oct 2012 14:46
by snorkel
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?

Re: Problem installing into Lazarus 1.0.2 Pallet

Posted: Mon 29 Oct 2012 11:39
by AndreyZ
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.

Re: Problem installing into Lazarus 1.0.2 Pallet

Posted: Wed 31 Oct 2012 08:10
by AndreyZ
Thank you for the information. We have fixed this problem. This fix will be included in the next SecureBridge build.

Re: Problem installing into Lazarus 1.0.2 Pallet

Posted: Wed 31 Oct 2012 14:58
by snorkel
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 :-)

Re: Problem installing into Lazarus 1.0.2 Pallet

Posted: Thu 01 Nov 2012 09:03
by AndreyZ
We plan to release SecureBridge next week.