From Franclim.Carreiro at zionsbancorp.com  Wed Sep  2 21:36:39 2009
From: Franclim.Carreiro at zionsbancorp.com (Frank Carreiro)
Date: Wed, 2 Sep 2009 13:36:39 -0600
Subject: [Rd] Trouble building R 2.9.2 under solaris 10
In-Reply-To: <alpine.LFD.2.00.0909021959080.7791@gannet.stats.ox.ac.uk>
Message-ID: <B42F6960C528A24D89DB24042949F58B0576386CFA@UTEXVS01.zbc.internal>

My apologies.  I've been through sevearl other forums the last few days working through this.  I forgot my manners.

I'll read the guide.  FYI... I'm using the /usr/sfw/bin/gcc compiler.  Version 3.4.3 along with GNU Make from sunfreeware.com 

I figured it's not an R issue as the documentation from CRAN suggested Solaris was supported.

I'll poke into the compiler and see what I can come up with.

 

-----Original Message-----
From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] 
Sent: Wednesday, September 02, 2009 1:01 PM
To: Frank Carreiro
Cc: r-devel at r-project.org
Subject: Re: [Rd] Trouble building R 2.9.2 under solaris 10

Please read the posting guide and the R-admin manual.

This is a symptom of a misconfigured compiler/system headers, and you have not told us what you are using.  It is not an R issue, so please consult your OS support line (and almost certianly you are not using a Sun compiler here): maybe you should?).

On Wed, 2 Sep 2009, Frank Carreiro wrote:

> I've been trying to compile 2.9.2 under solaris 10 the last couple days without success.  configure runs fine and I'm using GNU Make.  We're trying to build under 64 bit (and I'm wondering if this might be part of our problem).  Here is the output from the make...
>
>
> ld: warning: file /usr/local/lib/libiconv.so: attempted multiple inclusion of file
> Undefined                       first referenced
> symbol                             in file
> __builtin_isnan                     libR.a(plot.o)
> ld: fatal: Symbol referencing errors. No output written to R.bin
> collect2: ld returned 1 exit status
> make[3]: *** [R.bin] Error 1
> make[3]: Leaving directory `/usr/local/src/R-2.9.2/src/main'
> make[2]: *** [R] Error 2
> make[2]: Leaving directory `/usr/local/src/R-2.9.2/src/main'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/usr/local/src/R-2.9.2/src'
> make: *** [R] Error 1
>
> I'm curious what I'm doing wrong here.
>
> I'm running USE_PGXS=1 make to compile everything
>
> Thanks!
>
> Frank
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> 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



[Rd] Trouble building R 2.9.2 under solaris 10
Frank Carreiro