Recent

Author Topic: ZVDateTimeControls 1.4.1 Install Problem  (Read 8312 times)

Windsurfer

  • Sr. Member
  • ****
  • Posts: 368
    • Windsurfer
ZVDateTimeControls 1.4.1 Install Problem
« on: September 04, 2013, 05:46:16 pm »
I am running laz 1.0.12 win32 under Windows 8.

I have followed all the advice from Zoran that I can find plus a few more, as both a user and as administrator.

Uninstall laz from control panel.
Delete config folder.
Delete all references using CCleaner.
Delete anything left.
Reinstall laz.
Install zvDateTimeCtrls following advice in wiki. http://wiki.lazarus.freepascal.org/Install_Packages
The laz recompile takes only a one or two seconds. If I do a' rebuild many', it takes longer.

However, it always shows in the Package Manager with a green cross, and does not appear under a tab after restarting laz.

I had the same problem with 1.4.

Is there something basic that I am not doing? Can someone suggest another package (for any function) that could be used to check my process?
« Last Edit: September 04, 2013, 05:52:21 pm by Windsurfer »

Mike.Cornflake

  • Hero Member
  • *****
  • Posts: 1260
Re: ZVDateTimeControls 1.4.1 Install Problem
« Reply #1 on: September 05, 2013, 09:11:35 am »
This isn't going to help, but I just tried this with Lazarus SVN (which I assume is darned close to 1.0.12), and then Lazarus 1.0.8 using trunk Lazarus-CCR zvDateTimeCtrls, and it worked for me both times I'm afraid...

Here's the steps I followed...
  Package - open Package File (.lpk)
  Navigate to ...\lazarus_ccr\components\ZVDateTimeCtrls\trunk.  Opened "zvdatetimectrls.lpk"
  On the Package Manager Diag, Hit Compile, then Use - Install.  Answered Yes.  Laz re-compiled, re-started and the controls are in a tab called "Date and Time Ctrls" right at the end...

Sigh - perhaps my SVN ~ 1.0.12 assumption isn't valid - downloading now...

Update: Nope, no change under 1.0.12, works fine for me.
Further info: my SVN and 1.0.12 were 64 bit.  1.0.8 was 32 bit...  And I'm also Win 8, 64bit.  Guess I'm going to need to update my sig now :-)

You doing anything different to the above?  If so, let us know.  I'm not sure where the "Rebuild Many" bit comes in for instance, I certainly never saw anything like that.
« Last Edit: September 05, 2013, 09:24:52 am by Mike.Cornflake »
Lazarus Trunk/FPC Trunk on Windows [7, 10]
  Have you tried searching this forum or the wiki?:   http://wiki.lazarus.freepascal.org/Alternative_Main_Page
  BOOKS! (Free and otherwise): http://wiki.lazarus.freepascal.org/Pascal_and_Lazarus_Books_and_Magazines

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4474
  • I like bugs.
Re: ZVDateTimeControls 1.4.1 Install Problem
« Reply #2 on: September 05, 2013, 09:37:11 am »
The laz recompile takes only a one or two seconds. If I do a' rebuild many', it takes longer.

Building Lazarus should take more time.
You don't need the "Build many" button. It was requested by people who want to build Lazarus for different platforms at one go. I don't know how widely used it is.

Quote
However, it always shows in the Package Manager with a green cross, and does not appear under a tab after restarting laz.

You could check the "Clean all" button. It forces a full recompile. The real problem is still a mystery to me. The package should be compiled in anyways.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4474
  • I like bugs.
Re: ZVDateTimeControls 1.4.1 Install Problem
« Reply #3 on: September 05, 2013, 09:47:06 am »
Sigh - perhaps my SVN ~ 1.0.12 assumption isn't valid - downloading now...

Right, it is not valid, but the problem is not caused by version differences. Rebuilding Lazarus has worked for years.

Lazarus SVN trunk (1.1) is closer to the coming 1.2 version. A branch for it will be forked just after a week or so. Then the features are frozen and only bugs are fixed for 4-5 months. The release happens early next year.
Lazarus 1.0 was forked (and feature frozen) already almost 1.5 years ago. Since then the trunk has been developed with full steam.
The "dot releases" like 1.0.12 only got bug fixes backported from trunk.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Windsurfer

  • Sr. Member
  • ****
  • Posts: 368
    • Windsurfer
Re: ZVDateTimeControls 1.4.1 Install Problem
« Reply #4 on: September 05, 2013, 06:08:30 pm »
I have very carefully uninstalled, clened and reinstalled Laz and ZVDateTimeCtrls. Before doing that I removed the ReadyBoost SDHC card, which I use to speed my PC up.

Compilation took place this time. ZVDateTimeCtrls appears to have compiled, but on lazarus restart the tab did not appear. The compilation mesaages are in the attachment.

Zoran

  • Hero Member
  • *****
  • Posts: 1831
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: ZVDateTimeControls 1.4.1 Install Problem
« Reply #5 on: September 05, 2013, 11:09:18 pm »
Hello, Windsurfer,
The messages you attached looks to me as if they were taken from building your project, but not from building Lazarus!
The last message in your file says:
Quote
Project "WindSirf" successfully built
But what is project "WindSirf"? It is not Lazarus IDE.

Are you sure that you have rebuilt the IDE? To rebuild the IDE, in main menu chose "Tools", then "Configure Build Lazarus", then build (for details see: http://wiki.lazarus.freepascal.org/IDE_Window:_Configure_Build_Lazarus).

Windsurfer

  • Sr. Member
  • ****
  • Posts: 368
    • Windsurfer
Re: ZVDateTimeControls 1.4.1 Install Problem
« Reply #6 on: September 06, 2013, 08:57:01 am »
Hi Zoran,

Thanks for your reply. WindSirf is an application I have written. I have been doing as you suggest with compilation.

I also tried the advice in the link:

Code: [Select]
cd /path/to/lazarus
make clean all

There is no make file in c:\lazarus, so I used set to check the paths and found the path to fpc to be FPC=C:\lazarus\fpc\2.6.2\bin\x86_64-win64.
It should be FPC=C:\lazarus\fpc\2.6.2\bin\i386-win32.
I had been trying to install both 64 and 32 bit lazarus, and this was left over, and not corrected when I thought I had completely removed all traces of lazarus before I reinstalled it.

I have changed the FPC path and will report back after rebooting Windows.

Zoran

  • Hero Member
  • *****
  • Posts: 1831
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: ZVDateTimeControls 1.4.1 Install Problem
« Reply #7 on: September 06, 2013, 09:03:09 am »
Okay, but make from command line will still not be enough. After that, with the package included in install list, you must rebuild the IDE from the IDE. Only then you will get the new components in the palette.

Windsurfer

  • Sr. Member
  • ****
  • Posts: 368
    • Windsurfer
Re: ZVDateTimeControls 1.4.1 Install Problem
« Reply #8 on: September 06, 2013, 10:02:30 am »
Thanks Zoran,

When I rebooted Windows the fpc path reverted to the wrong one.
I now need to discover how it is set permanently. (Windows has changed a little since I was a whizz with autoexec.bat.)
It may be something that th epeople working on multiple installations also need to look at.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: ZVDateTimeControls 1.4.1 Install Problem
« Reply #9 on: September 06, 2013, 02:21:50 pm »
Windsurfer, I can happily run multiple versions of Lazarus each with its own separate instance of the FPC compiler that is *not* in the path.

The path will give a default compiler if no other can be found but this shouldn't be necessary - the setting in the IDE, tools/options/environment/files/compiler path *does* need to be set correctly.

So that setting should be ok, then rebuilding the IDE using tools/build lazarus should just work...
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Windsurfer

  • Sr. Member
  • ****
  • Posts: 368
    • Windsurfer
Re: ZVDateTimeControls 1.4.1 Install Problem
« Reply #10 on: September 07, 2013, 04:05:05 pm »
Sorry for not replying, I have had an internet blackout.

I removed the FPC variable form Windows and reinstalled Lazarus. I set the lazarus paths to absolute, rather than using the lazarus variables.

Now I cannot add any packages, this includes the included ones. I get an error message like the ones below.

make.exe[1]:***[idepkg]Error 255

C:\lazarus\fpc\2.6.2\bin\i386-win32\make.exe[1]:***[idepkg]Error 255

Searching with DuckDuckGo came up with a suggestion that it is a make file problem.

http://forum.lazarus.freepascal.org/index.php/topic,18727.0.html?PHPSESSID=82d251e0f1c840e429d5c22d911ab964

I 'll change the make file and report back.


Windsurfer

  • Sr. Member
  • ****
  • Posts: 368
    • Windsurfer
Re: [SOLVED]ZVDateTimeControls 1.4.1 Install Problem
« Reply #11 on: September 07, 2013, 04:45:50 pm »
I downloaded the 32 bit version of make 3.82 from http://www.equation.com/servlet/equation.cmd?fa=make and replaced the old make with it.

Everything now works like a dream (rather than a nightmare).

Should this be reported as a bug? Have reported as a bug.
« Last Edit: September 07, 2013, 06:16:38 pm by Windsurfer »

 

TinyPortal © 2005-2018