Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-04

Error on compiling lazarus

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

hy-soft

Hi,
sorry for the stupid questions. Didn't have the chance to work with lazarus (on linux) for two months or so, and now when building lazarus (with "make clean all" - or any other similar command i am receiving this error:
----------------------------
Recompiling Gtk1Int, checksum changed for xlib
PPU Loading /home/hy/work/src/lazarus/lcl/units/i386-linux/gtk/gtk1int.ppu Fatal: Can't find unit Gtk1Int used by Interfaces
Fatal: Compilation aborted
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory `/home/hy/work/src/lazarus/ide' make[1]: *** [ide] Error 2
make[1]: Leaving directory `/home/hy/work/src/lazarus/ide' make: *** [ide] Error 2
------------------------------
xlib is up to date, so I do not know what to do. Yesterday I found an error (under windows) and wanted to check under linux, before submitting a fix.
TNX in Advance

***hy ___________________________________________________ | | hy-soft data-engineering | |mail: hy-soft [_at_] sha-mash [_dot_] de |---------------------------------------------------

Reply by email

Marc Weustink
to hy-soft
hy-soft wrote
Hi, sorry for the stupid questions. Didn't have the chance to work with lazarus (on linux) for two months or so, and now when building lazarus (with "make clean all" - or any other similar command

Maybe make clean didn't remove all ppus. Run
"find /home/hy/work/src/lazarus -name *.ppu" to see if this is the case (you can use "find /home/hy/work/src/lazarus -name *.ppu -exec rm {} \;" to remove them)

Marc

Reply by email

Mattias Gaertner
to hy-soft: sorry for the stupid questions. Didn't have the chance to work with lazarus (on linux)…
Show quoted text 20 lines
Hi, sorry for the stupid questions. Didn't have the chance to work with lazarus (on linux) for two months or so, and now when building lazarus (with "make clean all" - or any other similar command i am receiving this error: ---------------------------- Recompiling Gtk1Int, checksum changed for xlib PPU Loading /home/hy/work/src/lazarus/lcl/units/i386-linux/gtk/gtk1int.ppu Fatal: Can't find unit Gtk1Int used by Interfaces Fatal: Compilation aborted make[2]: *** [lazarus] Error 1 make[2]: Leaving directory `/home/hy/work/src/lazarus/ide' make[1]: *** [ide] Error 2 make[1]: Leaving directory `/home/hy/work/src/lazarus/ide' make: *** [ide] Error 2 ------------------------------ xlib is up to date, so I do not know what to do. Yesterday I found an error (under windows) and wanted to check under linux, before submitting a fix. TNX in Advance

Compile with make OPT=-vut and check if the right fpc.cfg is used and the right xlib.ppu is loaded everytime fpc is started.

Mattias

Reply by email

hy-soft
to Marc Weustink: Maybe make clean didn't remove all ppus. Run "find /home/hy/work/src/lazarus -name *.ppu"…

Hi,

first, let me say Thanks forthe quick response.

Marc Weustink wrote
Maybe make clean didn't remove all ppus. Run "find /home/hy/work/src/lazarus -name *.ppu" to see if this is the case (you can use "find /home/hy/work/src/lazarus -name *.ppu -exec rm {} \;" to remove them)

This did not work out I am still getting the same result.

when compiling with

make LCL_PLATFORM=gtk2

I am receiving:
==============================================
Target OS: Linux for i386
Compiling interfaces.pas
Compiling gtk2int.pas
Fatal: Can't find unit gdk2pixbuf used by Gtk2Int
Fatal: Compilation aborted
make[3]: *** [interfaces.ppu] Error 1
make[3]: Leaving directory `/home/hy/work/src/lazarus/lcl/interfaces/gtk2' make[2]: *** [gtk2_all] Error 2
make[2]: Leaving directory `/home/hy/work/src/lazarus/lcl/interfaces' make[1]: *** [interfaces] Error 2
make[1]: Leaving directory `/home/hy/work/src/lazarus/lcl' make: *** [lcl] Error 2
===============================================

when compiling with

make LCL_PLATFORM=gtk1
====================================
make -C interfaces all
make[2]: Entering directory `/home/hy/work/src/lazarus/lcl/interfaces' make[2]: *** No rule to make target `gtk1_all', needed by `all'. Stop. make[2]: Leaving directory `/home/hy/work/src/lazarus/lcl/interfaces' make[1]: *** [interfaces] Error 2
make[1]: Leaving directory `/home/hy/work/src/lazarus/lcl' make: *** [lcl] Error 2

====================================

make clean all gives thesame results

TNX in Advance

***hy ___________________________________________________ | | hy-soft data-engineering | |mail: hy-soft [_at_] sha-mash [_dot_] de |---------------------------------------------------

Reply by email

Mattias Gaertner
to hy-soft
Show quoted text 22 lines
Hi, first, let me say Thanks forthe quick response. Marc Weustink wrote: > Maybe make clean didn't remove all ppus. Run > "find /home/hy/work/src/lazarus -name *.ppu" to see if this is the > case (you can use "find /home/hy/work/src/lazarus -name *.ppu -exec > rm {} \;" to remove them) This did not work out I am still getting the same result. when compiling with make LCL_PLATFORM=gtk2 I am receiving: ============================================== Target OS: Linux for i386 Compiling interfaces.pas Compiling gtk2int.pas Fatal: Can't find unit gdk2pixbuf used by Gtk2Int

This unit is part of FPC.
Please compile with make LCL_PLATFORM=gtk2 OPT-vut and send the output.

Show quoted text 13 lines
Fatal: Compilation aborted make[3]: *** [interfaces.ppu] Error 1 make[3]: Leaving directory `/home/hy/work/src/lazarus/lcl/interfaces/gtk2' make[2]: *** [gtk2_all] Error 2 make[2]: Leaving directory `/home/hy/work/src/lazarus/lcl/interfaces' make[1]: *** [interfaces] Error 2 make[1]: Leaving directory `/home/hy/work/src/lazarus/lcl' make: *** [lcl] Error 2 =============================================== when compiling with make LCL_PLATFORM=gtk1

gtk without 1

Show quoted text 12 lines
==================================== make -C interfaces all make[2]: Entering directory `/home/hy/work/src/lazarus/lcl/interfaces' make[2]: *** No rule to make target `gtk1_all', needed by `all'. Stop. make[2]: Leaving directory `/home/hy/work/src/lazarus/lcl/interfaces' make[1]: *** [interfaces] Error 2 make[1]: Leaving directory `/home/hy/work/src/lazarus/lcl' make: *** [lcl] Error 2 ==================================== make clean all gives thesame results

Mattias

Reply by email