Sign in Join

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

Mailing lists / lazarus / 2002-09

Newbie question: can't find sysutils (SOLVED)

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Tony Maro
to Tony Maro: Okay, I've read the FAQ and searched the archives. Here's what I have: Lazarus 0.8.4a…

AHA! Found it!

It seems the FPC source directory under environment options was blank. Adding in /usr/local/src/fpc-1.0.6 fixed it. What's strange is I don't think this is what I did to fix it on the first machine...

Tony Maro wrote 32 lines
Okay, I've read the FAQ and searched the archives. Here's what I have: Lazarus 0.8.4a (new install from complete sources) Free Pascal 1.0.6 (new install) Lazarus compiled just fine and runs Projects compile fine within Lazarus (and run) Double click a button to assign a method and get "Error: unit not found: sysutils" My compiler options | other sources includes the two default options mentioned in the FAQ. Here's the thing... I got ONE install working after about 2 hours but I don't know how. I reinstalled, tweaked, deleted, installed the compiler and Lazarus over and over and suddenly it worked. I have no idea why. I've compared the configuration files to no end... the second machine just won't work. I've searched my HD's for sysutils.pp and both machines have it in the same place. BOTH computers had the problem to begin with. For some reason it went away on the first one and I don't know how. Both computers were installed from the exact same files. Both installs were done as root. Any ideas? _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Tony Maro

Okay, I've read the FAQ and searched the archives. Here's what I have:

Lazarus 0.8.4a (new install from complete sources) Free Pascal 1.0.6 (new install)

Lazarus compiled just fine and runs

Projects compile fine within Lazarus (and run)
Double click a button to assign a method and get "Error: unit not found: sysutils"

My compiler options | other sources includes the two default options mentioned in the FAQ.

Here's the thing... I got ONE install working after about 2 hours but I don't know how. I reinstalled, tweaked, deleted, installed the compiler and Lazarus over and over and suddenly it worked. I have no idea why. I've compared the configuration files to no end... the second machine just won't work. I've searched my HD's for sysutils.pp and both machines have it in the same place.

BOTH computers had the problem to begin with. For some reason it went away on the first one and I don't know how. Both computers were installed from the exact same files. Both installs were done as root.

Any ideas?

Reply by email

Tony Maro

Haha - Thanks! Looks like I figured it out about the same time you sent this...

I'm an experienced Delphi programmer and experienced in Linux though I learn something every day ;-) I was amazed when I stumbled across Lazarus yesterday. This allows me to practically dump Windows entirely - once I write the checkbook balancing software I want LOL. I never was happy with Kylix due to the install processes required for created applications.

As I go through my learning curve with Free Pascal and Lazarus I'll try to keep an eye out for other FAQ issues that might be added as well.

-Tony

Earlier message 54 lines
-----Original Message----- From: Mattias Gaertner Sent: Wed 9/4/2002 10:49 AM To: Cc: Subject: Re: [lazarus] Newbie question: can't find sysutils On 04 Sep 2002 10:06:56 -0400 Tony Maro wrote: > Okay, I've read the FAQ and searched the archives. Here's what I have: > > Lazarus 0.8.4a (new install from complete sources) > Free Pascal 1.0.6 (new install) > > > Lazarus compiled just fine and runs > > Projects compile fine within Lazarus (and run) > Double click a button to assign a method and get "Error: unit not found: > sysutils" > > My compiler options | other sources includes the two default options > mentioned in the FAQ. > > Here's the thing... I got ONE install working after about 2 hours but I > don't know how. I reinstalled, tweaked, deleted, installed the compiler > and Lazarus over and over and suddenly it worked. I have no idea why. > I've compared the configuration files to no end... the second machine > just won't work. I've searched my HD's for sysutils.pp and both > machines have it in the same place. > > BOTH computers had the problem to begin with. For some reason it went > away on the first one and I don't know how. Both computers were > installed from the exact same files. Both installs were done as root. Just a hint: Lazarus can be installed as any user. The IDE needs the path to the FPC sources. FPC is not only the compiler, but also all non visual components, like SysUtils, Classes, ... . Lazarus are only the IDE and visual components. Only together they make sense. You can set the path to fpc sources in Environment -> General options -> Files -> FPC source directory. I will update the FAQs. Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives <<winmail.dat>>

Reply by email

Mattias Gaertner
to Tony Maro: Okay, I've read the FAQ and searched the archives. Here's what I have: Lazarus 0.8.4a…
Show quoted text 25 lines
Okay, I've read the FAQ and searched the archives. Here's what I have: Lazarus 0.8.4a (new install from complete sources) Free Pascal 1.0.6 (new install) Lazarus compiled just fine and runs Projects compile fine within Lazarus (and run) Double click a button to assign a method and get "Error: unit not found: sysutils" My compiler options | other sources includes the two default options mentioned in the FAQ. Here's the thing... I got ONE install working after about 2 hours but I don't know how. I reinstalled, tweaked, deleted, installed the compiler and Lazarus over and over and suddenly it worked. I have no idea why. I've compared the configuration files to no end... the second machine just won't work. I've searched my HD's for sysutils.pp and both machines have it in the same place. BOTH computers had the problem to begin with. For some reason it went away on the first one and I don't know how. Both computers were installed from the exact same files. Both installs were done as root.

Just a hint: Lazarus can be installed as any user.

The IDE needs the path to the FPC sources. FPC is not only the compiler, but also all non visual components, like SysUtils, Classes, ... . Lazarus are only the IDE and visual components. Only together they make sense. You can set the path to fpc sources in Environment -> General options -> Files -> FPC source directory.

I will update the FAQs.

Mattias

Reply by email