1 |
Hey list, |
2 |
|
3 |
I want to use cabal-install in my Gentoo box , but fails :-. |
4 |
|
5 |
it seems that cabal-install depends on mtl, so in the phase of |
6 |
compiling mtl , it reports error . |
7 |
|
8 |
The complete build log is here(https://gist.github.com/1399303). |
9 |
|
10 |
# emerge -pqv =dev-haskell/mtl-1.1.0.2 |
11 |
[ebuild N ] dev-haskell/mtl-1.1.0.2 USE="-doc -profile" |
12 |
|
13 |
# emerge --info =dev-haskell/mtl-1.1.0.2 |
14 |
Portage 2.1.10.11 (default/linux/x86/10.0/desktop, gcc-4.5.3, |
15 |
glibc-2.12.2-r0, 3.0.6-gentoo i686) |
16 |
================================================================= |
17 |
System Settings |
18 |
================================================================= |
19 |
System uname: Linux-3.0.6-gentoo-i686-Pentium-R-_Dual-Core_CPU_E6500_@_2.93GHz-with-gentoo-2.0.3 |
20 |
Timestamp of tree: Mon, 28 Nov 2011 04:15:02 +0000 |
21 |
app-shells/bash: 4.1_p9 |
22 |
dev-lang/python: 2.7.2-r3, 3.1.4-r3 |
23 |
dev-util/cmake: 2.8.4-r1 |
24 |
dev-util/pkgconfig: 0.26 |
25 |
sys-apps/baselayout: 2.0.3 |
26 |
sys-apps/openrc: 0.8.3-r1 |
27 |
sys-apps/sandbox: 2.5 |
28 |
sys-devel/autoconf: 2.13, 2.68 |
29 |
sys-devel/automake: 1.9.6-r3, 1.11.1 |
30 |
sys-devel/binutils: 2.21.1-r1 |
31 |
sys-devel/gcc: 4.5.3-r1 |
32 |
sys-devel/gcc-config: 1.4.1-r1 |
33 |
sys-devel/libtool: 2.4-r1 |
34 |
sys-devel/make: 3.82-r1 |
35 |
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) |
36 |
sys-libs/glibc: 2.12.2 |
37 |
Repositories: gentoo |
38 |
ACCEPT_KEYWORDS="x86" |
39 |
ACCEPT_LICENSE="* -@EULA" |
40 |
CBUILD="i686-pc-linux-gnu" |
41 |
CFLAGS="-O2 -march=i686 -pipe" |
42 |
CHOST="i686-pc-linux-gnu" |
43 |
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" |
44 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d |
45 |
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release |
46 |
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo |
47 |
/etc/texmf/language.dat.d /etc/texmf/language.def.d |
48 |
/etc/texmf/updmap.d /etc/texmf/web2c" |
49 |
CXXFLAGS="-O2 -march=i686 -pipe" |
50 |
DISTDIR="/usr/portage/distfiles" |
51 |
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles |
52 |
fixpackages news parallel-fetch protect-owned sandbox sfperms strict |
53 |
unknown-features-warn unmerge-logs unmerge-orphans userfetch" |
54 |
FFLAGS="" |
55 |
GENTOO_MIRRORS="http://123.58.173.106/gentoo/" |
56 |
LANG="zh_CN.UTF-8" |
57 |
LDFLAGS="-Wl,-O1 -Wl,--as-needed" |
58 |
LINGUAS="zh_CN" |
59 |
MAKEOPTS="-j4" |
60 |
PKGDIR="/usr/portage/packages" |
61 |
PORTAGE_CONFIGROOT="/" |
62 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
63 |
--compress --force --whole-file --delete --stats --timeout=180 |
64 |
--exclude=/distfiles --exclude=/local --exclude=/packages" |
65 |
PORTAGE_TMPDIR="/var/tmp" |
66 |
PORTDIR="/usr/portage" |
67 |
PORTDIR_OVERLAY="" |
68 |
SYNC="rsync://rsync.cn.gentoo.org/gentoo-portage" |
69 |
USE="X a52 aac acl acpi alsa bash-completion berkdb bluetooth branding |
70 |
bzip2 cairo cdda cdr cli consolekit cracklib crypt cscope cups cxx |
71 |
dbus dri dts dvd dvdr dvi emboss encode exif fam firefox flac fortran |
72 |
gdbm gdu gif gnome gpm gtk iconv ipv6 jpeg kdrive kpathsea lcms ldap |
73 |
libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl |
74 |
nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd |
75 |
qt3support qt4 readline sdl session spell sqlite ssl |
76 |
startup-notification static-libs svg sysfs tcpd tiff truetype udev |
77 |
unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" |
78 |
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci |
79 |
emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel |
80 |
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem |
81 |
ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop |
82 |
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter |
83 |
mmap_emul mulaw multi null plug rate route share shm softvol" |
84 |
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon |
85 |
authn_dbm authn_default authn_file authz_dbm authz_default |
86 |
authz_groupfile authz_host authz_owner authz_user autoindex cache cgi |
87 |
cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter |
88 |
file_cache filter headers include info log_config logio mem_cache mime |
89 |
mime_magic negotiation rewrite setenvif speling status unique_id |
90 |
userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan |
91 |
stage tables krita karbon braindump" CAMERAS="ptp2" |
92 |
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" |
93 |
ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 |
94 |
garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver |
95 |
oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip |
96 |
tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" |
97 |
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb |
98 |
ncurses text" LINGUAS="zh_CN" PHP_TARGETS="php5-3" |
99 |
RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" |
100 |
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset |
101 |
ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat |
102 |
logmark ipmark dhcpmac delude chaos account" |
103 |
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, |
104 |
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, |
105 |
PORTAGE_RSYNC_EXTRA_OPTS |
106 |
|
107 |
Can some offer any suggestions? Thanks ! |
108 |
|
109 |
-- |
110 |
________________________ |
111 |
Yes, I use Debian GNU/L |
112 |
wolf python london(WPL) |
113 |
Do as you soul should do ! |
114 |
________________________ |