Displaying 20 results from an estimated 167 matches for "mkrules".
2003 Dec 10
0
dyn.load for c code
...a simple c program called mysum.c that can
be found on:
http://www.okada.jp.org/RWiki/?R%A4%AB%A4%E9%C2%BE%B8%C0%B8%EC%CD%F8%CD%D1
If the c program is called mysum.c, I type, after cd'ing into
R_home\bin on the MS-DOS shell:
> rcmd shlib [-o mysum.dll] mysum.c
and the output reads:
>MkRules:93: warning: overriding commands for target `.c.d'
>C:/R/RW1080/src/gnuwin32/MkRules:93: warning: ignoring old commands for target `
>.c.d'
>MkRules:97: warning: overriding commands for target `.cc.d'
>C:/R/RW1080/src/gnuwin32/MkRules:97: warning: ignoring old commands for t...
2010 Jul 13
1
Building a custom Windows installer
...s and the instructions in Sections 3.1.7 and D.4 of the R
Installation and Administration Manual, I've run into a problem, receiving
the following error message:
----------- snip -----------
C:\R\src\R-2.11.1\src\gnuwin32\installer>make myR IMAGEDIR=c:/temp/R-2.11.1
MDISDI=1
Makefile:3: ../MkRules: No such file or directory
make: ../fixed/rwver.pl: Command not found
make: ../fixed/rwver.pl: Command not found
make: ../fixed/rwver.pl: Command not found
make: ../fixed/rwver.pl: Command not found
make: *** No rule to make target `../MkRules'. Stop.
----------- snip -----------
My path loo...
2004 Jul 07
2
Win32 & C code
...directory. I
copied into the same directory mingw32-make.exe and renamed it make.exe
(as the perl script SHLIB seems to want a make.exe).
When I type Rcmd SHLIB test.c at a command prompt I get the following:
C:\Program Files\R\rw1091\bin>Rcmd SHLIB test.c
C:/PROGRA~1/R/rw1091/src/gnuwin32/MkRules:110: warning: overriding
commands for target `.c.d'
C:/PROGRA~1/R/rw1091/src/gnuwin32/MkRules:98: warning: ignoring old
commands for target `.c.d'
C:/PROGRA~1/R/rw1091/src/gnuwin32/MkRules:126: warning: overriding
commands for target `.c.o'
C:/PROGRA~1/R/rw1091/src/gnuwin32/MkRule...
2006 Aug 01
2
A problem with R CMD SHLIB
Hi,
I followed the example in "Writing R Extensions" to create a shared
object in Windows, using the command
R CMD SHLIB X.cc X_main.cc
This was encountered:
../src/gnuwin32/MkRules:155: warning: overriding commands for target
'.c.d'
../src/gnuwin32/MkRules:143: warning: ignoring old commands for target
'.c.d'
../src/gnuwin32/MkRules:171: warning: overriding commands for target
'.c.d'
../src/gnuwin32/MkRules:159: warning: ignoring old commands for targe...
2008 Mar 19
1
R CMD SHLIB errors
I got errors when I tried to compile my code into dll on XP box.
"C:/R/R-2.6.2/src/gnuwin32/MkRules:235: warning: overriding commands for
target `.c.d'
C:/R/R-2.6.2/src/gnuwin32/MkRules:223: warning: ignoring old commands for
target `.c.d'
C:/R/R-2.6.2/src/gnuwin32/MkRules:255: warning: overriding commands for
target `.c.o'
C:/R/R-2.6.2/src/gnuwin32/MkRules:243: warning: ignoring o...
2009 Aug 15
1
Building 'R' from source for Windows.
...o I need to build with debug symbols and I want to check out a 64-bit version of 'R'. So I read the instuructions and downloaded and installed 'rtools' and extracted the source. Then I ran into this statement in R-admin.pdf:
>Open a command window at ?R_HOME/src/gnuwin32?. Edit ?MkRules? to set the >appropriate paths as needed and to set the type(s) of help that you want built. >Beware: ?MkRules? contains tabs and some editors (e.g., WinEdt) silently remove >them. Then run make all recommended and sit back and wait while the basic >compile takes place.
But when I go t...
2008 Apr 19
1
nondigits in R_FILEVERSION mess up Windows build
I tried for the first time to build R from source on Windows, where I
got the source code via svn. Per the Installation and Administration
manual, I altered src\gnuwin32\MkRules so it had the the locally
correct paths to HTML Help Workshop and Inno Setup 5. I also set
USE_SVNVERSION=yes, as suggested in MkRules itself. Then, while in
the directory src/gnuwin32 I ran 'make all recommended' and got an
error from windres very early in the build:
E:\R\R-svn\r-deve...
2008 Feb 13
1
R CMD SHLIB help
...om my C file. I am using Win XP, and I have
cygwin installed. I updated to the latest MinGW make files in order to
get rid of some error. But I still get a few warnings (shown below), and
no shared file (.so file) produced at the end.
C:\cygwin\home\Deepak>R CMD SHLIB ssa.h
C:/R/src/gnuwin32/MkRules:235: warning: overriding commands for target
`.c.d'
C:/R/src/gnuwin32/MkRules:223: warning: ignoring old commands for target
`.c.d'
C:/R/src/gnuwin32/MkRules:255: warning: overriding commands for target
`.c.o'
C:/R/src/gnuwin32/MkRules:243: warning: ignoring old commands for target...
2012 Apr 10
1
Building customized R for Windows installer using 'make myR'
...ing with a binary
distribution is to first
make a full installation of R from the standard installer (that is,
select ?Full Installation?
from the ?Select Components? screen), then add packages and make other
customizations to
that installation. Then (after having customized file ?MkRules?,
possibly via ?MkRules.local?,
and having made R in the source tree) in ?src/gnuwin32/installer? run
:
make myR IMAGEDIR=rootdir
Unfortunately, I have run into two difficulties, the first minor, but the
second more of a stumbling block:
(1) The standard installer for R-2.15.0 do...
2018 Feb 13
2
R Compilation gets stuck on Windows 64
In the file MkRules.local.in, I see the line: USE_ATLAS = NO which I
believe needs to be changed to YES. But how do I specify the BLAS file
*libopenblas_haswell-r0.2.20.a
*and its location?
Regards,
Indrajit
On Tue, Feb 13, 2018 at 6:41 PM, Indrajit Sen Gupta <indrajitsg at gmail.com>
wrote:
> I was able t...
2011 Sep 23
1
Building R on Windows 7 -- No rule to make target `etc/GETDESC', needed by `fixetc'.
...am following the manual religiously, and don't think I am
doing anything differently from the many successful build attempts in
the past. Unzipping the tarball works fine, but when I invoke make, I
get (shown for R-rc, same for 2-13.1):
H:\R_Builds\R-rc\src\gnuwin32>make all recommended
cat MkRules.dist MkRules.rules > MkRules
-------- Building ../../../library/base/R/Rprofile from
../../library/profile/Common.R
../../library/profile/Rprofile.windows--------
mkdir -p ../../../library/base/R
cp -p html/rwin.html ../../../doc/html/index.html
make[3]: *** No rule to make target `etc/GETDESC...
2002 Mar 13
1
problems compiling R-devel packages in Windows
.../R-devel/R/library/ts
cp -r ./INDEX ./TITLE ./Makefile ./SOURCES c:/netsrc/R-devel/R/library/ts/
making DLL
make[3]: Entering directory `/c/netsrc/R-devel/R/src/library/ts/src'
../../../../etc/Makeconf:61: warning: overriding commands for target `.c.o'
c:/netsrc/R-devel/R/src/gnuwin32/MkRules:92: warning: ignoring old commands for
target `.c.o'
../../../../etc/Makeconf:63: warning: overriding commands for target `.c.d'
c:/netsrc/R-devel/R/src/gnuwin32/MkRules:88: warning: ignoring old commands for
target `.c.d'
../../../../etc/Makeconf:70: warning: overriding commands for ta...
2005 Sep 06
1
bash help please
...e use other packages. The problem is that MikTeX wants
a command line option --include-directory $R_HOME/share/texmf, while
other packages specify includes via environment variables, and barf when
they see the unexpected option.
The choice should be controlled by the user's settings in the MkRules
file. For example, I'll put something like this there:
ifneq ($(strip $(BUILD)),CROSS)
# Define to use MikTeX
#
PDFLATEX = pdflatex --include-directory=$(RHOME)/share/texmf
LATEX = latex --include-directory=$(RHOME)/share/texmf
PDFTEX = pdftex --include-directory=$(RHOME)/share/texmf
TEX = t...
2007 Aug 14
1
Change of compiler for Windows build of R
...dards conformance, and you may see
warnings in packages not present with gcc 3.4.5. All the CRAN packages
have been checked, and this showed up some issues with packages which
deviated markedly from the documented procedures. E.g.
- the C++ compiler is $(CXX), not g++, and $(CXX) is defined in MkRules.
- there is a quirk with dlltool both on Vista and with gcc 4.2.1 on XP
that needs '--as' included amongst the flags. The rule in MkRules
works: several user-written rules do not.
So far we have seen no issues with mixing code compiled with gcc 3.4.5 and
4.2.1. There would almost...
2018 Feb 13
2
R Compilation gets stuck on Windows 64
...pp
> collect2.exe: error: ld returned 1 exit status
> make[4]: *** [R.dll] Error 1
> make[3]: *** [../../bin/x64/R.dll] Error 2
> make[2]: *** [rbuild] Error 2
> make[1]: *** [all] Error 2
> make: *** [distribution] Error 2
>
>
> Would it be possible for you to share your MkRules.local and Makefile.win
> files?
Hi Indrajit
As somebody above already mentioned, the full build script as well as
MkRules.local that we use for the CRAN releases of R for windows are
available from https://github.com/rwinlib/base
As is explained in the repository readme, if you have the requ...
2008 Apr 29
1
non-digits in svnversion output mess up windows build if USE_SVNVERSION=yes (PR#11339)
Full_Name: Bill Dunlap
Version: 2.8.0dev
OS: Windows XP
Submission from: (NULL) (70.98.76.47)
I tried for the first time to build R from source on Windows, where I
got the source code via svn. Per the Installation and Administration
manual, I altered src\gnuwin32\MkRules so it had the the locally
correct paths to HTML Help Workshop and Inno Setup 5. I also set
USE_SVNVERSION=yes, as suggested in MkRules itself. Then, while in
the directory src/gnuwin32 I ran 'make all recommended' and got an
error from windres very early in the build:
E:\R\R-svn\r-deve...
2005 Feb 07
1
Problems encountered/fixed making CrossCompileBuild
...cb ) follow here:
1. created makevar MAKE initialized to gmake. Replaced all
direct references to make with $(MAKE).
2. updated makevar MINGW_CROSS = mingw-cross4 to point to
http://www.stats.ox.ac.uk/pub/Rtools/mingw-cross4.tar.bz2 ,
replacing original reference to mingw-cross2.
3. updated MkRules HEADER=$(CROSSDIR)/i586-mingw32/include ,
replacing original reference to <snip>/mingw32/include.
4. reset LinuxFresh = YES
Yan and Rossini imply that linuxR: is an optional step if R
is already installed. I ran afoul of steps in
$(WINR)/<snip>/gnuwin32/MakePkg referencing symbol...
2007 Dec 14
1
windows rtools missing gfortran.exe?
Hi,
I replaced my Rtools today as posted at
http://www.murdoch-sutherland.com/Rtools/Rtools.exe
Trying to build R-devel_2007-12-13.tar.gz without modifying MkRules
gives the gfortran command not found error below. I am wondering if
gfortran.exe is missing from (recent?) Rtools.exe or I am doing
something wrong.
Thanks to hints at Duncan's site, I worked around the error by adding
"GCC4_SUFF=-sjlj" in MkRules (below the == end of user-customizab...
2012 May 08
1
file 2 is not in sorted order error building unsuffered consequences
Hi All,
I just downloaded the source tar ball (Revision: 59324 Last Changed
Date: 2012-05-07) and tried to compile on a Win x64 system. I am
using Rtools version 2.15.0.1919. The only change I make is changing
MkRules.dist -> MkRules.local and setting Multi=64 I have previously
compiled unsuffered consquences without issue, but on the current
version, I get this error
windres -F pe-x86-64 -I../include -i dllversion.rc -o dllversion.o
comm: file 2 is not in sorted order
make[3]: *** [R.dll] Error 1
make[2]...
2023 Aug 13
2
a quick and dirty way to compile R on win arm64 using clangarm64
...R-trunk on windows 11 arm64 using clangarm64+msys2 on macbook m1 , it surprisingly easy to compiled and run.
more investigation and test and code modify need to be done ,but IMO this is a good beginning !!
to compile R on windows 11 arm64 just need :
1 svn checkout R-trunk and add USE_LLVM=YES in MKRules.dist or Mkrules.local
2 install msys2 and clangarm64 package
mingw-w64-clang-aarch64-brotli 1.0.9-6
mingw-w64-clang-aarch64-bzip2 1.0.8-2
mingw-w64-clang-aarch64-c-ares 1.19.1-1
mingw-w64-clang-aarch64-ca-certificates 20230311-1
mingw-w64-clang-aarch64-clang 16.0.5-3
mingw-w64-clang-aarch64-co...