You are not logged in.

#1 2008-12-26 20:21:40

foggybrain
Member
Registered: 2008-07-29
Posts: 86

Lazarus won't build projects anymore (Solved)

Over the last few days I have upgraded a package or packages that have stopped lazarus building projects, I just get this error on build.

project1.lpr(8,7) Fatal: Can't find unit Interfaces used by project1

My projects all built fine a few days ago, and I have changed no settings in lazarus (I have also reinstalled the lazarus package).

Pacman tells me that lazarus depends on: fpc, fpc-src, gdk-pixbuf, but It also must use interface libraries such as gtk and qt ??

I don't know enough about Lazarus and my system to fix this new error, and I can't pin point a cure in the lazarus forums for Arch linux.

Is any body else experiencing the same or have any idear which recent Arch package updates could be effecting lazarus ?

Many thanks

Tim

EDIT

Just built the lazarus-svn package from the aur and lazarus now builds my programs again without errors, only problem is the beta-svn is very buggy.

Last edited by foggybrain (2008-12-28 06:42:58)

Offline

#2 2008-12-27 07:27:03

dusanx
Member
Registered: 2008-11-28
Posts: 132

Re: Lazarus won't build projects anymore (Solved)

Same here sad

I just got some contract for Lazarus code, this could not happen in the worst time. Can't install svn because of stability reasons.

Can somebody look into this, I would but don't know how. Please?


Gnome -> Openbox -> Awesome -> XMonad -> dwm .
http://github.com/dusanx/uzbl/

Offline

#3 2008-12-27 08:42:14

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: Lazarus won't build projects anymore (Solved)

I performed some quick testing, and it appears that a simple rebuild will do the trick. Please refer to the following wiki pages for instructions:

makepkg
ABS

(The package you need to rebuild is located in /var/abs/community/devel/lazarus)

Offline

#4 2008-12-27 12:04:19

dusanx
Member
Registered: 2008-11-28
Posts: 132

Re: Lazarus won't build projects anymore (Solved)

foutrelis wrote:

I performed some quick testing, and it appears that a simple rebuild will do the trick. Please refer to the following wiki pages for instructions:

makepkg
ABS

(The package you need to rebuild is located in /var/abs/community/devel/lazarus)

Thanks, time to dive into package documentation I guess smile


Gnome -> Openbox -> Awesome -> XMonad -> dwm .
http://github.com/dusanx/uzbl/

Offline

#5 2008-12-27 12:32:41

dusanx
Member
Registered: 2008-11-28
Posts: 132

Re: Lazarus won't build projects anymore (Solved)

OK, here is really simple solution that works and does not require any abs and package handling:

1. Start lazarus with 'sudo lazarus'
2. Go to Tools -> Build Lazarus
3. Everything works again smile


Gnome -> Openbox -> Awesome -> XMonad -> dwm .
http://github.com/dusanx/uzbl/

Offline

#6 2008-12-28 06:46:05

foggybrain
Member
Registered: 2008-07-29
Posts: 86

Re: Lazarus won't build projects anymore (Solved)

Yes !! thank-you dusanx

started lazarus as root and done, tools > build lazarus

Works great

Offline

Board footer

Powered by FluxBB