[Mono-list] Trouble compiling Mono on Solaris 10 Sparc
Jonel Rienton
jonel at rientongroup.com
Thu Feb 16 21:18:25 EST 2006
Michael,
Here's http://www.blastwave.org/packages/CSWmono where you'll find the
dependencies of CSW's mono. You also need the devel toolchain when you build
it.
You can also do ldd mono's binaries to see which libraries they're using.
Regards,
Jonel
________________________________
From: Michael Welch [mailto:michaelgwelch at gmail.com]
Sent: Thursday, February 16, 2006 9:20 AM
To: mono-list at lists.ximian.com
Cc: Jonel Rienton
Subject: Re: [Mono-list] Trouble compiling Mono on Solaris 10 Sparc
On 2/15/06, Jonel Rienton <jonel at rientongroup.com> wrote:
I have just double checked my dev setup, PATH should have
/opt/csw/bin in
the very beginning. I will update my blog as well. I use:
./configure --with-libs=/opt/csw/lib
--with-includes=/opt/csw/include ...
in my configure line. I used to have problems with /usr/ccs/bin/ld
and did
what you were doing, but you don't have to anymore. Mono will build
properly.
Jonel,
Thanks! Following your directions (even as stated before the above changes)
worked for me. The compile worked overnight. This morning I did the install
and my hello world compiled and ran. I'll do more checking later. (perhaps
run make check).
I think it is important for the wiki on the mono site to be corrected and to
have Jonel's tips stated rather than what is there. What is there is
misleading and insufficient (at least for Solaris 10 on Sparc)
In particular this URL is not helpful for Solaris 10 Sparc:
http://mono-project.com/Mono:SPARC (See the section labelled Building Mono
on Solaris)
It doesn't state anything about the "bad" -mt option specified in the
Solaris /usr/lib/pkgconfig/gthread- 2.0.pc file which will keep anyone from
successfully building. It does state to not use any Sun tools, which appears
to be an unnecessary qualification and anyways doesn't specify any steps to
avoid using sun tools (for example /usr/ccs/bin/ld is used even though it is
not in your path. I needed to hide that bin directory to keep it from being
used). (Can I edit the wiki if I create an account?. I'd be willing to make
the changes)
Jonel, one other thing I'd add to your tips: It's unclear what (if anything)
is needed from /opt/csw. What libraries/binaries are you expecting to be
there? This is important so that others can go to blastwave and install the
correct packages. I'm thinking that nothing is really needed there. Other
than the fact that I specifically pointed CC at /opt/csw/gcc3/bin/gcc I
don't think anything else was found in there.
One last thing for the list. I know next to nothing about all of the
complications in the configure/make process. Is there a way to patch that so
that Jonel's tip are not needed? If so, is it worth filing this as a bug?
Perhaps it already has been. (I also know next to nothing about bugzilla or
whatever other tool is used on mono for bugs).
Thanks,
Michael
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.9/261 - Release Date: 2/15/2006
More information about the Mono-list
mailing list