Lazarus on openSUSE 11 lazarus / 1-Linux ---------------------------------------------------------------------- rigel · 2009-01-22 12:21 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 · 2009-01-23 07:24 There are at least two entries about this on the wiki: FirstSecondPlease search wiki, documentation, forum or whatever before asking questions. ---------------------------------------------------------------------- rigel · 2009-01-26 08:17 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 · 2009-01-26 11:27 On Suse 10 Lazarus is in /usr/lib/lazarus Maybe that helps? Bart ---------------------------------------------------------------------- rigel · 2009-01-28 07:45 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 · 2009-01-28 10:42 in a console, type which make If it doesn't show it, you need to install it. ---------------------------------------------------------------------- Bart · 2009-01-28 10:45 Quote from: rigel on January 28, 2009, 08:45:38 amI 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 · 2009-01-29 07:46 Yes: binutils, binutils-32bit, binutils-devel. Still can't compile. Please send me yours settings in Environment options. ---------------------------------------------------------------------- Bart · 2009-01-29 15:33 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 · 2009-01-29 17:33 Here are my settings from Lazarus Lazarus: /usr/lib/lazarus/ Compiler: /usr/local/bin/ppc386 FPC Source: /usr/share/fpcsrc/2.2.2/ Make 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? QuoteIn /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 · 2009-01-30 07:03 QuoteSince 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 · 2009-01-30 07:27 Quote from: Bart on January 29, 2009, 06:33:34 pm 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 · 2009-01-30 13:41 Quote from: rigel on January 30, 2009, 08:03:28 amQuoteSince 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 · 2009-02-11 11:21 Quote from: Bart on January 30, 2009, 02:41:11 pmQuote from: rigel on January 30, 2009, 08:03:28 amQuoteSince 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 · 2009-02-11 11:46 Next time try the "1 click install" http://packman.links2linux.de/package/lazarus/76270 ;-) ---------------------------------------------------------------------- rigel · 2009-02-13 11:29 Quote from: theo on February 11, 2009, 12:46:39 pmNext time try the "1 click install" http://packman.links2linux.de/package/lazarus/76270 ;-) Thanks!