Lazarus

Installation => Linux => Topic started by: lgrfbs on March 09, 2018, 12:36:51 pm

Title: Any simpel install of Lazarus + support files.
Post by: lgrfbs on March 09, 2018, 12:36:51 pm
Hi, why is there no easy sdätt to install Lazarus on Linux?
Now you have to install FPC and then Lazarus there after.
I'm sitting on Linux Mint 18.1 with a Windows brain, have got into FPC but Lazarus claims that the version 3.0.4 is wrong and it just goes to finish that installation.
 :(
Title: Re: Any simpel install of Lazarus + support files.
Post by: lgrfbs on March 09, 2018, 01:09:19 pm
How do I fix yhis?
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.0.4 [2017/10/02] for i386
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Linux for i386
(3104) Compiling /home/robert/tmp/project1.lpr
/home/robert/tmp/project1.lpr(9,3) Fatal: (10022) Can't find unit Interfaces used by Project1
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode

I did get Lazarus installed after some  >:(
and Lazarus start up, but I can not [F9] run a emty project.
Title: Re: Any simpel install of Lazarus + support files.
Post by: Thaddy on March 09, 2018, 03:15:04 pm
Code: Bash  [Select][+][-]
  1. Hint: (11030) Start of reading config file /etc/fpc.cfg
  2. Hint: (11031) End of reading config file /etc/fpc.cfg
Is actually the proper location.

If you do a new install, first delete /etc/fpc.cfg because it contains paths to the old locations and a new install will not override these paths. (It will install a new version)
Title: Re: Any simpel install of Lazarus + support files.
Post by: lgrfbs on March 10, 2018, 07:15:21 am
Ok
I have problems whit Lazarus on 2 computers and this comes from box2:
Linux Mint 17.1 Cinnamon 32-bit
Cinnamon 2.4.8
Linux kernel 3.13.0-142-generic
Processor Intel Core 2 CPU TS200 @1.6Ghz x 2
Memory 2.0GiB
Harddrive 749.0 GiB
Graphics card Advanced Micro Devices, Inc. [AMD/ATI] RV515/M54 [Mobility Redeon X1400] (prog-if 00 [VGA controller])


And how do I fix this problem now?
masks.pas(29,22) Fatal: Can not find unit contnrs used by Masks of package LazUtils.
Just started Lazarus and pressed [F9].

I Want to make programs, not mess whit the tool (Lazarus) :(
Title: Re: Any simpel install of Lazarus + support files.
Post by: JuhaManninen on March 10, 2018, 07:36:31 am
masks.pas(29,22) Fatal: Can not find unit contnrs used by Masks of package LazUtils.
"Can not find unit" actually means the unit file is a wrong version.
Delete all .ppu and .o files under ~/.lazarus directory. You can also build Lazarus clean if needed.
See also:
 http://wiki.freepascal.org/FPC_message:_Can_not_find_unit
and
 http://wiki.freepascal.org/Unit_not_found_-_How_to_find_units
TinyPortal © 2005-2018