From owner-freebsd-ports@FreeBSD.ORG Sat Oct 2 12:27:00 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96208106564A for ; Sat, 2 Oct 2010 12:27:00 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 489708FC13 for ; Sat, 2 Oct 2010 12:26:59 +0000 (UTC) Received: by qwd6 with SMTP id 6so2476546qwd.13 for ; Sat, 02 Oct 2010 05:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=S8ZT7l6zGvQKQFM3SMZ2nOcEkrkT2IE2HtIJB6uv3Uk=; b=wwbFb3fzuwdJ9V4Ejfwij2UyrekTiMwiWQPWrLos884tfriIn2g1Jp855glD2UU6ka wMwQtgarg7bA2emR1KJWMEAazDTzklVag9cVsH8S1OElg0bp4N1EupUeOUqq3cR/6xC6 LiZtx38IRTWiJxQGGZik/4UWegoCLXCSkApNk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=TmB/uPKbpJkO5M0nL9PXwuuSLw+mf9wBFc+7GNVLtixGh2xhZYzFPJbXrQFkoHxbY+ OY4Yk4iMSjElK6eW23n8xMzIa8i5zgT1Xorccq+ftWfUJkDXlmcBA6N/sw4PzDYojqkk MySp09IK/GKIKFUa+vaXb44Ul1XkgYv+yQcnM= MIME-Version: 1.0 Received: by 10.229.1.223 with SMTP id 31mr4830570qcg.298.1286022419263; Sat, 02 Oct 2010 05:26:59 -0700 (PDT) Received: by 10.229.100.149 with HTTP; Sat, 2 Oct 2010 05:26:59 -0700 (PDT) In-Reply-To: <4CA6DF34.5080301@infracaninophile.co.uk> References: <4CA6DF34.5080301@infracaninophile.co.uk> Date: Sat, 2 Oct 2010 14:26:59 +0200 Message-ID: From: Torfinn Ingolfsen To: FreeBSD Ports ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Chetan Shukla Subject: Re: porting: Linux to Freebsd X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 12:27:00 -0000 Or you could simply start at step 3, then for every problem you have in step 4, Google it. For the problems you cannot fix that way, ask (smart) questions on the appropriate FreeBSD mailing lists, until the application compiles. Then continue to step 5. Note: the learning curve will be steep, take the time needed to make it. On Sat, Oct 2, 2010 at 9:28 AM, Matthew Seaman < m.seaman@infracaninophile.co.uk> wrote: > On 02/10/2010 07:42:30, Chetan Shukla wrote: > > > Could someone please outline the steps needed in porting a general > application from > > Linux to FreeBSD. > > Step 1) Spend time (probably several years) achieving a reasonable level > of expertise in the languages and concepts involved. > > Step 2) During the same time, become intimately familiar with the > applicable bits of API and the general operating environment available > under FreeBSD. > > Step 3) Copy distfile tarballs onto FreeBSD box, or otherwise obtain the > source code. > > Step 4) Try to configure and compile the software, or otherwise do what > is needed to get the software into a usable state. > > Step 5) Test it > > Step 6) If it works, stop the compile/test cycle here and publish your > results, preferably by writing a new port and submitting it as described > in the Porter's handbook. > > Step 7) Else generate fixes for any apparent problems. > > Step 8) Goto step 4. > > Perhaps you might ask a more narrowly specified question? The answers > will likely be a lot more useful to you. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > > -- mvh Torfinn