[Lazarus] [FPC] Install from sources
Kjow
antispammoni at gmail.com
Wed Dec 9 17:18:50 CET 2009
2009/12/9 Kjow <antispammoni at gmail.com>:
> 1) sudo alien -i -c /home/kjow/fpc_tools/fpc-2.2.4-20091209.i386.rpm
> 2) ppc386 -i (2.2.4 installed ok)
> 3) cd /home/kjow/lazarus/fpc/2.5.1
> 4) make all OPT='-gl -O3p3' PP=/usr/bin/ppc386
5) sudo make install PP=/usr/bin/ppc386 PREFIX=/usr
6) sudo rm /usr/bin/ppc386
7) sudo ln -s /usr/lib/fpc/2.5.1/ppc386 /usr/bin/ppc386
8) sudo ln -sf /home/kjow/lazarus/fpc/2.5.1/ /usr/share/fpcsrc
9) sudo /usr/lib/fpc/2.5.1/samplecfg /usr/lib/fpc/2.5.1/ /etc
FPC seems to be installed right.
Lazarus:
1) cd ~/lazarus
2) make clean all
...
...
Compiling idecmdline.pas
Linking ../lazarus
/usr/local/bin/ld: warning: ../link.res contains output sections; did
you forget -T?
/usr/local/bin/ld: cannot find -lX11
lazarus.pp(130,1) Error: Error while linking
lazarus.pp(130,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory `/home/kjow/lazarus/ide'
make[1]: *** [ide] Error 2
make[1]: Leaving directory `/home/kjow/lazarus/ide'
make: *** [ide] Error 2
Why can't it find X11? How to do?
Thank you again!
More information about the Lazarus
mailing list