From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 13:44:48 2003 Return-Path: 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 EDFBD16A4B3 for ; Thu, 16 Oct 2003 13:44:48 -0700 (PDT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4289A43FF7 for ; Thu, 16 Oct 2003 13:44:46 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id h9GKikgs006594; Thu, 16 Oct 2003 13:44:46 -0700 (PDT) Received: from mac.com (dpvc-68-161-244-25.ny325.east.verizon.net [68.161.244.25]) (authenticated bits=0)h9GKiJCQ000534; Thu, 16 Oct 2003 13:44:45 -0700 (PDT) Date: Thu, 16 Oct 2003 16:44:17 -0400 Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Daniela From: Charles Swiger In-Reply-To: <200310162211.20126.dgw@liwest.at> Message-Id: <830275B4-0019-11D8-881B-003065ABFD92@mac.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) cc: questions@freebsd.org Subject: Re: Porting to FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2003 20:44:49 -0000 On Thursday, October 16, 2003, at 06:11 PM, Daniela wrote: > I found many interesting Linux programs on sourceforge.net and other > sites, > but they're not in the ports collection. So I thought I'll port some > of these > to FreeBSD. However, I'm still pretty new to FreeBSD and I never ported > anything. Start here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ index.html > I can't even compile most of the programs on my system, and I'm almost > sure it > has to do with dependencies in 99% of all cases. How do I find out > what ports/programs it depends on? And yes, I have RTFM, but I still > have no clue. Most programs have a README which identifies any dependencies they might have. If a Linux package exists for the program (ie, such as an RPM), you could also look at that to gain an idea as to the dependencies. Beyond that, however, the problem lies in the fact that many people don't write particularly portable code, and you will need to resolve such issues by patching the program to work under FreeBSD. -- -Chuck