From owner-freebsd-eclipse@FreeBSD.ORG Sat Feb 17 05:53:24 2007 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94E3016A400 for ; Sat, 17 Feb 2007 05:53:24 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from talk.nabble.com (www.nabble.com [72.21.53.35]) by mx1.freebsd.org (Postfix) with ESMTP id 7F29C13C467 for ; Sat, 17 Feb 2007 05:53:24 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HIIVg-0005LH-7r for freebsd-eclipse@freebsd.org; Fri, 16 Feb 2007 21:53:24 -0800 Message-ID: <9017086.post@talk.nabble.com> Date: Fri, 16 Feb 2007 21:53:24 -0800 (PST) From: sans To: freebsd-eclipse@freebsd.org In-Reply-To: <45D5C1DD.2000106@datalinktech.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: bindubhaskar@rediffmail.com References: <9003021.post@talk.nabble.com> <45D5C1DD.2000106@datalinktech.com.au> Subject: Re: [ports-amd64@FreeBSD.org: eclipse-gef-3.2.2 failed on amd64 6] Error : Launch failed no binaries X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2007 05:53:24 -0000 hi, on changing the built command to gmake, it worked. thanks a lot for your reply. sans. David Nugent wrote: > > sans wrote: >> I tried to simple managed make c++ application. I have installed Eclipse >> and >> CDT plug in using FreeBSD ports. >> >> When I try to build the application, a makefile error is coming 'Error >> expanding embedded variable'. >> On trying to run the application, it results in an error 'Launch failed: >> no >> binaries' . >> > > Eclipse defaults expect make(1) to be GNU make and this assumption is > what is causing this to fail (you can probably see make(1)'s error text > in the console window). The default make(1) in FreeBSD is not GNU make > nor compatible for any non-trivial makefile. > > You need to adjust your make settings which can be found in > Window.Preferences.C/C++.Make.New Make Projects via the workbench menu > (assuming 3.2.1, but iirc it has been there for a while). If you use the > defaults and wish to use GNU make just change the "Build command" to > "gmake". Make sure that you have gmake (devel/make in ports) installed. > gmake will usually be installed as a build dependency automatically if > you build a port that needs it (ie most of them), otherwise install it > directly from package or ports). > > Alternatively you can use the adjacent tab in the preferences pane to > adjust the style of makefile eclipse uses to "posix make", and you make > need to set include directories. Disclaimer: I never tried this as I > prefer to maintain my own makefiles. The style setting only affect > projects where Eclipse is managing the makefile, otherwise it just uses > whatever make command you have specified to build. > > You can override all of these settings on a per project basis as well in > project properties. > > Regards, > David > _______________________________________________ > freebsd-eclipse@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse > To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/Error-%3A-Launch-failed-no-binaries-tf3239065.html#a9017086 Sent from the freebsd-eclipse mailing list archive at Nabble.com.