From Friedrich.Leisch@ci.tuwien.ac.at  Wed Apr  4 12:42:59 2001
From: Friedrich.Leisch@ci.tuwien.ac.at (Friedrich Leisch)
Date: Wed, 4 Apr 2001 13:42:59 +0200
Subject: [Rd] RE: [R] Can't install "e1071"
In-Reply-To: <Pine.LNX.4.31.0104031120530.995-100000@shell1.aracnet.com>
References: <8156A6FE684ED21194D20008C756F8DFA015B1@independence.esperion.com>
 <Pine.LNX.4.31.0104031120530.995-100000@shell1.aracnet.com>
Message-ID: <15051.2243.738040.641325@galadriel.ci.tuwien.ac.at>


[ taken from r-help to r-devel, which is the more appropriate place for
questions like this ]


>>>>> On Tue, 3 Apr 2001 11:22:52 -0700 (PDT),
>>>>> M Edward (Ed) Borasky (ME(B) wrote:

  > Here's the Windows version of this problem:

the problem is different, because the previous problems were with the
netpbm libraries (and hence not in my domain), whereas all the svm
code (where your problem seems to be) does not rely on external libraries.

  > F:\Team\R-20010325\ContributedSources>Rcmd INSTALL e1071*.gz

  > make: Entering directory `/cygdrive/d/rw1023/src/gnuwin32'
  > make DLLNM=  EXTRADOCS= \
  >   -C F:/Team/R-20010325/ContributedSources/R.INSTALL/e1071 PKG=e1071 RHOME=D:/rw
  > 1023 RLIB=D:/rw1023/library \
  >   -f D:/rw1023/src/gnuwin32/MakePkg
  > make[1]: Entering directory `/cygdrive/f/Team/R-20010325/ContributedSources/R.IN
  > STALL/e1071'
  > if [ ! -f ./TITLE -a -f ./DESCRIPTION ] ; then \
  >   perl D:/rw1023/share/perl/maketitle.pl ./DESCRIPTION > TITLE; \
  > fi
  > ---------- Making package e1071 ------------
  > mkdir -p D:/rw1023/library/e1071
  > cp -r   ./DESCRIPTION  ./INDEX  ./TITLE ./COPYING ./COPYRIGHT.svm.cpp ./README D
  > :/rw1023/library/e1071/
  >    adding build stamp to DESCRIPTION
  >   installing R files
  >   making DLL
  > make[2]: Entering directory `/cygdrive/f/Team/R-20010325/ContributedSources/R.IN
  > STALL/e1071/src'
  > make[3]: `libR.a' is up to date.
  > gcc    -ID:/rw1023/src/include -include D:/rw1023/src/include/globalvar.h  -Wall
  >  -O2   -c Rsvm.c -o Rsvm.o
  > Rsvm.c:3: svm.h: No such file or directory

Ahh, I see the bug: david included <svm.h> instead of "svm.h" ... I
think this should fix the problem. Could you try replacing

#include <svm.h>

with

#include "svm.h"

in Rsvm.c?

Thanks,
Fritz

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] RE: [R] Can't install "e1071"
Friedrich Leisch