From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 11:15:26 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 129C216A4B3 for ; Fri, 17 Oct 2003 11:15:26 -0700 (PDT) Received: from lilzmailfe02.liwest.at (lilzmailfe02.liwest.at [212.33.55.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5293F43FCB for ; Fri, 17 Oct 2003 11:15:25 -0700 (PDT) (envelope-from dgw@liwest.at) Received: from [212.33.58.27] (helo=cm58-27.liwest.at) by lilzmailfe02.liwest.at with esmtp (Exim 4.14) id 1AAZ8F-0004wj-Ab; Fri, 17 Oct 2003 20:15:23 +0200 From: Daniela To: "Karel J. Bosschaart" , Charles Swiger Date: Fri, 17 Oct 2003 20:11:23 +0000 User-Agent: KMail/1.5.3 References: <200310162211.20126.dgw@liwest.at> <830275B4-0019-11D8-881B-003065ABFD92@mac.com> <20031016213224.GA68783@phys9911.phys.tue.nl> In-Reply-To: <20031016213224.GA68783@phys9911.phys.tue.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310172011.23112.dgw@liwest.at> 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: Fri, 17 Oct 2003 18:15:26 -0000 On Thursday 16 October 2003 21:32, Karel J. Bosschaart wrote: > 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. I have the most problems with the configure scripts. They keep telling me that something is missing, but either I don't know where to look for it, or I have it already installed and don't know why the script doesn't find it.