.[Gelöst] Free Pascal Compiler not found

Antworten
Maik81ftl
Beiträge: 619
Registriert: Mi 9. Mär 2011, 16:34
OS, Lazarus, FPC: Ubuntu10.04 LTS (L 0.9.31.0 FPC 2.4.4)
CPU-Target: 64Bit
Wohnort: seit 01.06.2011 in Wahlstedt

.[Gelöst] Free Pascal Compiler not found

Beitrag von Maik81ftl »

Moin Moin,

Wollte mir heute fpc auf 2.4.2 updaten, und hatte da einen Trubble mit den Änhängigkeiten. denne hab ich Lazarus 0.9.28.2 inkl aller fpc runtergschmissen, leppi neu gebootet. Lazarus inkl. fpc 2.4.0 neu installiert und nun halt ich die Meldung

a) Free Pascal Compiler Not found,
b) Lazarus directiry not found The current Lazarus directory "/home/maik81ftl/.lazarus/bin/" does not look correct.
Nach weiteren "ignore" erhalte ich die Meldung, das mehrere Package nicht gefunden werden, obwohl diese dennoch vorhanden sind.

Kann es sein, das ich bei irgendwas übersehen habe?
Zuletzt geändert von Maik81ftl am Do 28. Apr 2011, 21:34, insgesamt 1-mal geändert.
Ubuntu 10.04 LTS ist meine Heimat. Lazarus ist meine Sprache :D und der Kreis Segeberg meine LIEBE :D

Maik81ftl
Beiträge: 619
Registriert: Mi 9. Mär 2011, 16:34
OS, Lazarus, FPC: Ubuntu10.04 LTS (L 0.9.31.0 FPC 2.4.4)
CPU-Target: 64Bit
Wohnort: seit 01.06.2011 in Wahlstedt

Re: Free Pascal Compiler not found

Beitrag von Maik81ftl »

Klaube die fehlerursache mit zu kennen.

hab keine fpc.cfg mehr :( ich glaub da hab ich ein Problem...
Ubuntu 10.04 LTS ist meine Heimat. Lazarus ist meine Sprache :D und der Kreis Segeberg meine LIEBE :D

shokwave
Beiträge: 470
Registriert: Do 15. Nov 2007, 16:58
OS, Lazarus, FPC: Win11/Ubuntu Budgie (L 3.0 FPC 3.2.2)
CPU-Target: i386, x64
Wohnort: Gera

Re: Free Pascal Compiler not found

Beitrag von shokwave »

Maik81ftl hat geschrieben:a) Free Pascal Compiler Not found,
b) Lazarus directiry not found The current Lazarus directory "/home/maik81ftl/.lazarus/bin/" does not look correct.
Nach weiteren "ignore" erhalte ich die Meldung, das mehrere Package nicht gefunden werden, obwohl diese dennoch vorhanden sind.

Hi,

a) Bedeutet, dass er die ausführbare Datei fpc bzw. ppc386/ppcx64 nicht finden kann. Es wäre hilfreich wenn du schreiben könntest, wo du den FPC her und wie du ihn installiert hast.
b) Das sieht so aus, als ob die alten Einstellungen noch in "/home/maik81ftl/.lazarus" herumliegen. Einfach den Ordner mal umbenennen oder löschen. Welche Version von Lazarus hast du denn installiert und wohin?
mfg Ingo

Maik81ftl
Beiträge: 619
Registriert: Mi 9. Mär 2011, 16:34
OS, Lazarus, FPC: Ubuntu10.04 LTS (L 0.9.31.0 FPC 2.4.4)
CPU-Target: 64Bit
Wohnort: seit 01.06.2011 in Wahlstedt

Re: Free Pascal Compiler not found

Beitrag von Maik81ftl »

shokwave hat geschrieben:Hi,

a) Bedeutet, dass er die ausführbare Datei fpc bzw. ppc386/ppcx64 nicht finden kann. Es wäre hilfreich wenn du schreiben könntest, wo du den FPC her und wie du ihn installiert hast.
b) Das sieht so aus, als ob die alten Einstellungen noch in "/home/maik81ftl/.lazarus" herumliegen. Einfach den Ordner mal umbenennen oder löschen. Welche Version von Lazarus hast du denn installiert und wohin?


zu a) Installiert hab ich Lazarus sowie fpc mit den Versionen, wie diese in meiner Signatur stehen, via Ubuntu-Packetverwaltung. hab grad mal

Code: Alles auswählen

startlazarus
ausgeführt und erhalte diese Ausgabe.

Code: Alles auswählen

maik81ftl@Maik81ftl:~$ startlazarus
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TLazarusManager.Run starting /home/maik81ftl/.lazarus/bin/lazarus ...
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="/home/maik81ftl/.lazarus"
  SecondaryConfigPath="/etc/lazarus"
 
NOTE: Compiler Filename not set! (see Environment Options)


der selbe Spaß via su schaut alalog gleich aus.

Code: Alles auswählen

root@Maik81ftl:/home/maik81ftl# startlazarus
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TLazarusManager.Run starting /usr/lib/lazarus/0.9.28.2/lazarus ...
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="/root/.lazarus"
  SecondaryConfigPath="/etc/lazarus"
NOTE: miscellaneous options file not found - using defaults
 
NOTE: Compiler Filename not set! (see Environment Options)


zu b) hab Lazarus erst mal so hinbekommen, das root und maik81ftl die selben meldungen haben.

scan der hdd nach der nötigen fpc verlief erfolglos.
Ubuntu 10.04 LTS ist meine Heimat. Lazarus ist meine Sprache :D und der Kreis Segeberg meine LIEBE :D

shokwave
Beiträge: 470
Registriert: Do 15. Nov 2007, 16:58
OS, Lazarus, FPC: Win11/Ubuntu Budgie (L 3.0 FPC 3.2.2)
CPU-Target: i386, x64
Wohnort: Gera

Re: Free Pascal Compiler not found

Beitrag von shokwave »

Maik81ftl hat geschrieben:zu a) Installiert hab ich Lazarus sowie fpc mit den Versionen, wie diese in meiner Signatur stehen, via Ubuntu-Packetverwaltung.

Du meinst diese "vielsagende" Sig:
Ubuntu10.04 (L 0.9.xy FPC 2.2.z) 64Bit
Bibliotek = .so
Reichtschreibfehler bitte Behalten
:?:


Maik81ftl hat geschrieben:hab grad mal

Code: Alles auswählen

startlazarus
ausgeführt und erhalte diese Ausgabe.

Code: Alles auswählen

maik81ftl@Maik81ftl:~$ startlazarus
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TLazarusManager.Run starting /home/maik81ftl/.lazarus/bin/lazarus ...
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="/home/maik81ftl/.lazarus"
  SecondaryConfigPath="/etc/lazarus"
 
NOTE: Compiler Filename not set! (see Environment Options)

Ist soweit nix ungewöhnliches zu sehen. Das NOTE am Ende sagt lediglich, dass du unter "Einstellungen\Einstellungen" den Pfad zu fpc eintragen sollst. Der liegt für gewöhnlich in "/usr/bin" bzw. "/usr/local/bin".[/quote]
mfg Ingo

Maik81ftl
Beiträge: 619
Registriert: Mi 9. Mär 2011, 16:34
OS, Lazarus, FPC: Ubuntu10.04 LTS (L 0.9.31.0 FPC 2.4.4)
CPU-Target: 64Bit
Wohnort: seit 01.06.2011 in Wahlstedt

Re: Free Pascal Compiler not found

Beitrag von Maik81ftl »

shokwave hat geschrieben:
Maik81ftl hat geschrieben:zu a) Installiert hab ich Lazarus sowie fpc mit den Versionen, wie diese in meiner Signatur stehen, via Ubuntu-Packetverwaltung.

Du meinst diese "vielsagende" Sig:
Ubuntu10.04 (L 0.9.xy FPC 2.2.z) 64Bit
Bibliotek = .so
Reichtschreibfehler bitte Behalten
:?:


sry, akkes korigiert. aba jopp


shokwave hat geschrieben:
Maik81ftl hat geschrieben:hab grad mal

Code: Alles auswählen

startlazarus
ausgeführt und erhalte diese Ausgabe.

Code: Alles auswählen

maik81ftl@Maik81ftl:~$ startlazarus
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TLazarusManager.Run starting /home/maik81ftl/.lazarus/bin/lazarus ...
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="/home/maik81ftl/.lazarus"
  SecondaryConfigPath="/etc/lazarus"
 
NOTE: Compiler Filename not set! (see Environment Options)

Ist soweit nix ungewöhnliches zu sehen. Das NOTE am Ende sagt lediglich, dass du unter "Einstellungen\Einstellungen" den Pfad zu fpc eintragen sollst. Der liegt für gewöhnlich in "/usr/bin" bzw. "/usr/local/bin".
[/quote]

Ändert aber nix an der Tatsache, das mir die fpc.cfg fehlt.
Ubuntu 10.04 LTS ist meine Heimat. Lazarus ist meine Sprache :D und der Kreis Segeberg meine LIEBE :D

Maik81ftl
Beiträge: 619
Registriert: Mi 9. Mär 2011, 16:34
OS, Lazarus, FPC: Ubuntu10.04 LTS (L 0.9.31.0 FPC 2.4.4)
CPU-Target: 64Bit
Wohnort: seit 01.06.2011 in Wahlstedt

Re: Free Pascal Compiler not found

Beitrag von Maik81ftl »

oder könnte eine Installation von hier ---> http://sourceforge.net/projects/freepas ... 2.4.2/deb/ abhinlfe schafen? wenn ja, welche brauch ich? würde wenn denne die fpc-source_2.4.2-0_all.deb und fp-compiler_2.4.2-0_i386.deb laden, werd aber wohl alle brauchen, wenn ich das grade richtig sehe.
Ubuntu 10.04 LTS ist meine Heimat. Lazarus ist meine Sprache :D und der Kreis Segeberg meine LIEBE :D

shokwave
Beiträge: 470
Registriert: Do 15. Nov 2007, 16:58
OS, Lazarus, FPC: Win11/Ubuntu Budgie (L 3.0 FPC 3.2.2)
CPU-Target: i386, x64
Wohnort: Gera

Re: Free Pascal Compiler not found

Beitrag von shokwave »

IIRC läuft Lazarus 0.9.28 nur mit FPC 2.2.4 und 2.4.0. Wenn die fpc.cfg wirklich fehlt (wie hast du das gemerkt?), dann kannst du dir auf Basis meiner fpc.cfg selber eine basteln.

Die passt soweit, du musst nur die Pfade anpassen und das ganze dann als "/etc/fpc.cfg"(root-Rechte) oder "/home/maik81ftl/.fpc.cfg"(keine root-Rechte) speichern.

Mein fpc liegt in "/home/ingo/dev/fpc" und meine fpc.cfg sieht so aus.
# This file was created by LazUpdater V1.0.0 RC2.
# It`s based on the Example fpc.cfg for Free Pascal Compiler
#

# ----------------------
# Defines (preprocessor)
# ----------------------

#
# nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed
#
# -d is the same as #DEFINE
# -u is the same as #UNDEF
#

#
# Some examples (for switches see below, and the -? helppages)
#
# Try compiling with the -dRELEASE or -dDEBUG on the commandline
#

# For a release compile with optimizes and strip debuginfo
#IFDEF RELEASE
-O2
-Xs
#WRITE Compiling Release Version
#ENDIF

# For a debug version compile with debuginfo and all codegeneration checks on
#IFDEF DEBUG
-g
-Crtoi
#WRITE Compiling Debug Version
#ENDIF

# set binutils prefix

#IFNDEF CPUI386
#IFNDEF CPUAMD64
#DEFINE NEEDCROSSBINUTILS
#ENDIF
#ENDIF


#IFNDEF linux
#DEFINE NEEDCROSSBINUTILS
#ENDIF


#IFDEF FPC_CROSSCOMPILING
#IFDEF NEEDCROSSBINUTILS
-XP$fpctarget-
#ENDIF NEEDCROSSBINUTILS
#ENDIF

# ----------------
# Parsing switches
# ----------------

# Pascal language mode
# -Mfpc free pascal dialect (default)
# -Mobjfpc switch some Delphi 2 extensions on
# -Mdelphi tries to be Delphi compatible
# -Mtp tries to be TP/BP 7.0 compatible
# -Mgpc tries to be gpc compatible
# -Mmacpas tries to be compatible to the macintosh pascal dialects
#
# Turn on Object Pascal extensions by default
#-Mobjfpc

# Assembler reader mode
# -Rdefault use default assembler
# -Ratt read AT&T style assembler
# -Rintel read Intel style assembler
#
# All assembler blocks are AT&T styled by default
#-Ratt

# Semantic checking
# -S2 same as -Mobjfpc
# -Sc supports operators like C (*=,+=,/= and -=)
# -Sa include assertion code.
# -Sd same as -Mdelphi
# -Se<x> error options. <x> is a combination of the following:
# <n> : compiler stops after the <n> errors (default is 1)
# w : compiler stops also after warnings
# n : compiler stops also after notes
# h : compiler stops also after hints
# -Sg allow LABEL and GOTO
# -Sh Use ansistrings
# -Si support C++ styled INLINE
# -Sk load fpcylix unit
# -SI<x> set interface style to <x>
# -SIcom COM compatible interface (default)
# -SIcorba CORBA compatible interface
# -Sm support macros like C (global)
# -So same as -Mtp
# -Sp same as -Mgpc
# -Ss constructor name must be init (destructor must be done)
# -St allow static keyword in objects
# -Sx enable exception keywords (default in Delphi/ObjFPC modes)
#
# Allow goto, inline, C-operators, C-vars
-Sgic

# ---------------
# Code generation
# ---------------

# Uncomment the next line if you always want static/dynamic units by default
# (can be overruled with -CD, -CS at the commandline)
#-CS
#-CD

# Set the default heapsize to 8Mb
#-Ch8000000

# Set default codegeneration checks (iocheck, overflow, range, stack)
#-Ci
#-Co
#-Cr
#-Ct

# Optimizer switches
# -Os generate smaller code
# -O1 level 1 optimizations (quick optimizations, debuggable)
# -O2 level 2 optimizations (-O1 + optimizations which make debugging more difficult)
# -O3 level 3 optimizations (-O2 + optimizations which also may make the program slower rather than faster)
# -Op<x> set target cpu for optimizing, see fpc -i for possible values
#
# See "fpc -i" also for more fine-grained control over which optimizations
# to perform

# -----------------------
# Set Filenames and Paths
# -----------------------

# Slashes are also allowed under dos

# path to the messagefile, not necessary anymore but can be used to override
# the default language
#-Fr/usr/lib/fpc/$fpcversion/msg/errore.msg
#-Fr/usr/lib/fpc/$fpcversion/msg/errorn.msg

# searchpath for includefiles
#-Fi/pp/inc;/pp/rtl/inc

#IFDEF FPCAPACHE_1_3
-Fu/home/ingo/dev/fpc/lib/fpc/$fpcversion/units/$fpctarget/httpd13/
#ELSE
#IFDEF FPCAPACHE_2_0
-Fu/home/ingo/dev/fpc/lib/fpc/$fpcversion/units/$fpctarget/httpd20
#ELSE
-Fu/home/ingo/dev/fpc/lib/fpc/$fpcversion/units/$fpctarget/httpd22
#ENDIF
#ENDIF

# searchpath for units and other system dependent things
-Fu/home/ingo/dev/fpc/lib/fpc/$fpcversion/units/$fpctarget
-Fu/home/ingo/dev/fpc/lib/fpc/$fpcversion/units/$fpctarget/*
-Fu/home/ingo/dev/fpc/lib/fpc/$fpcversion/units/$fpctarget/rtl
#-Fu~/fpc/packages/base/*/units/;~/fpc/fcl/units/;~/fpc/rtl/units/

# searchpath for libraries
#ifdef cpux86_64
-Fl/usr/lib/gcc/x86_64-linux-gnu/4.4.3
#endif


#ifdef cpui386
-Fl/usr/lib/gcc/x86_64-linux-gnu/4.4.3
#endif
#-Fl/pp/lib
#-Fl/lib;/usr/lib


# -------------
# Linking
# -------------

# generate always debugging information for GDB (slows down the compiling
# process)
# -gc generate checks for pointers
# -gd use dbx
# -gg use gsym
# -gh use heap trace unit (for memory leak debugging)
# -gl use line info unit to show more info for backtraces
# -gv generates programs tracable with valgrind
# -gw generate dwarf debugging info
#
# Enable debuginfo and use the line info unit by default
#-gl

# always pass an option to the linker
#-k-s

# Always strip debuginfo from the executable
-Xs


# -------------
# Miscellaneous
# -------------

# Write always a nice FPC logo ;)
-l

# Verbosity
# e : Show errors (default) d : Show debug info
# w : Show warnings u : Show unit info
# n : Show notes t : Show tried/used files
# h : Show hints c : Show conditionals
# i : Show general info d : Show debug info
# l : Show linenumbers r : Rhide/GCC compatibility mode
# a : Show everything x : Executable info (Win32 only)
# b : Write file names messages with full path
# v : write fpcdebug.txt with p : Write tree.log with parse tree
# lots of debugging info
#
# Display Info, Warnings and Notes
-viwn
# If you don`t want so much verbosity use
#-vw

#
# That`s all folks
#
mfg Ingo

Maik81ftl
Beiträge: 619
Registriert: Mi 9. Mär 2011, 16:34
OS, Lazarus, FPC: Ubuntu10.04 LTS (L 0.9.31.0 FPC 2.4.4)
CPU-Target: 64Bit
Wohnort: seit 01.06.2011 in Wahlstedt

Re: Free Pascal Compiler not found

Beitrag von Maik81ftl »

Installation von Lazarus 0.9.30 inkl fpc 2.4.2 hat das Prblem auch gelöst :D :lol:
Ubuntu 10.04 LTS ist meine Heimat. Lazarus ist meine Sprache :D und der Kreis Segeberg meine LIEBE :D

Antworten