FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development Java

 
 
LinkBack Thread Tools
 
Old 02-13-2008, 07:20 PM
Jeff Johnston
 
Default Unable to GNU AutoBuild a simple HelloWorld console application

Daniel B. Thurman wrote:

I am testing Eclipse on F8, and I have checkout HelloWorld
from my SVN repository and into my workspace, choosing
GNU AutoBuild but apparently it is unable to auto-build.

The error I have reported is:

**** Clean-only build of configuration Build (GNU) for project
HelloWorld ****


make -k distclean
make: *** No rule to make target `distclean'.
Buildfile generation error occurred..
Not possible to generate Makefile and no existing Makefile found
Build stopped..

So what is the problem



A GNU Autotools project expects an existing project to have a configure
script or autogen.sh that is used to configure and ultimately generate
the Makefile. If you do not have these files and don't plan on adding
them, you should use either the regular Managed Make project which will
create a Makefile for you, or the Std Make project which expects you to
have a Makefile.


Regarding the clean behavior, the Autotools project default is to do a
make distclean which is a standard target in a generated Makefile for an
autotools project. If one goes to Project ->Properties->C/C++
Build->Settings->Autotools tab you will find settings for the clean
behavior. You can change this to make clean or have the build directory
simply deleted. The distclean target deletes all files created by the
build and leaves others alone. This is useful when one wants to
configure/build directly in the source directory.


The error message was given because it could not find a Makefile in your
project and there were no configuration files to generate one from.


-- Jeff J.

------------------------------------------------------------------------

--
fedora-devel-java-list mailing list
fedora-devel-java-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list



--
fedora-devel-java-list mailing list
fedora-devel-java-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list
 

Thread Tools




All times are GMT. The time now is 07:00 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org