Recent

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

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #15 on: October 17, 2005, 09:51:36 pm »
I didn't noticed I was logged out. As you might have guessed, the previous post is mine.

balta

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #16 on: October 18, 2005, 07:03:24 pm »
I've tried your first option, and typed again "make all". Now I get another error after a longer time:

[...]
make[5]: Leaving directory `/home/arthas/Downloads/svn/fixes_2_0/ide/compiler'
make[4]: Leaving directory `/home/arthas/Downloads/svn/fixes_2_0/ide'
make testgdb
make[4]: Entering directory `/home/arthas/Downloads/svn/fixes_2_0/ide'
LibGDB not found
LIBGDBFILE=
GDBLIBDIR=/home/arthas/Downloads/svn/fixes_2_0/libgdb/linux

make[4]: Leaving directory `/home/arthas/Downloads/svn/fixes_2_0/ide'
make fpc_all
make[4]: Entering directory `/home/arthas/Downloads/svn/fixes_2_0/ide'
/home/arthas/Downloads/svn/fixes_2_0/compiler/ppcx64 -Ur -Xs  -n -Sg -Fu/home/arthas/Downloads/svn/fixes_2_0/rtl/units/x86_64-linux -Fu/home/arthas/Downloads/svn/fixes_2_0/fv/units/x86_64-linux -Fu/home/arthas/Downloads/svn/fixes_2_0/packages/base/gdbint/units/x86_64-linux -Fu/home/arthas/Downloads/svn/fixes_2_0/packages/base/regexpr/units/x86_64-linux -FE. -FUunits/x86_64-linux -Fl/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5 -Fl/usr/X11R6/lib64/Xaw95 -Fl/usr/X11R6/lib64/Xaw3d -Fl/usr/X11R6/lib64 -Fl/usr/X11R6/lib/Xaw95 -Fl/usr/X11R6/lib/Xaw3d -Fl/usr/X11R6/lib -Fl/usr/x86_64-suse-linux/lib64 -Fl/usr/x86_64-suse-linux/lib -Fl/usr/local/lib -Fl/usr/openwin/lib -Fl/opt/kde/lib -Fl/opt/kde2/lib -Fl/opt/kde3/lib -Fl/opt/gnome/lib -Fl/opt/gnome2/lib -Fl/lib64 -Fl/lib -Fl/usr/lib64 -Fl/usr/lib -Fl/usr/local/lib64 -Fl/usr/openwin/lib64 -Fl/opt/kde/lib64 -Fl/opt/kde2/lib64 -Fl/opt/kde3/lib64 -Fl/opt/gnome/lib64 -Fl/opt/gnome2/lib64 -Flinclude -Fl/etc/ld.so.conf.d/*.conf -dx86_64 -dRELEASE -dNODEBUG fp.pas
/usr/bin/ld: cannot find -lncurses
fp.pas(263,5) Error: Error while linking
make[4]: *** [fp] Fehler 1
make[4]: Leaving directory `/home/arthas/Downloads/svn/fixes_2_0/ide'
make[3]: *** [buildfp] Fehler 2
make[3]: Leaving directory `/home/arthas/Downloads/svn/fixes_2_0/ide'
make[2]: *** [gdb] Fehler 2
make[2]: Leaving directory `/home/arthas/Downloads/svn/fixes_2_0/ide'
make[1]: *** [ide_all] Fehler 2
make[1]: Leaving directory `/home/arthas/Downloads/svn/fixes_2_0'
make: *** [build-stamp.x86_64-linux] Fehler 2

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #17 on: October 19, 2005, 01:35:42 pm »
It seem you are missing the development libraries for ncurses.

Anonymous

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #18 on: October 19, 2005, 06:26:20 pm »
You will not believe it, but fpc is cmpiled with "make all" and installed with "make install"  :D

Now then compiling lazarus I get this error:

make[2]: Entering directory `/home/arthas/Downloads/lazarus-0.9.10-0/lazarus/ide'
/usr/local/bin/ppcx64 -gl -Fu../lcl/units/x86_64-linux -Fu../lcl/units/x86_64-linux/gtk -Fu../components/codetools/units/x86_64-linux -Fu../components/synedit/units/x86_64-linux -Fu../components/custom -Fu../components/mpaslex -Fu../ideintf/units/x86_64-linux -Fu../designer -Fu../designer/units -Fu../debugger -Fu../packager -Fu../packager/units/x86_64-linux -Fu. -Fu/usr/local/lib/fpc/2.0.1/units/x86_64-linux/rtl -Fu/usr/local/lib/fpc/2.0.1/units/x86_64-linux/paszlib -Fu/usr/local/lib/fpc/2.0.1/units/x86_64-linux/netdb -Fu/usr/local/lib/fpc/2.0.1/units/x86_64-linux/libasync -Fu/usr/local/lib/fpc/2.0.1/units/x86_64-linux/pthreads -Fu/usr/local/lib/fpc/2.0.1/units/x86_64-linux/fcl -Fu/usr/local/lib/fpc/2.0.1/units/x86_64-linux/regexpr -Fu/usr/local/lib/fpc/2.0.1/units/x86_64-linux/pasjpeg -Fu/usr/local/lib/fpc/2.0.1/units/x86_64-linux/ibase -Fu/usr/local/lib/fpc/2.0.1/units/x86_64-linux/postgres -Fu/usr/local/lib/fpc/2.0.1/units/x86_64-linux/mysql -Fu/usr/local/lib/fpc/2.0.1/units/x86_64-linux/sqlite -Fiinclude -Fiinclude/linux -Fi../images -FE.. -FU../units/x86_64-linux -Fl/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5 -Fl/usr/X11R6/lib64/Xaw95 -Fl/usr/X11R6/lib64/Xaw3d -Fl/usr/X11R6/lib64 -Fl/usr/X11R6/lib/Xaw95 -Fl/usr/X11R6/lib/Xaw3d -Fl/usr/X11R6/lib -Fl/usr/x86_64-suse-linux/lib64 -Fl/usr/x86_64-suse-linux/lib -Fl/usr/local/lib -Fl/usr/openwin/lib -Fl/opt/kde/lib -Fl/opt/kde2/lib -Fl/opt/kde3/lib -Fl/opt/gnome/lib -Fl/opt/gnome2/lib -Fl/lib64 -Fl/lib -Fl/usr/lib64 -Fl/usr/lib -Fl/usr/local/lib64 -Fl/usr/openwin/lib64 -Fl/opt/kde/lib64 -Fl/opt/kde2/lib64 -Fl/opt/kde3/lib64 -Fl/opt/gnome/lib64 -Fl/opt/gnome2/lib64 -Flinclude -Fl/etc/ld.so.conf.d/*.conf -dx86_64 lazarus.pp
Free Pascal Compiler version 2.0.1 [2005/10/18] for x86_64
Copyright (c) 1993-2005 by Florian Klaempfl
Target OS: Linux for x86-64
Compiling lazarus.pp
Fatal: Can't find unit glib
Fatal: Compilation aborted
make[2]: *** [lazarus] Fehler 1
make[2]: Leaving directory `/home/arthas/Downloads/lazarus-0.9.10-0/lazarus/ide'
make[1]: *** [ide] Fehler 2
make[1]: Leaving directory `/home/arthas/Downloads/lazarus-0.9.10-0/lazarus/ide'
make: *** [ide] Fehler 2

Is the Unit glib not installed with "make install"??

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #19 on: October 19, 2005, 09:44:05 pm »
check, if you can find glib.ppu (of today) in /usr/local/lib/fpc/2.0.1/units/x86_64-linux/gtk.

If it is there, then check /etc/fpc.cfg.

If you find lines like
-Fu/usr/local/lib/fpc/2.0.0/units/$fpctarget/*
or
-Fu/usr/local/lib/fpc/2.0.0/units/x86_64-linux/*
replace it bu
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/*

Anonymous

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #20 on: October 21, 2005, 11:31:13 pm »
Now Lazarus is compiled on my system!!!
Now I have one last problem:

By compiling a program in lazarus, this message there is:

/usr/bin/ld: cannot find -lglib
project1.lpr(16) Error: Error while linking

glib(-devel) and glib2(-devel) are installed.

PS: Now I have a message then starting lazarus:

"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"

Is that important??

Anonymous

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #21 on: October 22, 2005, 12:11:32 am »
The faq says:The normal installation creates /etc/fpc.cfg

I installed Lazarus 9.10 on 2 different systems, on both systems no  fpc.cfg was created at all

I guess this causes the unit glib not found error

Theo

balta

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #22 on: October 22, 2005, 12:35:37 am »
/etc/fpc.cfg exists.
It's not the UNIT glib, that's not found by FPC, glib isn't fount by the linker ld.

balta

  • Guest
RE: lazarus on SuSE 9.3 and Athlon64
« Reply #23 on: October 22, 2005, 12:48:02 am »
Thanks for all!!
My lazarus now works perfectly!!

In the /etc/fpc.cfg only was this line:

-Fl/opt/gnome/lib

but it have to be on a 64bit-system:

-Fl/opt/gnome/lib64

Now it works!!!

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: RE: lazarus on SuSE 9.3 and Athlon64
« Reply #24 on: October 22, 2005, 10:24:00 am »
Quote from: "Anonymous"

PS: Now I have a message then starting lazarus:

"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"

Is that important??

Yes, this is important for
- code completion
- event methode generation
- find declaration

Install the fpcsrc-xxx.rpm. (In the snapshots it is called fpc-src-xxx.rpm)
It puts fpc sources in /usr/share/fpcsrc.

 

TinyPortal © 2005-2018