-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
google/protobuf/inlined_string_field.h no such file or directory #17
Comments
Can you try the latest master branch from GitHub?or from bioconductor http://bioconductor.org/packages/3.15/bioc/html/RProtoBufLib.html? |
what version do I need for the headers? |
try |
Here is my installation output > remotes::install_github("rglab/RProtoBufLib")
Downloading GitHub repo rglab/RProtoBufLib@HEAD
✓ checking for file ‘/tmp/Rtmpg4aBx8/remotes122b6b46af/RGLab-RProtoBufLib-c362a52/DESCRIPTION’ ...
─ preparing ‘RProtoBufLib’:
✓ checking DESCRIPTION meta-information ...
─ cleaning src
─ running ‘cleanup’
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘RProtoBufLib_2.7.4.tar.gz’
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
* installing *source* package ‘RProtoBufLib’ ...
** using staged installation
checking for gcc... gcc
...
untarring protobuf ...
building protobuf...
...
make[2]: Leaving directory '/tmp/Rtmpj8QF8G/R.INSTALL1c879451bfc/RProtoBufLib/src/protobuf-3.8.0/src'
make[1]: Leaving directory '/tmp/Rtmpj8QF8G/R.INSTALL1c879451bfc/RProtoBufLib/src/protobuf-3.8.0/src'
configure: creating ./config.status
config.status: creating src/Makevars
** libs
g++ -std=gnu++11 -shared -fpic -I../inst/include/ -I/tmp/Rtmpj8QF8G/R.INSTALL1c879451bfc/RProtoBufLib/src/pb_build/include/ -o GatingSet_pb_lib/libGatingSet.pb.so GatingSet_pb_lib/GatingSet.pb.cc
mkdir -p "/usr/local/lib/R/site-library/00LOCK-RProtoBufLib/00new/RProtoBufLib/include"
cp -r /tmp/Rtmpj8QF8G/R.INSTALL1c879451bfc/RProtoBufLib/src/pb_build/include/google /usr/local/lib/R/site-library/00LOCK-RProtoBufLib/00new/RProtoBufLib/include
mkdir -p "/usr/local/lib/R/site-library/00LOCK-RProtoBufLib/00new/RProtoBufLib/lib/"
cp /tmp/Rtmpj8QF8G/R.INSTALL1c879451bfc/RProtoBufLib/src/pb_build/lib/libprotobuf* /usr/local/lib/R/site-library/00LOCK-RProtoBufLib/00new/RProtoBufLib/lib/
cp GatingSet_pb_lib/libGatingSet.pb.so /usr/local/lib/R/site-library/00LOCK-RProtoBufLib/00new/RProtoBufLib/lib//libGatingSet.pb.so
g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I../inst/include/ -I/tmp/Rtmpj8QF8G/R.INSTALL1c879451bfc/RProtoBufLib/src/pb_build/include/ -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c dummy.cpp -o dummy.o
g++ -std=gnu++11 -shared -L/usr/local/lib/R/lib -L/usr/local/lib -o RProtoBufLib.so dummy.o -L/usr/local/lib/R/lib -lR
installing to /usr/local/lib/R/site-library/00LOCK-RProtoBufLib/00new/RProtoBufLib/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (RProtoBufLib) |
I am getting a similar error
|
after some debugging I realized the problem happens when building the protobuf tarball provided in this repo The protobuf build problem and workaround is reported here I could install the package patching the RProtoBufLib like this:
|
Thanks Pablo :-) |
De nada...a ver si pasan menos años hasta el próximo congreso ;) Hasta luego Lucas! |
Pues sí, la verdad, ganas de desconectar un poco ya! |
I have experienced the same issue using GCC 10.2.0 on centos 7. Installing the devel version (2.7.4) as suggested by @mikejiang above did not help, but the solution to patch |
Just fyi, I am having the same issue in R 4.2.1. @mikejiang 's suggestion to install using |
I was installing this package yesterday and I can confirm that Pablo's solution is still valid. |
Just reporting back that I cannot install using @pescobar 's strategy (proxy error, setup that I cannot change). |
Trying to build it on R 4.1.2 with gcc 10.3.0 and getting the error:
let me know what other info do you need.
The text was updated successfully, but these errors were encountered: