[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-mit-scheme] [bug #40152] mit-scheme-c-9.1.1 bootstrap fails when li
Taylor R. Campbell
[Bug-mit-scheme] [bug #40152] mit-scheme-c-9.1.1 bootstrap fails when libxcb (and probably others) are missing
Thu, 03 Oct 2013 22:32:16 +0000
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.1) Gecko/20100101 Firefox/10.0.1
Follow-up Comment #2, bug #40152 (project mit-scheme):
The problem is not that MIT Scheme uses libxcb and it is missing. The problem
1. The bootstrap build tries to link against X11 needlessly.
2. The build fails late during make, not early during configure, when linking
against libX11 fails.
3. Using -lX11 brought in a static libX11.a, which is probably not the right
thing -- although I don't know in this case.
On an ELF system and perhaps others, if you link against a static libX11.a,
when libX11 normally depends on libxcb, then the normal recursive shared
library dependency mechanism of ELF doesn't kick in because the libraries are
static. Instead, if you want to link with -lX11, you must also pass -lxcb and
similar for every library libX11 depends on itself.
Reply to this item at:
Message sent via/by Savannah