From owner-freebsd-questions@FreeBSD.ORG Thu Nov 3 12:56:55 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 592B116A41F for ; Thu, 3 Nov 2005 12:56:55 +0000 (GMT) (envelope-from vdemart1@tin.it) Received: from vsmtp4.tin.it (vsmtp4.tin.it [212.216.176.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id B693D43D48 for ; Thu, 3 Nov 2005 12:56:54 +0000 (GMT) (envelope-from vdemart1@tin.it) Received: from pswm18.cp.tin.it (212.216.176.84) by vsmtp4.tin.it (7.2.060.1) id 4368FA26000B2C1F; Thu, 3 Nov 2005 13:56:47 +0100 Message-ID: <6140980.1131022611391.JavaMail.root@pswm18.cp.tin.it> Date: Thu, 3 Nov 2005 13:56:51 +0100 (GMT+01:00) From: Vittorio To: r-help@stat.math.ethz.ch Mime-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: 194.185.25.72 Cc: freebsd-questions@freebsd.org Subject: Problem installing ROracle package under R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vittorio List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 12:56:55 -0000 Context: Pentium 4 with FreeBSD 5.4 and R 2.2.0 I'm trying to install the package ROracle under R. To start with I installed the oracle8- client from the ports and referred to it via the variable $HOME_ORACLE as /usr/local/oracle8-client. Then I started R. After issuing install. packages("ROracle") R downloaded the needed package and started to compile it but complained: ............................... downloaded 138Kb * Installing *source* package 'ROracle' ... creating cache . /config.cache checking how to run the C preprocessor... cc -E ROracle configuration warning: Oracle pre-compiler proc not in /usr/local/oracle8-client/bin/proc you may not be able to compile ROracle "/tmp/oraLibs2442.mk", line 2: Could not find /usr/local/oracle8-client/precomp/lib/env_precomp.mk make: fatal errors encountered -- cannot continue updating cache ./config.cache creating . /config.status creating src/Makevars creating src/Makefile ** libs R CMD COMPILE RS-DBI.c cc -I/usr/local/lib/R/include - I/usr/local/include -D__NO_MATH_INLINES -fPIC -O -pipe - march=pentium4 -c RS-DBI.c -o RS-DBI.o proc CODE=ANSI_C MODE=ORACLE INCLUDE=/usr/local/lib/R/include PARSE=NONE LINES=false RS-Oracle.pc proc: not found *** Error code 127 Stop in /tmp/R.INSTALL. C0fZy6/ROracle/src. ERROR: compilation failed for package 'ROracle' ** Removing '/usr/local/lib/R/library/ROracle' The downloaded packages are in /tmp/RtmpRLVjrq/downloaded_packages Warning message: installation of package 'ROracle' had non-zero exit status in: install. packages("ROracle") ........................................... So various directories and relating programs are missing! What else should I install to make ROracle work? Ciao Vittorio