search for: shlib_ext

Displaying 20 results from an estimated 25 matches for "shlib_ext".

2004 Jun 09
2
Building package on Windows: No rule to make target '-llapack'
Dear all, I have a problem to build a package on Windows XP while there is no problem on Linux. The Makefile is something like: ########### LIBNAME=cts PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) OBJS=file1.o ... file20.o -llapack -lblas $(LIBNAME)$(SHLIB_EXT): $(OBJS) $(SHLIB_LD) $(SHLIB_LDFLAGS) -o $@ $(OBJS) $(FLIBS) clean: @rm -f *.o *.$(SHLIB_EXT) realclean: clean ############# To build the package on Windows XP, I have followed the instructions to install tools/software required and it seems the 'make' worked fine, exce...
2004 May 31
1
Question about building library and BLAS
...ed. In fact, there are problems to use these subroutines in BLAS, for some reason. Now what I want is to build an R library. The Makefile is the following: LIBNAME=car PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) OBJS=isamax.o saxpy.o sscal.o foo1.o ... foo20.o -llapack -lblas $(LIBNAME)$(SHLIB_EXT): $(OBJS) $(SHLIB_LD) $(SHLIB_LDFLAGS) -o $@ $(OBJS) $(FLIBS) clean: @rm -f *.o *.$(SHLIB_EXT) realclean: clean Some compiling outputs are the following: g77 -mieee-fp -fPIC -O2 -g -pipe -march=i386 -mcpu=i686 -c isamax.f -o isamax.o ... g77 -mieee-fp -fPIC -O2 -g -pipe -m...
2012 Dec 24
1
How to ensure -O3 on Win64
...able's Makevars (entire contents) : ==== MAKEFLAGS="CFLAGS=-O3" # added CFLAGS=-O3 # added PKG_CFLAGS=-O3 # added all: $(SHLIB) # no change mv $(SHLIB) datatable$(SHLIB_EXT) # no change ==== but -O2 still appears in winbuilder's install.out (after -O3, and I believe the last -O is the one that counts) : gcc -m64 -I"D:/RCompile/recent/R-2.15.2/include" -DNDEBUG -I"d:/Rcompile/CRANpkg/extralibs215/local215/include" -O3 -O2 -Wall...
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
2001 May 02
1
subdirs in package src dir
...evars -f ${R_HOME}/etc/Makefrag echoobjs` + srcs=${objs} + fi + fi + if [ -z "${srcs}" ]; then + srcs=`ls *.[cfC] *.cc *.cpp 2>/dev/null` + fi if test -n "${srcs}"; then sh ${R_HOME}/bin/SHLIB -o ${pkg}.@SHLIB_EXT@ ${srcs} \ && cp *.@SHLIB_EXT@ ${lib}/${pkg}/libs \ Albrecht // Albrecht Gebhardt Tel.: (++43 463) 2700/3118 // Institut fuer Mathematik Fax : (++43 463) 2700/3198 // Universitaet Klagenfurt mailto:albrecht.gebhardt@uni-klu.ac.at // Universitaetsstr. 65 http:/...
2011 Feb 08
1
Compiling a Tcl extension for an R package
Dear R developers, I plan to upload a first version of my R package RnavGraph to the R CRAN server in a week or two. However I'm still struggling with an image resizing function written in C as a tcl extension. I did all my development in Ubuntu, and everything works fine in Ubuntu, however my attempts to compile this C function under Windows or OSX have all failed. I provide a minimal self
2007 Jul 30
0
install error for RBGL_1.12.0 on linux ---2
...tml But, My condition is some how different: 1) my g++ version is: g++ (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5) 2) the SHLIB file is the same, but some difference in /usr/local/lib/R/etc/Makeconf: SHELL = /bin/sh SHLIB_CFLAGS = SHLIB_CXXFLAGS = SHLIB_CXXLD = g++ SHLIB_CXXLDFLAGS = -shared SHLIB_EXT = .so SHLIB_FCLD = g77 SHLIB_FCLDFLAGS = -shared SHLIB_FFLAGS = SHLIB_LD = gcc -std=gnu99 SHLIB_LDFLAGS = -shared SHLIB_LIBADD = SHLIB_LINK = $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LDFLAGS) what should I do? thanks, xinan
2006 Feb 23
1
Utilizing the internet module
...ions" explains that these may be undocumented and unstable, but I have a couple of questions: 1) are they platform independent? I presume they are... 2) What's the appropriate way to link against them? On Linux x86, I can do this with the Makevars: PKG_LIBS=$(R_HOME)/modules/internet$(SHLIB_EXT) but that doesn't work on Mac OS X 10.3.9 powerpc G4: gcc -bundle -flat_namespace -undefined suppress -L/sw/lib -L/usr/local/lib -o rmemcache.so rmemcache.o /Users/hornerjr/src/R-2.2.1/modules/internet.so -lcc_dynamic -L/Users/hornerjr/src/R-2.2.1/lib -lR ld: /Users/hornerjr/src/R-2.2.1/mo...
2009 Oct 29
2
Makevars, cc files in multiple directories
Hello, In the src folder of my R package I have a.cc b.cc f/g/x.cc my Makevars.in has all: $(SHLIB) upon installing only, a.o and b.o is build and the final dll is comprised of a.o and b.o How can I instruct $(SHLIB) to pick up its source files from all subdirectories (or maybe a subset, though here it will be all) in src ? Much thanks Saptarshi
2010 Nov 15
1
Package with multiple shared libraries
Dear R-devel members, I would like to compile a package with two seperate shared libraries. For example, in a package 'foo', a file 'bar.so' built from a distinct set of source files should be installed in addition to the default 'foo.so' (or .dll on windows). Does anyone know about a way to achieve this without having a custom Makefile, e.g. via 'Makevars'?
2000 Dec 21
1
RH7.0 compilation
Hi everyone, Like most people with RH7.0 Linux, I had problems with their "experimental" gcc-2.96 compiler. To circumvent the problem, I installed stock gcc-2.95.2 in the /usr/local tree, so it will be picked up first as /usr/local/bin if before /usr/bin on my PATH. With this setup I was able to compile R-1.2.0 straight out of the box (as well as compile Linux kernels). One problem I
2000 Dec 21
1
RH7.0 compilation
Hi everyone, Like most people with RH7.0 Linux, I had problems with their "experimental" gcc-2.96 compiler. To circumvent the problem, I installed stock gcc-2.95.2 in the /usr/local tree, so it will be picked up first as /usr/local/bin if before /usr/bin on my PATH. With this setup I was able to compile R-1.2.0 straight out of the box (as well as compile Linux kernels). One problem I
2000 Dec 07
1
Compiling R for MacOS X / shared libraries
Hi, I just try to compile R (1.1.1) for MacOS X (using the --without-X option as X stuff won't work here) It seems that there are some problems with 'shared libraries'. './configure' printed: checking how to deal with shared libraries... /usr/X11R6/bin/xmkmf: command not found: imake [56] 'make' ran into trouble with this: cc -I. -I../../src/include
2011 Sep 09
1
R CMD INSTALL configure.args and CC customization
I am running into the following issue that has been previously reported on the R-devel mailing list. The short version is that I'm writing a package for MPI, and I'd like to change CC and SHLIB_LD to "mpicc". Trying to change them in Makevars.in has no effect, because the values are clobbered by /etc/R/Makeconf. Will the following changes to Makeconf.in introduce any problems?
2005 Feb 08
0
Compiling R as a shared library
...LINE inline | #define SIZEOF_INT 4 | #define INT_32_BITS 1 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 16 | #define F77_FUNC(name,NAME) name ## _ | #define F77_FUNC_(name,NAME) name ## __ | #define HAVE_F77_UNDERSCORE 1 | #define HAVE_DOUBLE_COMPLEX 1 | #define SHLIB_EXT ".so" | #define HAVE_OFF_T 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_ACCESS 1 | #define HAVE_CHDIR 1 | #define HAVE_EXPM1 1 | #define HAVE_FCNTL 1 | #define HAVE_FINITE 1 | #define HAVE_FSEEKO 1 | #define HAVE_FTELLO 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_GET...
2001 Dec 05
3
trouble with R CMD INSTALL for building my own library
...FPICFLAGS = -fPIC F2C = F2CFLAGS = LIBM = -lm LIBR = -L$(R_HOME)/bin -lR LIBS = -L/usr/local/lib -lz -lreadline -ldl -lncurses -lm LIBPATHS = -L/usr/local/lib LIBTOOL = $(SHELL) $(R_HOME)/bin/libtool SHELL = /bin/sh SHLIB_CFLAGS = SHLIB_CXXFLAGS = SHLIB_CXXLD = c++ SHLIB_CXXLDFLAGS = -shared SHLIB_EXT = so SHLIB_FFLAGS = SHLIB_LD = gcc SHLIB_LDFLAGS = -shared SHLIB_LIBADD = SHLIB_LINK = $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LDFLAGS) -- Jonathan Q. Li, PhD Agilent Technologies Laboratory Palo Alto, California, USA -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help...
2001 Dec 05
3
trouble with R CMD INSTALL for building my own library
...FPICFLAGS = -fPIC F2C = F2CFLAGS = LIBM = -lm LIBR = -L$(R_HOME)/bin -lR LIBS = -L/usr/local/lib -lz -lreadline -ldl -lncurses -lm LIBPATHS = -L/usr/local/lib LIBTOOL = $(SHELL) $(R_HOME)/bin/libtool SHELL = /bin/sh SHLIB_CFLAGS = SHLIB_CXXFLAGS = SHLIB_CXXLD = c++ SHLIB_CXXLDFLAGS = -shared SHLIB_EXT = so SHLIB_FFLAGS = SHLIB_LD = gcc SHLIB_LDFLAGS = -shared SHLIB_LIBADD = SHLIB_LINK = $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LDFLAGS) -- Jonathan Q. Li, PhD Agilent Technologies Laboratory Palo Alto, California, USA -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help...
2006 May 01
6
R-2.3.0 make error
Dear list, When compiling the R-2.3.0 on FC4 x86_64, I got the following errors: make[3]: Entering directory `/project/scratch3/ligroup/wuming/src/R-2.3.0/src/main' gcc -Wl,--export-dynamic -L/usr/local/lib64 -o R.bin Rmain.o CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o arithmetic.o apse.o array.o attrib.o base.o bind.o builtin.o character.o coerce.o colors.o complex.o
2009 Mar 21
2
How to change Rlapack by lapack (for rpy2 installation)?
(I asked an earlier question on the rpy2 installation to the rpy2 list, the solution there was to edit the setup.py script, but this looks beyond what I can do unless someone tells me exactly what to modify). I have R 2.8.1 on 2 machines running ubuntu 8.04 (packages R-base and R-base-dev, among others, installed using Synaptic) and while the installation of rpy2 went fine on machine1, failed on
2005 Apr 19
0
R 2.0.1 install problem on Solaris 9
...LINE inline | #define SIZEOF_INT 4 | #define INT_32_BITS 1 | #define SIZEOF_LONG 4 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 16 | #define F77_FUNC(name,NAME) name ## _ | #define F77_FUNC_(name,NAME) name ## __ | #define HAVE_F77_UNDERSCORE 1 | #define HAVE_DOUBLE_COMPLEX 1 | #define SHLIB_EXT ".so" | #define HAVE_OFF_T 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_ACCESS 1 | #define HAVE_CHDIR 1 | #define HAVE_EXPM1 1 | #define HAVE_FCNTL 1 | #define HAVE_FINITE 1 | #define HAVE_FSEEKO 1 | #define HAVE_FTELLO 1 | #define HAVE_FTRUNCATE 1 | #define HAVE_GET...