Hello all, I've been using the R package LogicReg, but ended up having to change a certain parameter in the Fortran 77 code (namely, I had to change LGCntrMax to 25 in the file slogic.f).
I am using a 64-bit Windows 7 machine. When I tried to compile, I got the following error: -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ C:\Program Files\R\R-2.14.2\bin>R CMD INSTALL --build LogicReg.tar.gz * installing to library 'C:/Users/user/Documents/R/win-library/2.14' * installing *source* package 'LogicReg' ... file 'src/slogic.f' has the wrong MD5 checksum ** libs *** arch - i386 C:/PROGRA~1/R/R-214~1.2/etc/i386/Makeconf:194: warning: overriding recipe for target `.m.o' C:/PROGRA~1/R/R-214~1.2/etc/i386/Makeconf:187: warning: ignoring old recipe for target `.m.o' gfortran -O3 -mtune=core2 -c My_own_scoring.f -o My_own_scoring.o gfortran -O3 -mtune=core2 -c external.f -o external.o gfortran -O3 -mtune=core2 -c slogic.f -o slogic.o gcc -I"C:/PROGRA~1/R/R-214~1.2/include" -O3 -Wall -std=gnu99 -mtune ore2 -c swrite.c -o swrite.o "zMy_own_scoring.o external.o slogic.o swrite.o" was unexpected at this time. make: *** [LogicReg.dll] Error 255 ERROR: compilation failed for package 'LogicReg' * removing 'C:/Users/user/Documents/R/win-library/2.14/LogicReg' * restoring previous 'C:/Users/user/Documents/R/win-library/2.14/LogicReg' -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Unfortunately I have several gfortran compilers installed, and I'm not sure if this is what is giving me trouble. Below are the values for my PATH environment variables. I've been fiddling around with them for hours with no luck: -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ PATH = C:\Program Files\Rtools\gcc-4.6.3\bin; C:\Program Files\Rtools\bin; C:\Program Files\Rtools\perl\bin; C:\Program Files\Rtools\gcc-4.6.3\bin; C:\Program Files\Rtools\gcc-4.6.3\bin32; C:\Program Files\Rtools\gcc-4.6.3\i686-w64-mingw32; C:\Program Files\Rtools\gcc-4.6.3\i686-w64-mingw32\bin; C:\Program Files\Rtools\bin; C:\Program Files\R\R-2.14.2\bin; C:\Program Files\R\R-2.14.2\; C:\Program Files\R\R-2.14.2\bin; C:\Program Files\R\R-2.14.2\bin\x64;%SystemRoot%\system32; %SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\MATLAB\R2011a\runtime\win64;C:\Program Files\MATLAB\R2011a\bin;C:\Python27;C:\Python27\DLLs;C:\Python27\Scripts;C:\Python27\Lib\site-packages\PyQt4;C:\Python27\Lib\site-packages\vtk;C:\Python27\gnuplot\binary;C:\Program Files (x86)\pythonxy\SciTE-3.0.3.2;C:\Program Files (x86)\pythonxy\console;C:\MinGW32-xy;C:\MinGW32-xy\bin; C:\F\G77\bin; -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Please let me know if you have any insights! Thanks in advance. E.D. Gutierrez [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel