Lazarus

Installation => Windows (32/64) => Topic started by: IgD on February 04, 2004, 02:38:33 pm

Title: 0.9.1 installer/binary
Post by: IgD on February 04, 2004, 02:38:33 pm
I would like to try the 0.9.1 release posted in the news section.  The downloads section seems only to contain a SF link to the 0.9b installer/binary.  Can you update this please?
Title: 0.9.1 installer/binary
Post by: IgD on February 06, 2004, 10:34:22 pm
Is there somewhere else I could download the 0.9.1 release?  Do you have to download the source and compile it to get the latest version?
Title: 0.9.1 installer/binary
Post by: Vincent Snijders on February 07, 2004, 05:51:34 pm
It can be dowbloaded from: http://sourceforge.net/project/showfiles.php?group_id=89339

But there is no download yet for win32.
Title: 0.9.1 installer/binary
Post by: Anonymous on February 08, 2004, 03:52:23 pm
I don't understand Vincent.  What do I need to do to get it working?
Title: 0.9.1 installer/binary
Post by: Vincent Snijders on February 08, 2004, 04:30:46 pm
If you want a windows version you need to compile it yourself from the source.
You can use the compiler witch is part of the 0.9b binary version, but need to get the lazarus source from CVS or as a zip-file. For more info see http://www.lazarus.freepascal.org/modules.php?op=modload&name=StaticPage&file=index&sURL=cvs

HTH,
Vincent.
Title: 0.9.1 installer/binary
Post by: Anonymous on February 15, 2004, 01:44:53 am
Vincent, I downloaded the latest Lazarus binary.  Using WinCVS I downlaoded the latest code base.  I overwrote the codebase in the Lazarus binary intall with the one I got from CVS.  Then I ran make.  This is what I got:

MAKE Version 5.2  Copyright (c) 1987, 1998 Inprise Corp.
Error makefile 8: Command syntax error
Error makefile 11: Command syntax error
Error makefile 13: Command syntax error
Error makefile 16: Command syntax error
Error makefile 18: Command syntax error
Error makefile 19: Command syntax error
Error makefile 20: Command syntax error
Error makefile 23: Command syntax error
Error makefile 24: Command syntax error
Error makefile 27: Command syntax error
Error makefile 28: Command syntax error
...
Error makefile 2324: Too many rules for target '%.res'
Error makefile 2326: Command syntax error
Error makefile 2327: Command syntax error
Error makefile 2328: Command syntax error
Error makefile 2347: Command syntax error
Error makefile 2348: Command syntax error
Error makefile 2349: Command syntax error
Error makefile 2350: Command syntax error
*** 1063 errors during make ***

What am I doing wrong?
Title: 0.9.1 installer/binary
Post by: Anonymous on February 15, 2004, 02:11:15 am
I uninstalled everything, then I installed the latest Windows binary I downloaded from Sourceforge.  Here was the filename:
lazarus-0.9b_20040102-win32_binary.exe

The exact same problem occurred as above:
MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.
Error makefile 8: Command syntax error
...
Error makefile 2317: Command syntax error
*** 1053 errors during make ***

Please advise
Title: 0.9.1 installer/binary
Post by: Vincent Snijders on February 15, 2004, 01:34:55 pm
You are using the wrong make utility, one suplied by Inprise.

You should use the gnu make utility provided by fpc. Check your path environment variable and make sure that the path to the fpc-dir (usually c:\pp\bin\win32, but might have installed in a different directory) is before the path where the Delphi make.exe is located.
Title: 0.9.1 installer/binary
Post by: IgD on February 15, 2004, 05:04:10 pm
Vincent, you were exactly right.  Make was running from my Delphi 7 directory instead of C:\pp\bin\win32.  Once I got that straight, things worked better however I'm still having problems (see below).  What am I missing?  Thanks!

c:/pp/bin/win32/make -C lcl all
make[1]: Entering directory `C:/lazarus/lcl'
c:/pp/bin/win32/rm.exe -f units/i386/win32/alllclunits.ppw
c:/pp/bin/win32/ppc386.exe -gl -Fu. -Funonwin32 -Fiinclude -FUunits/i386/win32 -di386 alllclunits.pp
Hint: End of reading config file c:\pp\bin\win32\fpc.cfg
Free Pascal Compiler version 1.0.11 [2003/12/30] for i386
Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Win32 for i386
Compiling alllclunits.pp
171 Lines compiled, 0.6 sec
c:/pp/bin/win32/make -C interfaces all
make[2]: Entering directory `C:/lazarus/lcl/interfaces'
c:/pp/bin/win32/make -C win32 all
make[3]: Entering directory `C:/lazarus/lcl/interfaces/win32'
c:/pp/bin/win32/rm.exe -f ../../units/i386/win32/win32/interfaces.ppw \
   ../../units/i386/win32/win32/interfaces.ow
c:/pp/bin/win32/ppc386.exe -gl -Fu../../units/i386/win32 -Fu. -Fuc:/pp/units/win32/rtl -Fuc:/pp/units/win32/paszlib -Fuc:/pp/units/win32/fcl -Fuc:/pp/units/win32/mysql -Fuc:/pp/units/win32/ibase -FU../../units/i386/win32/win32 -di386 interfaces.pp
Hint: End of reading config file c:\pp\bin\win32\fpc.cfg
Free Pascal Compiler version 1.0.11 [2003/12/30] for i386
Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Win32 for i386
Compiling interfaces.pp
45 Lines compiled, 0.5 sec
make[3]: Leaving directory `C:/lazarus/lcl/interfaces/win32'
make[2]: Leaving directory `C:/lazarus/lcl/interfaces'
make[1]: Leaving directory `C:/lazarus/lcl'
c:/pp/bin/win32/make -C components all
make[1]: Entering directory `C:/lazarus/components'
c:/pp/bin/win32/make -C synedit all
make[2]: Entering directory `C:/lazarus/components/synedit'
c:/pp/bin/win32/rm.exe -f ../units/i386/win32/allsyneditunits.ppw
c:/pp/bin/win32/ppc386.exe -gl -Fu../../lcl/units/i386/win32 -Fu. -Fuc:/pp/units/win32/rtl -Fuc:/pp/units/win32/paszlib -Fuc:/pp/units/win32/fcl -Fuc:/pp/units/win32/regexpr -Fuc:/pp/units/win32/mysql -Fuc:/pp/units/win32/ibase -FU../units/i386/win32 -di386 allsyneditunits.pp
Hint: End of reading config file c:\pp\bin\win32\fpc.cfg
Free Pascal Compiler version 1.0.11 [2003/12/30] for i386
Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Win32 for i386
Compiling allsyneditunits.pp
91 Lines compiled, 0.5 sec
make[2]: Leaving directory `C:/lazarus/components/synedit'
c:/pp/bin/win32/make -C codetools all
make[2]: Entering directory `C:/lazarus/components/codetools'
c:/pp/bin/win32/rm.exe -f ../units/i386/win32/allcodetoolunits.ppw
c:/pp/bin/win32/ppc386.exe -gl -Fu. -Fuc:/pp/units/win32/rtl -Fuc:/pp/units/win32/paszlib -Fuc:/pp/units/win32/fcl -Fuc:/pp/units/win32/mysql -Fuc:/pp/units/win32/ibase -FU../units/i386/win32 -di386 allcodetoolunits.pp
Hint: End of reading config file c:\pp\bin\win32\fpc.cfg
Free Pascal Compiler version 1.0.11 [2003/12/30] for i386
Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Win32 for i386
Compiling allcodetoolunits.pp
76 Lines compiled, 0.3 sec
make[2]: Leaving directory `C:/lazarus/components/codetools'
make[1]: Leaving directory `C:/lazarus/components'
c:/pp/bin/win32/make -C ideintf all
make[1]: Entering directory `C:/lazarus/ideintf'
c:/pp/bin/win32/rm.exe -f units/allideintf.ppw
c:/pp/bin/win32/ppc386.exe -gl -Fu../lcl/units/i386/win32 -Fu../components/units/i386/win32 -Fu. -Fuc:/pp/units/win32/rtl -Fuc:/pp/units/win32/paszlib -Fuc:/pp/units/win32/fcl -Fuc:/pp/units/win32/mysql -Fuc:/pp/units/win32/ibase -FUunits -di386 allideintf.pas
Hint: End of reading config file c:\pp\bin\win32\fpc.cfg
Free Pascal Compiler version 1.0.11 [2003/12/30] for i386
Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Win32 for i386
Compiling allideintf.pas
29 Lines compiled, 0.5 sec
make[1]: Leaving directory `C:/lazarus/ideintf'
c:/pp/bin/win32/make -C designer all
make[1]: Entering directory `C:/lazarus/designer'
make[1]: Leaving directory `C:/lazarus/designer'
Makefile:17: *** You need the GNU utils package to use this Makefile.  Stop.
c:\pp\bin\win32\make: *** [designer] Error 2
Title: 0.9.1 installer/binary
Post by: IgD on February 16, 2004, 05:00:28 am
The problem seems to be here in the makefile:

PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))
ifeq ($(PWD),)
PWD:=$(strip $(wildcard $(addsuffix /pwd,$(SEARCHPATH))))
ifeq ($(PWD),)
$(error You need the GNU utils package to use this Makefile)

Somehow PWD.EXE isn't being found in my path.  However it is there I checked the environmental variables and ran it from a DOS prompt from the Lazarus directory. ?
Title: 0.9.1 installer/binary
Post by: IgD on February 17, 2004, 06:37:33 pm
Neli and I found a bug in the Makefile.  We also found a workaround which involves setting the path to C:\pp\win32\bin.  See http://www.lazarus.freepascal.org/modules.php?op=modload&name=BugTracker&file=index&sAction=detail&bugID=199 for the bug report.
Title: 0.9.1 installer/binary
Post by: Anonymous on February 21, 2004, 09:01:01 pm
Hello

I am a novice and I was a delphi programmer (just for hobby).

So I want to develop with the lazarus evironment:

What I have to do if I want to compile the lazarus source with the Compiler 1.9.2?

Is this possible?

Bye

Aho
Title: 0.9.1 installer/binary
Post by: Vincent Snijders on February 21, 2004, 09:10:00 pm
Some infomation about this topic is at  http://lazarus-ccr.sourceforge.net/index.php?wiki=InstallingLazarus

If you have any problems, let it know at this forum.
Title: 0.9.1 installer/binary
Post by: BrainChemistry on February 22, 2004, 03:00:22 pm
Hi there!

I made as advised in installing instruction but received following errors:


(http://unterhaltung.freepage.de/tycoon/sam/fehler1.jpg)

Compiling process starts without problems until error appears.
What can I do?

Thx for help.
Title: 0.9.1 installer/binary
Post by: Vincent Snijders on February 22, 2004, 04:03:18 pm
I have seen this bug too. I wil try to create a patch today.

Info for other lazarus-developers: fpc 1.0.x needs a type cast to windows.rect.
Title: 0.9.1 installer/binary
Post by: neli on February 22, 2004, 04:41:14 pm
I have tried to fix this, could you check if it works, BrainChemistry? Update your CVS, and try to recompile.

Micha.
Title: 0.9.1 installer/binary
Post by: BrainChemistry on February 22, 2004, 08:12:59 pm
Good work, Micha!

Now there weren't any further problems compiling lazarus.

Thx you two.
Title: 0.9.1 installer/binary
Post by: Zeugma on October 27, 2004, 12:00:17 am
Hi everyone,

I now have the same problem as described above, even though you said it had been fixed.

Code: [Select]
Free Pascal Compiler version 1.0.10 [2003/06/27] for i386
Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Win32 for i386
Compiling interfaces.pp
Compiling win32int.pp
Compiling win32wsextctrls.pp
win32wsextctrls.pp(292,9) Hint: Parameter APARAMS not used
win32wsextctrls.pp(326,14) Error: Incompatible type for arg no. 1: Got RECT, expected LPRECT
win32wsextctrls.pp(531) Fatal: There were 1 errors compiling module, stopping
make[3]: *** [interfaces.ppw] Error 1
make[3]: Leaving directory `J:/lazarus/lcl/interfaces/win32'
make[2]: *** [win32_all] Error 2
make[2]: Leaving directory `J:/lazarus/lcl/interfaces'
make[1]: *** [interfaces] Error 2
make[1]: Leaving directory `J:/lazarus/lcl'
make: *** [lcl] Error 2


I'm using the Lazarus snapshot from 10/26/2004 and FPC 1.0.10.

It is also possible that I made a mistake while upgrading FPC, but I assume I have done all necessary :
- Downloading the last package (w321010full.zip)
- Installing to J:\lazarus\pp\
- Copying the new fcl, packages and rtl folders into J:\lazarus\fpcsrc
- Adding -FuJ:\lazarus\lcl\interfaces/$TARGET to fpc.cfg

Can anyone tell me what's wrong ? :(
Title: Re: Error compiling with fpc 1.0.10
Post by: Vincent Snijders on October 27, 2004, 09:12:27 am
Thanks for reporting. I think there is a bug in FPC 1.0.10. It doesn't see the right overloaded function. Although fpc 1.0.10 is still supported, none of the developers are using it on a daily basis. Using fpc 1.9.4 has also the advantage of better image support, so might think about installing fpc 1.9.4.

As a workaround for the fpc 1.0.10 bug, you can change line 326 of win32wsextctrls.pp to:
Code: [Select]
OffsetRect(@PageRect, -ParentRect.Left, -ParentRect.Top);
Title: 0.9.1 installer/binary
Post by: Zeugma on October 27, 2004, 02:19:16 pm
Yay, it works ! Thanks Vincent !

I've tried using FPC 1.0.10 to get rid of a runtime error 216 that randomly prevented me from building my project :/ I'll see if that solves the problem...
TinyPortal © 2005-2018