[Mono-devel-list] Build Problems
Paul
paul at all-the-johnsons.co.uk
Sun Mar 13 06:31:50 EST 2005
Hi,
> I am having some trouble getting Mono to build. I am running the Fedora
> Core 3 64 bit edition. I am trying to build the stable release, 1.0.6.
IIRC, 1.1.4 is the stable release.
> I used this configure string ./configure --prefix=/usr/local/mono ..
> everything there worked fine.
Nope. prefix is the *root* of the directory where you want things to go.
To put things in /usr/local/lib, prefix would be /usr/local, for things
to be in /usr/lib, prefix is /usr. /usr/local/mono will place everything
in /usr/local/mono/{bin/lib/whereever}
> On make, it errors out at the following:
>
> make[3]: Entering directory `/root/compiled/mono/mono-1.0.6/mono/io-layer'
What? Why are you doing this as root? Don't you know how dangerous that
is? The files should be (ideally) in /home/$user, compile them up as
yourself and install as su. The root account should only ever be
accessed from a non root account and never directly.
> .deps/threads.Tpo -c threads.c -fPIC -DPIC -o .libs/threads.o
> /tmp/cc4yVbOs.s: Assembler messages:
> /tmp/cc4yVbOs.s:318: Error: suffix or operands invalid for `mov'
> /tmp/cc4yVbOs.s:395: Error: suffix or operands invalid for `mov'
> /tmp/cc4yVbOs.s:1717: Error: suffix or operands invalid for `mov'
> make[3]: *** [threads.lo] Error 1
gcc error. Run make again and if it doesn't go away, file it over in
bugzilla.redhat.com where one of the chaps will look at it.
> Any ideas or suggestions would be appreciated. Thanks!
First, obey the rule: NEVER do anything as root directly unless you
really really really really desperately really and your son's son's
son's life depended on it have to. If you're fresh from Windows, the
idea of user accounts may be somewhat foreign, but you must get used to
the idea of you being a user. It adds a level of protection so you
cannot completely mess up your system.
Second, read the docs. 1.1.4 came out weeks ago as the stable release
(unless my mind is playing tricks). For instructions on compiling,
http://www.all-the-johnsons.co.uk/mono/mono-compiling.html has all you
will need to get it right.
TTFN
Paul
--
"I like blinking me" - Helen, Big Brother 2 contestant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050313/edc83629/attachment.bin
More information about the Mono-devel-list
mailing list