Error Installing RMariaDB package in RStudio

RMariaDB library package fails to load. I'm running Ubuntu 18.04 with MySQL 8.0 and RStudio 1.1.463, and R 3.4.4. I ran an apt-get update prior to installing the package just in case.
The last few lines or the error state:

/usr/lib/R/etc/Makeconf:168: recipe for target 'DbResult.o' failed.
make: ***[DbResult.o] Error 1
ERROR: compilation failed for package 'RMariaDB'

  • removing '/home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/RMariaDB'
    Warning in install.packages :slight_smile:
    installation of package 'RMariaDB' had non-zero exit status
    The downloaded source packages are in
    '/tmp/RtmpVSmZal/downloaded_packages'

Any help is greatly appreciated. Thanks.

In case it helps, I'm posting the entire installation/error report below.

install.packages("RMariaDB")
Installing package into ‘/home/laparic1/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/RMariaDB_1.0.6.tar.gz'
Content type 'application/x-gzip' length 42903 bytes (41 KB)
==================================================
downloaded 41 KB

  • installing source package ‘RMariaDB’ ...
    ** package ‘RMariaDB’ successfully unpacked and MD5 sums checked
    Using mysql_config
    Found mysql_config/mariadb_config cflags and libs!
    Using PKG_CFLAGS=-I/usr/include/mysql
    Using PKG_LIBS=-L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lm -lrt -lssl -lcrypto -ldl
    ** libs
    g++ -I/usr/share/R/include -DNDEBUG -I/usr/include/mysql -I"/home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/plogr/include" -I"/home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c DbConnection.cpp -o DbConnection.o
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp:28:0,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/shared_ptr.hpp:17,
    from DbConnection.h:5,
    from DbConnection.cpp:2:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:355:33: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    explicit shared_count( std::auto_ptr & r ): pi_( new sp_counted_impl_p( r.get() ) )
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbConnection.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/shared_ptr.hpp:17:0,
    from DbConnection.h:5,
    from DbConnection.cpp:2:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp:256:65: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbConnection.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/shared_ptr.hpp:17:0,
    from DbConnection.h:5,
    from DbConnection.cpp:2:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp:471:31: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn()
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbConnection.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/shared_ptr.hpp:17:0,
    from DbConnection.h:5,
    from DbConnection.cpp:2:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp:484:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    shared_ptr( std::auto_ptr && r ): px(r.get()), pn()
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbConnection.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/shared_ptr.hpp:17:0,
    from DbConnection.h:5,
    from DbConnection.cpp:2:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp:567:34: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    shared_ptr & operator=( std::auto_ptr & r )
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbConnection.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/shared_ptr.hpp:17:0,
    from DbConnection.h:5,
    from DbConnection.cpp:2:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp:576:34: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    shared_ptr & operator=( std::auto_ptr && r )
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbConnection.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/shared_ptr.hpp:17:0,
    from DbConnection.h:5,
    from DbConnection.cpp:2:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<Up>&&)’:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp:578:38: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this );
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbConnection.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/scoped_ptr.hpp:13:0,
    from DbResult.h:7,
    from DbConnection.cpp:3:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/scoped_ptr.hpp: At global scope:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/scoped_ptr.hpp:74:31: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    explicit scoped_ptr( std::auto_ptr p ) BOOST_SP_NOEXCEPT : px( p.release() )
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbConnection.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    g++ -I/usr/share/R/include -DNDEBUG -I/usr/include/mysql -I"/home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include" -I"/home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/plogr/include" -I"/home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c DbResult.cpp -o DbResult.o
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp:28:0,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/shared_ptr.hpp:17,
    from DbConnection.h:5,
    from DbResult.h:4,
    from DbResult.cpp:3:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/detail/shared_count.hpp:355:33: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    explicit shared_count( std::auto_ptr & r ): pi
    ( new sp_counted_impl_p( r.get() ) )
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbResult.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/shared_ptr.hpp:17:0,
    from DbConnection.h:5,
    from DbResult.h:4,
    from DbResult.cpp:3:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp:256:65: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbResult.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/shared_ptr.hpp:17:0,
    from DbConnection.h:5,
    from DbResult.h:4,
    from DbResult.cpp:3:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp:471:31: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    explicit shared_ptr( std::auto_ptr & r ): px(r.get()), pn()
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbResult.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/shared_ptr.hpp:17:0,
    from DbConnection.h:5,
    from DbResult.h:4,
    from DbResult.cpp:3:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp:484:22: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    shared_ptr( std::auto_ptr && r ): px(r.get()), pn()
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbResult.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/shared_ptr.hpp:17:0,
    from DbConnection.h:5,
    from DbResult.h:4,
    from DbResult.cpp:3:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp:567:34: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    shared_ptr & operator=( std::auto_ptr & r )
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbResult.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/shared_ptr.hpp:17:0,
    from DbConnection.h:5,
    from DbResult.h:4,
    from DbResult.cpp:3:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp:576:34: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    shared_ptr & operator=( std::auto_ptr && r )
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbResult.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/shared_ptr.hpp:17:0,
    from DbConnection.h:5,
    from DbResult.h:4,
    from DbResult.cpp:3:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr& boost::shared_ptr::operator=(std::auto_ptr<Up>&&)’:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/shared_ptr.hpp:578:38: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    this_type( static_cast< std::auto_ptr && >( r ) ).swap( *this );
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbResult.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/scoped_ptr.hpp:13:0,
    from DbResult.h:7,
    from DbResult.cpp:3:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/scoped_ptr.hpp: At global scope:
    /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/BH/include/boost/smart_ptr/scoped_ptr.hpp:74:31: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    explicit scoped_ptr( std::auto_ptr p ) BOOST_SP_NOEXCEPT : px( p.release() )
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbResult.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    In file included from MariaResultPrep.h:6:0,
    from DbResult.cpp:4:
    MariaBinding.h:14:15: error: ‘my_bool’ was not declared in this scope
    std::vector<my_bool> is_null;
    ^~~~~~~
    MariaBinding.h:14:15: note: suggested alternative: ‘Bool’
    std::vector<my_bool> is_null;
    ^~~~~~~
    Bool
    MariaBinding.h:14:22: error: template argument 1 is invalid
    std::vector<my_bool> is_null;
    ^
    MariaBinding.h:14:22: error: template argument 2 is invalid
    In file included from MariaResultPrep.h:9:0,
    from DbResult.cpp:4:
    MariaRow.h:18:15: error: ‘my_bool’ was not declared in this scope
    std::vector<my_bool> nulls
    , errors
    ;
    ^~~~~~~
    MariaRow.h:18:15: note: suggested alternative: ‘Bool’
    std::vector<my_bool> nulls
    , errors
    ;
    ^~~~~~~
    Bool
    MariaRow.h:18:22: error: template argument 1 is invalid
    std::vector<my_bool> nulls
    , errors_;
    ^
    MariaRow.h:18:22: error: template argument 2 is invalid
    DbResult.cpp: In static member function ‘static DbResult* DbResult::create_and_send_query(DbConnectionPtr, const string&, bool)’:
    DbResult.cpp:19:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
    std::auto_ptr res(new DbResult(con));
    ^~~~~~~~
    In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
    from /usr/include/c++/7/locale:43,
    from /usr/include/c++/7/iomanip:43,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/RcppCommon.h:52,
    from /home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:27,
    from pch.h:1,
    from DbResult.cpp:1:
    /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
    template class auto_ptr;
    ^~~~~~~~
    /usr/lib/R/etc/Makeconf:168: recipe for target 'DbResult.o' failed
    make: *** [DbResult.o] Error 1
    ERROR: compilation failed for package ‘RMariaDB’
  • removing ‘/home/laparic1/R/x86_64-pc-linux-gnu-library/3.4/RMariaDB’
    Warning in install.packages :
    installation of package ‘RMariaDB’ had non-zero exit status

The downloaded source packages are in
‘/tmp/RtmpVSmZaL/downloaded_packages’

Never mind. I resolved the issue. RMariaDB requires a couple of libMariaDB-dev or libMySql-dev. I had the latter, but for some reason the installation configuration didn't like it. Once I installed libMariaDB-dev (which removed libMySQL-dev) the installation completed successfully.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.