Re: [Rd] make error for R 2.13.0 (and 2.12.0)

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Mon, 22 Nov 2010 20:16:57 +0000 (GMT)

Notes:

  1. We cannot reproduce this on a Solaris system using gcc/g77 3.4.6. (Doubled underscores are generated there by g77 and handled correctly in R.) So whatever the issue really is, it is not simply that 'this code no longer compiles properly with g77'.
  2. Package cluster has since been updated not to use underscores, so simply trying an R-patched tarball should solve the issue.

There may be other packages with Fortran code and underscores, so it would be helpful if someone with evidence of the problem could produce an accurate analysis and patch.

On Mon, 22 Nov 2010, Tom "spot" Callaway wrote:

> On 11/05/2010 07:59 AM, Johann Hibschman wrote:
>> "Tom \"spot\" Callaway" <tcallawa_at_redhat.com> writes:
>>
>>> Full build log is here:
>>> http://koji.fedoraproject.org/koji/getfile?taskID=2571563&name=build.log
>>>
>>> Default gcc in RHEL 4 is 3.4.6-10, which has g77 rather than gfortran.
>>> It looks like this code no longer compiles properly with g77.
>>>
>>> Thankfully, RHEL 4 also includes a copy of gcc 4.1, so I should be able
>>> to work around this by using that instead.
>>
>> Did you have any luck with this? I'm also stuck on RHEL 4, also facing
>> that same error, but I've not been able to find gfortran anywhere on the
>> system.
>
> Yes, I was able to get this working by installing the gcc4-gfortran and
> gcc4-c++ packages on RHEL 4, and setting CC=gcc4, CXX=g++4, FC=gfortran
> and F77=gfortran.
>
> I pushed this package into EPEL (http://fedoraproject.org/wiki/EPEL), so
> if you'd rather just use my builds instead of trying your own, 2.12.0 is
> available now.
>
> ( For this specific update, see:
> https://admin.fedoraproject.org/updates/R-2.12.0-1.el4.1 )
>
> Thanks,
>
> ~spot
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Mon 22 Nov 2010 - 20:20:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 22 Nov 2010 - 20:20:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive