From owner-freebsd-questions@FreeBSD.ORG Mon Jul 17 15:05:13 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89E7B16A4DE for ; Mon, 17 Jul 2006 15:05:13 +0000 (UTC) (envelope-from mwm-keyword-freebsdquestions.8c5a2e@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.FreeBSD.org (Postfix) with SMTP id F15E143D45 for ; Mon, 17 Jul 2006 15:05:12 +0000 (GMT) (envelope-from mwm-keyword-freebsdquestions.8c5a2e@mired.org) Received: (qmail 89768 invoked by uid 1001); 17 Jul 2006 15:05:12 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Mon, 17 Jul 2006 11:05:11 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17595.42791.720165.478108@bhuda.mired.org> Date: Mon, 17 Jul 2006 11:05:11 -0400 To: Bob 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> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) From: Mike Meyer Cc: freebsd-questions@freebsd.org Subject: Re: LinkLib Issues In freebsd Lazarus X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2006 15:05:13 -0000 In <44BACE63.9030800@tania.servebbs.org>, Bob 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 for details. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.