Skip to content

Error Installing httpuv on docker alpine 3.12  #280

@usamaa9

Description

@usamaa9

I get an error when trying to install httpuv to my docker container based on an alpine 3.12 image

make --directory=libuv \
        HAVE_DTRACE=0
make[1]: Entering directory '/tmp/RtmpomCKmc/R.INSTALLe273c6e03ca/httpuv/src/libuv'
 cd . && /bin/sh /tmp/RtmpomCKmc/R.INSTALLe273c6e03ca/httpuv/src/libuv/missing automake-1.16 --foreign
configure.ac:21: error: version mismatch.  This is Automake 1.16.2,
configure.ac:21: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:21: comes from Automake 1.16.1.  You should recreate
configure.ac:21: aclocal.m4 with aclocal and run automake again.
WARNING: 'automake-1.16' is probably too old.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <https://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/autoconf>
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>
make[1]: *** [Makefile:1471: Makefile.in] Error 1
make[1]: Leaving directory '/tmp/RtmpomCKmc/R.INSTALLe273c6e03ca/httpuv/src/libuv'
make: *** [Makevars:73: libuv/.libs/libuv.a] Error 2
ERROR: compilation failed for package ‘httpuv’
* removing ‘/usr/lib/R/library/httpuv’

The downloaded source packages are in
        ‘/tmp/RtmpmFIjab/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning message:
In install.packages("httpuv") :
  installation of package ‘httpuv’ had non-zero exit status

This automake issue seems to have been identified before here and here. I can't however find a work around for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions