Recent

Author Topic: Lazarus on openSUSE 11  (Read 21314 times)

rigel

  • New Member
  • *
  • Posts: 29
Lazarus on openSUSE 11
« on: January 22, 2009, 01:21:54 pm »
Hi,

I was installed Lazarus 0.9.26, but when try to compile new empty project stops and say: Can't find unit interfaces used by project. Please tell me how I can set up options in Environment options.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Lazarus on openSUSE 11
« Reply #1 on: January 23, 2009, 08:24:43 am »
There are at least two entries about this on the wiki:
Please search wiki, documentation, forum or whatever before asking questions.

rigel

  • New Member
  • *
  • Posts: 29
Re: Lazarus on openSUSE 11
« Reply #2 on: January 26, 2009, 09:17:28 am »
I was searcing in wiki, documentation, forum and I can't find where are lazarus directories in openSUSE 11. For that reason I was write in forum. It seems in separetad directories and is diferend for diferend type of linux. If anyone was installed on openSUSE please post screenshots. Two posted shortcuts not help.

Bart

  • Hero Member
  • *****
  • Posts: 5290
    • Bart en Mariska's Webstek
Re: Lazarus on openSUSE 11
« Reply #3 on: January 26, 2009, 12:27:51 pm »
On Suse 10 Lazarus is in /usr/lib/lazarus
Maybe that helps?

Bart

rigel

  • New Member
  • *
  • Posts: 29
Re: Lazarus on openSUSE 11
« Reply #4 on: January 28, 2009, 08:45:38 am »
I was set this for Lazarus directory - OK.
Compiler path - /usr/lib64/fpc/2.2.2/ppcx64
FPC source dir: /usr/share/fpcsrc/2.2.2/
I think this 2 was no error? But where is:
Make path? In /usr/lib/lazarus/Makefile is not executable. Please tell who and where is the file?
Please send me ours settings.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Lazarus on openSUSE 11
« Reply #5 on: January 28, 2009, 11:42:25 am »
in a console, type which make

If it doesn't show it, you need to install it.

Bart

  • Hero Member
  • *****
  • Posts: 5290
    • Bart en Mariska's Webstek
Re: Lazarus on openSUSE 11
« Reply #6 on: January 28, 2009, 11:45:14 am »
I was set this for Lazarus directory - OK.
Compiler path - /usr/lib64/fpc/2.2.2/ppcx64
FPC source dir: /usr/share/fpcsrc/2.2.2/
I think this 2 was no error? But where is:
Make path? In /usr/lib/lazarus/Makefile is not executable. Please tell who and where is the file?
Please send me ours settings.
Did you install the binutils (I think in Yast they are in the development section), this will install make, gcc etc for you.

Bart

rigel

  • New Member
  • *
  • Posts: 29
Re: Lazarus on openSUSE 11
« Reply #7 on: January 29, 2009, 08:46:47 am »
Yes: binutils, binutils-32bit, binutils-devel. Still can't compile.
Please send me yours settings in Environment options.

Bart

  • Hero Member
  • *****
  • Posts: 5290
    • Bart en Mariska's Webstek
Re: Lazarus on openSUSE 11
« Reply #8 on: January 29, 2009, 04:33:58 pm »
Did you try Vincent's suggestion?

As soon as I am on Linux I'll post my environment options.
Notice, I use 32 bit fpc (you seem to have 64 bit), so they probably will differ.

Bart

Bart

  • Hero Member
  • *****
  • Posts: 5290
    • Bart en Mariska's Webstek
Re: Lazarus on openSUSE 11
« Reply #9 on: January 29, 2009, 06:33:34 pm »
Here are my settings from Lazarus

Lazarus: /usr/lib/lazarus/
Compiler: /usr/local/bin/ppc386
FPC Source: /usr/share/fpcsrc/2.2.2/
Make <empty>

Where is my make?
Code: [Select]
bart@simenon:~> which make
/usr/bin/make

Mind you:
I installed Lazarus form rpm, but fpc form install.sh in fpcbuild-2.2.2.tar.gz, so my fpc is in another directory than it would be if installed from rpm (I think the default is /usr/bin/ppc386 for 32 bit Linux on x386 platform).

Since you have a 64 bit fpc, do you also have a 64 bit Lazarus?

Quote
In /usr/lib/lazarus/Makefile is not executable. Please tell who and where is the file?
The Makefile is not supposed to be executable.

Building Lazarus from source should be easy.
You have to make yourself root
Code: [Select]
bart@simenon:~> su
Password:
simenon:/home/bart # cd /usr/lib/lazarus/
simenon:/usr/lib/lazarus # make clean all

(Or "make clean bigide" if you want all the packages, but this failed on my Suse, and I never bothered really finding out why)

Hope this helps.

Bart

rigel

  • New Member
  • *
  • Posts: 29
Re: Lazarus on openSUSE 11
« Reply #10 on: January 30, 2009, 08:03:28 am »
Quote
Since you have a 64 bit fpc, do you also have a 64 bit Lazarus?

I have Intel Xeon. On download site lazarus & fpc x86_64 is for architecture AMD64. Can I use it with this CPU? I can't find 64bit Lazarus for Intel? Which Lazarus & fpc x86 I must use?

rigel

  • New Member
  • *
  • Posts: 29
Re: Lazarus on openSUSE 11
« Reply #11 on: January 30, 2009, 08:27:16 am »

Since you have a 64 bit fpc, do you also have a 64 bit Lazarus?


I was reinstall Lazarus & fpc with Lazarus Linux i386 RPM because I don't know which Lazarus & fpc must be used on Intel Xeon (Lazarus Linux x86_64 RPM is only for AMD64. Can I use it with Intel Xeon or may be another Lazarus for this 64bit CPU?).

Here are new errors:
/usr/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/crtbegin.o when searching for /usr/lib64/gcc/x86_64-suse-linux/4.3/crtbegin.o
/usr/bin/ld: cannot find /usr/lib64/gcc/x86_64-suse-linux/4.3/crtbegin.o
project1.lpr(17,1) Error: Error while linking
project1.lpr(17,1) Fatal: There were 1 errors compiling module, stopping

Please help.

Bart

  • Hero Member
  • *****
  • Posts: 5290
    • Bart en Mariska's Webstek
Re: Lazarus on openSUSE 11
« Reply #12 on: January 30, 2009, 02:41:11 pm »
Quote
Since you have a 64 bit fpc, do you also have a 64 bit Lazarus?

I have Intel Xeon. On download site lazarus & fpc x86_64 is for architecture AMD64. Can I use it with this CPU? I can't find 64bit Lazarus for Intel? Which Lazarus & fpc x86 I must use?
Try here that's the Lazarus Linux x86_64 RPM I think you need.

Bart

rigel

  • New Member
  • *
  • Posts: 29
Re: Lazarus on openSUSE 11
« Reply #13 on: February 11, 2009, 12:21:01 pm »
Quote
Since you have a 64 bit fpc, do you also have a 64 bit Lazarus?

I have Intel Xeon. On download site lazarus & fpc x86_64 is for architecture AMD64. Can I use it with this CPU? I can't find 64bit Lazarus for Intel? Which Lazarus & fpc x86 I must use?
Try here that's the Lazarus Linux x86_64 RPM I think you need.

Bart

Yes, now is OK! Thanks! Text AMD64 in column architecture mislead me!

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1927
Re: Lazarus on openSUSE 11
« Reply #14 on: February 11, 2009, 12:46:39 pm »
Next time try the "1 click install" http://packman.links2linux.de/package/lazarus/76270

;-)

 

TinyPortal © 2005-2018