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

Đang mở
#278 12 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
c, r

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C
Star
252
Fork
87
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rstudio/httpuv

Tất cả issue của rstudio/httpuv

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.