search for: shlib_cxxldflag

Displaying 20 results from an estimated 68 matches for "shlib_cxxldflag".

Did you mean: shlib_cxxldflags
2010 Jul 12
2
R-2.11.1 build and 'so' libraries withouth the 'lib' prefix
...Prior to compiling R-2.11.1 sh conigure --help gave options including the following SHLIB_LD command for linking shared libraries which contain object files from a C or Fortran compiler only SHLIB_LDFLAGS special flags used by SHLIB_LD SHLIB_CXXLDFLAGS special flags used by SHLIB_CXXLD SHLIB_FCD command for linking shared libraries which contain object files from the Fortran 95 compiler SHLIB_FCLDFLAGS special flags used by SHLIB_FCLD I did not know what to...
2015 Apr 22
1
shlib problems with Intel compiler
...version of R was installed by the admins). Using "R CMD config", I see the following relevant settings: DYLIB_LD = icc -std=gnu99 DYLIB_LDFLAGS = -shared -openmp LDFLAGS = -L/opt/compilers/intel/cce/9.1.039/lib -L/opt/compilers/intel/fce/9.1.033/lib -L/usr/local/lib64 SHLIB_CXXLD = icpc SHLIB_CXXLDFLAGS = SHLIB_LD = icc -std=gnu99 SHLIB_LDFLAGS = -shared It looks like the SHLIB_CXXLDFLAGS is missing the "-shared -lR -L<loc-of-libR>". It's a mystery to me how R was built and configured such that it has incomplete/incorrect flags. By trial and error I figured out how to use...
2005 Aug 13
1
Broken tkrplot on Mac OS X
...tricky to make it work. You have to download it, then > install it with R CMD INSTALL, then you may need to edit the file Makeconf in > the RHOME/etc directory (the command R RHOME says the path to RHOME > directory). > In this file you must change: > > (line 41 in my case) > SHLIB_CXXLDFLAGS = -bundle -flat_namespace -undefined suppress > replaced by: > SHLIB_CXXLDFLAGS = -dynamiclib -flat_namespace -undefined suppress > > (line 45 ...) > SHLIB_LDFLAGS = -bundle -flat_namespace -undefined suppress > replaced by: > SHLIB_LDFLAGS = -dynamiclib -flat_namespace -unde...
2003 Sep 22
1
Compiling shared library on Alpha/OSF1
I'm having trouble compiling and installing R as a shared library on Alpha/OSF1. I used ./configure --enable-R-shlib SHLIB_CXXLDFLAGS=-L/lib/cmplrs/cxx (Using configure with --enable-R-shlib alone generated "Could not determine SHLIB_CXXLDFLAGS" errors.) make and everything else were done as specified in the documentation. It compiled everything without visible problems, but on linking libR.so I got the following m...
2004 Dec 09
0
Solaris installation problem resolved
...something about my installation setup was the problem, not anything to do with e1071 as such: it just wasn't picking up the C++ runtime libraries. If you have installed R on a Solaris box using the Sun compilers, you can check if you made my mistake by doing f% /users/local/bin/R CMD config SHLIB_CXXLDFLAGS -G Patching $INSTALL/lib/R/etc/Makeconf so that f% /users/local/bin/R CMD config SHLIB_CXXLDFLAGS -G /opt/SUNWspro/lib/CC4/libC.so /opt/SUNWspro/lib/libCrun.so made the problem go away for me. For other releases of the Sun C++ compiler these files will probably be different. I found the names...
2002 Sep 20
1
Install with 64-bit GCC 3.2 : FIX (PR#2049)
I was able to get it all to compile by altering the src_dir/etc/Makeconf file so that the shared lib LD flags variables contain -m64 SHLIB_CXXLDFLAGS = -G -m64 SHLIB_LDFLAGS = -G -m64 these only had "-G" by default. Dunno why they dont pick them up as part of the standard configure though - one for you I guess ! -- Regards, ---------------------------------------------------------------------- * Kevin M. Buckley e-...
2008 May 12
1
Advice on compiling R using Intel Compilers? Btw: -c99 is deprecated
...=ifort FLAGS="-g -O3" CXX=icpc CXXFLAGS="-g -O3" FC=ifort FCFLAGS="-g -O3 -mp" ICC_LIBS=/opt/intel/cce/10.1.015/lib/ IFC_LIBS=/opt/intel/fce/10.1.015/lib/ LDFLAGS="-L$ICC_LIBS -L$IFC_LIBS -L/usr/local/lib64" SHLIB_CXXLD=icpc SHLIB_LDFLAGS="-shared" #SHLIB_CXXLDFLAGS=-G -lCstd 4: ./configure --enable-R-shlib - first time it broke here since I had no flags set for SHLIB_LDFLAGS, so just put it at -shared for lack of a brighter idea ... seems to work (with only a warming about SHLIB_CXXLDFLAGS, hence the comment). 5: make Now here I get 10 somewhat thousand me...
2012 Dec 28
1
linux multi-threaded compilation is running only on one processor
...quot;-g -O3" export SHLIB_CXXLD=icpc export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MKL_LIB_PATH}:${INC_LIB_PATH}:${CMP_LIB_PATH} export LDFLAGS="-L${MKL_LIB_PATH},-L${INC_LIB_PATH},-L${CMP_LIB_PATH},-Bdirect,--hash-style=both,-Wl,-O1" export SHLIB_LDFLAGS="-lpthread" export SHLIB_CXXLDFLAGS="-lpthread" export MAIN_LDFLAGS="-lpthread" MKL="-L${MKL_LIB_PATH} -L${INC_LIB_PATH} -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread" ./configure --prefix=${INSTALL_DIR} --enable-R-shlib --with-blas="$MKL" --with-lapack
2012 Apr 06
1
Building R on Solaris (OpenIndiana) with gcc 4.6.2 for amd64 target - relocation problems solved
Hello, the "R Installation and Administration" handbook states in Section C 5.1: For ?amd64? the builds have failed to complete in several different ways, currently with relocation errors for libRblas.so. To fix it: add '-shared' to the SHLIB_LDFLAGS, SHLIB_CXXLDFLAGS and SHLIB_FCLDFLAGS before starting configure. So the complete set of variables' values sufficient to build for the amd64 target (as used on OpenIndiana 151a2 with gcc 4.6.2): SHLIB_LDFLAGS=-shared SHLIB_CXXFLAGS=-shared SHLIB_FCLDFLAGS=-shared CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=...
2008 Aug 07
1
config.log told me to report these (PR#12035)
...ant 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 past week of agony. I have had similar log files with about 100 different combinati...
2018 Feb 13
4
Setting the path to Rtools for package compilation on Windows
...ketApproxSort.cc -o bucketApproxSort.o c:/Rtools/mingw_32/bin/g++: not found make: *** [bucketApproxSort.o] Error 127 Warning: running command 'make -f "Makevars.win" -f "M:/R/R-3.4.3/etc/i386/Makeconf" -f "M:/R/R-3.4.3/share/make/winshli b.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="WGCNA.dll" OBJECTS="bucketApproxSort.o corFun ctions-common.o corFunctions-unified.o networkFunctions.o pivot.o quantileC.o"' had status 2 ERROR: compilation failed for package 'WGCNA' * removing 'M:/R/R-3.4.3/libra...
2009 Mar 11
1
Compiling R-2.8.1 on Sparc Solaris 10: libRlapack.so: symbol __vlog_: referenced symbol not found
...w/include" export CFLAGS="-O -xlibmieee" export F77="f95 -xtarget=native64" export CXXFLAGS=-O export FFLAGS="-O4 -xlibmopt -libmil -xvector=lib -fround=nearest" export FCFLAGS=$FFLAGS export LDFLAGS="-L/usr/sfw/lib/sparcv9 -L/opt/csw/lib/sparcv9" export SHLIB_CXXLDFLAGS="-G -lCstd" export BLAS_LIBS=-xlic_lib=sunperf export LIBS="-lmvec" export SHLIB_CFLAGS=-lmvec and: ./configure --prefix=/opt/R-2.8.1 --enable-threads=solaris --with-blas Could you please help me to pinpoint the problem. Thanks -- Mohammad
2007 Oct 24
2
R trunk (2.7) build fails with -fpic, needs -fPIC (PR#10372)
...uot;-fPIC" ;; *) - fpicflags="-fpic" + fpicflags="-fPIC" ;; esac fi @@ -32827,7 +32827,7 @@ cxxpicflags="-fPIC" ;; *) - cxxpicflags="-fpic" + cxxpicflags="-fPIC" ;; esac shlib_cxxldflags="-shared" @@ -47768,7 +47768,7 @@ fcpicflags="-fPIC" ;; *) - fcpicflags="-fpic" + fcpicflags="-fPIC" ;; esac fi -- Andrew Piskorski <atp at piskorski.com> http://www.piskorski.com/
2009 Aug 21
0
R installation problem with shared libraries (PR#13900)
...ecifically e1071), and it turns out that even if specified, the flag is not fully propagated to the final installed version. I found myself applying the following patch the final installed 2.9.1 version: patch /usr/local/opt/x86_64-pc-solaris2.10/R-2.9.1/lib64/R/etc/Makeconf <<EOF 71c71 < SHLIB_CXXLDFLAGS = -G --- > SHLIB_CXXLDFLAGS = -shared -G EOF Here is an example that triggers this error (just use any lazy-load package that depends on another lazy-load package which had used g++ for the final linking step). > install.packages("e1071") [***many lines cut***] gcc -m64 -I/usr/lo...
2007 Nov 26
1
Problem with configure's detection of glob on 2.6.0 (PR#10468)
...n -O2 -Kieee" export F77=pgf77 export FFLAGS="-Mvect=sse -Mscalarsse -Mcache_align -O2 -Kieee" export CXX=pgCC export CXXFLAGS="-Mvect=sse -Mscalarsse -Mcache_align -O2 -Kieee" export FC=pgf95 export FCFLAGS="-Mvect=sse -Mscalarsse -Mcache_align -O2 -Kieee" export SHLIB_CXXLDFLAGS=-shared export SHLIB_LDFLAGS=-shared ./configure --prefix=/usr/local/packages/R-2.6.0-acml \ --with-blas="-lacml" --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib64
2003 May 26
1
Problem with a 64bit R on HP-UX]
...y: . Installation directory: /site/R-1.7.0 C compiler: cc +O2 +DD64 C++ compiler: aCC +O2 +DD64 Fortran compiler: f90 +O2 +DD64 Interfaces supported: X11 External libraries: Additional capabilities: bzip2, PCRE Options enabled: Recommended packages: yes configure: WARNING: I could not determine SHLIB_CXXLDFLAGS configure: WARNING: you cannot build DVI versions of the R manuals configure: WARNING: you cannot build info versions of the R manuals configure: WARNING: you cannot build PDF versions of the R manuals When trying to compile, I get this: cc -Wp,-H16000 -I. -I../../../src/include -I../../../src/...
2024 Feb 20
1
Compiling libR as a standalone C library for java+jni (-fPIC)
...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 HTML versions of the R manuals configure: WARNING: you cannot build PDF versio...
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 for x86_64-unknown-linux-gnu Source directory: . Installation director...
2009 Feb 21
1
R-devel/Linux x64/Sun Studio 12: Problem with Matrix
...AGS="-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=-G SAFE_FFLAGS="-O5 -libmil" platform 86_64-unknown-linux-gnu arch x86_64 os linux-gnu system x8...
2006 Mar 09
1
R2.2.1-patched build failed with PGI 6.1 on x86-64
...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/usr/pgi/linux86-64/6.1/libso -lacml" (Note that pgcc no longer recognize -mieee-fp, so I changed to -Kieee instead, and had to manually remove -mieee-fp in the resulting...