Recent

Author Topic: lazarus on SuSE 9.3 and Athlon64  (Read 22632 times)

balta

  • Guest
lazarus on SuSE 9.3 and Athlon64
« on: October 16, 2005, 01:04:25 pm »
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

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #1 on: October 16, 2005, 01:25:48 pm »
Maybe the problem is just what it says:
Have you installed the sources: fpcsrc-2.0.0....rpm?

balta

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #2 on: October 16, 2005, 03:40:40 pm »
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

  • Hero Member
  • *****
  • Posts: 537
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #3 on: October 16, 2005, 04:15:36 pm »
No it is not the same.  Have a look at this page. You will find this
Quote
Download fpcsrc-2.0.0-0.i386.rpm
What's in a sig? Would my posting look less if it didnot have a sig? (Free after William S.) :)

:( Why cannot I upload my own Avatar? :(

balta

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #4 on: October 16, 2005, 04:30:17 pm »
But can I use it?
I have a x86_64-system and this package seems to be for i386

Anonymous

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #5 on: October 16, 2005, 06:59:21 pm »
I'd say yes.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #6 on: October 16, 2005, 07:20:45 pm »
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

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #7 on: October 16, 2005, 07:53:18 pm »
I've installed it without problems, and the first error is away, but the problems with the access violation is already there.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: RE: lazarus on SuSE 9.3 and Athlon64
« Reply #8 on: October 16, 2005, 08:07:37 pm »
Quote from: "balta"
I've installed it without problems...

Did you install fpc 2.0.1?

balta

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #9 on: October 16, 2005, 08:20:28 pm »
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

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #10 on: October 16, 2005, 08:26:42 pm »
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

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #11 on: October 17, 2005, 04:53:42 pm »
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 :D

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #12 on: October 17, 2005, 05:12:36 pm »
There should be none.

Fpc 2.0.0 is suitable for making fpc 2.0.1.

What error message do you get?

balta

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #13 on: October 17, 2005, 05:23:06 pm »
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 "<address of function(Pointer, QWord, TThreadFunc, Pointer, LongWord,var LongInt):LongInt;Register>" expected "<procedure variable type of function(Pointer, LongWord, TThreadFunc, Pointer, LongWord,var Lo
cthreads.pp(646) Fatal: There were 1 errors compiling module, stopping
cthreads.pp(646) Error: Compilation aborted
make[7]: *** [cthreads.ppu] Fehler 1
make[7]: Leaving directory `/home/arthas/Downloads/fpc-2.0.1-050923.source/fpc/rtl/linux'
make[6]: *** [linux_all] Fehler 2
make[6]: Leaving directory `/home/arthas/Downloads/fpc-2.0.1-050923.source/fpc/rtl'
make[5]: ***
Fehler 2
make[5]: Leaving directory `/home/arthas/Downloads/fpc-2.0.1-050923.source/fpc/compiler'
make[4]: *** [next] Fehler 2
make[4]: Leaving directory `/home/arthas/Downloads/fpc-2.0.1-050923.source/fpc/compiler'
make[3]: *** [ppc1] Fehler 2
make[3]: Leaving directory `/home/arthas/Downloads/fpc-2.0.1-050923.source/fpc/compiler'
make[2]: *** [cycle] Fehler 2
make[2]: Leaving directory `/home/arthas/Downloads/fpc-2.0.1-050923.source/fpc/compiler'
make[1]: *** [compiler_cycle] Fehler 2
make[1]: Leaving directory `/home/arthas/Downloads/fpc-2.0.1-050923.source/fpc'
make: *** [build-stamp.x86_64-linux] Fehler 2

Anonymous

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #14 on: October 17, 2005, 08:39:13 pm »
The fpc 2.0.1 you downloaded cannot be compiled for 64 bits. :-(

It has an error, which has been fixed in the mean time. The current svn version of fpc 2.0.1 doesn't have this error.

Depending on your perserverance, I can give you three options:
- Use svn to get the latest fpc 2.0.1: svn co http://svn.freepascal.org/svn/fpc/branches/fixes_2_0
- Wait for the fpc 2.0.2 release and use that (estiimated within 2 weeks)
- Wait for lazarus 0.9.12, that will depend on fpc 2.0.2 (estimated in 4-6 weeks)

Disclaimer: Time esitimates are my personal estimates, subject to change and without any guarentee.

 

TinyPortal © 2005-2018