Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57247 - mono-1.0 will compile/install, but not run
Summary: mono-1.0 will compile/install, but not run
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-15 18:18 UTC by Joseph Monti
Modified: 2004-07-15 19:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Monti 2004-07-15 18:18:20 UTC
I can successfully compile and install mono-1.0, but cannot run its programs.

After installing, I get this:
# mcs
The assembly corlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/local/lib' directory.
# 

I initially upgraded from mono-0.28. I then unmerged and re-merged.

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge mono
2. mcs
3.




Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.4.25-gentoo-r2)
=================================================================
System uname: 2.4.25-gentoo-r2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dvd
encode esd evo flash foomaticdb gdbm ggi gif gnome gphoto2 gpm gtk gtk2 gtkhtml
guile imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses
nls oggvorbis opengl oss pam pda pdflib perl png python quicktime readline samba
scanner sdl slang socks5 spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms
xv zlib"
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2004-07-15 18:30:44 UTC
1) Are you sure you don't have any rogue installs of mono you've done by hand installed in /usr/local? make sure `which mcs` shows the right thing. (/usr/bin/mcs)

2) Please try re-emerging with minimal CFLAGS (in general, if you submit a bug report with that long of a CFLAGS line, you'll tend to get ignored unless you've tried with minimal CFLAGS too.)
Comment 2 Joseph Monti 2004-07-15 19:00:57 UTC
I did do a `which mcs` ... and it was /usr/bin/mcs ... 

I did have an old mono install from their cvs, but since it was telling me /usr/bin/mcs, and my install was under /usr/local I didn't think much of it.

But I removed everything from the old cvs install, remerged mono-1.0, and bam! it works.

Don't I feel dumb :(  ... sorry
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2004-07-15 19:07:01 UTC
All good. glad it's working.