[Mono-dev] "Installing" mono via copy
ctacke at opennetcf.com
Fri Dec 13 16:23:36 UTC 2013
Yes, that's what I'm trying, but the target environment isn't getting set up properly. I tar it all up, install on the target device and I get errors when I try to run. The first error I'm seeing is that it can't find mscorelib.dll, but I suspect it's only the first of many because mono on the destination device isn't in the same location as it was on the build machine.
> -----Original Message-----
> From: Brandon Perry [mailto:bperry.volatile at gmail.com]
> Sent: Friday, December 13, 2013 10:19 AM
> To: Chris Tacke
> Cc: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] "Installing" mono via copy
> Sent from a computer
> > On Dec 13, 2013, at 10:10, Chris Tacke <ctacke at opennetcf.com> wrote:
> > I guess to put it another way, the question might be this:
> > I have a Mono application. I need to distribute that application onto an
> embedded Linux platform that doesn't have Mono in the OS. Assuming I
> don't have the luxury of install tool in the OS, what are the steps required to
> deploy Mono and my application such that the application will be able to run?
> > -Chris
> >> -----Original Message-----
> >> From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-
> >> bounces at lists.ximian.com] On Behalf Of Chris Tacke
> >> Sent: Friday, December 13, 2013 9:40 AM
> >> To: mono-devel-list at lists.ximian.com
> >> Subject: [Mono-dev] "Installing" mono via copy
> >> I have an embedded Linux platform on which I need to install Mono. The
> >> platform does not have any installer tools like apt or whatever. I have to
> >> custom build Mono for the platform for a variety of reasons.
> >> I am successfully building Mono from source under an Ubuntu machine.
> >> works just fine.
> >> The problem I'm now facing is how to "distribute" the resulting build. Due
> >> size contraints, I've compiled only the 4.5 stuff, plus I've pulled out a
> >> of things like System.Drawing, all of the WinForms stuff, etc. I've also
> >> stripped the binaries.
> >> What I did was:
> >> - set a custom prefix (and other stuff) during configure
> >> - make & make install.
> >> - Go into the install folder and trim out stuff I don't need and strip binaries
> >> So now I have a set of folders that contain Mono. My hope was that I
> >> tar these up, copy that to the destination, untar it in the /usr directory so
> >> the mono bin files end up in /usr/bin, the mono lib files end up in /usr/lib
> >> Doing this I success if I do a mono -V. I get version info. However, if I try
> >> actually run a mono app, it complains about not finding mscorlib.dll. It's
> >> looking in the path where I set the prefix back on the build machine.
> >> How should I be going about doing an installation like this? What am I
> >> in my process?
> >> -Chris
> >> _______________________________________________
> >> Mono-devel-list mailing list
> >> Mono-devel-list at lists.ximian.com
> >> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list