From simon.urbanek at r-project.org  Tue Jun 16 13:54:48 2009
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Tue, 16 Jun 2009 07:54:48 -0400
Subject: [Rd] R build fails during make when configured with
	"--with-x=no" (PR#13665)
In-Reply-To: <24024281.post@talk.nabble.com>
References: <20090420051009.535E6282C76F@mail.pubhealth.ku.dk>
	<49EC555A.60602@biostat.ku.dk>
	<235F553F-2113-48DC-B933-265F255BB84A@r-project.org>
	<24024281.post@talk.nabble.com>
Message-ID: <7AC3063C-8CC4-417C-BCB3-F0C0D0068028@r-project.org>


On Jun 14, 2009, at 14:16 , kevmac wrote:

>
> I still have that same error.
>

Can you be more specific, please (exact errors, config.log, R  
version ...)? Are you using latest R?

Cheers,
Simon


Do you have the la

>
> Simon Urbanek wrote:
>>
>> It should be fixed now.
>>
>> Cheers,
>> Simon
>>
>> On Apr 20, 2009, at 6:58 AM, Peter Dalgaard wrote:
>>
>>> jeet at ku.edu wrote:
>>>
>>>>
>>>> If R is configured using the "--with=x=no" option, then the make
>>>> fails with the
>>>> following error:
>>> ,,,,
>>>> make[1]: *** [R] Error 1
>>>> make[1]: Leaving directory `/home/jeet/Scratch/r-build/on-frontend/
>>>> R-2.9.0/src'
>>>> make: *** [R] Error 1
>>>>
>>>> The problem appears to be with the "src/modules/Makefile".
>>>> Specfically, lines
>>>> 26-29:
>>>>
>>>> 	@for d in "$(R_MODULES)"; do \
>>>> 	  (cd $${d} && $(MAKE) $@) || exit 1; \
>>>> 	done
>>>>
>>>> Here, R_MODULES is blank, resulting in the "cd" command
>>>> transferring to the
>>>> user's home directory, where, of course, no Makefile is found
>>>> resulting in the
>>>> error above.
>>>
>>> (Even more "fun" would ensue if in fact there were a Makefile
>>> there...)
>>>
>>>
>>>> Work-around appears to be to simply disable loop if R_MODULES is
>>>> empty.
>>>
>>> Shell script and Make portability is a pain in the derriere, but
>>> offhand, those double quotes just look wrong:
>>>
>>> viggo:~/>for i in "" ; do echo $i; done
>>>
>>> viggo:~/>for i in  ; do echo $i; done
>>> viggo:~/>for i in "foo bar" ; do echo $i; done
>>> foo bar
>>> viggo:~/>for i in foo bar ; do echo $i; done
>>> foo
>>> bar
>>>
>>> Notice that the versions with quotes invariably do the Wrong  
>>> Thing....
>>>
>>>
>>> -- 
>>>  O__  ---- Peter Dalgaard             ?ster Farimagsgade 5, Entr.B
>>> c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
>>> (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45)
>>> 35327918
>>> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45)
>>> 35327907
>>>
>>> ______________________________________________
>>> R-devel at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/R-build-fails-during-make-when-configured-with-%22--with-x%3Dno%22-%28PR-13665%29-tp23133399p24024281.html
> Sent from the R devel mailing list archive at Nabble.com.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] R build fails during make when configured with "--with-x=no" (PR#13665)
Simon Urbanek