[Mono-dev] Error trying to compile mono on CentOs 5
Timotheus Pokorra
timotheus.pokorra at solidcharity.com
Wed Jun 10 15:09:51 UTC 2015
Hello Nikki,
Have a look at my post a while ago:
http://www.pokorra.de/2015/03/mono-3-12-1-for-various-linux-distributions-and-recommendation-of-xamarin-monodevelop-packages/
see at the bottom, about CentOS5.
I have mono 3.12 packages built for CentOS5 here:
https://lbs.solidcharity.com/package/tpokorra/mono/mono-opt
I did not upgrade them to 4.0, but if that would help you, I could have a look.
You could also look at the spec files, what I did:
https://github.com/tpokorra/lbs-mono/tree/master/mono-opt
hope this helps,
Timotheus
On 10 June 2015 at 16:32, nikkilocke <nikki at trumphurst.com> wrote:
> I would like to run mono on CentOs 5.
>
> I tried installing binaries using the instructions at
> http://www.mono-project.com/docs/getting-started/install/linux/
>
> It failed because there is no command yum-config-manager on CentOs 5.
>
> I manually installed the mono repo, and tried again.
>
> It failed because CentOs 5 does not understand the checksums used.
>
> I manually installed python-hashlib and tried again.
>
> This time it failed with the following errors:
>
> mono-basic-4.0.1-1.noarch from mono has depsolving problems
> --> Missing Dependency: mono(System.Core) = 4.0.0.0 is needed by package
> mono-basic-4.0.1-1.noarch (mono)
> mono-basic-4.0.1-1.noarch from mono has depsolving problems
> --> Missing Dependency: mono(mscorlib) = 4.0.0.0 is needed by package
> mono-basic-4.0.1-1.noarch (mono)
> mono-basic-4.0.1-1.noarch from mono has depsolving problems
> --> Missing Dependency: mono(System) = 4.0.0.0 is needed by package
> mono-basic-4.0.1-1.noarch (mono)
> mono-basic-4.0.1-1.noarch from mono has depsolving problems
> --> Missing Dependency: mono(System.Drawing) = 4.0.0.0 is needed by
> package mono-basic-4.0.1-1.noarch (mono)
> mono-basic-4.0.1-1.noarch from mono has depsolving problems
> --> Missing Dependency: mono(System.Windows.Forms) = 4.0.0.0 is needed by
> package mono-basic-4.0.1-1.noarch (mono)
> Error: Missing Dependency: mono(System.Core) = 4.0.0.0 is needed by package
> mono-basic-4.0.1-1.noarch (mono)
> Error: Missing Dependency: mono(System) = 4.0.0.0 is needed by package
> mono-basic-4.0.1-1.noarch (mono)
> Error: Missing Dependency: mono(mscorlib) = 4.0.0.0 is needed by package
> mono-basic-4.0.1-1.noarch (mono)
> Error: Missing Dependency: mono(System.Drawing) = 4.0.0.0 is needed by
> package mono-basic-4.0.1-1.noarch (mono)
> Error: Missing Dependency: mono(System.Windows.Forms) = 4.0.0.0 is needed by
> package mono-basic-4.0.1-1.noarch (mono)
>
> So now I am trying to build mono on CentOs 5, using the instructions at
> http://www.mono-project.com/docs/compiling-mono/compiling-from-git/
>
> I cloned the git repository, and ran ./autogen.sh --prefix=/usr/local
> This gave me 2 messages:
>
> You should add the contents of `/usr/share/aclocal/libtool.m4' to
> `aclocal.m4'
> aclocal: unrecognized option -- `-Wnone'
>
> I copied the libtool.m4 file to aclocal.m4, and tried again - still got the
> second message. I removed the -Wnone flag from autogen.sh and ran again - it
> went to completion.
>
> I then ran make, and that failed with:
>
> Making all in libgc
> make[2]: Entering directory `/usr/src/mono/libgc'
> make[2]: *** No rule to make target `all'. Stop.
> make[2]: Leaving directory `/usr/src/mono/libgc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/mono'
> make: *** [all] Error 2
>
> This is presumably because the configuration process has not created a
> Makefile in libgc.
>
> What do I do now?
>
>
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/Error-trying-to-compile-mono-on-CentOs-5-tp4666171.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
--
Kontaktdaten:
in Plauen: 03741 7424995
More information about the Mono-devel-list
mailing list