Re: [R] RODBC compile error with R 2.4.1

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed 03 Jan 2007 - 12:37:56 GMT

This is not a 'compile error' but an error from the configure script, probably a run error. As it says

> See `config.log' for more details.

and then ask your local Linux guru what is broken locally.

This is neither an R nor an RODBC problem, and for what it is worth RODBC_1.1-7.tar.gz configures correctly on x86_64 Linux on FC5 and FC3, as well as various Debian versions (even with Debian's modified unixODBC).

On Wed, 3 Jan 2007, Matthew Dowle wrote:

>
> Hi All,
>
> I'm getting the following error, could anyone help please?
>
> $ R CMD INSTALL RODBC_1.1-7.tar.gz
> * Installing *source* package 'RODBC' ...
> checking for gcc... gcc -std=gnu99
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc -std=gnu99 accepts -g... yes
> checking for gcc -std=gnu99 option to accept ANSI C... none needed
> checking how to run the C preprocessor... gcc -std=gnu99 -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking sql.h usability... yes
> checking sql.h presence... yes
> checking for sql.h... yes
> checking sqlext.h usability... yes
> checking sqlext.h presence... yes
> checking for sqlext.h... yes
> checking for library containing SQLTables... -lodbc
> checking for SQLLEN... yes
> checking for SQLULEN... yes
> checking for long... yes
> checking size of long... configure: error: cannot compute sizeof (long),
> 77
> See `config.log' for more details.
> ERROR: configuration failed for package 'RODBC'
> ** Removing '/usr/local/lib/R/library/RODBC'
> ** Restoring previous '/usr/local/lib/R/library/RODBC'
>
>> version
> _
> platform x86_64-unknown-linux-gnu
> arch x86_64
> os linux-gnu
> system x86_64, linux-gnu
> status
> major 2
> minor 4.1
> year 2006
> month 12
> day 18
> svn rev 40228
> language R
> version.string R version 2.4.1 (2006-12-18)
>>
>
>
> Regards,
> Matthew
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley@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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed Jan 03 23:42:04 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 03 Jan 2007 - 13:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.