search for: cpicflags

Displaying 20 results from an estimated 52 matches for "cpicflags".

Did you mean: fpicflags
1999 Jun 28
1
R-0.64.1 make problem: Solaris 2.4
...he following error messages in this directory on the latest attempt: g77 -O2 -PIC -c loessf.f -o loessf.o gcc: unrecognized option `-PIC' g77 -O2 -PIC -c ppr.f -o ppr.o gcc: unrecognized option `-PIC' ... In config.site, I specifically requested the option FPICFLAGS=-fPIC, consistent with CPICFLAGS. I also set SHLIBLDFLAGS=-G in config.site. Furthermore, no errors or warnings about setting these flags in ./configure were encountered, since it (finally) found xmkmf. >From the man page, -w is a legitimate option for Gnu make (gmake on this system), so I'm at a loss how to proceed at t...
2007 Oct 24
2
R trunk (2.7) build fails with -fpic, needs -fPIC (PR#10372)
...libc6 | grep Architecture | uniq Architecture: amd64 Here's a patch which fixes the problem: $ svn diff configure Index: configure =================================================================== --- configure (revision 43265) +++ configure (working copy) @@ -32806,7 +32806,7 @@ cpicflags="-fPIC" ;; *) - cpicflags="-fpic" + cpicflags="-fPIC" ;; esac shlib_ldflags="-shared" @@ -32817,7 +32817,7 @@ fpicflags="-fPIC" ;; *) - fpicflags="-fpic" + fpicflags="-fP...
1999 Nov 13
0
patches for alpha
...is actually no PIC flag for DEC cc (with DU 4.0E) --- ./configure.in.alpha-patch Mon Aug 23 06:36:28 1999 +++ ./configure.in Sun Sep 12 17:38:27 1999 @@ -541,7 +541,9 @@ -bI:\$(R_HOME)/etc/R.exp -lc -lm" ;; alpha*osf*) + ldcmd="f77 -g -nofor_main -fpe3 " cpicflags= + shlibld=f77 shlibldflags=-shared ;; alpha*linux) @@ -612,7 +614,7 @@ : ${CPICFLAGS=${cpicflags}} if test -z "${CPICFLAGS}"; then AC_MSG_WARN([Could not determine CPICFLAGS.]) - AC_MSG_ERROR([See the file INSTALL for more information.]) +# AC_MSG_ERROR([See the fi...
2003 Apr 21
1
building R 1.7.0 under RH7.3 (PR#2808)
...ib/R-1.7.0 >& configure.attempt.1 results in two things -- The first is that there seems to be a "-x" getting fed to the PG compilers, which is not a valid option. I don't know if this is the root problem ... The second (and seemingly fatal one) is "unable to determine CPICFLAGS". So -- I set it and try again ... setenv CPICFLAGS -kpic ./configure --prefix=/contrib/R-1.7.0 >& configure.attempt.2 which generates "unable to determine FPICFLAGS" ... and the same scenario is repeated several more times, with "the next" environment variable n...
1999 Jun 28
0
R-0.64.1 make problem, Solaris 2.4: Solution
...stead). The solution to this problem is to do the following: (a) insert a line MAKE = gmake in config.site; alternatively, set # env MAKE=gmake ./configure at the shell prompt (or setenv ... from the C shell). (b) in Makeconf.in, change FPICFLAGS = @FPICFLAGS@ to FPICFLAGS = @CPICFLAGS@, so that both FPICFLAGS and CPICFLAGS are the same (c) make the same change in etc/Makeconf.in If installing as su, you also need to make sure that /usr/openwin/bin is on the SUPATH; if not, you need to edit /etc/default/su as superuser. Otherwise, the configure script will not be able to...
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
2009 May 12
1
Help needed to compile R with shared library.
Hi, I cannot compile R with shared library. I am using Redhad Linux on Dell hardware. Here''s what I am doing: I set ?PICFLAGS in config.site file: CPICFLAGS=-fPIC FPICFLAGS=-fPIC and issue: ./configure --enable-R-shlib --prefix=$HOME/newR make configure finishes with no complaints, the last informative line being: Options enabled: shared R library, shared BLAS, R profiling, Java But make is upset: /usr/bin/ld: CConverters.o: relocati...
2000 Jun 23
1
MAINLD and SHLIBLD
I would like to always use ${CC} for linking the main binary and the shlibs. Inspection of configure.in reveals that we currently deviate in the following cases: mainld shlibld aix[2-9]* ld ld alpha*osf* ${FC} -g -nofor_main -fpe3 ${FC} hpux* ${CC} ld Does anyone recall why we do not use ${CC} in these cases? Did anyone successfully build R on these platforms with ${CC} for
2008 Aug 07
1
config.log told me to report these (PR#12035)
...than -O2. I get faster results with Goto BLAS rather than the R BLAS. Now I want to make icc and ifort work... So I tried this: ./configure CC=icc CFLAGS='-O3 -mp' CPPFLAGS=-I/opt/intel/cce/10.1.015/include/ F77=ifort CXX=icc CXXFLAGS='-O3 -mp' FFLAGS='-C90 -w90 -w95 -mp' CPICFLAGS=-shared CXXPICFLAGS=-shared FPICFLAGS=-shared SHLIB_LDFLAGS=-shared SHLIB_CXXLDFLAGS=-shared --with-blas="-L/usr/lib64/GotoBLAS -lgoto_penrynp-r1.26 -lpthread" I get six purported "bugs" in the config.log file (attached), but I hope there is something I've overlooked in the...
2003 Sep 25
2
Bugs compiling R-1.7.1 with Intel compilers icc and ifc (PR#4295)
...crashes R, see later. *) the configure script seems to have a bug, even if you make your own configure script with autoconf. Perhaps it's only a typo, perhaps it's an error of autoconf. So you have to do some things manually: 1) run configure : (you have to adjust the paths) env CPICFLAGS=-shared CXXPICFLAGS=-shared FPICFLAGS=-shared SHLIB_LDFLAGS=-shared ./configure CC=icc CFLAGS=-O2 CPPFLAGS=-I/opt/intel/compiler70/ia32/include F77=ifc CXX=icc CXXFLAGS=O2 FFLAGS=-C90 2) delete a wrong path in some Makefiles: -L/usr/local/lib" The quotation mark is the wrong thing. Dele...
1999 Sep 02
1
unresolved symbols in growth and repeated libraries
...o get these working on a RedHat Linux (or other Linux for that matter, which fortran compiler was used and what libraries linked is what I would like to know). My $RHOME /etc/Makeconf is I# Generated automatically from Makeconf.in by configure. # # ${R_HOME}/etc/Makeconf CC = gcc CFLAGS = -g -O2 CPICFLAGS = -fPIC CPPFLAGS = DEFS = -DHAVE_CONFIG_H FC = g77 FFLAGS = -g -O2 FLIBS = -L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -L/usr/i386-redhat-linux/lib -lg2c -lm FPICFLAGS = -fPIC F2C = F2CFLAGS = SHLIBEXT = so SHLIBLD = gcc SHLIBLDFLAGS = -shared R_XTRA_CFLAGS = -mieee-fp R_XTRA_CPPFLAGS =...
1999 Apr 19
2
A couple problems installing 0.64 (under linux, redhat 5.2)
...a couple problems configuring and making R 0.64 under linux, redhat 5.2 These problems didn't occur when I build 0.63.2 Any suggestions would be greatly appreciated. (1) configure generates the warning: "configure: warning: Cannot determine how to create shared libraries. Please set CPICFLAGS, FPICFLAGS and SHLIBLDFLAGS in `config.site'." I'm not sure what's needed here. The only flag I use to create shared libs is '-shared', but adding that to config.site not make the warning go away. (2) Apparently there are some X headers that make is not finding. Make ge...
2012 Jun 07
1
Lack of -O2 (or -O) gcc compiler flag causes package installation failure
..." package.tar.gz /NB: I have opnemp switched off here as it's not supported by Apple's GCC (4.2.1). When the code runs on a linux cluster it compiles with openmp and runs no problem./ *makevars file* CC = gcc -arch x86_64 -std=gnu99 CFLAGS = -g -O2 $(LTO) /# with -O2 we compile fine / CPICFLAGS = -fPIC CPPFLAGS = -I/usr/local/include CXX = g++ -arch x86_64 CXXCPP = g++ -arch x86_64 -E CXXFLAGS = -g $(LTO) CXXPICFLAGS = -fPIC ... compiles and installs no problem. However, if I remove the -O (or use -O0, -O1) it fails with the following error ** preparing package for lazy loading ** help...
2000 Feb 22
1
R-0.99 installation on UNIX
...first referenced in file i_len xxxpr.o d_sign ../appl/libappl.a(dpoco.o) The compilers used are C: gcc version 2.81 FORTRAN: f2c (from the gnu download packet f2c-1993_04_28_tar.gz) The Makeconf reads: PACKAGE = R VERSION = 0.99.0 AR = ar AWK = gawk BLAS = blas.o CC = gcc CFLAGS = -g -O2 CPICFLAGS = -fPIC CPPFLAGS = DEFS = -DHAVE_CONFIG_H DLLFLAGS = DVIPS = false FC = FFLAGS = FLIBS = FPICFLAGS = -PIC F2C = f2c F2CFLAGS = GNOMEUI_LIBS = GNOME_LIBDIR = GNOME_INCLUDEDIR = INSTALL = $(top_srcdir)/tools/install-sh -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_DIR = $...
2024 Feb 20
1
Compiling libR as a standalone C library for java+jni (-fPIC)
...my latest attempt was ``` rm -rvf? "TMP/R-4.3.2" TMP/tmp.tar.gz mkdir -p TMP/R-4.3.2/lib/ wget -O TMP/tmp.tar.gz "https://pbil.univ-lyon1.fr/CRAN/src/base/R-4/R-4.3.2.tar.gz" cd TMP && tar xfz tmp.tar.gz && rm tmp.tar.gz &&? cd R-4.3.2 && \ ??? CPICFLAGS=fpic FPICFLAGS=fpic CXXPICFLAGS=fpic SHLIB_LDFLAGS=shared? SHLIB_CXXLDFLAGS=shared? ./configure --enable-R-static-lib --prefix=/path/to/TMP --with-x=no --disable-BLAS-shlib && make ``` witch gives the following error during configure: ``` configure: WARNING: you cannot build info or HTM...
2008 Dec 09
1
errors with compilation
Hi, i'm trying to compile R on a Cray XT3 using pgi/7.2.1 - CNL (compute node linux) The R version is 2.8.0 this is the option -enable-R-static-lib=yes --disable-R-shlib CPICFLAGS=fpic FPICFLAGS=fpic CXXPICFLAGS=fpic SHLIB_LDFLAGS=shared --with-x=no SHLIB_CXXLDFLAGS=shared --disable-BLAS-shlib CFLAGS="-g -O2 -Kieee" FFLAGS="-g -O2 -Kieee" CXXFLAGS="-g -O2 -Kieee" FCFLAGS="-g -O2 -Kieee" CC=cc F77=ftn CXX=CC FC=ftn R is now configured...
2009 Feb 21
1
R-devel/Linux x64/Sun Studio 12: Problem with Matrix
...kage ?Matrix? * Removing ?/home/user/R/R-devel/library/Matrix? Can someone help me or give me a pointer what I'm making wrong? How can I get/include the missing shared library? Many thanks in advance Thomas Petzoldt #file: config.site CC=cc CFLAGS="-xO5 -xc99 -xlibmil -nofstore" CPICFLAGS=-Kpic F77=f95 FFLAGS="-O5 -libmil -nofstore" FPICFLAGS=-Kpic CXX=CC CXXFLAGS="-xO5 -xlibmil -nofstore" CXXPICFLAGS=-Kpic FC=f95 FCFLAGS=$FFLAGS FCPICFLAGS=-Kpic LDFLAGS=-L/opt/sun/sunstudio12/lib/amd64 SHLIB_LDFLAGS=-shared SHLIB_CXXLDFLAGS="-G -lCstd" SHLIB_FCLDFLAGS=...
2000 Jun 19
1
Trying to compile R on Unix
...Makeconf' line 64: Must be a separator (: or ::) for rules (bu39) -------------------------------------------- Here is 'Makeconf': ------------------------- pauling 4% cat Makeconf PACKAGE = @PACKAGE@ VERSION = @VERSION@ AR = @AR@ AWK = @AWK@ BLAS = @BLAS@ CC = @CC@ CFLAGS = @CFLAGS@ CPICFLAGS = @CPICFLAGS@ CPPFLAGS = @CPPFLAGS@ DEFS = @DEFS@ DLLFLAGS = @DLLFLAGS@ DVIPS = @DVIPS@ FC = @FC@ FFLAGS = @FFLAGS@ FLIBS = @FLIBS@ FPICFLAGS = @FPICFLAGS@ F2C = @F2C@ F2CFLAGS = @F2CFLAGS@ GNOMEUI_LIBS = @GNOMEUI_LIBS@ GNOME_LIBDIR = @GNOME_LIBDIR@ GNOME_INCLUDEDIR = @GNOME_INCLUDEDIR@ INSTALL = @...
2006 Mar 09
1
R2.2.1-patched build failed with PGI 6.1 on x86-64
...ving directory `/home/andy/Rbuild/R221-pgi/src' make: *** [R] Error 1 I configured it as follows: ~/Rbuild/R-patched/configure \ PG_HOME=/usr/pgi/linux86-64/6.1 \ CC=pgcc \ CFLAGS="-O2 -Kieee" \ CPPFLAGS="-I$PG_HOME/include -I$PG_HOME/include/CC" \ CPICFLAGS=-fpic \ F77=pgf77 \ FFLAGS="-Kieee"\ FPICFLAGS=-fpic \ CXX=pgCC \ CXXFLAGS="-Kieee"\ CXXPICFLAGS=-fpic \ SHLIB_CXXLDFLAGS=-shared \ SHLIB_LDFLAGS=-shared \ LDFLAGS="-L$PG_HOME/libso -L/usr/lib64" \ --with-blas="-L/...
2006 Mar 10
2
problem building R-patched on x86-64 with PGI 6.1
...y(pi, n = 10) - 2:5 [1] 0 0 0 0 and can pass the arith-true.R test. The configuration is as follows: export PG_HOME=/usr/pgi/linux86-64/6.1 ~/Rbuild/R-patched/configure \ CC=pgcc \ CFLAGS="-g -Kieee" \ CPPFLAGS="-I$PG_HOME/include -I$PG_HOME/include/CC" \ CPICFLAGS=-fpic \ F77=pgf95 \ FFLAGS="-g -Kieee"\ FPICFLAGS=-fpic \ CXX=pgCC \ CXXFLAGS="-g -Kieee" \ CXXPICFLAGS=-fpic \ SHLIB_CXXLDFLAGS=-shared \ SHLIB_LDFLAGS=-shared \ LDFLAGS="-L$PG_HOME/libso -L/usr/lib64 -L/usr/X11R6/lib64" \...