Frederik,

Could you do me a favour?  On an amd64 system, what does

        $ grep FLIBS /etc/R/Makeconf

show?  On i386 I get 

[EMAIL PROTECTED]:~> grep FLIBS /etc/R/Makeconf
FLIBS =  -lgfortran -lm -lgcc_s

and I can add -lf2c to it at compile time by changing debian/rules for
fExtremese to 



#!/usr/bin/make -f
#                                                       -*- makefile -*-
# debian/rules file for the Debian/GNU Linux r-cran-foptions package
# Copyright 2003-2006 by Dirk Eddelbuettel <[EMAIL PROTECTED]>

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/langcore.mk

# package name, also forced lower case
cranName        := $(shell grep Package: DESCRIPTION | cut -f2 -d" ")
cranNameLC      := $(shell echo $(cranName) | tr "[A-Z]" "[a-z]" )
## which we can use to build the package directory 
package         := r-cran-$(cranNameLC)
## which we use for the to-be-installed-in directory
debRlib         :=$(CURDIR)/debian/$(package)/usr/lib/R/site-library

common-install-indep:: R_any_arch
common-install-arch:: R_any_arch

R_any_arch:
                dh_installdirs          usr/lib/R/site-library
                ## next lines changes to 
                MAKEFLAGS="FLIBS=-lgfortran -lm -lgcc_s -lf2c" \
                        R CMD INSTALL -l $(debRlib) --clean .
                ## from    R CMD INSTALL -l $(debRlib) --clean .
                rm -vf $(debRlib)/R.css $(debRlib)/*/COPYING 


ie by adding the MAKEFLAGS="FLIBS=.... -lf2c".  Could you try that?  libf2c
has the pow_dd symbol we got the error for.

Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to