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

Aperta
#278 12 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
c, r

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C
Stelle
252
Fork
87
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rstudio/httpuv

Tutte le issue di rstudio/httpuv

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.