Recent

Author Topic: Lazarus does not start on Archlinux 64.  (Read 7862 times)

joseywales72

  • New Member
  • *
  • Posts: 20
Lazarus does not start on Archlinux 64.
« on: October 08, 2011, 10:25:34 am »
Hi,
I downloaded and extracted both 0.9.30 and 0.9.30.2RC sources. I have FPC 2.4.4 installed (both binary and sources)
I issue a make clean all, compilation finishes successfully. But when I try to start lazarus, I get these.
Code: [Select]

(lazarus:15521): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
[FORMS.PP] ExceptionOccurred
  Sender=EInvalidOp
  Exception=Invalid floating point operation
  Stack trace:
  $00007FDC9A24F684
TApplication.HandleException Invalid floating point operation
  Stack trace:
  $00007FDC9A24F684
[FORMS.PP] ExceptionOccurred

I am on Archlinux 64, FPC compiles programs successfully and I can run them. (I only tried simple command line examples though)
What can be wrong?
Thanks.

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Lazarus does not start on Archlinux 64.
« Reply #1 on: October 08, 2011, 03:22:12 pm »
I had similar problems. Try:
Code: [Select]
make distclean

EDIT: This error is after ./lazarus or ./startlazarus ?
« Last Edit: October 09, 2011, 12:13:41 am by Blaazen »
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

joseywales72

  • New Member
  • *
  • Posts: 20
Re: Lazarus does not start on Archlinux 64.
« Reply #2 on: October 13, 2011, 02:32:08 pm »
Thank you Blaazen, I tried your solution but no joy. The same error appears after I run both lazarus and startlazarus.
I'll try the compiled snapshots tonight. But I'm beginning to suspect my computer configuration. I use Archlinux 64 on both my machines (A laptop with Turion64 x2 and a desktop with Athlon II X4) Only the laptop has this error. I compiled both 0.9.30 and 0.9.30rc2 on my desktop, they ran fine.

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Lazarus does not start on Archlinux 64.
« Reply #3 on: October 13, 2011, 03:11:28 pm »
I have 64-bit Chakra Linux (based on arch + KDE4) on laptop and I use SVN for both fpc and Lazarus. I had that message firstly only for ./startlazarus and later for both ./lazarus and ./startlazarus and "make distclean" did the job. Do you have GTK2 ?
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: Lazarus does not start on Archlinux 64.
« Reply #4 on: October 13, 2011, 03:15:30 pm »
http://www.archlinux.org/packages/community/x86_64/lazarus/

packages on Arch community repo....

You can just do
sudo pacman -S lazarus

why do you need to compile yourself? ;)
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

joseywales72

  • New Member
  • *
  • Posts: 20
Re: Lazarus does not start on Archlinux 64.
« Reply #5 on: October 13, 2011, 08:16:03 pm »
@Blaazen: I tried make distclean, but the result is the same.
@FabienWang: I knew about the package, but since pacman installs it in /usr/bin and /usr/lib, it takes root priviliges to install components which I don't like. Anyway, I had already tried to install before I posted and the error messages were the same. It seems there is something missing.

zeljko

  • Hero Member
  • *****
  • Posts: 1906
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus does not start on Archlinux 64.
« Reply #6 on: November 09, 2011, 12:11:11 pm »
If you're using gtk2-2.24-7 then downgrade to 2.24-6 and it'll work.

 

TinyPortal © 2005-2018