Lazarus

Installation => Linux => Topic started by: Nicola on January 02, 2004, 12:15:18 pm

Title: Problems running Lazarus on Knoppix
Post by: Nicola on January 02, 2004, 12:15:18 pm
Hi! i'm trying to use lazarus on knoppix (a debian like)
I downloaded the following packages:

Lazarus 0.9.0.6
fpc 1.0.11
fpcsrc 1.0.11

i converted them to deb with alien and installed them.

Now, lazarus starts ok, but when i click on a widget for creating an event, it says "TDefaultComponentEditor has created this error: unable to find method. Please fix the error shown in the message window"

There it says: "/usr/share/lazarus/lcl/forms.pp(46,21) Error: unit not found: CustApp

But in the config i set the right directory for FPC source (that is /usr/share/fpcsrc ).
If i put the exact directory containing custapp.pp in the "run -> compiler option -> path" it still gives the same error..

What can i do ? i really like what i can see, it would be a pity if i can't use it..

Thanks!
Title: Problems running Lazarus on Knoppix
Post by: Marc on January 02, 2004, 06:03:39 pm
what is the output of run - compiler options - test ?
Title: Problems running Lazarus on Knoppix
Post by: Nicola on January 08, 2004, 11:01:48 pm
Quote from: "Marc"
what is the output of run - compiler options - test ?


Ok, i've tryed to install and reinstall everything in different version.. no way.
Below is the output of the test. I can't read it very well
Now, i've installed the three packages, fpc, fpcsrc and lazarus using alien on debian.

i've this directories:
/usr/share/fpcsrc/
/usr/lib/fpc/

Does it says anything ?


[TExternalToolList.Run] /usr/bin/ppc386  -Rintel -S2cgi -CD -Ch8000000 -OG1p1 -gl -XD -va -l -Fu/usr/lib/fpc/1.0.10/units/linux/fcl/ -Fu/usr/lib/fpc/1.0.10/units/linux/rtl/ -Fu/usr/lib/fpc/1.0.10/units/linux/gtk/ -Fu/usr/lib/fpc/1.0.10/units/linux/x11/ -Fu. /home/nicola/temp/testcompileroptions.pas
TOutputFilter: "Defining symbol LINUX"
TOutputFilter: "Defining symbol FPK"
TOutputFilter: "Defining symbol FPC"
TOutputFilter: "Defining symbol VER1"
TOutputFilter: "Defining symbol VER1_0"
TOutputFilter: "Defining symbol VER1_0_11"
TOutputFilter: "Defining symbol INT64"
TOutputFilter: "Defining symbol HASRESOURCESTRINGS"
TOutputFilter: "Defining symbol NEWVMTOFFSET"
TOutputFilter: "Defining symbol SYSTEMTVARREC"
TOutputFilter: "Defining symbol INCLUDEOK"
TOutputFilter: "Defining symbol NEWMM"
TOutputFilter: "Defining symbol HASWIDECHAR"
TOutputFilter: "Defining symbol INT64FUNCRESOK"
TOutputFilter: "Defining symbol CORRECTFLDCW"
TOutputFilter: "Defining symbol ENHANCEDRAISE"
TOutputFilter: "Defining symbol PACKENUMFIXED"
TOutputFilter: "Defining symbol CPU86"
TOutputFilter: "Defining symbol CPU87"
TOutputFilter: "Defining symbol CPUI386"
TOutputFilter: "Searching file ppc386.cfg... not found"
TOutputFilter: "Searching file /home/nicola/.ppc386.cfg... not found"
TOutputFilter: "Searching file /etc/ppc386.cfg... not found"
TOutputFilter: "Searching file fpc.cfg... not found"
TOutputFilter: "Searching file /home/nicola/.fpc.cfg... not found"
TOutputFilter: "Searching file /etc/fpc.cfg... not found"
TOutputFilter: "interpreting option "-Rintel""
TOutputFilter: "interpreting option "-S2cgi""
TOutputFilter: "interpreting option "-CD""
TOutputFilter: "interpreting option "-Ch8000000""
TOutputFilter: "interpreting option "-OG1p1""
TOutputFilter: "interpreting option "-gl""
TOutputFilter: "interpreting option "-XD""
TOutputFilter: "Defining symbol FPC_LINK_DYNAMIC"
TOutputFilter: "Undefining symbol FPC_LINK_SMART"
TOutputFilter: "Undefining symbol FPC_LINK_STATIC"
TOutputFilter: "interpreting option "-va""
TOutputFilter: "interpreting option "-l""
TOutputFilter: "interpreting option "-Fu/usr/lib/fpc/1.0.10/units/linux/fcl/""
TOutputFilter: "Hint: Path "/usr/lib/fpc/1.0.10/units/linux/fcl/" not found"
TOutputFilter: "interpreting option "-Fu/usr/lib/fpc/1.0.10/units/linux/rtl/""
TOutputFilter: "Hint: Path "/usr/lib/fpc/1.0.10/units/linux/rtl/" not found"
TOutputFilter: "interpreting option "-Fu/usr/lib/fpc/1.0.10/units/linux/gtk/""
TOutputFilter: "Hint: Path "/usr/lib/fpc/1.0.10/units/linux/gtk/" not found"
TOutputFilter: "interpreting option "-Fu/usr/lib/fpc/1.0.10/units/linux/x11/""
TOutputFilter: "Hint: Path "/usr/lib/fpc/1.0.10/units/linux/x11/" not found"
TOutputFilter: "interpreting option "-Fu.""
TOutputFilter: "found source file name "/home/nicola/temp/testcompileroptions.pas""
TOutputFilter: "Free Pascal Compiler version 1.0.11 [2003/10/22] for i386"
TOutputFilter: "Copyright (c) 1993-2003 by Florian Klaempfl"
TOutputFilter: "Defining symbol UNIX"
TOutputFilter: "Defining symbol HASUNIX"
TOutputFilter: "Defining symbol ENDIAN_LITTLE"
TOutputFilter: "Searching file /lib/ld-linux.so.2... found"
TOutputFilter: "Searching file /lib/ld-2.0.*... not found"
TOutputFilter: "Compiler: /usr/lib/fpc/1.0.11/ppc386"
TOutputFilter: "Compiler OS: Linux for i386"
TOutputFilter: "Target OS: Linux for i386"
TOutputFilter: "Using executable path: /usr/lib/fpc/1.0.11/"
TOutputFilter: "Using unit path: ./"
TOutputFilter: "Using unit path: /usr/lib/fpc/1.0.11/units/linux/"
TOutputFilter: "Using unit path: /usr/lib/fpc/1.0.11/units/linux/rtl/"
TOutputFilter: "Using unit path: /usr/lib/fpc/1.0.11/"
TOutputFilter: "Using library path: /lib/"
TOutputFilter: "Using library path: /usr/lib/"
TOutputFilter: "Using library path: /usr/X11R6/lib/"
TOutputFilter: "Using library path: ./"
TOutputFilter: "Using library path: /usr/lib/fpc/1.0.11/units/linux/"
TOutputFilter: "Using library path: /usr/lib/fpc/1.0.11/units/linux/rtl/"
TOutputFilter: "Using library path: /usr/lib/fpc/1.0.11/"
TOutputFilter: "Using object path: ./"
TOutputFilter: "Using object path: /usr/lib/fpc/1.0.11/units/linux/"
TOutputFilter: "Using object path: /usr/lib/fpc/1.0.11/units/linux/rtl/"
TOutputFilter: "Using object path: /usr/lib/fpc/1.0.11/"
TOutputFilter: "Compiling /home/nicola/temp/testcompileroptions.pas"
TOutputFilter: "Macro defined: FPC_LINK_DYNAMIC"
TOutputFilter: "Macro defined: LINUX"
TOutputFilter: "Macro defined: FPK"
TOutputFilter: "Macro defined: FPC"
TOutputFilter: "Macro defined: VER1"
TOutputFilter: "Macro defined: VER1_0"
TOutputFilter: "Macro defined: VER1_0_11"
TOutputFilter: "Macro defined: INT64"
TOutputFilter: "Macro defined: HASRESOURCESTRINGS"
TOutputFilter: "Macro defined: NEWVMTOFFSET"
TOutputFilter: "Macro defined: SYSTEMTVARREC"
TOutputFilter: "Macro defined: INCLUDEOK"
TOutputFilter: "Macro defined: NEWMM"
TOutputFilter: "Macro defined: HASWIDECHAR"
TOutputFilter: "Macro defined: INT64FUNCRESOK"
TOutputFilter: "Macro defined: CORRECTFLDCW"
TOutputFilter: "Macro defined: ENHANCEDRAISE"
TOutputFilter: "Macro defined: PACKENUMFIXED"
TOutputFilter: "Macro defined: CPU86"
TOutputFilter: "Macro defined: CPU87"
TOutputFilter: "Macro defined: CPUI386"
TOutputFilter: "Macro defined: UNIX"
TOutputFilter: "Macro defined: HASUNIX"
TOutputFilter: "Macro defined: ENDIAN_LITTLE"
TOutputFilter: "Macro FPC_VERSION set to 1"
TOutputFilter: "Macro FPC_RELEASE set to 0"
TOutputFilter: "Macro FPC_PATCH set to 11"
TOutputFilter: "testcompileroptions.pas(1,1)  Macro defined: FPC_OBJFPC"
TOutputFilter: "Load from PROGRAM (implementation) unit SYSLINUX"
TOutputFilter: "Unitsearch: syslinux.ppu"
TOutputFilter: "Searching file syslinux.ppu... not found"
TOutputFilter: "Unitsearch: syslinux.pp"
TOutputFilter: "Searching file syslinux.pp... not found"
TOutputFilter: "Unitsearch: syslinux.pas"
TOutputFilter: "Searching file syslinux.pas... not found"
TOutputFilter: "Unitsearch: syslinux.ppu"
TOutputFilter: "Searching file syslinux.ppu... not found"
TOutputFilter: "Unitsearch: syslinux.pp"
TOutputFilter: "Searching file syslinux.pp... not found"
TOutputFilter: "Unitsearch: syslinux.pas"
TOutputFilter: "Searching file syslinux.pas... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/syslinux.ppu"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/syslinux.ppu... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/syslinux.pp"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/syslinux.pp... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/syslinux.pas"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/syslinux.pas... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/rtl/syslinux.ppu"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/rtl/syslinux.ppu... found"
TOutputFilter: "PPU Loading /usr/lib/fpc/1.0.11/units/linux/rtl/syslinux.ppu"
TOutputFilter: "PPU Name: /usr/lib/fpc/1.0.11/units/linux/rtl/syslinux.ppu"
TOutputFilter: "PPU Time: 2003/10/22 17:00:33"
TOutputFilter: "PPU Flags: 12497"
TOutputFilter: "PPU Crc: -317849467"
TOutputFilter: "PPU Crc: -163267194 (intfc)"
TOutputFilter: "PPU Check file /usr/lib/fpc/1.0.11/units/linux/rtl/libpsyslinux.a time 2003/10/22 17:00:43"
TOutputFilter: "PPU Check file /usr/lib/fpc/1.0.11/units/linux/rtl/syslinux.o time 2003/10/22 17:00:33"
TOutputFilter: "Searching file ./syslinux.pp... not found"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/syslinux.pp... not found"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/rtl/syslinux.pp... not found"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/syslinux.pp... not found"
TOutputFilter: "PPU Source: syslinux.pp not found"
TOutputFilter: "PPU Source: sysunixh.inc not found"
TOutputFilter: "PPU Source: systemh.inc not found"
TOutputFilter: "PPU Source: mathh.inc not found"
TOutputFilter: "PPU Source: setjumph.inc not found"
TOutputFilter: "PPU Source: objpash.inc not found"
TOutputFilter: "PPU Source: heaph.inc not found"
TOutputFilter: "PPU Source: sysunix.inc not found"
TOutputFilter: "PPU Source: system.inc not found"
TOutputFilter: "PPU Source: filerec.inc not found"
TOutputFilter: "PPU Source: textrec.inc not found"
TOutputFilter: "PPU Source: innr.inc not found"
TOutputFilter: "PPU Source: i386.inc not found"
TOutputFilter: "PPU Source: strpas.inc not found"
TOutputFilter: "PPU Source: strlen.inc not found"
TOutputFilter: "PPU Source: generic.inc not found"
TOutputFilter: "PPU Source: set.inc not found"
TOutputFilter: "PPU Source: genset.inc not found"
TOutputFilter: "PPU Source: math.inc not found"
TOutputFilter: "PPU Source: genmath.inc not found"
TOutputFilter: "PPU Source: sstrings.inc not found"
TOutputFilter: "PPU Source: real2str.inc not found"
TOutputFilter: "PPU Source: int64.inc not found"
TOutputFilter: "PPU Source: astrings.inc not found"
TOutputFilter: "PPU Source: wstrings.inc not found"
TOutputFilter: "PPU Source: rtti.inc not found"
TOutputFilter: "PPU Source: rttip.inc not found"
TOutputFilter: "PPU Source: genrtti.inc not found"
TOutputFilter: "PPU Source: setjump.inc not found"
TOutputFilter: "PPU Source: objpas.inc not found"
TOutputFilter: "PPU Source: except.inc not found"
TOutputFilter: "PPU Source: errno.inc not found"
TOutputFilter: "PPU Source: sysnr.inc not found"
TOutputFilter: "PPU Source: sysconst.inc not found"
TOutputFilter: "PPU Source: systypes.inc not found"
TOutputFilter: "PPU Source: signal.inc not found"
TOutputFilter: "PPU Source: syscalls.inc not found"
TOutputFilter: "PPU Source: heap.inc not found"
TOutputFilter: "PPU Source: file.inc not found"
TOutputFilter: "PPU Source: typefile.inc not found"
TOutputFilter: "PPU Source: text.inc not found"
TOutputFilter: "syslinux.pp(1,1) Hint: Conditional I386 was set at startup in last compilation of syslinux.pp"
TOutputFilter: "Load from PROGRAM (implementation) unit OBJPAS"
TOutputFilter: "Unitsearch: objpas.ppu"
TOutputFilter: "Searching file objpas.ppu... not found"
TOutputFilter: "Unitsearch: objpas.pp"
TOutputFilter: "Searching file objpas.pp... not found"
TOutputFilter: "Unitsearch: objpas.pas"
TOutputFilter: "Searching file objpas.pas... not found"
TOutputFilter: "Unitsearch: objpas.ppu"
TOutputFilter: "Searching file objpas.ppu... not found"
TOutputFilter: "Unitsearch: objpas.pp"
TOutputFilter: "Searching file objpas.pp... not found"
TOutputFilter: "Unitsearch: objpas.pas"
TOutputFilter: "Searching file objpas.pas... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/objpas.ppu"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/objpas.ppu... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/objpas.pp"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/objpas.pp... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/objpas.pas"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/objpas.pas... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/rtl/objpas.ppu"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/rtl/objpas.ppu... found"
TOutputFilter: "PPU Loading /usr/lib/fpc/1.0.11/units/linux/rtl/objpas.ppu"
TOutputFilter: "PPU Name: /usr/lib/fpc/1.0.11/units/linux/rtl/objpas.ppu"
TOutputFilter: "PPU Time: 2003/10/22 17:00:33"
TOutputFilter: "PPU Flags: 12499"
TOutputFilter: "PPU Crc: 1594091131"
TOutputFilter: "PPU Crc: 1739623182 (intfc)"
TOutputFilter: "PPU Check file /usr/lib/fpc/1.0.11/units/linux/rtl/libpobjpas.a time 2003/10/22 17:00:43"
TOutputFilter: "PPU Check file /usr/lib/fpc/1.0.11/units/linux/rtl/objpas.o time 2003/10/22 17:00:33"
TOutputFilter: "Searching file ./objpas.pp... not found"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/objpas.pp... not found"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/rtl/objpas.pp... not found"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/objpas.pp... not found"
TOutputFilter: "PPU Source: objpas.pp not found"
TOutputFilter: "Load from OBJPAS (interface) unit SYSLINUX"
TOutputFilter: "Load from PROGRAM (implementation) unit LINEINFO"
TOutputFilter: "Unitsearch: lineinfo.ppu"
TOutputFilter: "Searching file lineinfo.ppu... not found"
TOutputFilter: "Unitsearch: lineinfo.pp"
TOutputFilter: "Searching file lineinfo.pp... not found"
TOutputFilter: "Unitsearch: lineinfo.pas"
TOutputFilter: "Searching file lineinfo.pas... not found"
TOutputFilter: "Unitsearch: lineinfo.ppu"
TOutputFilter: "Searching file lineinfo.ppu... not found"
TOutputFilter: "Unitsearch: lineinfo.pp"
TOutputFilter: "Searching file lineinfo.pp... not found"
TOutputFilter: "Unitsearch: lineinfo.pas"
TOutputFilter: "Searching file lineinfo.pas... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/lineinfo.ppu"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/lineinfo.ppu... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/lineinfo.pp"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/lineinfo.pp... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/lineinfo.pas"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/lineinfo.pas... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/rtl/lineinfo.ppu"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/rtl/lineinfo.ppu... found"
TOutputFilter: "PPU Loading /usr/lib/fpc/1.0.11/units/linux/rtl/lineinfo.ppu"
TOutputFilter: "PPU Name: /usr/lib/fpc/1.0.11/units/linux/rtl/lineinfo.ppu"
TOutputFilter: "PPU Time: 2003/10/22 17:00:33"
TOutputFilter: "PPU Flags: 12499"
TOutputFilter: "PPU Crc: -2049920032"
TOutputFilter: "PPU Crc: 1941477915 (intfc)"
TOutputFilter: "PPU Check file /usr/lib/fpc/1.0.11/units/linux/rtl/libplineinfo.a time 2003/10/22 17:00:44"
TOutputFilter: "PPU Check file /usr/lib/fpc/1.0.11/units/linux/rtl/lineinfo.o time 2003/10/22 17:00:33"
TOutputFilter: "Searching file ./lineinfo.pp... not found"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/lineinfo.pp... not found"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/rtl/lineinfo.pp... not found"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/lineinfo.pp... not found"
TOutputFilter: "PPU Source: lineinfo.pp not found"
TOutputFilter: "Load from LINEINFO (interface) unit SYSLINUX"
TOutputFilter: "Load from LINEINFO (implementation) unit STRINGS"
TOutputFilter: "Unitsearch: strings.ppu"
TOutputFilter: "Searching file strings.ppu... not found"
TOutputFilter: "Unitsearch: strings.pp"
TOutputFilter: "Searching file strings.pp... not found"
TOutputFilter: "Unitsearch: strings.pas"
TOutputFilter: "Searching file strings.pas... not found"
TOutputFilter: "Unitsearch: strings.ppu"
TOutputFilter: "Searching file strings.ppu... not found"
TOutputFilter: "Unitsearch: strings.pp"
TOutputFilter: "Searching file strings.pp... not found"
TOutputFilter: "Unitsearch: strings.pas"
TOutputFilter: "Searching file strings.pas... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/strings.ppu"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/strings.ppu... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/strings.pp"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/strings.pp... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/strings.pas"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/strings.pas... not found"
TOutputFilter: "Unitsearch: /usr/lib/fpc/1.0.11/units/linux/rtl/strings.ppu"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/rtl/strings.ppu... found"
TOutputFilter: "PPU Loading /usr/lib/fpc/1.0.11/units/linux/rtl/strings.ppu"
TOutputFilter: "PPU Name: /usr/lib/fpc/1.0.11/units/linux/rtl/strings.ppu"
TOutputFilter: "PPU Time: 2003/10/22 17:00:33"
TOutputFilter: "PPU Flags: 12496"
TOutputFilter: "PPU Crc: 2103204934"
TOutputFilter: "PPU Crc: -2014236944 (intfc)"
TOutputFilter: "PPU Check file /usr/lib/fpc/1.0.11/units/linux/rtl/libpstrings.a time 2003/10/22 17:00:43"
TOutputFilter: "PPU Check file /usr/lib/fpc/1.0.11/units/linux/rtl/strings.o time 2003/10/22 17:00:33"
TOutputFilter: "Searching file ./strings.pp... not found"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/strings.pp... not found"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/units/linux/rtl/strings.pp... not found"
TOutputFilter: "Searching file /usr/lib/fpc/1.0.11/strings.pp... not found"
TOutputFilter: "PPU Source: strings.pp not found"
TOutputFilter: "PPU Source: strings.inc not found"
TOutputFilter: "PPU Source: strlen.inc not found"
TOutputFilter: "PPU Source: stringss.inc not found"
TOutputFilter: "PPU Source: strpas.inc not found"
TOutputFilter: "PPU Source: stringsi.inc not found"
TOutputFilter: "Load from STRINGS (interface) unit SYSLINUX"
TOutputFilter: "Parsing implementation of /home/nicola/temp/testcompileroptions.pas"
TOutputFilter: "testcompileroptions.pas(1,1) Fatal: Syntax error, BEGIN expected but end of file found"
TExternalToolList.Run /home/nicola/temp/testcompileroptions.pas(1,1) Fatal: Syntax error, BEGIN expected but end of file found
Title: Problems running Lazarus on Knoppix
Post by: vrs on January 09, 2004, 09:41:40 am
In your original message you mentioned problems with the designer. Do you have the fpc source directory set to (in your case) /usr/share/fpcsrc/ (See Options. Envrionment Options, Files tab).

This sources directory is used for the designer, but should no be used for compilation. Don't put this source path in the Run, Compiler Options dialog.

HTH,
Vincent.
Title: Problems running Lazarus on Knoppix
Post by: Nicola on January 09, 2004, 07:59:49 pm
Quote from: "vrs"
In your original message you mentioned problems with the designer. Do you have the fpc source directory set to (in your case) /usr/share/fpcsrc/ (See Options. Envrionment Options, Files tab).

This sources directory is used for the designer, but should no be used for compilation. Don't put this source path in the Run, Compiler Options dialog.


Nope.. it is all as you say.. maybe it can depend on the fact i get the packages with alien?
Title: Problems running Lazarus on Knoppix
Post by: vrs on January 09, 2004, 09:31:40 pm
Quote from: "Nicola"

... maybe it can depend on the fact i get the packages with alien?

I am not sure, because I am completely alien to debian. ;-)

But I want to try and help you.

Does /usr/share/fpcsrc/fcl/inc/custapp.pp exist? If not where is it located?

Can you compile the application you created?

Vincent.
Title: Problems running Lazarus on Knoppix
Post by: Anonymous on January 10, 2004, 12:43:37 am
Quote from: "vrs"

Does
/usr/share/fpcsrc/fcl/inc/custapp.pp exist? If not where is it located?

Can you compile the application you created?

Vincent.


yes: it exists
nicola@mother:~$ locate custapp.pp
/usr/lib/fpc/1.0.11/units/linux/fcl/custapp.ppu
/usr/share/fpcsrc/fcl/inc/custapp.pp

I can compile only non graphical application.
It ask files that i have (in the right location afaik).. :(
Title: Problems running Lazarus on Knoppix
Post by: Nicola on January 10, 2004, 12:45:41 am
this guest is me of course.. forgot to login :P
Title: Problems running Lazarus on Knoppix
Post by: vrs on January 13, 2004, 09:41:53 am
I read the compilertest output again and I noticed fpc.cfg is not found and seems to be missing. There should be a file ~/.fpc.cfg or  /etc/fpc.cfg.

Can you find this file on your system?
Title: Problems running Lazarus on Knoppix
Post by: Anonymous on January 16, 2004, 05:08:09 pm
Quote from: "vrs"
I read the compilertest output again and I noticed fpc.cfg is not found and seems to be missing. There should be a file ~/.fpc.cfg or  /etc/fpc.cfg.

Can you find this file on your system?


Mmmm no! I can't find it! Maybe the aliened package didn't get it?
Anyway, i tryed and install lazarus on a Fedora box and all went smooth..

How can i get a working fpc.cfg ?

I really hope you've found the problem..

thanks!
Title: Problems running Lazarus on Knoppix
Post by: Vincent Snijders on January 16, 2004, 05:36:59 pm
Can you copy the one from the Fedora box?
Title: Problems running Lazarus on Knoppix
Post by: Anonymous on January 17, 2004, 09:08:38 am
Quote from: "Vincent"
Can you copy the one from the Fedora box?


no, it's not mine and i don't have access to it anymore
Title: Problems running Lazarus on Knoppix
Post by: Vincent Snijders on January 17, 2004, 11:48:28 am
I did some research and there is a script called samplecfg.

Locate this script, it is probably in /usr/lib/fpc/1.0.10 or /usr/lib/fpc/1.0.11.
This script creates fpc.cfg file.

run it like this.
cd /the/dir/with/the/samplecfg
./samplecfg .

If you run this script as root, fpc.cfg will be created in /etc for all user on the system
If you run this script as non-root, a .fpc.cfg file will be created in your home directory.
Title: Problems running Lazarus on Knoppix
Post by: Marc on January 17, 2004, 04:49:18 pm
Just recently for testing on ppc, I created a .fpc.cfg in my home dir like:
Code: [Select]

-l
-viwn

-Fu/usr/local/lib/fpc/$version/units/$target
-Fu/usr/local/lib/fpc/$version/units/$target/*
-Fu/usr/local/lib/fpc/$version/units/$target/rtl

-Fu/home/marc/lazarus/lcl/units/$target/linux
-Fu/home/marc/lazarus/lcl/units/$target/linux/gtk
-Fu/home/marc/lazarus/components/units/$target/linux
-Fu/home/marc/lazarus/ideintf/units/$target/linux
-Fu/home/marc/lazarus/ideintf/units
Title: Problems running Lazarus on Knoppix
Post by: Vincent Snijders on January 17, 2004, 08:06:25 pm
If you compile from the IDE the last 5 lazarus specific lines are not needed. Lazarus sets them it self.

Marc has still a problem, because the lazarus IDE can't set the target processor to ppc yet.
Title: Problems running Lazarus on Knoppix
Post by: Marc on January 18, 2004, 01:01:14 am
Quote from: "Vincent"

Marc has still a problem, because the lazarus IDE can't set the target processor to ppc yet.


If that was the only problem :)
Title: Problems running Lazarus on Knoppix
Post by: Anonymous on January 18, 2004, 07:44:33 pm
Quote from: "Vincent"
Locate this script, it is probably in /usr/lib/fpc/1.0.10 or /usr/lib/fpc/1.0.11.
This script creates fpc.cfg file.

run it like this.
cd /the/dir/with/the/samplecfg
./samplecfg .


Yeah!!! That worked! :P
Thank you very much!
So the problem seem to be that it couldn't create the fpc.cfg in /etc (that is strange anyway).

Thanks  :mrgreen:
                      Nicola
Title: Problems running Lazarus on Knoppix
Post by: Vincent Snijders on January 18, 2004, 09:24:43 pm
Quote
So the problem seem to be that it couldn't create the fpc.cfg in /etc (that is strange anyway).

Maybe the alienating removed the last part of the rpm script which runs samplecfg to create the fpc.cfg file.
TinyPortal © 2005-2018