Lazarus

Installation => Windows (32/64) => Topic started by: MaartenW on May 03, 2015, 12:13:12 pm

Title: Zcomponent missing (Lazarus 1.4)
Post by: MaartenW on May 03, 2015, 12:13:12 pm
After uninstalling Lazarus 1.2.6, and cleaning the Lazarus directory, I installed Lazarus 1.4.
When opening Lazarus after this installation, the message
Quote
"Unable to open the package "zcomponent",
This package was marked for installation."
What should I do to get zcomponent installed?
Title: Re: Zcomponent missing (Lazarus 1.4)
Post by: taazz on May 03, 2015, 01:06:08 pm
install zeos controls I think
Title: Re: Zcomponent missing (Lazarus 1.4)
Post by: MaartenW on May 03, 2015, 02:05:57 pm
Should the zeos controls be in the install, or is it a separate download?
Zcomponent is needed for LazReport (lr_zeosdb.lpk), but not included.
Title: Re: Zcomponent missing (Lazarus 1.4)
Post by: taazz on May 03, 2015, 02:32:49 pm
Should the zeos controls be in the install, or is it a separate download?
Zcomponent is needed for LazReport (lr_zeosdb.lpk), but not included.
As the name suggests it is a package that adds support for the zeos components in to lazreport. If you are not using zeos components there is no reason to install it and if you do use them then you already have them installed and no problem will arise from using it. So no lazreport should not share zeos components but they should stop sharing the zeos support for lazreport and donate it to zeos components instead.
Title: Re: Zcomponent missing (Lazarus 1.4)
Post by: MaartenW on May 03, 2015, 03:04:48 pm
Thanks!
Downloaded and installed Zcomponent from ZEOS.
Lazarus doesn't complain no more :), nor me ;).
Title: Re: Zcomponent missing (Lazarus 1.4)
Post by: exdatis on May 03, 2015, 03:13:40 pm
An interesting article: http://wiki.freepascal.org/Multiple_Lazarus
Title: Re: Zcomponent missing (Lazarus 1.4)
Post by: oghz on January 21, 2022, 03:18:27 pm
Thanks!
Downloaded and installed Zcomponent from ZEOS.
Lazarus doesn't complain no more :), nor me ;).

Hello, pls can you help with a guide on how to install the zcomponent, see what i did below.

I downloaded the zcomponent zip from Sourceforge
2. extracted the Lazarus folder to Lazarus/components/zcomponent
3. i opened the lpk file in Lazarus to compile and got some errors, see attached picture

Title: Re: Zcomponent missing (Lazarus 1.4)
Post by: wp on January 21, 2022, 03:30:18 pm
The ZEOS component consists of several packages, and when you install zcomponents.lpk first the IDE does not know where the others are.

In "Packages" > "Open Package file", open first zcore.lpk, then zplain.lpk, then zparsesql.lpk, then zdbc.lpk - just "open", no need to "compile" nor "install". Finally open zcomponent.lpk and select "use" > "install". Now it should work.

The easier way is to use the Online-Package-Manager (in menu "Package"): scroll down the list, check ZeosDBO, click Install and answer the few questions. Wait until the IDE is rebuilt.

You will get version 7.2.14 of ZEOS this way. If you need the latest development version (some v8.x) you must do the steps as described above.
Title: Re: Zcomponent missing (Lazarus 1.4)
Post by: oghz on January 21, 2022, 04:07:25 pm
Thanks for the suggestion,

I tried that now and got another error

Quote
Compile package zcore 7.2.14: Exit code 1, Errors: 1
zcore.pas(11,3) Fatal: Cannot find ZClasses used by zcore. Check search path of package zcore, try a clean rebuild, check implementation uses sections..
Compile package ChmHelpPkg 0.2.1: Aborted
Compile package DateTimeCtrlsDsgn 1.5.1: Aborted
Compile package DBFLaz 0.1.1: Aborted

I cannot find any file names ZClasses in the zcomponent folder
Title: Re: Zcomponent missing (Lazarus 1.4)
Post by: wp on January 21, 2022, 04:20:29 pm
What is your Lazarus/FPC version? You seem to be on Windows, aren't you?
Title: Re: Zcomponent missing (Lazarus 1.4)
Post by: Handoko on January 21, 2022, 04:32:16 pm
Recent versions of Lazarus has Online Package Manager, which will help you install packages easily:
Lazarus main menu > Package > Online Package Manager
TinyPortal © 2005-2018