Sign in Join

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

Mailing lists / lazarus / 2010-02

fpspreadsheet and build errors

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Roberto Padovani

Is anyone using fpspreadsheet with the newest lazarus 0.9.28.2 under win32? First of all I cannot find it anymore on sourceforge lazarus CCR (and I cannot access a svn server), so i am using a version I already had. Where can I get the package now?

Since I started trying to install it, everything has become a mess. I had troubles rebuilding lazarus+ide (the old times "Cannot find LazpackageIntf" was ressurected !! a nightmare for me!) After uninstalling and installing and rebuild a few times, that error stopped, but now even if I
- open the .lpk package file
- compile it
- mark it for install
- rebuild lazarus
It ends up saying that it cannot find the package. If I a remove it from the list, then the build finishes correctly.

Can anyone suggest something ?

Thanks a lot,

Roberto

Reply by email

JoshyFun
to Roberto Padovani

Hello Lazarus-List,

Thursday, February 4, 2010, 6:13:36 PM, you wrote:

RP> Is anyone using fpspreadsheet with the newest lazarus 0.9.28.2 under win32? RP> First of all I cannot find it anymore on sourceforge lazarus CCR (and RP> I cannot access a svn server), so i am using a version I already had. RP> Where can I get the package now?

I'm using it with Lazarus 0.9.29 SVN under win32 and Linux.

You can get a tarball using:

http://lazarus-ccr.svn.sourceforge.net/viewvc/lazarus-ccr/components/fpspreadsheet.tar.gz?view=tar

RP> Since I started trying to install it, everything has become a mess. RP> I had troubles rebuilding lazarus+ide (the old times "Cannot find RP> LazpackageIntf" was ressurected !! a nightmare for me!) RP> After uninstalling and installing and rebuild a few times, that error RP> stopped, but now even if I
RP> - open the .lpk package file
RP> - compile it
RP> - mark it for install
RP> - rebuild lazarus
RP> It ends up saying that it cannot find the package. If I a remove it RP> from the list, then the build finishes correctly. RP> Can anyone suggest something ?

This kind of problems usually are solved with a "full rebuild", so go to "Tools -> Configure Build Lazarus -> Advanced settings" put all selectable radio buttons in "Clean+Build" and select the check boxes "Clean" and "With packages" and perform the rebuild.

The "can not find LazPackageIntf" usually is resolved by this mode, it has a logic but quite complex to explain.

If you are still unable to install it I'll download 0.9.28.2 and try to do so, but please first try the full rebuild.

Best regards, JoshyFun

Reply by email

Roberto Padovani
to JoshyFun

with the snapshot Lazarus-0.9.28.3-23634-fpc-2.4.0-20100205-win32.exe and by installing in a new location on my HD, everything went fine with fpspreadsheet.

Now I can't compile CPortLaz, but I'm opening a new thread on that.

Roberto

2010/2/4 JoshyFun :

Show quoted text 50 lines
Hello Lazarus-List, Thursday, February 4, 2010, 6:13:36 PM, you wrote: RP> Is anyone using fpspreadsheet with the newest lazarus 0.9.28.2 under win32? RP> First of all I cannot find it anymore on sourceforge lazarus CCR (and RP> I cannot access a svn server), so i am using a version I already had. RP> Where can I get the package now? I'm using it with Lazarus 0.9.29 SVN under win32 and Linux. You can get a tarball using: http://lazarus-ccr.svn.sourceforge.net/viewvc/lazarus-ccr/components/fpspreadsheet.tar.gz?view=tar RP> Since I started trying to install it, everything has become a mess. RP> I had troubles rebuilding lazarus+ide (the old times "Cannot find RP> LazpackageIntf" was ressurected ?!! a nightmare for me!) RP> After uninstalling and installing and rebuild a few times, that error RP> stopped, but now even if I RP> - open the .lpk package file RP> - compile it RP> - mark it for install RP> - rebuild lazarus RP> It ends up saying that it cannot find the package. If I a remove it RP> from the list, then the build finishes correctly. RP> Can anyone suggest something ? This kind of problems usually are solved with a "full rebuild", so go to "Tools -> Configure Build Lazarus -> Advanced settings" put all selectable radio buttons in "Clean+Build" and select the check boxes "Clean" and "With packages" and perform the rebuild. The "can not find LazPackageIntf" usually is resolved by this mode, it has a logic but quite complex to explain. If you are still unable to install it I'll download 0.9.28.2 and try to do so, but please first try the full rebuild. -- Best regards, ?JoshyFun -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

JoshyFun

Hello Lazarus-List,

Friday, February 5, 2010, 10:55:54 AM, you wrote:

RP> I tried a full clean+rebuild a dozen times.
RP> I also uninstalled everything and reinstalled again and this happened: RP> - the attached screenshot appeared
RP> - I edited the option to ..path..\fpc\2.4.0\source\ RP> - doing a full rebuild a after fresh install, the build failed because RP> "fpspreadsheet was marked for installation but it could find it" RP> my question is: where did it take the information about fpspreadsheet RP> ??? is there anything left in the registry ? or a config file in a RP> system directory ?

Looks like you have moved the original situation of fpspreadsheet package, so you installed somewhere and now it is in another folder so you must uninstall it from the package manager and then open the .lpk file from the folder where it is located now.

RP> - same thing happens with the package "CPortLaz" ... in this fresh RP> install I did not ask it to be installed, but the build failed because RP> lazarus tried tu build it and it could find it.

After a clean+rebuild packages are still installed (in fact Lazarus only known that a package X is located at folder Y). There is a config file that holds that information and you can un/install them from the package manager.

RP> I am a little lost.... how can I clean up my system??!!??

A good technique is use the --primary-config-path= parameter so you know exactly where Lazarus stores its config and this way you can have 2 or more completly independent copies of Lazarus (in example the last stable and the SVN one) simply setting this parameter to a different path. I think the same effect in Windows can be achieved using different usernames, one for last stable and one for SVN as in the example.

Best regards, JoshyFun

Reply by email

JoshyFun

Hello Lazarus-List,

you wrote 7 lines
> A good technique is use the --primary-config-path= parameter so you > know exactly where Lazarus stores its config and this way you can have > 2 or more completly independent copies of Lazarus (in example the last > stable and the SVN one) simply setting this parameter to a different > path. I think the same effect in Windows can be achieved using > different usernames, one for last stable and one for SVN as in the > example.

RP> what do you mean with different username?

Windows user name. When you log in your windows it asks you for an user name and a password. Using a different user name for each Lazarus should solve the configuration conflicts as each Lazarus should store the configuration in a folder dependent to the user name.

Best regards, JoshyFun

Reply by email