Hello! I'm trying to install mono on a new system. To do that, I'm building everything inside a chroot (it's the same system I referred to in the "Cannot compile texinfo: Illegal instruction -> Wrong -march and -mtune flags?" thread).
I'm now almost done. I just need to get Mono built, basically. But this fails miserably :( ,----[ error while building mono 1.1.16.1 ] | make profile-do--default--all profile-do--net_2_0--all | make[4]: Entering directory `/Gentoo/Portage/build/portage/dev-lang/mono-1.1.16.1/work/mono-1.1.16.1/mcs' | make PROFILE=basic all | make[5]: Entering directory `/Gentoo/Portage/build/portage/dev-lang/mono-1.1.16.1/work/mono-1.1.16.1/mcs' | /Gentoo/Portage/build/portage/dev-lang/mono-1.1.16.1/work/mono-1.1.16.1/libtool: line 6911: LC_CTYPE: command not found | /Gentoo/Portage/build/portage/dev-lang/mono-1.1.16.1/work/mono-1.1.16.1/libtool: line 6911: LC_COLLATE: command not found | /Gentoo/Portage/build/portage/dev-lang/mono-1.1.16.1/work/mono-1.1.16.1/libtool: line 6911: LC_MESSAGES: command not found | make[6]: *** [build/deps/basic-profile-check.exe] Aborted | make[6]: Entering directory `/Gentoo/Portage/build/portage/dev-lang/mono-1.1.16.1/work/mono-1.1.16.1/mcs' | *** The contents of your 'monolite' directory may be out-of-date | *** You may want to try 'make get-monolite-latest' `---- mono-1.2.4 fails as well: ,----[ error while building mono 1.2.4 ] | make profile-do--default--all profile-do--net_2_0--all | make[4]: Entering directory `/Gentoo/Portage/build/portage/dev-lang/mono-1.2.4/work/mono-1.2.4/mcs' | make PROFILE=basic all | make[5]: Entering directory `/Gentoo/Portage/build/portage/dev-lang/mono-1.2.4/work/mono-1.2.4/mcs' | /Gentoo/Portage/build/portage/dev-lang/mono-1.2.4/work/mono-1.2.4/libtool: line 6911: LC_CTYPE: command not found | /Gentoo/Portage/build/portage/dev-lang/mono-1.2.4/work/mono-1.2.4/libtool: line 6911: LC_COLLATE: command not found | /Gentoo/Portage/build/portage/dev-lang/mono-1.2.4/work/mono-1.2.4/libtool: line 6911: LC_MESSAGES: command not found | make[6]: *** [build/deps/basic-profile-check.exe] Error 1 | make[6]: Entering directory `/Gentoo/Portage/build/portage/dev-lang/mono-1.2.4/work/mono-1.2.4/mcs' | *** The contents of your 'monolite' directory may be out-of-date | *** You may want to try 'make get-monolite-latest' `---- In common is, that there are those "LC_CTYPE: command not found" errors. Is that the cause of the problem? ,----[ emerge --info ] | Portage 2.1.2.11 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r2.04.non-hardened i686) | ================================================================= | System uname: 2.6.22-gentoo-r2.04.non-hardened i686 unknown | Gentoo Base System release 1.12.9 | Timestamp of tree: Tue, 07 Aug 2007 04:50:01 +0000 | ccache version 2.4 [disabled] | dev-java/java-config: 1.3.7, 2.0.33-r1 | dev-lang/python: 2.4.4-r4 | dev-python/pycrypto: 2.0.1-r6 | dev-util/ccache: 2.4-r7 | sys-apps/sandbox: 1.2.17 | sys-devel/autoconf: 2.13, 2.61 | sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 | sys-devel/binutils: 2.17 | sys-devel/gcc-config: 1.3.16 | sys-devel/libtool: 1.5.23b | virtual/os-headers: 2.6.21 | ACCEPT_KEYWORDS="x86" | AUTOCLEAN="yes" | CBUILD="i486-pc-linux-gnu" | CFLAGS="-O2 -mtune=pentium-m -march=i686 -pipe -fomit-frame-pointer" | CHOST="i486-pc-linux-gnu" | CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" | CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo" | CXXFLAGS="-O2 -mtune=pentium-m -march=i686 -pipe -fomit-frame-pointer" | DISTDIR="/Gentoo/Portage/tree/distfiles" | EMERGE_DEFAULT_OPTS="--alphabetical" | FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict" | GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch http://distfiles.gentoo.org/" | LINGUAS="de" | PKGDIR="/Gentoo/Portage/packages" | PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" | PORTAGE_TMPDIR="/Gentoo/Portage/build" | PORTDIR="/Gentoo/Portage/tree" | PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc" | SYNC="rsync://rsync.ch.gentoo.org/gentoo-portage" | USE="X acpi alsa bash-completion berkdb bitmap-fonts branding cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode esd evo fam firefox fortran gdbm gif gnome gstreamer gtk hal iconv isdnlog jpeg kde kdeenablefinal kdehiddenvisibility libg++ libnotify mad midi mikmod mmx mp3 mpeg mudflap ncurses nfs nls nptl nptlonly offensive ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection samba sdl session spell spl sse sse2 ssl svg tiff truetype truetype-fonts type1-fonts unicode vim-syntax vorbis wifi win32codecs x86 xml xorg xv zlib" ALSA_CARDS="loopback usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LI NGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga via" | Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS `---- I'm building/compiling all of that on a Athlon XP system (no 64bit). It should finally run on a Celeron M system (32bit as well). Hence the -march and -mtune combination (see above). Quite some time ago, I already ran into this on a "different" system and reported this to bgo at <https://bugs.gentoo.org/show_bug.cgi?id=153781>. Issue back then was, that I had security enhancements (PaX and the like) enabled. I don't have this now. Any ideas about what I might have to do to be able to build mono? Thanks a lot, Alexander Skwar -- "Free markets select for winning solutions." -- Eric S. Raymond -- [EMAIL PROTECTED] mailing list