[R] Building R on Mac OS X-"dumping methods" problem

Michael Maibaum mike at gene-hacker.net
Sat Oct 19 01:28:31 CEST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Friday, October 18, 2002, at 03:52 PM, Jan de Leeuw wrote:

> Hm. That's basically what I use, and I don't have that problem
> (any more). Are you using the --enable-shlib flag when
> building R ?


yes, but I've tried it without as well....

Is this likely to be a problem with the compiler itself? WOuld it be 
worth getting fink to build g77 and trying to build R with that g77 
instead?

thanks

Michael
>
> On Friday, October 18, 2002, at 03:57 PM, Michael Maibaum wrote:
>
>> On Friday, October 18, 2002, at 03:28 PM, Jan de Leeuw wrote:
>>
>>> This was an error we had about half a year ago when building R on
>>>  OS X. Which gcc ? Which R ? Which g77 ? Are you sure you are
>>> building from a clean install (not installed over a previous 
>>> version) ?
>>
>>
>> R 1.6.0, clean install.
>>
>> standard gcc 3.1 from Apple with 10.2, g77 is
>>
>> %g77 -v
>> Reading specs from 
>> /opt/local/lib/gcc-lib/powerpc-apple-darwin6.1/3.1/specs
>> Configured with: ../gcc3/configure --prefix=/opt/local - 
>> --enable-languages=f77 --infodir=/opt/local/share/info
>> Thread model: single
>> Apple Computer, Inc. GCC version 1151, based on gcc version 3.1 
>> 20020420 (prerelease)
>> (basically the fink one, but ported to darwinports)
>>>
>>> On Friday, October 18, 2002, at 12:16 PM, Michael Maibaum wrote:
>>>
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>>
>>>> I am trying to create a darwinports package for R, but I cannot get 
>>>> R to compile on Mac OSX 10.2.
>>>>
>>>> I have install g77 which seems fine. R compiles without problems 
>>>> until it reaches
>>>>
>>>>
>>>> dumping R code in package 'methods'
>>>> Error in .Call("R_initialize_methods_metadata", table, PACKAGE = 
>>>> "methods") :
>>>>         .Call function name not in load table
>>>> Execution halted
>>>> gnumake[4]: *** [../../../library/methods/R/all.rda] Error 1
>>>>
>>>>
>>>> my configure environment is
>>>> 	FFLAGS="-O3 -funroll-all-loops" LDFLAGS="-L/opt/local/lib/" \
>>>> 				CPPFLAGS="-I/opt/local/include/"
>>>>
>>>> configure.args	--without-gnome --enable-R-shlib - 
>>>> --mandir='/opt/local/share/man' \
>>>> 				--with-tcl-config=/System/Library/Tcl/8.3/tclConfig.sh \
>>>> 				-C --without-blas
>>>>
>>>> any suggestions? THis is essentially identical to the way fink 
>>>> builds R so...?
>>>>
>>>> thanks
>>>>
>>>> Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)

iD8DBQE9sJkkilk3LUlIL0MRAsOwAKCMXMqUQ6Jjncs6ndbw9aIeumpipACeOQQ6
cAJ5D5pSpyRylxvh25xQ9Z4=
=CTp8
-----END PGP SIGNATURE-----

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list