[R-SIG-Mac] Oops --- still have problems building R from source.
Rolf Turner
r.turner at auckland.ac.nz
Thu May 27 21:58:17 CEST 2010
On 28/05/2010, at 2:56 AM, Berend Hasselman wrote:
<SNIP>
>> (R. T.): Wound up getting:
>>
>>> .
>>> .
>>> .
>>> gcc -arch x86_64 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o R_X11.so dataentry.o devX11.o rotated.o rbitmap.o -lSM -lICE -lX11 -lXt -lXmu -L../../../lib -lR -Wl,-framework -Wl,CoreFoundation
>>> ld: library not found for -lSM
>>> collect2: ld returned 1 exit status
>>> make[4]: *** [R_X11.so] Error 1
>>> make[3]: *** [R] Error 2
>>> make[2]: *** [make.X11] Error 2
>>> make[1]: *** [R] Error 1
>>> make: *** [R] Error 1
>>
>> What is the ``-lSM'' business all about? What is ``SM''? How do
>> I get the missing library? Psigh! :-(
>
> You had the same thing some iterations ago.
> -lSM tells the linker to link against libSM.dylib (in this case; because of the -dynamiclib if i am correct).
> This .dylib is in /usr/X11/lib
>
> You may have forgotten to put the line
>
> LIBS=-L/usr/X11/lib
>
> into the config.site file.
>
> I can't think of anything else.
Dang. This is discouraging. The line ``LIBS=-L/usr/Xll/lib'' is
definitely in config.site. :-(
cheers,
Rolf
######################################################################
Attention:
This e-mail message is privileged and confidential. If you are not the
intended recipient please delete the message and notify the sender.
Any views or opinions presented are solely those of the author.
This e-mail has been scanned and cleared by MailMarshal
www.marshalsoftware.com
######################################################################
More information about the R-SIG-Mac
mailing list