Hello List, I am trying to install RODBC package in a debian linux box but getting the following message. Can anyone help me to find what I am doing wrong here: $ R CMD INSTALL RODBC_1.0-4.tar.gz ### * Installing *source* package 'RODBC' ... checking for gcc... gcc checking for C compiler default output... 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 accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for library containing SQLTables... no configure: error: "no ODBC driver manager found" ERROR: configuration failed for package 'RODBC' ** Removing '/usr/local/lib/R/site-library/RODBC' R > version platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 9.0 year 2004 month 04 day 12 language R Thanks, Mahbub.
> I am trying to install RODBC package in a debian linux > box but getting the following message. Can anyone help > me to find what I am doing wrong here: >This sort of problem usually stems from issues covered in the README file in the RODBC tarball. Have you untarred it and read this file? Cheers Jason
I just did this yesterday. you do not have an ODBC driver ( as it says in the log). you need to (as root) use apt-get install unixodbc and apt-get install unixodbc-dev. The unixodbc package alone will not work, you need to install unixodbc-dev (development), Hope this helps. I have a question for you since you are running debian. does control-c cotrol-c kill the data editor when it is envoked. Please let me know, it is so frustrating to kill it by mouse everytime I need to look at a dataframe. What debian are you using, I am using debian testing. pleae run this experiment for me ans let me knwo what happens. edit(as.data.frame(matrix(0, ncol=7, nrow=10))) and then try to kill it by issuing control-c control-c . In mine you have to finish the job by clicking on the kill symbol in the data editor itself. Thanks, On Thu, 22 Apr 2004, Mahbub Latif wrote:> Hello List, > > I am trying to install RODBC package in a debian linux > box but getting the following message. Can anyone help > me to find what I am doing wrong here: > > $ R CMD INSTALL RODBC_1.0-4.tar.gz > ### > * Installing *source* package 'RODBC' ... > checking for gcc... gcc > checking for C compiler default output... 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 accepts -g... yes > checking for gcc option to accept ANSI C... none > needed > checking for library containing SQLTables... no > configure: error: "no ODBC driver manager found" > ERROR: configuration failed for package 'RODBC' > ** Removing '/usr/local/lib/R/site-library/RODBC' > > > R > version > platform i686-pc-linux-gnu > arch i686 > os linux-gnu > system i686, linux-gnu > status > major 1 > minor 9.0 > year 2004 > month 04 > day 12 > language R > > Thanks, > > Mahbub. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
On Thu, Apr 22, 2004 at 01:23:50AM -0700, Mahbub Latif wrote:> Hello List, > > I am trying to install RODBC package in a debian linux > box but getting the following message. Can anyone help > me to find what I am doing wrong here: > > $ R CMD INSTALL RODBC_1.0-4.tar.gzWell, you could use $ apt-get install r-cran-rodbc instead. Other than that, the error below seems to indicate that you did not install the development package for the odbc headers, i.e. unixodbc-dev. Hth, Dirk> ### > * Installing *source* package 'RODBC' ... > checking for gcc... gcc > checking for C compiler default output... 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 accepts -g... yes > checking for gcc option to accept ANSI C... none > needed > checking for library containing SQLTables... no > configure: error: "no ODBC driver manager found" > ERROR: configuration failed for package 'RODBC' > ** Removing '/usr/local/lib/R/site-library/RODBC' > > > R > version > platform i686-pc-linux-gnu > arch i686 > os linux-gnu > system i686, linux-gnu > status > major 1 > minor 9.0 > year 2004 > month 04 > day 12 > language R > > Thanks, > > Mahbub. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >-- The relationship between the computed price and reality is as yet unknown. -- From the pac(8) manual page
On Thursday 22 of April 2004 08:29, Jean Eid wrote:> I just did this yesterday. you do not have an ODBC driver ( as > it says in the log). you need to (as root) use apt-get install > unixodbc and apt-get install unixodbc-dev. > The unixodbc package alone will not work, you need to install > unixodbc-dev (development),There is actually package r-cran-rodbc, which has all these things resolved. The package is for testing, but I have made a backport for stable which is available on http://www.ceplovi.cz/ matej/progs/debian. Have a nice day, Matej -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 We must all hang together, or assuredly we shall all hang separately. -- Benjamin Franklin