Sign in Join

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

Mailing lists / lazarus / 1999-08

CVS Version Problems

9 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Michael A. Hess
to Markus Goetz: i have now installed the CVS version, when i cd into /opt/fpc/lazarus and do a make i get…
Markus Goetz wrote 10 lines
Hi, i have now installed the CVS version, when i cd into /opt/fpc/lazarus and do a make i get : Compiling lazarus.pp Compiling /opt/fpc/rtl/linux/syslinux.pp syslinux.pp(34,2) Fatal: Can't open include file systemh.inc make: *** [lazarus] Error 1 rmg:[lazarus]#

It is trying to compile the rtl because either the .ppu in the rtl directory doesn't exists or it is a different in nature which required it to be rebuilt with the version of the compiler you are using.

do the following

cd /opt/fpc/rtl
make
cd /opt/fpc/fcl
make
cd /opt/fpc/gtk
make
cd /opt/fpc/lazarus/lcl
make

now you can go to the lazarus directory

cd /opt/fpc/lazarus
make

Do these same steps everytime you cycle a new compiler.

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

Reply by email

Markus Goetz

Hi,
i have now installed the CVS version, when i cd into /opt/fpc/lazarus and do a make i get :

rmg:[lazarus]# make
ppc386 -Tlinux -Fu/opt/fpc/rtl/linux -Fu/opt/fpc/units/linux -Fu../fcl/linux -Fu../rtl/linux -Fu../gtk -Fulcl -Fl/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -Fl/usr/lib -Fl/usr/i486-linux-libc5/lib -Fl/usr/X11R6/lib -Fl/usr/lib/sane -FE. -di386 lazarus.pp Free Pascal Compiler version 0.99.12a [1999/06/24] for i386 Copyright (c) 1993-98 by Florian Klaempfl
Target OS: Linux for i386
Compiling lazarus.pp
Compiling /opt/fpc/rtl/linux/syslinux.pp
syslinux.pp(34,2) Fatal: Can't open include file systemh.inc make: *** [lazarus] Error 1
rmg:[lazarus]#

Markus

Markus Goetz (, http://guruz.tsx.org, icq:23244271) Der dumme Spruch des Tages (maschinell zuf�llig ausgew�hlt) : Alles hat Grenzen, nur die Dummheit ist unendlich.

Reply by email

Markus Goetz
to Michael A. Hess: It is trying to compile the rtl because either the .ppu in the rtl directory doesn't…
Michael A. Hess wrote 33 lines
Markus Goetz wrote: > > Hi, > i have now installed the CVS version, when i cd into /opt/fpc/lazarus > and do a make i get : > > Compiling lazarus.pp > Compiling /opt/fpc/rtl/linux/syslinux.pp > syslinux.pp(34,2) Fatal: Can't open include file systemh.inc > make: *** [lazarus] Error 1 > rmg:[lazarus]# It is trying to compile the rtl because either the .ppu in the rtl directory doesn't exists or it is a different in nature which required it to be rebuilt with the version of the compiler you are using. do the following cd /opt/fpc/rtl make cd /opt/fpc/fcl make cd /opt/fpc/gtk make cd /opt/fpc/lazarus/lcl make now you can go to the lazarus directory cd /opt/fpc/lazarus make Do these same steps everytime you cycle a new compiler.

Same file missing when doing the second step. Still doesn't work.

Markus Goetz (, http://guruz.tsx.org, icq:23244271) Der dumme Spruch des Tages (maschinell zuf�llig ausgew�hlt) : Um des Reimes willen, lasst uns einen killen.

Reply by email

Pascal Dutilleul
It's not missing, you need to add the correct paths to /etc/ppc386.cfg.

Hi,

is ppc386.cfg necesary if we build using the makefile ?

Pascal

_____________________________________________________________ Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com

Reply by email

Peter Vreman
to Michael A. Hess: It is trying to compile the rtl because either the .ppu in the rtl directory doesn't…
you wrote 36 lines
Am Son, 01 Aug 1999 schrieb Michael A. Hess: >Markus Goetz wrote: >> >> Hi, >> i have now installed the CVS version, when i cd into /opt/fpc/lazarus >> and do a make i get : >> >> Compiling lazarus.pp >> Compiling /opt/fpc/rtl/linux/syslinux.pp >> syslinux.pp(34,2) Fatal: Can't open include file systemh.inc >> make: *** [lazarus] Error 1 >> rmg:[lazarus]# > >It is trying to compile the rtl because either the .ppu in the rtl >directory doesn't exists or it is a different in nature which required >it to be rebuilt with the version of the compiler you are using. > >do the following > >cd /opt/fpc/rtl >make >cd /opt/fpc/fcl >make >cd /opt/fpc/gtk >make >cd /opt/fpc/lazarus/lcl >make > >now you can go to the lazarus directory > >cd /opt/fpc/lazarus >make > >Do these same steps everytime you cycle a new compiler. Same file missing when doing the second step. Still doesn't work.

It's not missing, you need to add the correct paths to /etc/ppc386.cfg.

Reply by email

Pascal Dutilleul

You should adjust/add the option -Fi path, for the include files (-Fu = for units I think)

Pascal

--- Markus Goetz wrote 47 lines
A part of this file looks like : # searchpath for units and other system dependent things #IFDEF Linux # For statically, smartlinked units #IFDEF FPC_LINK_STATIC -Fu/opt/fpc/0.99.12/rtl/linux/static -Fu/opt/fpc/0.99.12/units/linux/static #ENDIF # For Dynamically linked units #IFDEF FPC_LINK_DYNAMIC -Fu/opt/fpc/0.99.12/rtl/linux/shared -Fu/opt/fpc/0.99.12/units/linux/shared #ENDIF -Fu/opt/fpc/0.99.12/rtl/linux -Fu/opt/fpc/0.99.12/rtl/inc -Fu/opt/fpc/0.99.12/units/linux #-Fu~/pp/units;~/pp/rtl/linux #-Fu/opt/fpc/0.99.12/units;/opt/fpc/0.99.12/rtl #ENDIF # searchpath for libraries -Fl/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 #-Fl/pp/lib #-Fl/lib;/usr/lib But it does not work ! Markus -- Markus Goetz (, http://guruz.tsx.org, icq:23244271) Der dumme Spruch des Tages (maschinell zuf�llig ausgew�hlt) : Eine Schwalbe macht noch keine Schw�lbchen. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

_____________________________________________________________ Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com

Reply by email

Markus Goetz
to Peter Vreman: It's not missing, you need to add the correct paths to /etc/ppc386.cfg.
>Same file missing when doing the second step. Still doesn't work. It's not missing, you need to add the correct paths to /etc/ppc386.cfg.

A part of this file looks like :

# searchpath for units and other system dependent things #IFDEF Linux
# For statically, smartlinked units
#IFDEF FPC_LINK_STATIC
-Fu/opt/fpc/0.99.12/rtl/linux/static
-Fu/opt/fpc/0.99.12/units/linux/static
#ENDIF
# For Dynamically linked units
#IFDEF FPC_LINK_DYNAMIC
-Fu/opt/fpc/0.99.12/rtl/linux/shared
-Fu/opt/fpc/0.99.12/units/linux/shared
#ENDIF
-Fu/opt/fpc/0.99.12/rtl/linux
-Fu/opt/fpc/0.99.12/rtl/inc
-Fu/opt/fpc/0.99.12/units/linux
#-Fu~/pp/units;~/pp/rtl/linux
#-Fu/opt/fpc/0.99.12/units;/opt/fpc/0.99.12/rtl
#ENDIF

# searchpath for libraries
-Fl/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 #-Fl/pp/lib
#-Fl/lib;/usr/lib

But it does not work !

Markus

Markus Goetz (, http://guruz.tsx.org, icq:23244271) Der dumme Spruch des Tages (maschinell zuf�llig ausgew�hlt) : Eine Schwalbe macht noch keine Schw�lbchen.

Reply by email

Pascal Dutilleul

I have also the same problem to compile lazarus.

I can manage to :

> >cd /opt/fpc/rtl > >make

but the following is complaining about 'systemh.inc' not found.

> >cd /opt/fpc/fcl > >make

I know it is the compiler-option '-Fi' that somewhere should be adjusted. While executing 'make', I see that '-Fi ../inc' appears in the commandline options for ppc386. I figured out that that should be changed to '../rtl/inc'.

But where do I put that ???

As I understand, when using 'make' then the 'ppc386.cfg' doesn't play a role ?
In makefile.fpc I found that the option '-Fi' is set using some variable 'INC'. But I can't find where that variable is initialized to '../inc'.
I tried to add the line 'INC=../rtl/inc' in the /fcl/Makefile but this also doesn't help much.

So I'm a bit confused where to adjust the include-path of the compiler :(

Pascal

_____________________________________________________________ Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com

Reply by email