[GRASS-dev] compile directions
Patton, Eric
epatton at nrcan.gc.ca
Fri Aug 24 12:41:52 EDT 2007
It seems to me that make distclean takes into account all possible modifications to makefiles, libraries, etc. I can't remember the number of times on the mailing list that folks have solved weird compile errors by make distclean after multiple failed attempts using make clean. I'm no authority on the subject, however.
FWIW, I make distclean after daily cvs updates to 6.3, and have never encountered any problems.
~ Eric.
-----Original Message-----
From: Gerald Nelson [mailto:gnelson at uiuc.edu]
Sent: Fri 8/24/2007 1:37 PM
To: Patton, Eric; William Kyngesburye
Cc: grass-dev at grass.itc.it
Subject: RE: [GRASS-dev] compile directions
Yeah, but no directions on when to do each. A conservative approach would be to do make distclean just to be sure. But would that ever cause problems?
Jerry
---- Original message ----
>Date: Fri, 24 Aug 2007 12:27:26 -0400
>From: "Patton, Eric" <epatton at nrcan.gc.ca>
>Subject: RE: [GRASS-dev] compile directions
>To: "William Kyngesburye" <kyngchaos at kyngchaos.com>, "Gerald Nelson" <gnelson at uiuc.edu>
>Cc: <grass-dev at grass.itc.it>
>
>There are instructions in the INSTALL file distributed with Grass on the difference between the two:
>
>make clean - delete all files created by 'make'
>make distclean - 'make clean' + delete all files created by './configure'
>
>~ Eric.
>
>-----Original Message-----
>From: grass-dev-bounces at grass.itc.it on behalf of William Kyngesburye
>Sent: Fri 8/24/2007 1:17 PM
>To: Gerald Nelson
>Cc: grass-dev at grass.itc.it
>Subject: Re: [GRASS-dev] compile directions
>
>Actually, I'm a little guilty, though I often ask others when
>troubleshooting. I usually just run "make clean". If I see a change
>in configure or a makefile, then I'll run "make distclean".
>Occassionally I'll make distclean anyways, to be safe.
>
>I don't know how valid my method is - assuming that only configure
>and makefile changes require a distclean. But something in the build
>instructions would probably be good.
>
>On Aug 24, 2007, at 10:19 AM, Gerald Nelson wrote:
>
>> There have been lots of emails recently about compiling issues, and
>> one common thread is a question about whether you ran 'make
>> distclean' first.
>>
>> Is there any reason NOT to always run make distclean? Should it be
>> part of the standard directions?
>>
>
>-----
>William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>http://www.kyngchaos.com/
>
Gerald Nelson
Professor, Dept. of Agricultural and Consumer Economics
University of Illinois, Urbana-Champaign
office: 217-333-6465
cell: 217-390-7888
315 Mumford Hall
1301 W. Gregory
Urbana, IL 61801
More information about the grass-dev
mailing list