similar to: Compiling R and packages with debug information?

Displaying 20 results from an estimated 40000 matches similar to: "Compiling R and packages with debug information?"

2020 Jul 10
3
Compilation error for R 4.0.2
Hello, I experienced a compiler error when I tried to compile the latest version of R i.e. R4.0.2 making iosupport.d from iosupport.c making lapack.d from lapack.c making list.d from list.c making localecharset.d from localecharset.c grep.c(74): catastrophic error: cannot open source file "pcre2.h" # include<pcre2.h> (The pcre2.h header file is actually present!) I used the
2003 Sep 25
2
Bugs compiling R-1.7.1 with Intel compilers icc and ifc (PR#4295)
Bugs compiling R-1.7.1 with Intel compilers icc and ifc, on x86-computer (Pentium IV) and linux operating system Hello, as there aren't many reports about that issue, I'll give a little report here. (Hope I don't bother anyone) The best thing about using icc and ifc are the warnings, because it is said that the Intel compilers are stricter and give more precise warnings than gcc.
2009 Jul 23
1
problem building R 2.9.1 from source on RHEL 4 (x86_64)
I am building from source on RHEL 4 and have run into a problem while running "make check": running code in 'lapack.R' ...make[3]: *** [lapack.Rout] Error 1 make[3]: Leaving directory `/opt/R/R-2.9.1/tests' make[2]: *** [test-Specific] Error 2 make[2]: Leaving directory `/opt/R/R-2.9.1/tests' make[1]: *** [test-all-basics] Error 1 make[1]: Leaving
2017 Jan 15
4
Updated CFLAGS patches and make test compilation conditional
Hi Erik, I've found a middleground for the problem of setting default CFLAGS. I've gone back to setting them if {C,CXX,CPP,LD}FLAGS are unset at the onset of the configure script (i.e., the user hasn't specified anything) and then proceed to set them to the defaults as before. This has been suggested before: https://lists.gnu.org/archive/html/autoconf/2006-04/msg00022.html In
2006 Jun 02
1
Installation R-2.3.1 on IBM AIX5.3 (PR#8931)
Full_Name: Karsten Tabelow Version: R-2.3.1 OS: AIX5.3 Submission from: (NULL) (62.141.176.2) Specification in config.site: CC=xlc_r CFLAGS='-O -qstrict' F77=xlf_r FFLAGS='-O -qstrict' SHLIB_LDFLAGS='-G' DYLIB_LDFLAGS='-G' LDFLAGS='-brtl' CXX=xlc++_r CXXFLAGS='-O -qstrict' Complilation error in src/main/printutils.c: "printutils.c",
2017 Jan 13
9
Upstreaming Gentoo patches
Dear FLAC devs, I would like to get some of our patches merged into master. Most of them deal with adhering to GNU conventions, respectively not overriding flags/variables that are up to the user to set. For instance, honoring $(htmldir) is important, as we have installation paths for the documentation that differ from what is currently coded in the various Makefile.am's. Regards David
2006 May 12
2
R-2.3.0 make error on AIX 5.2
I am encountering a make error on an AIX 5.2 with R-2.3.0 and R-patched_2006-05-10 after successfully configuring them using gcc-4.1.0, gnu make, and the following configure options CC=/usr/local/bin/gcc F77=/usr/local/bin/gfortran CXX=/usr/local/bin/g++ MAIN_LDFLAGS=-Wl,-brtl SHLIB_LDFLAGS=-Wl,-G CFLAGS='-g -O' FFLAGS='-O' CXXFLAGS='-g -O' bash-3.00$ ./configure
2007 Aug 21
2
compiling R under cygwin
For various reasons, it suits our workplace to have a cygwin version of R. I am pretty sure that cygwin is still not a supported environment for R, but we have managed to compile R-2.5.1 under cygwin without too many dramas. Our procedure is described below. We still have a few problems compiling libraries without manually changing files from .so to .dll, but it seems ok. I was wondering
2010 Dec 19
1
Unable to build R-2.10.0 and later releases on AIX 6.1
Hi, I have been able to build R-2.9.2 on AIX 6.1 and AIX 5.2. However, I failed to build R-2.10.0 and later releases on these AIX platforms. The error messages I got are attached below: "connections.c", line 461.10: 1506-022 (S) "truncate64" is not a member of "struct Rconn". "connections.c", line 772.10: 1506-022 (S) "truncate64" is not a member
2003 May 08
1
problems compiling R on AIX5.1
Dear all, after trying to compile R on our IBM Power3/AIX 5.1 machine I've been able to run it correctly. First of all I would thank all who responded my mails. I explain here how I've done it: First of all, it seems that configure and some shared libraries of AIX does not work at the same time. I tried to configure & make with the following environment vars CC=xlc F77=xlf CCC=xlC
2019 Jun 13
4
Clang8 on MacOS 10.14
[Please cc me, as I am not on this list.] When installing the clang8 MacOS binary by wget <clang-binaries-tarball-url> tar -xf clang* cd clang* sudo mkdir /usr/local/clang8 sudo cp -R * /usr/local/clang8 the compiler works on MacOS 10.13, but not on MacOS 10.14, with an error: /usr/local/clang/bin/../include/c++/v1/stdio.h:108:15: fatal error: 'stdio.h' file not found
2019 Apr 10
2
Opus cmake build
I tried the new cmake-based build system to build Opus on Linux and macOS. I'm not familiar with cmake but based on instructions I found online I used it as follows: - mkdir build - cd build - cmake -DCMAKE_INSTALL_PREFIX:PATH=<install-path> .. - make - ctest - make install Although the "make" command completed, it reported that optimizations were disabled:
2009 Mar 11
1
Compiling R-2.8.1 on Sparc Solaris 10: libRlapack.so: symbol __vlog_: referenced symbol not found
Hi, I am compiling R2.8.1 on a Sun M4000 machine with Solaris 10. I am using Sun Studio 12. I get the following error: cc -xtarget=native64 -G -L/usr/sfw/lib/sparcv9 -L/opt/csw/lib/sparcv9 -o grDevices.so chull.o devNull.o devPicTeX.o devPS.o devQuartz.o init.o mkdir ../../../../library/grDevices/libs Warning in solve.default(rgb) : unable to load shared library
2010 Oct 05
2
Intel i7 utilization
Hello, Is there a way to force through R the amount of the cpu's cores (or the cpu's utilization level) used under Windows 7 or Linux? Thanks, Costas
2011 Feb 09
1
Problem installing MCMCpack on SPARC Solaris 10
Hi list, I tried to install MCMCpack to R-2.12.0, got the following error, CC -m64 -library=stlport4 -I/apps/sparcv9/R-2.12.0/lib/R/include -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DHAVE_TRUNC -DHAVE_IEEEFP_H -I/opt/csw/include -KPIC -g -c MCMCSVDreg.cc -o MCMCSVDreg.o "error.h", line 598: Error: The function "abort" must have a prototype.
2004 Jun 18
1
Compiling R with Intel compilers - recommended options?
Hi, I'm a sysadmin who's been tasked with installing R on our 1000-node compute cluster. I have licences for the Intel C and FORTRAN compilers, so I'm using the following to compile: CFLAGS="-O2 -axWK" FFLAGS=$CFLAGS CXXFLAGS=$CFLAGS CC=icc F77=ifort CXX=icc FPICFLAGS=-fpic ./configure --without-x --without-tcltk The compilation seems to go OK, with a few warnings.
2005 Jan 10
2
Problem with compiling - Freebsd on AMD64 (PR#7489)
Full_Name: Kelly Black Version: 2.0.1 OS: FreeBSD 5.3 on AMD64 Submission from: (NULL) (149.106.32.93) I downloaded R-2.0.1 from the R website, ran configure then make and got an error. I will paste a copy of the output from the makefile below. The problem was when the makefile tried to run the R binary. When I came across the error I reran configure, but this time with the following arguments:
2015 Sep 02
4
Build R with MKL and ICC
After a few days of reading and headache, I finally gave a try at building R from source with Intel MKL and ICC. Documentation and posts on this topic are rather incomplete, sometime fantasist et do not give much explanations about configure options. As I am not sure if mine is correct, I would appreciate some advices and hints. OS: Fedora 22 parallel_studio_xe_2016 Hardware : 8 Thread(s) per
2009 Jun 12
1
Changing CRAN package compile option defaults?
Is there an easy way to override the compile options when installing packages from CRAN on Unix-style systems? I tried setting CFLAGS, CXXFLAGS, and FFLAGS but they are not picked up. For example (with a random package and adding -mtune only to try to get rid of the default) export CFLAGS="-march=native -mtune=native" export CXXFLAGS="-march=native -mtune=native" R CMD
2007 Mar 20
2
PKG_CFLAGS/CFLAGS and PKG_CXXFLAGS/CXXFLAGS
Why is it that R places CFLAGS after PKG_CFLAGS and not before when compiling a package (e.g. through R CMD build pkg)? This can be problematic if, for instance, you want to use -O3, but -O2 is in R_HOME/etc/Makeconf. If -O2 (in CFLAGS) appears after -O3 (in PKG_CFLAGS), you are left with what you didn't want: -O2. In R-exts, it says that "Flags which are set in file etc/Makeconf