[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
guile-1.8.8 problems on GNU/Linux AMD64
From: |
Nelson H. F. Beebe |
Subject: |
guile-1.8.8 problems on GNU/Linux AMD64 |
Date: |
Thu, 16 Dec 2010 12:59:04 -0700 (MST) |
A build of guile-1.8.8 on GNU/Linux AMD64 fails because the included
libtool is overriding library paths, and supplying incorrect 32-bit
paths:
% env CC=gcc CXX=g++ LDFLAGS="-L/usr/local/lib64 -Wl,-rpath,/usr/local/lib64"
./configure && make
...
libtool: link: gcc -g -O2 -Wall -Wmissing-prototypes -Werror -Wl,-rpath
-Wl,/usr/local/lib64 -o gen-scmconfig gen-scmconfig.o -L/usr/local/lib64
/usr/local/lib/libgmp.so -lcrypt -lm /usr/local/lib64/libltdl.so -ldl
-Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib64 -Wl,-rpath
-Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib64
/usr/local/lib/libgmp.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
I tried replacing -lgmp with /usr/local/lib64/libgmp.so in Makefiles,
and that got somewhat further:
% find . -name Makefile | xargs sed -i -e
'address@hidden@/usr/local/lib64/libgmp.so@'
% make all check
...
PASS: stack-limit-calibration.scm
=============
1 test passed
=============
...
PASS: test-scm-with-guile
===================
All 16 tests passed
===================
...
Running ports.test
UNRESOLVED: ports.test: port-for-each: passing freed cell
Running posix.test
...
Running socket.test
ERROR: socket.test: AF_INET6/SOCK_STREAM: bind/sockaddr - arguments:
((wrong-type-arg #f "Wrong type: ~S" (#(10 1 9998 0 0)) (#(10 1 9998 0 0))))
ERROR: socket.test: AF_INET6/SOCK_STREAM: connect/sockaddr - arguments:
((wrong-type-arg #f "Wrong type: ~S" (#(10 1 8889 0 0)) (#(10 1 8889 0 0))))
At that point, the tests hang in a wait state, without any
CPU consumption, so I killed the build.
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: address@hidden -
- 155 S 1400 E RM 233 address@hidden address@hidden -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
- guile-1.8.8 problems on GNU/Linux AMD64,
Nelson H. F. Beebe <=