It turned out that I do not have the 64-bit readline library installed.
After disabling it using the "-without-readline" option for ./configure, I
successfully made a 64-bit build under Solaris 9.

Thanks for your help.


On 4/20/06, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
>
> Note:
>
> > configure:4041: checking whether the C compiler works
> > configure:4059: error: cannot run C compiled programs.
>
> so your compiler installation is broken, seriously enough that configure
> can make no progress.
>
> Also, gcc 3.4.2 is old and has a known bug that stops some R packages
> using Fortran working correctly, so please avoid it.
>
> Please seek local help with your OS.
>
>
> On Thu, 20 Apr 2006, Min Shao wrote:
>
> > Hi,
> >
> > I am trying to compile R-2.2.1 on Solaris 2.9 with a 64-bit build.
> Following
> > the instructions in "R Installation and Adminstration", I changed the
>
> Note, those are example settings that have been tested, but not
> `instructions'.
>
> > following settings in "config.site":
> > CC="gcc -m64"
> > F77="g77 -64"
> > CXX="g++ -m64"
> > LDFLAGS="-L/usr/local/lib/sparcv9 -L/usr/local/lib"
> >
> > But I got the following error messages:
> > configure:3987: gcc -m64  -I/usr/local/include -L/usr/local/lib/sparcv9
> > -L/usr/local/lib conftest.c  >&5
> > /usr/ccs/bin/ld: skipping incompatible /work/net-local-b/sparc-
> > sun-solaris2.9/bin/../lib/gcc/sparc-sun-solaris2.9
> /3.4.2/sparcv9/libgcc.a
> > when search
> > ing for -lgcc
> > /usr/ccs/bin/ld: skipping incompatible /work/net-local-b/sparc-
> > sun-solaris2.9/bin/../lib/gcc/sparc-sun-solaris2.9
> /3.4.2/sparcv9/libgcc_eh.a
> > when sea
> > rching for -lgcc_eh
> > /usr/ccs/bin/ld: skipping incompatible /lib/sparcv9/libc.so when
> searching
> > for -lc
> > /usr/ccs/bin/ld: skipping incompatible /usr/lib/sparcv9/libc.so when
> > searching for -lc
> > /usr/ccs/bin/ld: skipping incompatible /usr/lib/sparcv9/libc.so when
> > searching for -lc
> > /usr/ccs/bin/ld: skipping incompatible /work/net-local-b/sparc-
> > sun-solaris2.9/bin/../lib/gcc/sparc-sun-solaris2.9
> /3.4.2/sparcv9/libgcc.a
> > when search
> > ing for -lgcc
> > /usr/ccs/bin/ld: skipping incompatible /work/net-local-b/sparc-
> > sun-solaris2.9/bin/../lib/gcc/sparc-sun-solaris2.9
> /3.4.2/sparcv9/libgcc_eh.a
> > when sea
> > rching for -lgcc_eh
> > /usr/ccs/bin/ld: skipping incompatible /lib/sparcv9/libc.so when
> searching
> > for -lc
> > /usr/ccs/bin/ld: skipping incompatible /usr/lib/sparcv9/libc.so when
> > searching for -lc
> > /usr/ccs/bin/ld: skipping incompatible /usr/lib/sparcv9/libc.so when
> > searching for -lc
> > /usr/ccs/bin/ld: warning: sparc:v9 architecture of input file
> > `/work/net-local-b/sparc-sun-solaris2.9/bin/../lib/gcc/sparc-
> sun-solaris2.9
> > /3.4.2/spar
> > cv9/crt1.o' is incompatible with sparc output
> > /usr/ccs/bin/ld: warning: sparc:v9 architecture of input file
> > `/work/net-local-b/sparc-sun-solaris2.9/bin/../lib/gcc/sparc-
> sun-solaris2.9
> > /3.4.2/spar
> > cv9/crti.o' is incompatible with sparc output
> > /usr/ccs/bin/ld: warning: sparc:v9 architecture of input file
> > `/usr/ccs/lib/sparcv9/values-Xa.o' is incompatible with sparc output
> > /usr/ccs/bin/ld: warning: sparc:v9 architecture of input file
> > `/work/net-local-b/sparc-sun-solaris2.9/bin/../lib/gcc/sparc-
> sun-solaris2.9
> > /3.4.2/spar
> > cv9/crtbegin.o' is incompatible with sparc output
> > /usr/ccs/bin/ld: warning: sparc:v9 architecture of input file
> > `/var/tmp//cckWp3Sb.o' is incompatible with sparc output
> > /usr/ccs/bin/ld: warning: sparc:v9 architecture of input file
> > `/work/net-local-b/sparc-sun-solaris2.9/bin/../lib/gcc/sparc-
> sun-solaris2.9
> > /3.4.2/spar
> > cv9/crtend.o' is incompatible with sparc output
> > /usr/ccs/bin/ld: warning: sparc:v9 architecture of input file
> > `/work/net-local-b/sparc-sun-solaris2.9/bin/../lib/gcc/sparc-
> sun-solaris2.9
> > /3.4.2/spar
> > cv9/crtn.o' is incompatible with sparc output
> > configure:3990: $? = 0
> > configure:4036: result: a.out
> > configure:4041: checking whether the C compiler works
> > configure:4047: ./a.out
> > configure: line 1: 25817 Bus Error               (core dumped)
> ./$ac_file
> > configure:4050: $? = 138
> > configure:4059: error: cannot run C compiled programs.
> >
> > I would appreciate any help with resolving the problem.
> >
> > Thanks,
> >
> > Min
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > [email protected] mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
> >
>
> --
> Brian D. Ripley,                  [EMAIL PROTECTED]
> 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
>

        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to