lazarus on SuSE 9.3 and Athlon64 lazarus / 1-Linux ---------------------------------------------------------------------- balta · 2005-10-16 11:04 Hi I tried to run lazarus 0.9.10 on my Athlon64 but it doesn't work I have installed the rpm-package fpc-2.0.0-0.x86_64.rpm without any problems and I have compiled lazarus 0.9.10 without problems. But then I run lazarus the first message is: "Das Free-Pascal-Quelltextverzeichnis wurde nicht gefunden. Einige Quelltextfunktionen werden nicht funktionieren. Es wird empfohlen, dass Sie den FPC-Quelltext installieren und den Pfad auf sie setzen, und zwar unter Einstellungen->Umgebungseinstellungen->Dateien" Then I click "Übergehen" and if I want to go in this dialoge the following message is coming: "Error reading EnvironmentOptionsDialog.HorzScrollBar.Page: Acces violation Press Ok to ignore. Press Cancel to stop the program." At other dialoges a similar message comes and if I want to start my program a similar message comes, too. I would be very happy if you can help me. ---------------------------------------------------------------------- Anonymous · 2005-10-16 11:25 Maybe the problem is just what it says: Have you installed the sources: fpcsrc-2.0.0....rpm? ---------------------------------------------------------------------- balta · 2005-10-16 13:40 No I haven't installed them yet. But can you say me where I can find this?? On freepascal.org I can only find fpc-2.0.0-0.src.rpm Is this the same?? ---------------------------------------------------------------------- matthijs · 2005-10-16 14:15 No it is not the same.  Have a look at this page. You will find this QuoteDownload fpcsrc-2.0.0-0.i386.rpm ---------------------------------------------------------------------- balta · 2005-10-16 14:30 But can I use it? I have a x86_64-system and this package seems to be for i386 ---------------------------------------------------------------------- Anonymous · 2005-10-16 16:59 I'd say yes. ---------------------------------------------------------------------- Vincent Snijders · 2005-10-16 17:20 fpc 2.0.0 can't be used for lazarus om athlon 64. You will get this error: Code: [Select]Error reading EnvironmentOptionsDialog.HorzScrollBar.Page: Acces violation. I suggest you take the fpc 2.0.1 source rpms for lazarus 0.9.10 from the lazarus sourceforge site. ---------------------------------------------------------------------- balta · 2005-10-16 17:53 I've installed it without problems, and the first error is away, but the problems with the access violation is already there. ---------------------------------------------------------------------- Vincent Snijders · 2005-10-16 18:07 Quote from: "balta"I've installed it without problems... Did you install fpc 2.0.1? ---------------------------------------------------------------------- balta · 2005-10-16 18:20 Should I download fpc-2.0.1-050923.src.rpm and fpcsrc-2.0.1-050923.src.rpm ??? And then just install this packages and build lazarus or have I to build fpc before, too ??? (because this are only source-rpms) If I have to build fpc can you say me how, please?? ---------------------------------------------------------------------- Vincent Snijders · 2005-10-16 18:26 since you have amd64 you can't use the i586 packages for fpc and lazarus (the fpcsrc package is an exception). I presume you know how to build source rpms for you architecture. First install the fpc rpm and then the build the lazarus rpm from the source rpm and install that. If that doesn't work for you, I recommand you skip the rpms and install from the source instead using the tar.gz's. See Installing Lazarus wiki for more details. ---------------------------------------------------------------------- balta · 2005-10-17 14:53 hi first thanks to all for the good and fast help yesterday! But I have one question: Which compiler should I use to compile fpc-2.0.1??? If I use my fpc-2.0.0-0 (I have this version as rpm) there are error- messages while compiling fpc-2.0.1 PS: fpcsrc I was able to build ---------------------------------------------------------------------- Vincent Snijders · 2005-10-17 15:12 There should be none. Fpc 2.0.0 is suitable for making fpc 2.0.1. What error message do you get? ---------------------------------------------------------------------- balta · 2005-10-17 15:23 I have typed "make all" in the source-directory: [...] /usr/bin/ppcx64 -Ur -Ur -Xs  -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/home/arthas/Downloads/fpc-2.0.1- 050923.source/fpc/rtl/units/x86_64-linux -dx86_64 -dRELEASE ../unix/cthreads.pp cthreads.pp(600,30) Error: Incompatible types: got "
" expected "Umgebungseinstellungen->Dateien" Is that important?? ---------------------------------------------------------------------- Anonymous · 2005-10-21 22:11 The faq says:The normal installation creates /etc/fpc.cfg I installed Lazarus 9.10 on 2 different systems, on both systems no  fpc.cfg was created at all I guess this causes the unit glib not found error Theo ---------------------------------------------------------------------- balta · 2005-10-21 22:35 /etc/fpc.cfg exists. It's not the UNIT glib, that's not found by FPC, glib isn't fount by the linker ld. ---------------------------------------------------------------------- balta · 2005-10-21 22:48 Thanks for all!! My lazarus now works perfectly!! In the /etc/fpc.cfg only was this line: -Fl/opt/gnome/lib but it have to be on a 64bit-system: -Fl/opt/gnome/lib64 Now it works!!! ---------------------------------------------------------------------- Vincent Snijders · 2005-10-22 08:24 Quote from: "Anonymous" PS: Now I have a message then starting lazarus: "Das Free-Pascal-Quelltextverzeichnis wurde nicht gefunden.  Einige Quelltextfunktionen werden nicht funktionieren.  Es wird empfohlen, dass Sie den FPC-Quelltext installieren und den Pfad auf sie setzen, und zwar unter Einstellungen->Umgebungseinstellungen->Dateien" Is that important?? Yes, this is important for - code completion - event methode generation - find declaration Install the fpcsrc-xxx.rpm. (In the snapshots it is called fpc-src- xxx.rpm) It puts fpc sources in /usr/share/fpcsrc.