From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 14:32:16 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 BC58E16A4B3 for ; Thu, 16 Oct 2003 14:32:16 -0700 (PDT) Received: from phys9911.phys.tue.nl (PHYS9911.phys.tue.nl [131.155.108.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 654BB43FE0 for ; Thu, 16 Oct 2003 14:32:15 -0700 (PDT) (envelope-from karelj@phys9911.phys.tue.nl) Received: from phys9911.phys.tue.nl (localhost [127.0.0.1]) h9GLWOXb068806; Thu, 16 Oct 2003 23:32:24 +0200 (CEST) (envelope-from karelj@phys9911.phys.tue.nl) Received: (from karelj@localhost) by phys9911.phys.tue.nl (8.12.10/8.12.10/Submit) id h9GLWOlp068805; Thu, 16 Oct 2003 23:32:24 +0200 (CEST) (envelope-from karelj) Date: Thu, 16 Oct 2003 23:32:24 +0200 From: "Karel J. Bosschaart" To: Charles Swiger Message-ID: <20031016213224.GA68783@phys9911.phys.tue.nl> References: <200310162211.20126.dgw@liwest.at> <830275B4-0019-11D8-881B-003065ABFD92@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <830275B4-0019-11D8-881B-003065ABFD92@mac.com> User-Agent: Mutt/1.4.1i cc: Daniela 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 21:32:16 -0000 On Thu, Oct 16, 2003 at 04:44:17PM -0400, Charles Swiger wrote: > On Thursday, October 16, 2003, at 06:11 PM, Daniela wrote: > >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. > Adding to this: try 'gmake' instead of 'make'. Most programs written for Linux assume the GNU version of make which is different from BSD make. gmake is in the ports collection, and if you installed some ports it is quite likely you already have it as a (build) dependency. Karel.