[R-sig-Debian] Problems when installing RODBC in debian etch
Johannes Ranke
jranke at uni-bremen.de
Thu Jun 26 16:56:32 CEST 2008
Hi,
You can either use Dirks package using
apt-get install r-cran-rodbc
which will pull the needed libraries, or install a more recent version
from CRAN. For this you need the build dependencies which you can likely
get by
apt-get build-dep r-cran-rodbc
provided you have a source entry in your /etc/apt/sources.list
Johannes
* griera at gmail.com <griera at gmail.com> [080626 16:30]:
> Hello:
>
> I am tried to install the RODBC package in debian etch. At the end of the
> installation it appears errors:
>
> **********************************************
> * 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 for stdint.h...
> yes
> checking for unistd.h...
> yes
> checking sql.h usability...
> no
> checking sql.h presence...
> no
> checking for sql.h...
> no
> checking sqlext.h usability...
> no
> checking sqlext.h presence...
> no
> checking for sqlext.h...
> no
> configure: error: "ODBC headers sql.h and sqlext.h not found"
> ERROR: configuration failed for package 'RODBC'
> ** Removing '/usr/local/lib/R/site-library/RODBC'
> The downloaded packages are in
> /tmp/RtmpOnB5P3/downloaded_packages
> Warning message:
> In install.packages(pkgs = c("RODBC"), lib
> = "/usr/local/lib/R/site-library", :
> installation of package 'RODBC' had non-zero exit status
>
> **********************************************
>
> And the package is not installed.
> I am using the repositorios of:
> deb http://cran.cict.fr/bin/linux/debian etch-cran/
> >From the debian official repositorios I have installed the package:
> odbcinst1debian1
> I have the same problem if instead of odbcinst1debian1 I install unixodbc
>
> Somebody knows which is the problem and the solution?
>
> Thank you for your help
>
> G Riera
>
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian
--
Dr. Johannes Ranke jranke at uni-bremen.de
Brahmsstr. 4 D-28209 Bremen
ab 1.8.2008: Kronacherstr. 8, D-79639 Grenzach-Wyhlen
More information about the R-SIG-Debian
mailing list