Sign in Join

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

Mailing lists / lazarus / 2000-07

Note on all Lazarus installation problems

11 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Marc Weustink
to Unknown author: ok i m' really bad of all the bad think i 'seen on my screen... Lots'of bug oranother…

Hi,

Seen all the problems on using Lazarus and the 1.0 release state of fpc, I think we sould review our HowTos (and maybe makefiles). At this moment they are all based upon a FPC version we got from CVS (and that we have the sources) which is I think not the case anymore.
Today (and tomorrow) I'll start to look what need to be changed to make lazarus whithout fpc sources.

Marc

Reply by email

Unknown author
to Unknown author: Date forwarded: Sun, 23 Jul 2000 11:50:13 -0400 Date sent: Sun, 23 Jul 2000…

Date forwarded: Sun, 23 Jul 2000 12:54:28 -0400
Date sent: Sun, 23 Jul 2000 18:56:34 +0200
To:
From: Marc Weustink
Subject: Re: [lazarus] Mini Install Howto Was: Note on all Lazarus installation problems
Forwarded by:
Send reply to:

Show quoted text 9 lines
At 18:38 23-07-2000 +0200, wrote: >haha >ok i delete all my directory pp >and reinstall dosw32100full.zip >all dll are ok... >after a full cvs >..... >a compilation... >another error .....

-> the error was : can't run it...

Indeed. Found it also. Problem is I don't know how to debug using win32. So I don't know what is going on.

haaaaaa
ok i will try to find the enormous bug but.......i don't now how much time it take to me...

Lionel Drevon
Adeli http://www.adeli.fr
618 Av. Gal de Gaulle Tel 04 78 66 11 85
69760 Limonest Fax 04 78 66 04 33

Reply by email

Unknown author
to Marc Weustink: Seen all the problems on using Lazarus and the 1.0 release state of fpc, I think we sould…

Date forwarded: Sun, 23 Jul 2000 11:50:13 -0400
Date sent: Sun, 23 Jul 2000 17:52:08 +0200
To:
From: Marc Weustink
Subject: [lazarus] Mini Install Howto Was: Note on all Lazarus installation problems
Forwarded by:
Send reply to:

more information on the crash..

C:\pp\lazarus>gdbpasw lazarus.exe
GNU gdb 4.18.pas.b1 modified for Pascal language support Copyright 1998 Free Software Foundation, Inc.
Pascal modifications by Pierre Muller and Peter Vreman GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-pc-cygwin32"...(no debugging symbols found)...
(gdbpas) r
Starting program: /pp/lazarus/lazarus.exe
650000:C:/WINDOWS/SYSTEM/GNU-INTL.DLL(no debugging symbols found)...
640000:C:/WINDOWS/SYSTEM/GMODULE-1.3.DLL(no debugging symbols found)...
520000:C:/WINDOWS/SYSTEM/GTK-1.3.DLL
(no debugging symbols found)...
bfe90000:C:/WINDOWS/SYSTEM/COMCTL32.DLL(no debugging symbols found)...
70bd0000:C:/WINDOWS/SYSTEM/SHLWAPI.DLL
(no debugging symbols found)...
7fcb0000:C:/WINDOWS/SYSTEM/SHELL32.DLL(no debugging symbols found)...
65f00000:C:/WINDOWS/SYSTEM/OLE32.DLL
(no debugging symbols found)...
bfe20000:C:/WINDOWS/SYSTEM/IMM32.DLL(no debugging symbols found)...
75dc0000:C:/WINDOWS/SYSTEM/WSOCK32.DLL
(no debugging symbols found)...
bff20000:C:/WINDOWS/SYSTEM/GDI32.DLL(no debugging symbols found)...
bff50000:C:/WINDOWS/SYSTEM/USER32.DLL
(no debugging symbols found)...
78000000:C:/WINDOWS/SYSTEM/MSVCRT.DLL(no debugging symbols found)...
bff70000:C:/WINDOWS/SYSTEM/KERNEL32.DLL
(no debugging symbols found)...
bfe80000:C:/WINDOWS/SYSTEM/ADVAPI32.DLL(no debugging symbols found)...
4f0000:C:/WINDOWS/SYSTEM/GLIB-1.3.DLL
(no debugging symbols found)...
10000000:C:/WINDOWS/SYSTEM/GDK-1.3.DLL(no debugging symbols found)...
75e00000:C:/WINDOWS/SYSTEM/WS2HELP.DLL
(no debugging symbols found)...
75e20000:C:/WINDOWS/SYSTEM/WS2_32.DLL(no debugging symbols found)...
760f0000:C:/WINDOWS/SYSTEM/WININET.DLL
(no debugging symbols found)...
79480000:C:/WINDOWS/SYSTEM/MSWSOCK.DLL(no debugging symbols found)...
70100000:C:/WINDOWS/SYSTEM/RPCRT4.DLL
(no debugging symbols found)...

Program received signal SIGSEGV, Segmentation fault. 0xdd864 in ?? ()
(gdbpas)

on Turbo Debugger with tdw.exe, it tell me that it's not a windows program...

Lionel Drevon
Adeli http://www.adeli.fr
618 Av. Gal de Gaulle Tel 04 78 66 11 85
69760 Limonest Fax 04 78 66 04 33

Reply by email

Unknown author

ok i m' really bad of all the bad think i 'seen on my screen... Lots'of bug oranother thinks....

FIRST OF ALL
Could i do the compile and use some software like lazarus under windows........(is it an ide?) i just have see some gif about it ....but i never does'nt not execute it....(some error or no compile...)

i do every think describe on the
http://www.lazarus.freepascal.org/how.php3?language=english#WIN32

At step 3 cvs login do nothink...
At setp 3 cvs -z3 checkout base rtl docs compiler fcl lazarus packages do some transfert

At step 4 ok easy

At step 5 ! all think are creasy......
cd \pp\bin\win32\
copy ppc386.exe ppc386r.exe
del \pp\bin\win32\ppc386.exe
ren \pp\bin\win32\ppc386r.exe ppc386.exe
hum under dos ......it just do for going hot my athlon .... a just move \pp\bin\win32\ppc386.exe .

cd /pp/source
copy /Y base\*.* >NUL
ok no file but a directrory named cvs.

del units\win32\*.* really strange no directory of this name!!!

make clean

rm -f ppc386.exe
rm -f *.ow *.ppw *.rst *.sw *.aw *.dll *.ppl
rm -rf *.slw
rm -f fpcmade.w32 ppas.bat link.res log

all rigth it works fine.... (i juts would like to say no error reported...)

C:\pp\source\compiler>make cycle
/PP/BIN/WIN32/MAKE.EXE clean
MAKE.EXE[1]: Entering directory `/pp/source/compiler' rm -f ppc386.exe
rm -f *.ow *.ppw *.rst *.sw *.aw *.dll *.ppl
rm -rf *.slw
rm -f fpcmade.w32 ppas.bat link.res log
MAKE.EXE[1]: Leaving directory `/pp/source/compiler' /PP/BIN/WIN32/MAKE.EXE -C c:/pp/source /rtl/win32 clean MAKE.EXE[1]: Entering directory `/pp/source'
MAKE.EXE[1]: *** No rule to make target `/rtl/win32'. Stop. MAKE.EXE[1]: Leaving directory `/pp/source'
MAKE.EXE: *** [cycle] Error 2

perhaps a little space in the wrong place ...i don't find the fiel for corrected it so after correction i have this (i do it manually...)

C:\pp\source>\pp\bin\win32\make -C c:\pp\source\rtl\win32 clean MAKE.EXE: Entering directory `/pp/source/rtl/win32' rm -f wprt0.ow wdllprt0.ow
rm -f syswin32.ppw objpas.ppw strings.ppw windows.ppw ole2.ppw opengl32.ppw os_t
ypes.ppw winsock.ppw initc.ppw dos.ppw crt.ppw objects.ppw graph.ppw sysutils.pp
w typinfo.ppw math.ppw cpu.ppw mmx.ppw getopts.ppw heaptrc.ppw lineinfo.ppw winc
rt.ppw winmouse.ppw sockets.ppw printer.ppw
rm -f math.rst
rm -f fpcmade.w32 ppas.bat link.res log
MAKE.EXE: Leaving directory `/pp/source/rtl/win32'

cd .. works fine....

C:\pp>copy rtl\win32\*.ow \pp\source\units\win32
rtl\win32\wprt0.ow
Chemin d'acc�s introuvable - C:\pp\source\units\win32 0 fichier(s) copi�(s)

hum....

C:\pp>copy rtl\win32\*.ppw \pp\source\units\win32
rtl\win32\syswin32.ppw
Chemin d'acc�s introuvable - C:\pp\source\units\win32 0 fichier(s) copi�(s)

another hum....

Step 6

cvs -z3 update base docs fcl lazarus compiler rtl packages

bla bla
cvs server: Updating lazarus/components/mwedit92/Demos/adv_demo bla bla
cvs server: Updating lazarus/tools/apiwizz

seem to work fine.

At step 7

C:\pp\source\rtl>make clean
/PP/BIN/WIN32/MAKE.EXE -C win32 clean
MAKE.EXE[1]: Entering directory `/pp/source/rtl/win32' rm -f wprt0.ow wdllprt0.ow
rm -f syswin32.ppw objpas.ppw strings.ppw windows.ppw ole2.ppw opengl32.ppw os_t
ypes.ppw winsock.ppw initc.ppw dos.ppw crt.ppw objects.ppw graph.ppw sysutils.pp
w typinfo.ppw math.ppw cpu.ppw mmx.ppw getopts.ppw heaptrc.ppw lineinfo.ppw winc
rt.ppw winmouse.ppw sockets.ppw printer.ppw
rm -f math.rst
rm -f fpcmade.w32 ppas.bat link.res log
MAKE.EXE[1]: Leaving directory `/pp/source/rtl/win32'

make
lots of blabla
MAKE.EXE[1]: Leaving directory `/pp/source/rtl/win32' perhaps ok i don"t have the time to read the outpout... to fast....

cd \pp\source\fcl\win32
C:\pp\source\fcl\win32>make clean
rm -f classes.ppw inifiles.ppw registry.ppw ezcgi.ppw pipes.ppw rtfpars.ppw idea
.ppw base64.ppw gettext.ppw iostream.ppw zstream.ppw cachecls.ppw dom.ppw xmlrea
d.ppw xmlwrite.ppw xmlcfg.ppw xmlstreaming.ppw doc_text.ppw shedit.ppw sh_xml.pp
w sh_pas.ppw process.ppw fileinfo.ppw
rm -f ssockets.rst cachecls.rst
rm -f fpfcl fpfcl
rm -f fpcmade.w32 ppas.bat link.res log

hoho it works...

make

blabla ...
at the end
ppc386.exe !FPCEXTCMD ../inc/zstream.pp
Compiling Debug Version
Note: Reading further options from (env) FPCEXTCMD Warning: Only one source file supported
Free Pascal Compiler version 1.00 [2000/07/13] for i386 Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Win32 for i386
Compiling ..\inc\zstream.pp
paszlib.pas(39,3) Fatal: Can't compile unit PASZLIB, no sources available MAKE.EXE: *** [zstream.ppw] Error 1

also too fast i've don't have time to read it

C:\pp\source\fcl\win32>cd \pp\source\lazarus

C:\pp\source\lazarus>make clean
rm -f lazarus.exe lazarus.ow
rm -f
rm -f fpcmade.w32 ppas.bat link.res log
/PP/BIN/WIN32/MAKE.EXE -C lcl clean
MAKE.EXE[1]: Entering directory `/pp/source/lazarus/lcl' rm -f allunits.exe allunits.ow
rm -f
rm -f fpcmade.w32 ppas.bat link.res log
/PP/BIN/WIN32/MAKE.EXE -C interfaces clean
MAKE.EXE[2]: Entering directory `/pp/source/lazarus/lcl/interfaces' rm -f fpcmade.w32 ppas.bat link.res log
/PP/BIN/WIN32/MAKE.EXE -C gtk clean
MAKE.EXE[3]: Entering directory `/pp/source/lazarus/lcl/interfaces/gtk' rm -f gtkwinapiwindow.ppw
rm -f fpcmade.w32 ppas.bat link.res log
MAKE.EXE[3]: Leaving directory `/pp/source/lazarus/lcl/interfaces/gtk' MAKE.EXE[2]: Leaving directory `/pp/source/lazarus/lcl/interfaces' MAKE.EXE[1]: Leaving directory `/pp/source/lazarus/lcl' /PP/BIN/WIN32/MAKE.EXE -C components clean
MAKE.EXE[1]: Entering directory `/pp/source/lazarus/components' rm -f fpcmade.w32 ppas.bat link.res log
/PP/BIN/WIN32/MAKE.EXE -C mwedit clean
MAKE.EXE[2]: Entering directory `/pp/source/lazarus/components/mwedit' rm -f mwkeycmds.ppw mwhighlighter.ppw mwcustomedit.ppw mwpassyn.ppw mwgeneralsyn
.ppw
rm -f fpcmade.w32 ppas.bat link.res log
MAKE.EXE[2]: Leaving directory `/pp/source/lazarus/components/mwedit' MAKE.EXE[1]: Leaving directory `/pp/source/lazarus/components'

ouaou it's good...

make -n >junk.bat

Aie aie the file junk.bat have only a lf term not cr/lf...... after correction and after deleting all the comment.... and replace / by \

the file junk.bat is line by line....

C:\pp\source\lazarus>\PP\BIN\WIN32\MAKE.EXE -C lcl all MAKE.EXE: Entering directory `/pp/source/lazarus/lcl' rm -f allunits.exe
/PP/BIN/WIN32/MAKE.EXE -C interfaces all
MAKE.EXE[1]: Entering directory `/pp/source/lazarus/lcl/interfaces' /PP/BIN/WIN32/MAKE.EXE -C gtk all
MAKE.EXE[2]: Entering directory `/pp/source/lazarus/lcl/interfaces/gtk' ppc386.exe !FPCEXTCMD gtkwinapiwindow.pp
Compiling Debug Version
Note: Reading further options from (env) FPCEXTCMD Warning: Only one source file supported
Free Pascal Compiler version 1.00 [2000/07/13] for i386 Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Win32 for i386
Compiling gtkwinapiwindow.pp
glib.pp(32,7) Fatal: Can't compile unit GLIB, no sources available MAKE.EXE[2]: *** [gtkwinapiwindow.ppw] Error 1
MAKE.EXE[2]: Leaving directory `/pp/source/lazarus/lcl/interfaces/gtk' MAKE.EXE[1]: *** [gtk_all] Error 2
MAKE.EXE[1]: Leaving directory `/pp/source/lazarus/lcl/interfaces' MAKE.EXE: *** [interfaces_all] Error 2
MAKE.EXE: Leaving directory `/pp/source/lazarus/lcl'

hum... not really ...good

rm -f allunits.exe
ok, fine...

\PP\BIN\WIN32\MAKE.EXE -C interfaces all
aie the interface directory is in \pp\source\lazarus\lcl but the error is the glib.pp(32,7) Fatal: Can't compile unit GLIB, no sources available

\PP\BIN\WIN32\MAKE.EXE -C gtk all
aie the interface directory is in \pp\source\lazarus\lcl\interfaces but the error is the glib.pp(32,7) Fatal: Can't compile unit GLIB, no sources available

....
the next tomorrow ... too much time spent tonight for crasy thinks...

Lionel Drevon
Adeli http://www.adeli.fr
618 Av. Gal de Gaulle Tel 04 78 66 11 85
69760 Limonest Fax 04 78 66 04 33

Reply by email

Michael A. Hess
to Unknown author
Marc Weustink wrote
3b) All platforms - Other ways of getting Lazarus sources Ehhh.... is there a url for downloading a zip or tar ??

On any of the FPC mirrors you can get lazarus.zip in the "source" directory.

PS Michael (H), shall I put it into HTML so we canplace it on the website ?

Please do. I was going to while reading it (good by the way) but since you offer it will save me some time. Just email me the HTML file and I incorporate it into the PHP database.

Thanks.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Unknown author
to Unknown author: Date forwarded: Sun, 23 Jul 2000 11:50:13 -0400 Date sent: Sun, 23 Jul 2000…
Show quoted text 7 lines
>C:\pp\lazarus>lazarus >An unhandled exception occurred at 0x000DD864 : >Access violation > 0x000DD864 > 0x00446067 > 0x00450E83 > 0x0045F781

In the file lazarus.pp
TAPPLICATION__INITIALIZE call

application.inc:
146        FGTKToolTips := gtk_tooltips_new;

and this doing a bug under win32...

In the TGTKOBJECT__INIT function
line 146 FGTKToolTips := gtk_tooltips_new;
(gdbpas) n

Program received signal SIGSEGV, Segmentation fault. $dd864 in ?? ()

Lionel Drevon
Adeli http://www.adeli.fr
618 Av. Gal de Gaulle Tel 04 78 66 11 85
69760 Limonest Fax 04 78 66 04 33

Reply by email

Unknown author
to Unknown author

Date forwarded: Sun, 23 Jul 2000 18:20:18 -0400
Date sent: Mon, 24 Jul 2000 00:22:26 +0200
To:
From: Marc Weustink
Subject: Re: [lazarus] Lazarus under Win32 Forwarded by:
Send reply to:

Show quoted text 10 lines
At 23:00 23-07-2000 +0200, wrote: >application.inc: >146 FGTKToolTips := gtk_tooltips_new; > >and this doing a bug under win32... What if you comment out this line ?? Marc

A dos application start with a gtk error!

Lionel Drevon
Adeli http://www.adeli.fr
618 Av. Gal de Gaulle Tel 04 78 66 11 85
69760 Limonest Fax 04 78 66 04 33

Reply by email

Unknown author
to Marc Weustink: Seen all the problems on using Lazarus and the 1.0 release state of fpc, I think we sould…

Date forwarded: Sun, 23 Jul 2000 11:50:13 -0400
Date sent: Sun, 23 Jul 2000 17:52:08 +0200
To:
From: Marc Weustink
Subject: [lazarus] Mini Install Howto Was: Note on all Lazarus installation problems
Forwarded by:
Send reply to:

Hi,

haha
ok i delete all my directory pp
and reinstall dosw32100full.zip
all dll are ok...
after a full cvs
.....
a compilation...
another error .....
but i have the lazarus.exe....

Linking .\lazarus.exe
47823 Lines compiled, 13.3 sec
make.exe[1]: Leaving directory `c:/pp/lazarus'

C:\pp\lazarus>lazarus
An unhandled exception occurred at 0x000DD864 :
Access violation
0x000DD864
0x00446067
0x00450E83
0x0045F781

aie...

Lionel Drevon
Adeli http://www.adeli.fr
618 Av. Gal de Gaulle Tel 04 78 66 11 85
69760 Limonest Fax 04 78 66 04 33

Reply by email

Marc Weustink
to Marc Weustink: Since the 1.0 release state of FPC I thing we can safely use this version instead of a…
Show quoted text 8 lines
haha ok i delete all my directory pp and reinstall dosw32100full.zip all dll are ok... after a full cvs ..... a compilation... another error .....

???

Show quoted text 15 lines
but i have the lazarus.exe.... Linking .\lazarus.exe 47823 Lines compiled, 13.3 sec make.exe[1]: Leaving directory `c:/pp/lazarus' C:\pp\lazarus>lazarus An unhandled exception occurred at 0x000DD864 : Access violation 0x000DD864 0x00446067 0x00450E83 0x0045F781 aie...

Indeed. Found it also. Problem is I don't know how to debug using win32. So I don't know what is going on.

Marc

Reply by email

Marc Weustink
to Unknown author: ok i m' really bad of all the bad think i 'seen on my screen... Lots'of bug oranother…

Hi,

Since the 1.0 release state of FPC I thing we can safely use this version instead of a version form CVS as log as we don't need newer compiler features. This has consequences on how to participate Lazarus and I'll try to describe it. Please comment if needed.

1a) All platforms - Install the compiler.
Get a version of FPC http://www.freepascal.org/sdown.html and install it as described on the download page.
NOTE: In contrary to the older Lazarus Howtos we keep/need the ppc386.cfg

1b) Win32 platforms - Get additional libraries.
On a win32 platform you need also the gtk dlls. You can get them from ftp://lazarus.freepascal.org/lazarus/gtk-dlls.zip
or download the gtk+, glib, and extralibs DLLs from http://user.sgic.fi/~tml/gimp/win32
Place the dlls in your \windows\system or \winnt\system32 dir

2) All platforms - Decide where to place the lazarus sources

On linux you might see /opt/lazarus, ~/lazarus or /opt/fpc/lazarus (the old depriciated form)
On win32 you might see \pp\source\lazarus
For pre 1.0 versions of FPC it was advised/needed to place the lazarus sources in the fpc tree. With the 1.0 version it is depriciated (you probably won't have a fpc source tree :)
So it is up to you where you place the sources

3a) All platforms - Get Lazarus sources by CVS
There are several ways to get the lazarus sources. The preferred way is to get them by CVS, it reduces bandwidth since it get only the changes since the last update. There are CVS clients available for both win32 and Linux. Windows: ftp://ftp.cvshome.org/pub/cvs-1.10.5/windows/cvs.exe Linux: see your distribution

Open a command or cmd prompt and while in the dir where you want to place the lazarus source dir issue the following commands: SET

To to login enter:
cvs login
When prompted for a password, use "cvs" (no quote marks, in lowecase)

To download all files for the first time enter:
cvs -z3 checkout lazarus

To download only changed files (if you already had then checked out) enter: cvs -z3 update lazarus

3b) All platforms - Other ways of getting Lazarus sources

Ehhh.... is there a url for downloading a zip or tar ??

4) All platforms - Building lazarus.

In the lazarus dir enter:
make

This should invoke the compiler and start the build of lazarus.

5) All platforms - Try it

Have fun.

Marc

PS Michael (H), shall I put it into HTML so we canplace it on the website ?

Reply by email