Prof Brian Ripley wrote:
Thanks for the examples. The specific problems was a typo, but there was
another on Windows (missing quotes).
This should work in R-patched and R-devel on Linux and Windows now.
Yes this works now. Thanks!
H.
On Thu, 7 Aug 2008, Herve Pages wrote:
Prof Brian Ripley wrote:
[...]
Somewhere on your website would be best.
Here they are (stub versions):
http://bioconductor.org/packages/misc/
mypackage tries to link to packageA and packageB but this is what I get:
[EMAIL PROTECTED]:~> R-2.8 CMD INSTALL mypackage_0.0.0.tar.gz
* Installing to library '/home/hpages/R-2.8/library'
* Installing *source* package 'mypackage' ...
** libs
gcc -std=gnu99 -I/home/hpages/R-2.8/include -I/usr/local/include
-I"/home/hpages/R-2.8/library/packageA/include" -fpic -g -O2 -Wall
-c R_init_mypackage.c -o R_init_mypackage.o
In file included from R_init_mypackage.c:1:
mypackage.h:2:30: error: packageB_defines.h: No such file or directory
make: *** [R_init_mypackage.o] Error 1
ERROR: compilation failed for package 'mypackage'
** Removing '/home/hpages/R-2.8/library/mypackage'
[EMAIL PROTECTED]:~> gcc --version
gcc (GCC) 4.1.0 (SUSE Linux)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
[EMAIL PROTECTED]:~> cat /etc/SuSE-release
SUSE LINUX 10.1 (X86-64)
VERSION = 10.1
I get the same on 64-bit openSUSE 10.3
Thanks!
H.
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel