Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Error running Lazarus on Ubuntu 12.10 32-bit 11 years 11 months ago #2910

  • achmad
  • achmad's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Hello,
Thanks for great application bundle, I can code Fpc in Windows easily.

Yesterday I was installing Ubuntu 12.10 32-bit just to try how CT 3.10 works in Linux.
I've successfully build Lazarus 32-bit BIG IDE without any problem.
When trying to run lazarus32, I got this error (please see screenshot attached: codetyphon_error_message1.png).
Looking at /usr/lib/codetyphon/fpc/bin/i386-linux, there is "fpc" binary and "fpc.cfg" but somehow lazarus failed to detect that.
When I click "Start IDE", I got this error: codetyphon_error_message2.png (see attached)
If I click "OK", there will be some "Access violation" warning and lazarus does not start at all.
Is there anything I missed when installing CT 3.10?

Please Log in or Create an account to join the conversation.

Error running Lazarus on Ubuntu 12.10 32-bit 11 years 11 months ago #2911

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor
Edit your fpc.cfg with :

sudo gedit /usr/lib/codetyphon/fpc/bin/i386-linux/fpc.cfg


and replace section searchpath for libraries with that :

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

#ifdef cpui386
-Fl/usr/lib/i386-linux-gnu
-Fl/lib/i386-linux-gnu
#endif


Save and re-load Lazarus...

Please Log in or Create an account to join the conversation.

Error running Lazarus on Ubuntu 12.10 32-bit 11 years 11 months ago #2913

  • achmad
  • achmad's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Thanks for the help but I still got the same error messages. :(
I've attached my fpc.cfg
let me know if there's anything I missed.

Edit: welp.. I guess, the forum doesn't accept .cfg file. I've posted it in pastebin: pastebin.com/q58KdvNH

Please Log in or Create an account to join the conversation.

Last edit: by achmad.

Error running Lazarus on Ubuntu 12.10 32-bit 11 years 8 months ago #3469

  • Joao Kho
  • Joao Kho's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Try to reinstall all from
sudo ./install.sh
install codetyphon studio
install system libraries
will appeared next menu:
remove and build all

after isntallation, start with:
sudo startlazarus32

Please Log in or Create an account to join the conversation.

Error running Lazarus on Ubuntu 12.10 32-bit 11 years 8 months ago #3474

  • Marius
  • Marius's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 1
Same problem on Ubuntu 13.04 x86 but after pressing a few error dialogs, the IDE starts and also compiles and runs projects. So i think the error is something in fpc.cfg:|

Please Log in or Create an account to join the conversation.

Last edit: by Marius.
  • Page:
  • 1