Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2006 11:05:11 -0400
From:      Mike Meyer <mwm-keyword-freebsdquestions.8c5a2e@mired.org>
To:        Bob <bob@tania.servebbs.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: LinkLib Issues In freebsd Lazarus
Message-ID:  <17595.42791.720165.478108@bhuda.mired.org>
In-Reply-To: <44BACE63.9030800@tania.servebbs.org>
References:  <44BA98A9.9040903@tamara-b.org> <17594.43423.928991.591165@bhuda.mired.org> <44BACE63.9030800@tania.servebbs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In <44BACE63.9030800@tania.servebbs.org>, Bob <bob@tania.servebbs.org> typed:
> > I'd say this is a mistake. You should probably install the fpc port in
> > /usr/ports/lang/fpc. There may be reasons to install your own version
> > instead of a port, but you haven't presented any.
> As per the Lazarus docs/INSTALL, compiling Lazarus requires the FPC
> source tree, A binary install of FPC won't do.

It's *really* unusual for a port to install a binary tarball if the
source is available. Most ports that install binaries are for
commercial products for which source isn't available.

> > Again, you should probably have used the ports version, in
> > editors/fpc-ide.
> That's the text-mode IDE, not the GUI one, called Lazarus.

That port doesn't say very much about what it is, other than it's an
fpc-ide. Sorry for the mistake.

> So, all that is needed is to apply the patches I mentioned in my OP, get
> the proper gdk-pixbuf installed from ports, and it is as good as gold.
> 
> Now, how can I create a port for Lazarus, now that I have it compiled
> and running?

You'll probably want to start by creating an fpc port that builds from
source. A lazarus port could fetch the source files itself and use
them, but if I were using them, I'd like to know that the fpc I was
using was built from the sources the ide used.

A port is basically a Makefile plus at least some text files. The
ports tree includes a lot of make machinery to
fetch/extract/patch/build/etc. based on that. See the porters handbook
at <URL:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html
> for details.

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17595.42791.720165.478108>