Sign in Join

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

Mailing lists / lazarus / 2003-02

Unit not found: SysUtils

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Mattias Gaertner
to Paul Wesson: I'm an experienced Delphi developer now giving Linux a shot. I just installed Mandrake…
Show quoted text 8 lines
Hi, I'm an experienced Delphi developer now giving Linux a shot. I just installed Mandrake 9.0 and am trying to get Lazarus working. Here is what I did... - installed the fpc rpm (fpc-1.0.6-1.i386.rpm)

The 1.0.6 has some small bugs. Plz use at least the fpc from 21 Sept 2002. You can use the rpm on the lazarus website
ftp://ftp.us.freepascal.org/pub/lazarus/fpc-1.0.7-laz.20020921.i386.rpm

- extracted (lazarus.zip) to my home folder /home/paul/lazarus

I hope you mean lazaruslinux.zip.

Show quoted text 24 lines
- from the console did a "make" from my /home/paul/lazarus directory (compiled ok) - edited /etc/fpc.cfg using "vi" and added the following lines # Lazarus Libs -Fu/home/paul/lazarus/lcl/units -Fu/home/paul/lazarus/lcl/units/gtk -Fu/home/paul/lazarus/components/units - the fpc.cfg had the following other settings... # searchpath for units and other system dependent things -Fu/usr/lib/fpc/1.0.6/units/$target -Fu/usr/lib/fpc/1.0.6/units/$target/* -Fu/usr/lib/fpc/1.0.6/units/$target/rtl # searchpath for libraries -Fl/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2 I can start Lazarus fine, but when I place a "TButton" component on my form and double click it to enter code, I get an error stating: /lazarus/lcl/forms.pp(40,34) Error: unit not found: SysUtils Can anyone give me any direction on this?

You need the freepascal sources.
See http://www.freepascal.org/develop.html
daily snapshot of release tree or (better) downloading via cvs. After you have downloaded and unpacked the sources, you have to tell lazarus where they are:

Environment -> Environment Options -> Files -> FPC Source directory

Hint: This directory contains directories like 'compiler', 'docs', 'fcl', 'rtl' and 'packages'.

I'm currently creating normal packages (rpm, deb, tgz) for lazarus. They will install freepascal, its sources, its docs and lazarus much more easier.

Mattias

Reply by email

Paul Wesson

Hi,

I'm an experienced Delphi developer now giving Linux a shot.

I just installed Mandrake 9.0 and am trying to get Lazarus working.

Here is what I did...
- installed the fpc rpm (fpc-1.0.6-1.i386.rpm)
- extracted (lazarus.zip) to my home folder /home/paul/lazarus
- from the console did a "make" from my /home/paul/lazarus directory (compiled ok)
- edited /etc/fpc.cfg using "vi" and added the following lines

# Lazarus Libs
-Fu/home/paul/lazarus/lcl/units
-Fu/home/paul/lazarus/lcl/units/gtk
-Fu/home/paul/lazarus/components/units

- the fpc.cfg had the following other settings...

# searchpath for units and other system dependent things -Fu/usr/lib/fpc/1.0.6/units/$target
-Fu/usr/lib/fpc/1.0.6/units/$target/*
-Fu/usr/lib/fpc/1.0.6/units/$target/rtl
# searchpath for libraries
-Fl/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2

I can start Lazarus fine, but when I place a "TButton" component on my form and double click it to enter code, I get an error stating:

/lazarus/lcl/forms.pp(40,34) Error: unit not found: SysUtils

Can anyone give me any direction on this?

Thanks
Paul

Reply by email