Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SR11
New Contributor I
2,382 Views

Installing mono-fastcgi-server4 on Intel Edison

Hi,

I could install mono using command opkg install mono. But how to install mono-fastcgi server?

10 Replies
Carlos_M_Intel
Employee
100 Views

Hi,

You will need to install the source code of mono and xsp, take a look at the following links:

https://github.com/mono/website/blob/gh-pages/docs/web/fastcgi/index.md website/index.md at gh-pages · mono/website · GitHub

https://github.com/mono/mono GitHub - mono/mono: Mono open source ECMA CLI, C# and .NET implementation.

https://github.com/mono/xsp mono/xsp · GitHub

Regards,

Charlie

SR11
New Contributor I
100 Views

Hi,

Thanks for replying.

mono builds are failing with following errors. And I couldn't find solution to below errors online.

make[2]: Entering directory '/home/root/mono-master/libgc'

make[2]: *** No rule to make target 'all'. Stop.

make[2]: Leaving directory '/home/root/mono-master/libgc'

Makefile:513: recipe for target 'all-recursive' failed

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory '/home/root/mono-master'

Makefile:442: recipe for target 'all' failed

make: *** [all] Error 2

Regards

Srikanth

Carlos_M_Intel
Employee
100 Views

Hi Srikanth,

Do you have updates on this?

Could you attach in a .txt file the full error you are getting?

Are you running this with a clean image or did you have mono installed with opkg before?

I'm trying to install mono from source too but I had issues with the mscorlib.dll, the mcs and corlib. I had to install mono, mono-dev, mono-gac, mono-libs-4.5, mono-lldb and mono-staticdev from http://repo.opkg.net/edison/repo/core2-32/ Index of /edison/repo/core2-32 and then I had to create the location /usr/local/lib/mono and put a copy of the folder /usr/lib/mono in it.

Currently, I'm trying to fix the problems with corlib by installing https://github.com/mono/moon moon from source. Let me know if you have seem the same error messages and/or if you have done things differently.

Regards,

Charlie

SR11
New Contributor I
100 Views

Hi Charlie,

After installing mono from opkg, I ttried to compile mono from source using.

git clone --recursive mailto:git@github.com git@github.com:mono/mono

but git submodule is not reconised in my edison. so 'make' is failing.

So, I downladed external submodules in ubuntu and planning to copy them to edison. But, now, edison drive became invisible after I did 'opkg update' and also edison is refusing connections from WinSCP, FileZilla etc. even after commenting out accept only on usb0

Meanwhile I tried creating custom image by adding meta_mono. Here also I'm getting an error related to libxft and x11 not found

Regards

Srikanth

SR11
New Contributor I
100 Views

Hi, Charlie,

I could copy external drive folder to yocto. But there is issue with space shortage during compilation. I used all possible space on edison; even copied big directories to other drives by creating links for them in mono folder. But compilation fails due to lack of sufficient space.

Is there any other way I can install xsp?

Regards

Srikanth

Carlos_M_Intel
Employee
100 Views

Hi Srikanth,

If you get more problems in the future related to the PC trying to recognize the board I suggest you to run the flashall script, this could help you.

 

Could you post the errors you were getting while building the image? Maybe in a .txt file?

Have you tried to re-size the partitions of the image?

http://alextgalileo.altervista.org/blog/changing-partition-setup-edison/ Changing partition setup on Edison

http://www.instructables.com/id/Yocto-Customization-1-Increase-Root-Partition-Size/ Increase Root Partition Size of Intel Edison with Release 2 beta Linux Image

http://drejkim.com/blog/2014/11/22/building-an-edison-image-and-changing-the-root-partition-size/ Building an Edison image and changing the root partition size | Esther Jun Kim

I suggest you to delete the gits you clone after you installed them or when you are not going to use them anymore.

The other way to install xsp would be by adding it in a custom image.

Regards,

Charlie

SR11
New Contributor I
100 Views

Hi Charlie,

Please check below the errors while trying to add meta_mono on yocto image

srikanth@ubuntu:/mnt/edison-src/out/linux32/build$ ../poky/bitbake/bin/bitbake edison-image

Loading cache: 100% |# | ETA: 00:00:00

Loaded 1898 entries from dependency cache.

NOTE: Resolving any missing task queue dependencies

NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)

NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg

ERROR: Nothing PROVIDES 'libxft' (but /mnt/edison-src/meta-intel-edison/meta-mono/recipes-mono/libgdiplus/libgdiplus_2.10.8.bb DEPENDS on or otherwise requires it)

ERROR: libxft was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)

NOTE: Runtime target 'mono-xsp' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['mono-xsp', 'mono', 'libgdiplus', 'libxft']

ERROR: Required build target 'edison-image' has no buildable providers.

Missing or unbuildable dependency chain was: ['edison-image', 'mono-xsp', 'mono', 'libgdiplus', 'libxft']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Regards

Srikanth

SR11
New Contributor I
100 Views

Hi Charlie,

I'm able to compile custom image of yocto with meta-mono from https://github.com/rtollert/meta-mono https://github.com/rtollert/meta-mono

instead of the link that appears 1st on the google search.

fastcgi-mono-server4 is installed along with it.

Regards

Srikanth

Carlos_M_Intel
Employee
100 Views

Hi Srikanth,

I'm glad to know that you were able to build the image with the meta-mono. I would like to know if everything is working properly regarding fastcgi-mono-server4 and mono itself.

Regards,

Charlie

SR11
New Contributor I
100 Views

Hi Charlie,

Currently i'm having issues with compiling application on edison due to missing dependencies etc. Will let you know If I succeed.

Regards

Srikanth

Reply