The installation of httpuv failed with "configure: error: could not determine ar interface" on AIX7.2

Abierto
#278 12 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
c, r

Línea de trabajo

Start with src/libuv/Makefile.in and the configure output in the report, then inspect the ar-interface detection around the libuv build invoked by src/Makevars. Reproduce the R CMD INSTALL command on AIX 7.2 and compare the configured AR and RANLIB values. Done means httpuv installs successfully without the ar-interface error.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

I am trying to install R packages on AIX7.2 server. The installation of httpuv failed with "configure: error: could not determine ar interface".

R CMD INSTALL -l /software/R/site-library httpuv 
* installing *source* package 'httpuv' ...
file 'src/libuv/Makefile.in' has the wrong MD5 checksum
** using staged installation
** libs
make[1]: Entering directory '/software/R/source1/httpuv/src'
make --directory=libuv \
	HAVE_DTRACE=0
make[2]: Entering directory '/software/R/source1/httpuv/src/libuv'
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure CC=gcc -maix64 CFLAGS=-O2 -I/opt/freeware/include -I/usr/include -D_GETDELIM    LDFLAGS=-L/opt/freeware/lib64 -L/opt/freeware/lib -L/usr/lib --no-create --no-recursion
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... Could not load program /usr/opt/freeware/bin/rpm:
	Dependent module /opt/freeware/lib64/libintl.a(libintl.so.8) could not be loaded.
	The module has an invalid magic number.
powerpc-ibm-aix7.2.3.0
checking host system type... powerpc-ibm-aix7.2.3.0
checking for gcc... gcc -maix64
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -maix64 accepts -g... yes
checking for gcc -maix64 option to accept ISO C89... none needed
checking whether gcc -maix64 understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc -maix64... gcc3
checking for gcc -maix64 way to treat warnings as errors... -Werror
checking if gcc -maix64 supports -fvisibility=hidden... yes
checking if gcc -maix64 supports -g flag... yes
checking if gcc -maix64 supports -std=gnu89 flag... yes
checking if gcc -maix64 supports -Wall flag... yes
checking if gcc -maix64 supports -Wextra flag... yes
checking if gcc -maix64 supports -Wno-long-long flag... yes
checking if gcc -maix64 supports -Wno-unused-parameter flag... yes
checking if gcc -maix64 supports -Wstrict-prototypes flag... yes
checking for ar... ar
checking the archiver (ar) interface... unknown
configure: error: could not determine ar interface
make[2]: *** [Makefile:1493: config.status] Error 1
make[2]: Leaving directory '/software/R/source1/httpuv/src/libuv'
make[1]: *** [Makevars:73: libuv/.libs/libuv.a] Error 2
make[1]: Leaving directory '/software/R/source1/httpuv/src'
ERROR: compilation failed for package 'httpuv'
* removing '/software/R/site-library/httpuv'
make: *** [makefile:2: all] Error 1

I have AR & RANLIB defined in my .R/Makevars and you can see they are in /usr/ccs/bin

AR = /usr/ccs/bin/ar 
RANLIB=/usr/ccs/bin/ranlib

Login=root: Line=585 > ls -l ar
-r-xr-xr-x    1 bin      bin           84415 May 07 2018  ar
Login=root: Line=586 > ls -l ranlib
-r-xr-xr-x    1 bin      bin            2126 Sep 21 2015  ranlib
Login=root: Line=587 > pwd
/usr/ccs/bin

Why it can't determine AR interface? Can you please help?

Thanks.

Lenguaje dominante
C
Estrellas
252
Forks
87
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de rstudio/httpuv

Todos los issues de rstudio/httpuv

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.