[lazarus] New Bug Entered

James Tabor jimtabor at adsl-64-217-116-74.dsl.hstntx.swbell.net
Wed May 15 20:35:08 EDT 2002


Hi all!
bugtracker at miraclec.com wrote:
> 
> Title: downloads - crash binary, crash source
> 
> Entered by: Jim
> 
> Hi,
> 
>   Don\'t know if this is a bug so much as a lack of
> setup data.
>   Downloaded binaries and source (Win32). Ran
> binary from lazarus directory on D-drive. DOS
> window resulted in multiple GTK errors and then the
> program froze, with all panels drawn.

I had the same thing happen to me.

>   Compiled source with fpc 106 and had to manually
> build the lazarus.res file, fpc could not locate the
> images directory for lazarus. The resultant exec-
> utable was 7.3mb. Crashed when run with DOS box
> showing all Windows procedures names\' as they
> were run.

Read my previous post on Compilation Errors.

>   One small grey panel showed which when closed,
> was replaced by a larger grayed panel with two
> tabs at the top l;abelled something like \'hm1\'
> and \'hm2\'.
>   If I place the binaries download in the fpc
> directory, will it run correctly?
> 

I did get it to compile (except for lazarus.rc) all the way, by 
"make clean all".

But when I try to install from source "make install" I get this;

C:/PP/BIN/WIN32/ginstall.exe -m 755 -d lib/lazarus/bin
C:/PP/BIN/WIN32/upx.exe lazarus.exe
                     Ultimate Packer for eXecutables
            Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
UPX 1.20w        Markus F.X.J. Oberhumer & Laszlo Molnar        May 23rd 2001

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
   7623666 ->   1793010   23.51%    win32/pe     lazarus.exe

Packed 1 file.
C:/PP/BIN/WIN32/cp.exe -fp lazarus.exe lib/lazarus/bin
C:/PP/BIN/WIN32/MAKE.EXE -C lcl install
MAKE.EXE[1]: Entering directory `C:/pp/lazarus/lcl'
C:/PP/BIN/WIN32/rm.exe -f units/allunits.ppw
C:/PP/BIN/WIN32/ppc386.exe -gl -Fu./units/win32 -Fu./units -Fuinterfaces/abstrac
t -Fu. -Fuc:/pp/units/win32/rtl -Fuc:/pp/units/win32/paszlib -Fuc:/pp/units/win3
2/fcl -Fuc:/pp/units/win32/mysql -Fuc:/pp/units/win32/ibase -Fuc:/pp/units/win32
/opengl -Fuc:/pp/units/win32/gtk -Fiinclude -FUunits -di386 allunits.pp
C:/PP/BIN/WIN32/MAKE.EXE -C interfaces all
MAKE.EXE[2]: Entering directory `C:/pp/lazarus/lcl/interfaces'
C:/PP/BIN/WIN32/MAKE.EXE -C win32 all
MAKE.EXE[3]: Entering directory `C:/pp/lazarus/lcl/interfaces/win32'
C:/PP/BIN/WIN32/rm.exe -f
C:/PP/BIN/WIN32/MAKE.EXE -W interfaces.pp interfaces.ppw
MAKE.EXE[4]: Entering directory `C:/pp/lazarus/lcl/interfaces/win32'
C:/PP/BIN/WIN32/ppc386.exe -gl -S2 -Sh -Fu../../units -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/win32 -di386 interfaces.pp
MAKE.EXE[4]: Leaving directory `C:/pp/lazarus/lcl/interfaces/win32'
MAKE.EXE[3]: Leaving directory `C:/pp/lazarus/lcl/interfaces/win32'
MAKE.EXE[2]: Leaving directory `C:/pp/lazarus/lcl/interfaces'
C:/PP/BIN/WIN32/fpcmake.exe -p -Twin32 Makefile.fpc
Processing Makefile.fpc
Error: Parse error key=value excepted: "MAKE.EXE[1]: *** [fpc_install] Error 1
MAKE.EXE[1]: Leaving directory `C:/pp/lazarus/lcl'
C:\PP\BIN\WIN32\MAKE.EXE: *** [lcl_install] Error 2

C:\pp\lazarus>

Attach is the Makefile.fpc.

Thanks,
James

#   $Id: Makefile.fpc,v 1.15 2002/04/26 12:26:50 lazarus Exp $
#
#   Makefile.fpc for Lazarus for Free Pascal
#

[package]
name=lcl
version=0.8a

[target]
dirs=interfaces
units=allunits
implicitunits=arrow buttons calendar clipbrd clistbox comctrls controls \
        dialogs dynhasharray extctrls filectrl forms graphics \
        imglist interfacebase lazqueue lcllinux lmessages lresources \
        menus messages registry spin stdctrls toolwin utrace \
        vclglobals interfaces
rsts=dialogs

[require]
packages=fcl

[compiler]
options=-gl
unittargetdir=units
unitdir=interfaces/abstract .
includedir=include

[install]
buildunit=allunits

[clean]
files=$(wildcard units/*$(OEXT)) $(wildcard units/*$(PPUEXT)) $(wildcard units/*$(RSTEXT))\
      $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))


[default]
lcldir=.

[rules]
.PHONY: cleartarget all

cleartarget:
        -$(DEL) $(COMPILER_UNITTARGETDIR)/allunits$(PPUEXT)

all: cleartarget allunits$(PPUEXT) $(TARGET_DIRS)





More information about the Lazarus mailing list