From rhurlin at gwdg.de  Sun Aug 17 17:00:44 2008
From: rhurlin at gwdg.de (Rainer Hurling)
Date: Sun, 17 Aug 2008 17:00:44 +0200
Subject: [Rd] R-beta does not install on FreeBSD
In-Reply-To: <alpine.LFD.1.10.0808171254450.12714@gannet.stats.ox.ac.uk>
References: <48A80D39.5000605@gwdg.de>
	<alpine.LFD.1.10.0808171254450.12714@gannet.stats.ox.ac.uk>
Message-ID: <48A83D1C.9060407@gwdg.de>

Direct hit! Your guess was right.

After removing line 24 in po/Makefile.in.in all went fine. 
R-beta_2008-08-16_r46368.tar.gz now compiles and installs perfect on 
FreeBSD 8.0-CURRENT.

Thank you very much for your response.

Rainer



On 17.08.2008 14:02 (UTC+1), Prof Brian Ripley wrote:
> Can you track down which Makefile this is and what line 28 is?
> 
> My guess is that your make does not like the comment character at line 
> 24 in po/Makefile.in.in, in which case please delete the line.
> 
> But the BSD-like makes on Solaris and MacOS have no problem with it.
> 
> On Sun, 17 Aug 2008, Rainer Hurling wrote:
> 
>> I am trying to install R-beta_2008-08-16_r46368.tar.gz on FreeBSD 
>> 8.0-CURRENT (i386). The code stops compiling with the following message:
>>
>>
>> --------------------------------------------------------------------
>> [.. snip ..]
>> building package 'tcltk'
>> mkdir ../../../library/tcltk
>> mkdir ../../../library/tcltk/R
>> mkdir ../../../library/tcltk/demo
>> mkdir ../../../library/tcltk/exec
>> mkdir ../../../library/tcltk/po
>> mkdir ../../../library/tcltk/man
>> making init.d from init.c
>> making tcltk.d from tcltk.c
>> making tcltk_unix.d from tcltk_unix.c
>> `Makedeps' is up to date.
>> gcc -std=gnu99 -I../../../../include -I/usr/local/include/tcl8.4 
>> -I/usr/local/include/tk8.4 -I/usr/local/include -I/usr/local/include 
>> -fpic -g -O2 -c init.c -o init.o
>> gcc -std=gnu99 -I../../../../include -I/usr/local/include/tcl8.4 
>> -I/usr/local/include/tk8.4 -I/usr/local/include -I/usr/local/include 
>> -fpic -g -O2 -c tcltk.c -o tcltk.o
>> gcc -std=gnu99 -I../../../../include -I/usr/local/include/tcl8.4 
>> -I/usr/local/include/tk8.4 -I/usr/local/include -I/usr/local/include 
>> -fpic -g -O2 -c tcltk_unix.c -o tcltk_unix.o
>> gcc -std=gnu99 -shared -L/usr/local/lib -o tcltk.so init.o tcltk.o 
>> tcltk_unix.o  -L/usr/local/lib -ltcl84 -L/usr/local/lib -ltk84 
>> -L/usr/local/lib -lX11 -lm
>> mkdir ../../../../library/tcltk/libs
>> installing parsed NAMESPACE files
>> "Makefile", line 28: Need an operator
>> make: fatal errors encountered -- cannot continue
>> *** Error code 1
>>
>> Stop in /usr/local/R-beta.
>> --------------------------------------------------------------------
>>
>>
>> This happens with all recent beta versions. R version 2.7.1 Patched 
>> (2008-08-10 r46284) installed and worked fine.
>>
>> Could this be a bug with R-beta or is there something wrong with my 
>> FreeBSD version?
>>
>> Any help is appreciated.
>>
>> Thanks in advance,
>> Rainer Hurling
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>



[Rd] R-beta does not install on FreeBSD
Rainer Hurling