Skip to content
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

Installation on Ubuntu 16.04 #1

Closed
malisas opened this issue Jul 25, 2017 · 1 comment
Closed

Installation on Ubuntu 16.04 #1

malisas opened this issue Jul 25, 2017 · 1 comment

Comments

@malisas
Copy link

malisas commented Jul 25, 2017

I am trying to install RProtoBufLib on Ubuntu 16.04.
When I typed devtools::install_github("RGLab/RProtoBufLib", ref="trunk") I got this:

config.status: error: cannot find input file: `config.h.in'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /media/malisa/SharedStorage/tmp/RtmpqD9CNM/devtools7e570bcf89f/RGLab-RProtoBufLib-5bdb09a/src/protobuf-2.6.0/missing aclocal-1.14 -I m4
/media/malisa/SharedStorage/tmp/RtmpqD9CNM/devtools7e570bcf89f/RGLab-RProtoBufLib-5bdb09a/src/protobuf-2.6.0/missing: line 81: aclocal-1.14: command not found
WARNING: 'aclocal-1.14' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
Makefile:407: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127
configure: creating ./config.status
config.status: creating src/Makevars
** libs
mkdir -p "/home/malisa/R/x86_64-pc-linux-gnu-library/3.4/RProtoBufLib/include"
cp -r /media/malisa/SharedStorage/tmp/RtmpqD9CNM/devtools7e570bcf89f/RGLab-RProtoBufLib-5bdb09a/src/pb_build/include/google /home/malisa/R/x86_64-pc-linux-gnu-library/3.4/RProtoBufLib/include
cp: cannot stat '/media/malisa/SharedStorage/tmp/RtmpqD9CNM/devtools7e570bcf89f/RGLab-RProtoBufLib-5bdb09a/src/pb_build/include/google': No such file or directory
Makevars:9: recipe for target 'copying' failed
make: *** [copying] Error 1
ERROR: compilation failed for package ‘RProtoBufLib’
* removing ‘/home/malisa/R/x86_64-pc-linux-gnu-library/3.4/RProtoBufLib’
Installation failed: Command failed (1)

One of the warning error messages above says that it can't find aclocal-1.14. I had aclocal (GNU automake) 1.15 installed......This warning disappeared when I followed the directions for installing aclocal-1.14 here using: https://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz .

However, I'm still getting errors:

config.status: error: cannot find input file: `config.h.in'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /media/malisa/SharedStorage/tmp/RtmpFqTEer/devtools7f21280a7ad7/RGLab-RProtoBufLib-5bdb09a/src/protobuf-2.6.0/missing aclocal-1.14 -I m4
 cd . && /bin/bash /media/malisa/SharedStorage/tmp/RtmpFqTEer/devtools7f21280a7ad7/RGLab-RProtoBufLib-5bdb09a/src/protobuf-2.6.0/missing automake-1.14 --foreign
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/local/bin/automake-1.14 line 3930.
configure.ac:20: error: required file 'config.h.in' not found
Makefile:378: recipe for target 'Makefile.in' failed
make: *** [Makefile.in] Error 1
configure: creating ./config.status
config.status: creating src/Makevars
** libs
mkdir -p "/home/malisa/R/x86_64-pc-linux-gnu-library/3.4/RProtoBufLib/include"
cp -r /media/malisa/SharedStorage/tmp/RtmpFqTEer/devtools7f21280a7ad7/RGLab-RProtoBufLib-5bdb09a/src/pb_build/include/google /home/malisa/R/x86_64-pc-linux-gnu-library/3.4/RProtoBufLib/include
cp: cannot stat '/media/malisa/SharedStorage/tmp/RtmpFqTEer/devtools7f21280a7ad7/RGLab-RProtoBufLib-5bdb09a/src/pb_build/include/google': No such file or directory
Makevars:9: recipe for target 'copying' failed
make: *** [copying] Error 1
ERROR: compilation failed for package ‘RProtoBufLib’
* removing ‘/home/malisa/R/x86_64-pc-linux-gnu-library/3.4/RProtoBufLib’
Installation failed: Command failed (1)

Thanks for your help!

@malisas
Copy link
Author

malisas commented Jul 25, 2017

The key error was actually earlier in the output:
Can't exec "libtoolize": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345, <GEN3> line 6.
I ran sudo apt-get install libtool and RProtoBufLib installed fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant