Sign in Join

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

Mailing lists / lazarus / 1999-09

First try on compiling lazarus...

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Peter Henriksen

Hi.

I'm just fiddling around trying to compile Lazarus for the first time ... I have followed the HowTo web-page (and checked it again :-) however when it comes to compiling Lazarus, when I switch to /opt/fpc/fcl directory and type 'make' I get the following output :

make -C linux all
make[1]: Entering directory `/opt/fpc/fcl/linux'
ppc386 -Tlinux -S2 -Fu/opt/fpc/rtl/linux -Fu/opt/fpc/units/linux -Fi../inc -Fi../i386 -FE. -di386 ../inc/gettext.pp Free Pascal Compiler version 0.99.13 [1999/09/18] for i386 Copyright (c) 1993-99 by Florian Klaempfl
Target OS: Linux for i386
Compiling ../inc/gettext.pp
Compiling /opt/fpc/rtl/linux/syslinux.pp
syslinux.pp(34,2) Fatal: Can't open include file systemh.inc make[1]: Leaving directory `/opt/fpc/fcl/linux'

As far as I can see from this output, it uses -Fi../inc, but I can only find systemh.inc in ../rtl/inc... actually when in /opt/fpc/fcl, there is no ../inc directory.

Did I miss any important information, or where did I go wrong ?

Best regards
Peter Henriksen
e-mail: ,

Reply by email

Peter Henriksen
to Michael A. Hess: The fact that it is doing this indicates that the rtl doesn't match the current compiler…

Hi again.

Show quoted text 6 lines
> syslinux.pp(34,2) Fatal: Can't open include file systemh.inc current compiler build. Before it can build the fcl it is trying to rebuild the rtl. Go into the rtl directory and type make. This should build the rtl first. Then go to fcl, do make, then gtk, do make, then lazarus, do make.

Ok, I tried updating my soruce, copied /opt/fpc/base to /opt/fpc, rebuilt the compiler (Ok) and at last did 'make clean' and 'make' in rtl directory (Ok).

Now when 'make'ing in fcl directory, I get the following :

Compiling classes.pp
objpas.pp(26,1) Hint: Conditional HASRESOURCESTRINGS was set at startup in last compilation of objpas.pp
stringsi.inc(28,11) Hint: Conditional LINUX was set at startup in last compilation of sysutils.pp
sysutils.pp(28,11) Fatal: Can't find unit SYSUTILS
make[1]: Leaving directory `/opt/fpc/fcl/linux'

I can see, that maybe I have come a step further (or maybe not :-)

Best regards
Peter

Reply by email

Michael A. Hess
to Peter Henriksen: Hi. I'm just fiddling around trying to compile Lazarus for the first time ... I have…
Peter Henriksen wrote
Compiling /opt/fpc/rtl/linux/syslinux.pp syslinux.pp(34,2) Fatal: Can't open include file systemh.inc make[1]: Leaving directory `/opt/fpc/fcl/linux'

The fact that it is doing this indicates that the rtl doesn't match the current compiler build. Before it can build the fcl it is trying to rebuild the rtl. Go into the rtl directory and type make. This should build the rtl first. Then go to fcl, do make, then gtk, do make, then lazarus, do make.

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

Reply by email