FreeBSD: Fatal: Kann StrUtils nicht finden

Für Installationen unter MacOS u.a. Betriebssystemen
Antworten
Morfio
Beiträge: 6
Registriert: Di 28. Feb 2017, 11:50
OS, Lazarus, FPC: FreeBSD 11 amd64, FPC 3.0.0
CPU-Target: 64Bit
Kontaktdaten:

FreeBSD: Fatal: Kann StrUtils nicht finden

Beitrag von Morfio »

Hallo zusammen,

ich möchte Lazarus auf FreeBSD benutzen. Ich habe mir dazu Lazarus installiert und die FPC-Sourcen heruntergeladen, extrahiert und beim Start der IDE den Pfad zu diesen angegeben. Die Kompilierung eines einfachen Projekts endet mit diesen Fehler:

Code: Alles auswählen

 
Kompiliere Package LazUtils 1.0: Exit code 256, Fehler: 1
fileutil.pas(37,33) Fatal: Kann StrUtils nicht finden verwendet von FileUtil von Package LazUtils.
 


Ich habe schon probiert, den Pfad zu der pp-Datei hinzuzufügen im Projekt, allerdings erfolglos. Was kann ich tun?

System:
FreeBSD 10.3p17 (amd64) - x86_64-freebsd-gtk 2
Lazarus: 1.6.2 vom 25.11.2016
FPC-Version: 3.0.0
FPC-Sources: 3.0.0

Vielen dank

Morfio

Morfio
Beiträge: 6
Registriert: Di 28. Feb 2017, 11:50
OS, Lazarus, FPC: FreeBSD 11 amd64, FPC 3.0.0
CPU-Target: 64Bit
Kontaktdaten:

Re: FreeBSD: Fatal: Kann StrUtils nicht finden

Beitrag von Morfio »

Hi,

anscheinend haben ein paar Bibliotheken gefehlt, Lazarus aus den Packages scheint nicht alles mitzuziehen, was es braucht. Ich habe jetzt folgendes installiert:

Code: Alles auswählen

 
fpc-3.0.0_1                    Free Pascal compiler with Turbo and Delphi
fpc-a52-3.0.0_1                Free Pascal interface to a52 library
fpc-aspell-3.0.0_1             Interface to aspell spelling checker
fpc-bfd-3.0.0_2                Free Pascal interface for the GNU Binary Format description
fpc-bzip2-3.0.0_1              Free Pascal bzip2 unit
fpc-cairo-3.0.0_1              Free Pascal interface to cairo library
fpc-chm-3.0.0_1                Free Pascal unit to manipulate chm files
fpc-dblib-3.0.0_1              Free Pascal DB-Library and FreeTDS unit
fpc-dbus-3.0.0_1               Free Pascal interface to dbus library
fpc-dts-3.0.0_1                Free Pascal interface to the dts library
fpc-fastcgi-3.0.0_1            Free Pascal fastcgi unit
fpc-fcl-async-3.0.0_1          Free Pascal asynchronous event management (FCL)
fpc-fcl-base-3.0.0_1           Free Pascal Component Library base
fpc-fcl-db-3.0.0_1             Free Pascal Database Library (FCL)
fpc-fcl-extra-3.0.0_1          Free Pascal extra libraries (FCL)
fpc-fcl-fpcunit-3.0.0_1        Free Pascal unit testing library (FCL)
fpc-fcl-image-3.0.0_1          Free Pascal image loading and conversion libraries (FCL)
fpc-fcl-js-3.0.0_1             Free Pascal Javascript scanner/parser/syntax tree (FCL)
fpc-fcl-json-3.0.0_1           Free Pascal JavaScript Object Notation implemenation (FCL)
fpc-fcl-net-3.0.0_1            Free Pascal network interfaces (FCL)
fpc-fcl-passrc-3.0.0_1         Free Pascal language parsing library (FPC)
fpc-fcl-registry-3.0.0_1       Free Pascal emulation of Windows registry (FCL)
fpc-fcl-res-3.0.0_1            Free Pascal resource handlers (FCL)
fpc-fcl-sdo-3.0.0_1            Free Pascal Service Data Objects implementation (FCL)
fpc-fcl-sound-3.0.0_1          Free Pascal sound loading, storing and converion (FCL)
fpc-fcl-stl-3.0.0_1            Free Pascal generic container library (FCL)
fpc-fcl-web-3.0.0_1            Free Pascal web application libary (FCL)
fpc-fcl-xml-3.0.0_1            Free Pascal XML and DOM library (FCL)
fpc-fftw-3.0.0_2               Free Pascal interface to the FFTW3 library
fpc-fpindexer-3.0.0_1          Database indexer with database/flat file backend
fpc-fppkg-3.0.0_1              Free Pascal package manager unit
fpc-fv-3.0.0_1                 FreeVision is a Free Pascal unit for Delphi support
fpc-gdbint-3.0.0_1             Free Pascal unit providing interface to gdb
fpc-gdbm-3.0.0_1               Free Pascal interface to the GNU database system
fpc-gmp-3.0.0_1                Free Pascal interface to gmp library
fpc-gtk2-3.0.0_1               Free Pascal interface to the GTK2 libraries
fpc-hermes-3.0.0_1             Free Pascal hermes unit
fpc-httpd22-3.0.0_1            Free Pascal headers for Apache 2.2 series web server
fpc-httpd24-3.0.0_1            Free Pascal headers for Apache 2.4 series web server
fpc-ibase-3.0.0_1              Free Pascal interface to interbase
fpc-iconvenc-3.0.0_1           Free Pascal unit to iconv library
fpc-imagemagick-3.0.0_1        Free Pascal interface to ImageMagick
fpc-ldap-3.0.0_1               Free Pascal interface to OpenLDAP
fpc-libcurl-3.0.0_1            Free Pascal interface to libcurl
fpc-libgd-3.0.0_1              Free Pascal interface to libgd for producing graphics files
fpc-libpng-3.0.0_1             Free Pascal interface to libpng, for reading PNG image files
fpc-libxml2-3.0.0_1            Interface to xml2 library
fpc-lua-3.0.0_1                Free Pascal interface to the lua interpreter
fpc-mad-3.0.0_1                Free Pascal interface to mad library
fpc-modplug-3.0.0_1            Free Pascal interface to modplug library
fpc-mysql-3.0.0_1              Free Pascal interface to MySQL
fpc-ncurses-3.0.0_1            Free Pascal interface to the ncurses library
fpc-newt-3.0.0_1               Free Pascal interface to newt library
fpc-numlib-3.0.0_1             Free Pascal unit to numerical methods
fpc-odbc-3.0.0_1               Free Pascal interface to ODBC
fpc-oggvorbis-3.0.0_1          Free Pascal interface to ogg & vorbis libraries
fpc-openal-3.0.0_1             Free Pascal interface to openal library
fpc-opengl-3.0.0_1             Free Pascal interface to the OpenGL library
fpc-openssl-3.0.0_1            Free Pascal unit for OpenSSL
fpc-oracle-3.0.0_1             Free Pascal interface to Oracle
fpc-pasjpeg-3.0.0_1            Handling JPEG files with Pascal
fpc-pcap-3.0.0_2               Free Pascal unit for libpcap library
fpc-postgres-3.0.0_1           Free Pascal interface to PostGreSQL
fpc-proj4-3.0.0_1              Free Pascal interface to proj library
fpc-pthreads-3.0.0_1           Free Pascal wrapper for the pthreads library
fpc-pxlib-3.0.0_1              Free Pascal unit to read various Paradox files
fpc-regexpr-3.0.0_1            Free Pascal regular expression routines
fpc-rexx-3.0.0_1               Free Pascal interface to the rexx-regina library
fpc-rsvg-3.0.0_1               Free Pascal interface to librsvg2 library
fpc-rtl-console-3.0.0_1        Free Pascal console abstraction unit (RTL)
fpc-rtl-extra-3.0.0_1          Free Pascal rtl-extra unit
fpc-rtl-objpas-3.0.0_1         Free Pascal compatibility unit with Delphi
fpc-rtl-unicode-3.0.0_1        Free Pascal compatibility unit with Delphi
fpc-sdl-3.0.0_1                Free Pascal interface to SDL library
fpc-sqlite-3.0.0_1             Free Pascal interface to SQLite
fpc-svgalib-3.0.0_1            Free Pascal interface to the SVGA graphics library
fpc-symbolic-3.0.0_1           FreePascal unit for simple expression parsing and evaluating
fpc-syslog-3.0.0_1             Free Pascal interface to the system logger
fpc-tcl-3.0.0_1                Free Pascal interface to the tcl/tk interpreter
fpc-unzip-3.0.0_1              Free Pascal routines for unzipping zip files
fpc-users-3.0.0_1              Free Pascal interface to manipulate system users
fpc-utils-3.0.0_1              Free Pascal Compiler utilities
fpc-utmp-3.0.0_1               Free Pascal unit to gather information from the utmp file
fpc-uuid-3.0.0_1               Free Pascal uuid unit
fpc-x11-3.0.0_1                Free Pascal interface to X windows server
fpc-xforms-3.0.0_1             X-Forms interface for Free Pascal
fpc-zlib-3.0.0_1               Free Pascal interface to the zlib compression library
 


Damit funktioniert es. Es ist noch wichtig (und ja, leider), unter FreeBSD den Debugger abzuschalten, der dieser wohl nicht funktioniert.

Viele Grüße

Morfio

marcov
Beiträge: 1100
Registriert: Di 5. Aug 2008, 09:37
OS, Lazarus, FPC: Windows ,Linux,FreeBSD,Dos (L trunk FPC trunk)
CPU-Target: 32/64,PPC(+64), ARM
Wohnort: Eindhoven (Niederlande)

Re: FreeBSD: Fatal: Kann StrUtils nicht finden

Beitrag von marcov »

Strutils ist in fpc-rtl-objpas

Morfio
Beiträge: 6
Registriert: Di 28. Feb 2017, 11:50
OS, Lazarus, FPC: FreeBSD 11 amd64, FPC 3.0.0
CPU-Target: 64Bit
Kontaktdaten:

Re: FreeBSD: Fatal: Kann StrUtils nicht finden

Beitrag von Morfio »

Danke für den Hinweis, hatte leider noch keine Zeit, nachzusehen.

Marsmännchen
Beiträge: 294
Registriert: So 4. Mai 2014, 21:32
OS, Lazarus, FPC: Windows 10 64bit, Lazarus 2.0.10
CPU-Target: 64bit
Wohnort: Oranienburg

Re: FreeBSD: Fatal: Kann StrUtils nicht finden

Beitrag von Marsmännchen »

Ich mag Pascal...

Antworten