search for: pkg_cppflag

Displaying 20 results from an estimated 79 matches for "pkg_cppflag".

Did you mean: pkg_cppflags
2000 Oct 22
1
How to pass
...somebody an expample how the syntax is for passing the path of include files to: "If a package needs to specify additional directories for search- ing header les (`-I' options) or additional libraries for linking (`-l' and `-L' options), it should do this by setting the variables PKG_CPPFLAGS and PKG_LIBS in `src/Makevars'." But no examples. :-( src/Makevars. src/Makevars.in PKG_CPPFLAGS = @PKG_CPPFLAGS@ PKG_LIBS = @PKG_LIBS@ ? Eryk Eryk Witold Wolski Max Plank Institute fuer Molekulare Genetik Ihnestrasse 73 14195 Berlin Germany -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2000 Oct 23
1
How To compile RMySQL on Windows?
...e path of include files? Is there a source for further information how to do it? "If a package needs to specify additional directories for search- ing header les (`-I' options) or additional libraries for linking (`-l' and `-L' options), it should do this by setting the variables PKG_CPPFLAGS and PKG_LIBS in `src/Makevars'." But no examples. :-( RMySQL/src/Makevars. doesnt exists. RMySQL/src/Makevars.in contains: PKG_CPPFLAGS = @PKG_CPPFLAGS@ PKG_LIBS = @PKG_LIBS@ ????? I added the path /prog/mysql/mysql/include \ to RMySQL/configure.in. But it doesnt work. After adding...
2006 Jan 30
3
RMySQL install
...Seems like the LD_LIBRARY_PATH is incorrect, but I don't seem to have it quite right yet. There are a few mentions of this problem in google, but thus far none of the "fixes" and fixed my problem. I've tried defining the LD_LIBRARY_PATH environment variable, and setting the PKG_CPPFLAGS, and PKG_LIBS environment variables as well. No luck so far. (initially would not compile, but specification of the PKG_CPPFLAGS, and PKG_LIBS got the compile to complete without errors). I still cannot load the library. My error message is: > library(RMySQL) Loading required package:...
2013 Nov 03
1
How to make an R package that uses Boost.Thread, qualified to be published on CRAN or shared by the most
...a); } ------------------------------- Makevars.win (try 1: try to find if there is a file called libboost_thread*) ------------------------------- ## Use the R_HOME indirection to support installations of multiple R version ## PKG_CXXFLAGS = `$(R_HOME)/bin/Rscript -e "Rcpp:::CxxFlags()"` PKG_CPPFLAGS = -I${BOOSTLIB} PKG_LIBS = $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e "Rcpp:::LdFlags()") ${BOOSTLIB}/lib/libboost_thread* ------------------------------- Makevars.win (try 2: try to find something in lib) ------------------------------- ## Use the R_HOME indirection...
2013 Jun 16
2
Problem in linking a library in R package
1.I have a library fpmpi . I made the shared library fpmpi.so from this library.I am using ubuntu . 2.Now, I want to use in my R package .My R package has src folder the there is makevars.in file ### Setup R source code and objects. PKG_CPPFLAGS = @PKG_CPPFLAGS@ PKG_LIBS = -L/home/g/Desktop/Project -fpmpip ### For user configuration. USER_CONF = Makeconf ### Start making here. all: $(SHLIB)@echo "MPIRUN = @MPIRUN@" > $(USER_CONF)@echo "MPIEXEC = @MPIEXEC@" >> $(USER_CONF)@echo "ORTERUN = @ORTERUN@&quo...
2006 May 13
1
Error Compiling RMySQL in Fedora Core 5 86x64
...for /usr/include/mysql/mysql.h... yes Configuration error: could not find the MySQL installation include and/or library directories. Manually specify the location of the MySQL libraries and the header files and re-run R CMD INSTALL. INSTRUCTIONS: 1. Define and export the 2 shell variables PKG_CPPFLAGS and PKG_LIBS to include the directory for header files (*.h) and libraries, for example (using Bourne shell syntax): export PKG_CPPFLAGS="-I<MySQL-include-dir>" export PKG_LIBS="-L<MySQL-lib-dir> -lmysqlclient" Re-run the R INSTALL command:...
2009 Mar 31
3
installing RMySQL (PR#13633)
...hecking for /include/mysql/mysql.h... no Configuration error: could not find the MySQL installation include and/or library directories. Manually specify the location of the MySQL libraries and the header files and re-run R CMD INSTALL. INSTRUCTIONS: 1. Define and export the 2 shell variables PKG_CPPFLAGS and PKG_LIBS to include the directory for header files (*.h) and libraries, for example (using Bourne shell syntax): export PKG_CPPFLAGS="-I<MySQL-include-dir>" export PKG_LIBS="-L<MySQL-lib-dir> -lmysqlclient" Re-run the R INSTALL command: R...
2011 Apr 06
2
Cannot install pakcage RMySQL
...king for /include/mysql/mysql.h... no Configuration error: could not find the MySQL installation include and/or library directories. Manually specify the location of the MySQL libraries and the header files and re-run R CMD INSTALL. INSTRUCTIONS: 1. Define and export the 2 shell variables PKG_CPPFLAGS and PKG_LIBS to include the directory for header files (*.h) and libraries, for example (using Bourne shell syntax): export PKG_CPPFLAGS="-I" export PKG_LIBS="-L -lmysqlclient" Re-run the R INSTALL command: R CMD INSTALL RMySQL_.tar.gz 2. Alternat...
2012 Oct 15
0
problem in installing RMySQL
...king for /include/mysql/mysql.h... no Configuration error: could not find the MySQL installation include and/or library directories. Manually specify the location of the MySQL libraries and the header files and re-run R CMD INSTALL. INSTRUCTIONS: 1. Define and export the 2 shell variables PKG_CPPFLAGS and PKG_LIBS to include the directory for header files (*.h) and libraries, for example (using Bourne shell syntax): export PKG_CPPFLAGS="-I<MySQL-include-dir>" export PKG_LIBS="-L<MySQL-lib-dir> -lmysqlclient" Re-run the R INSTALL command:...
2009 Mar 30
1
(no subject)
...king for /include/mysql/mysql.h... no Configuration error: could not find the MySQL installation include and/or library directories. Manually specify the location of the MySQL libraries and the header files and re-run R CMD INSTALL. INSTRUCTIONS: 1. Define and export the 2 shell variables PKG_CPPFLAGS and PKG_LIBS to include the directory for header files (*.h) and libraries, for example (using Bourne shell syntax): export PKG_CPPFLAGS="-I<MySQL-include-dir>" export PKG_LIBS="-L<MySQL-lib-dir> -lmysqlclient" Re-run the R INSTALL command:...
2018 Oct 02
1
How do I set a compile flag _WIN32_WINNT=0x600 in Makevars.Win
...g the following error: C:/msys64/mingw64/include/grpc/impl/codegen/port_platform.h:47:2: error: #error "Please compile grpc with _WIN32_WINNT of at least 0x600 (aka Windows Vista)" #error \ ^ Which, if I am correct asks me to set _WIN32_WINNT=0x600 My Makevars.Win looks as follows: PKG_CPPFLAGS=-IC:/msys64/mingw64/include PKG_LIBS=-LC:/msys64/mingw64/lib -lgrpc What should I do? Have a great day best regards Witek -- Witold Eryk Wolski
2006 Jul 06
1
RMySQL Suse 10.0 installing problems
Thanks again everyone, I have a problem trying to install RMySQL on Suse 10.0. I have used both the install.packages() and the 'R CMD INSTALL RMySQL..." neither worked. I get the error message telling me that it cannot find mysql. So I have set the flags using export PKG_CPPFLAGS="-I</usr/bin/>" export PKG_LIBS="-L</usr/lib/mysql>" After that I run R CMD INSTALL RMySQL... it starts to check and it cannot find mysql_init, mysql.h then it exits after gcc(ing) with an error code of make:*** [RS-DBI.o] Error 1 I also tried the other way that t...
2007 Feb 21
1
Installing Package rgl - Compilation Fails - FreeBSD
...headers and > libraries are actually present (without assuming they are in .../lib, > which they are not on my main system). So the enquiry with originally > started this thread will get a clear error from configure about what is > wrong. > > Duncan: I have left in -Iext in PKG_CPPFLAGS, but AFAICS it is only > needed on Windows. We've lost the ability to use a static libpng unless > we have libpng-config: that is I am afraid inevitable as there is no > way to find where it might be, and you can't just grab a object of the > right name on a multi-archite...
2008 May 12
1
problem configuring package udunits
...on of package 'udunits' had non-zero exit status I have tried downloading the package manually and running ./configure, but with the same result. As the error message suggested, I looked at the file udunits_1.0/udunits/src/Makevars.in, (contents below), but am not sure what to modify. ##PKG_CPPFLAGS=-I/path/to/udunits/header ##PKG_LIBS=-L/path/to/udunits/lib -ludunits PKG_LIBS=-L at UDUNITS_LIBDIR@ -l at UDUNITS_LIBNAME@ PKG_CPPFLAGS=-I at UDUNITS_INCDIR@ [[elided Hotmail spam]] Brad _________________________________________________________________ Get Free (PRODUCT) RED? Emoticons, Winks...
2005 May 03
3
RMySQL installation: libz missing
Hi I run suse linux 9.1 and I installed MySQL server, client, devel, bench. DBI is installed, when I try to install RMySQL I get an error saying, that libz is missing. (paths to libs were set:export PKG_CPPFLAGS="-I/usr/include/mysql/" export PKG_LIBS="-L/usr/lib/mysql/ -lmysqlclient") so my question: where do I get the libz files (are these mysql files? if yes, why were they not installed at least by mysql-devel?) thanks for your kind help christoph
2010 Oct 04
1
source package build/installation with subdirectory-lib
...n in R, i can now use dyn.load("mycode.so") and .Call(...) with my C functions perfectly. now i want to build the package so i can install it easily on my colleagues' machines. so i use the normal R build mechanism (R CMD build), but first create a Makevars file that looks like so: PKG_CPPFLAGS = -I../depPkg/include PKG_LIBS = ../depPkg/lib .PHONY: all mylibs all: $(SHLIB) $(SHLIB): mylibs mylibs: (cd ..; gunzip depPgk.tar.gz; tar -xf depPkg.tar; cd depPkg; ./ configure --prefix=./lib --with-pic --disable-shared; make; make install) finally, when i try R CMD INSTALL, i know...
2008 Nov 20
3
Turning off compiler optimization
Hi. I am writing some code in C that I would like to link into R. My Makevars file is: PKG_CPPFLAGS=-I/usr/local/include PKG_LIBS=-L/usr/local/lib -lgsl PKG_CFLAGS = -Wall -O0 -g -p -pg The source file is core.c,. and I am compiling using R CMD SHLIB core.c The output is gcc -arch x86_64 -O3 -g -p -std=gnu99 -I/Library/Frameworks/ R.framework/Resources/include -I/Library/Frameworks/R.frame...
2006 Jul 05
2
install RMySQL under Mac OS X 10.4.7
...I tried to install RMySQL package, but the error messages says there is no such package, even though I did see RMySQL is there in the contributed package list in all mirror sites of CRAN I tried. Not sure what is the problem. > mysql.home <- '/usr/local/mysql' > Sys.putenv('PKG_CPPFLAGS'=paste('-I',file.path(mysql.home,'include'),sep='')) > Sys.putenv('PKG_LIBS'=paste('-L',file.path(mysql.home,'lib'),' -lmysqlclient',sep='')) > install.packages('RMySQL', repos = "http://www.biometrics.mtu.edu...
2004 Jun 28
1
RMysql installation problem.
Hi! I am trying to install the RMySQL package. The installation stops with the following error message. path to mysql is set. setenv PKG_CPPFLAGS /home/arabidopsis/software/R1.9.1/linux/mysql/include setenv PKG_LIBS /home/arabidopsis/software/R1.9.1/linux/mysql/lib R CMD INSTALL RMySQL_0.5-5.tar.gz #....cut cut. creating src/Makevars ** libs gcc -I/home/arabidopsis/software/R1.9.1/linux/lib/R/include /home/arabidopsis/software/R1.9.1/linu...
2004 Dec 21
1
RMySQL_0.5.5 / SUSE9.2
Hi, where is my mistake? i have done follow comand-lines. export PKG_LIBS="-L/usr/lib/myslq" export PKG_CPPFLAGS="-I/usr/include/mysql" R CMD INSTALL RMySQL_0.5-5.tar.gz i'm using R-2.0.1 , suse 9.2, 5.0.0-alpha-standard , and after a succefuel compilaition i get when im type in R library(RMySQL): Loading required package: DBI Error in dyn.load(x, as.logical(local), as.logical(now)) :...