[R] build rpvm under cygwin

Lars Schouw schouwla at yahoo.com
Thu Apr 7 11:34:03 CEST 2005


I tried ot build rpvm in my own makefile.
But runs into some linker errors like e.g.
undefined reference to `_R_alloc'

My enviornment looks like this:
CYGWIN
pvm 3.4 compiled under cygwin myself
R installed from the rw2001.exe setup file.

I guess that the R under rw2001.exe was build with
some other compiler?


I then tried to compile R myself under CYGWIN but runs
into the following problem:
building from src typing make
gcc -I. -I../../src/include -I../../src/include 
-I/usr/local/include -DHAVE_CON
FIG_H -D__NO_MATH_INLINES  -g -O2 -c dynload.c -o
dynload.o
In file included from dynload.c:35:
../../src/include/Defn.h:60:22: psignal.h: No such
file or directory

I found the psignal.h header file under
gnuwin32/fixed/h/psignal.h how do incoperate this
udner cygwin?

I also tried to type build under src/gnuwin32 but get
another error:

$ make
make: ./Rpwd.exe: Command not found
make[1]: ./Rpwd.exe: Command not found
make --no-print-directory -C front-ends Rpwd
make -C ../../include -f Makefile.win version
make[3]: Nothing to be done for `version'.
make Rpwd.exe
gcc  -O2 -Wall -pedantic -I../../include  -c rpwd.c -o
rpwd.o
rpwd.c:22:20: direct.h: No such file or directory
rpwd.c: In function `main':
rpwd.c:38: warning: implicit declaration of function
`chdir'
rpwd.c:41: warning: implicit declaration of function
`getcwd'
make[3]: *** [rpwd.o] Error 1
make[2]: *** [Rpwd] Error 2
make[1]: *** [front-ends/Rpwd.exe] Error 2
make: *** [all] Error 2


Ideas would be appreciated. 

Regards
Lars Schouw


--- Lars Schouw <schouwla at yahoo.com> wrote:
> Dear Professor Ripley
> 
> The good news is that I fot PVM up and running one
> two
> Windows nodes now. I had to connect them with each
> other manually ..... for now not using rsh or ssh.
> 
> Now building RPVM for Windows might not be so easy
> as
> it sounds. Did anyone try this out before
> successfully?
> 
> Also the SNOW package but that did not look so bad.
> 
> Regards
> Lars
> --- Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
> > On Thu, 24 Mar 2005, A.J. Rossini wrote:
> > 
> > > Looks like you are trying to install source
> > tarball on Windows without
> > > the relevant toolset (compiler, etc)?
> > 
> > To save further hassle, rpvm is not going to build
> > on Windows 
> > unless you have PVM installed and working on
> > Windows.
> > 
> > If that is the case, this looks like the use of
> the
> > wrong make, with the 
> > wrong shell (that message is coming from a Windows
> > shell, not sh.exe). 
> > Do see the warnings in README.packages about the
> > MinGW make.
> > 
> > > On Thu, 24 Mar 2005 00:11:34 -0800 (PST), Lars
> > Schouw
> > > <schouwla at yahoo.com> wrote:
> > >> I am trying to install the rpvm package doing
> > this:
> > >>
> > >> C:\R\rw2000\bin>rcmd install rpvm_0.6-2.tar.gz
> > >>
> > >> '.' is not recognized as an internal or
> external
> > >> command,
> > >> operable program or batch file.
> > >> '.' is not recognized as an internal or
> external
> > >> command,
> > >> operable program or batch file.
> > >> make: *** /rpvm: No such file or directory. 
> > Stop.
> > >> make: *** [pkg-rpvm] Error 2
> > >> *** Installation of rpvm failed ***
> > >>
> > >> Removing 'C:/R/rw2000/library/rpvm'
> > >>
> > >> What does this error message tell me?
> > 
> > 
> > -- 
> > Brian D. Ripley,                 
> > ripley at 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
> > 
> 
> 
> 		
> __________________________________ 

> Show us what our next emoticon should look like.
> Join the fun. 
> http://www.advision.webevents.yahoo.com/emoticontest
>




More information about the R-help mailing list