[Lazarus] Compiling IDE issues using FreeBSD 9.1 & FPC 2.6.0

Graeme Geldenhuys graeme at geldenhuys.co.uk
Mon Feb 4 10:55:39 CET 2013


On 2013-02-03 22:22, Mattias Gaertner wrote:
>>> ./components/lazutils/fileutil.pas
>>> ./docs/xml/lazutils/fileutil.xml
>>> ./lcl/units/x86_64-freebsd/fileutil.ppu
>>> ./lcl/units/x86_64-freebsd/fileutil.o
> 
> Where is this fileutil.ppu coming from?
> 
> Maybe the "gmake clean" does not work under FreeBSD?

No idea.  I normally don't trust 'make clean' etc commands, so I did a
'git clean -d -f', seeing that I used the git repository from Github.
This removed any and all files or directories that are not tracked by
the repository. After that a 'gmake bigide' worked.

Thinking about it a bit more, it might have been my own doing. Maybe it
was because after I cloned the Lazarus repository from Github, it leaves
you in the wrong branch ('master' instead of 'upstream'). [I still need
to fix that] I think I might have tried to compile Lazarus while in the
wrong (very old) branch, then realised I was in the wrong branch -
switched to 'upstream', and then did another build. Thus leaving some
compiled units in locations that confused the build process. The 'git
clean' would have resolved this problem.

...few minutes later...

I just cloned the repository again, made sure I was in the correct
'upstream' branch, and did a 'gmake bigide' and everything went fine. So
I guess it must have been left-over compiled units from being in the
wrong branch before.

Sorry for the false alarm. It seems the only minor issue now, is that
the readme file needs to be updated to say that FreeBSD users must use
'gmake' instead of 'make'. I've already updated the wiki with this info.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/





More information about the Lazarus mailing list