Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hello, has anyone compiled the mono (with lighttp) for dns-323? What would it take to get it up and running?
P.S. lighttp is ready for use mono
Offline
I'm also looking for that. Seems like Mono can be used with lighttpd and FastCGI modules. Does anyone know how to ad support to Mono? Or do we need to compile lighttpd from source with support for mono?
I found this link in the lines of what are looking for but its not specifcially for the DNS-323.
http://www.mono-project.com/FastCGI_Lighttpd
Offline
Apparently the module is called fastcgi-mono-server. Anyone willing to tackle this for the compile-from-source challenged crowd?
Last edited by jdawg9 (2008-10-19 04:47:22)
Offline
I can edit the lighttpd.conf files on my own. But I'm stuck on installing the fastcgi-mono-server
Installation Instructions
Installation is done using GNU Autoconf. You simply have to fetch the package from Subversion and use the standard commands as shown below. Adjust the "--prefix" to your preferred installation path.
svn co http://mono-soc-2007.googlecode.com/svn … n/FastCgi/ fastcgi-mono-server
cd fastcgi-mono-server
./autogen.sh --prefix=/usr && make && sudo make install
The command complains about missing autoconf & automake (both are installed in /ffp/bin/ (fonz's packages)) I have firmware 1.5 and ffp 0.5
Here is the exact error msg
**Error**: You must have `automake' installed to compile Mono.
Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz
(or a newer version if it is available)
http://mono-soc-2007.googlecode.com/svn … index.html
Last edited by jdawg9 (2008-10-26 05:51:38)
Offline
Made some progress. Got past error above my installing automake and autoconf. Now the last part of the install script stops at the following error. Some component aclocal is not executing properly. This is the error I got and where I've been stuck recently.
#:/mnt/HD_a2/ffp/share/aclocal# /ffp/etc/fastcgi-mono-server/autogen.sh -prefix=/ffp
grep: configure.ac: No such file or directory
Running aclocal ...
aclocal: couldn't open `configure.in': No such file or directory
**Error**: aclocal failed. This may mean that you have not
installed all of the packages you need, or you may need to
set ACLOCAL_FLAGS to include "-I $prefix/share/aclocal"
for the prefix where you installed the packages whose
macros were not found
I have aclocal installed but it is installed at: /usr/local/share/aclocal and not under the ffp tree
#:/mnt/HD_a2/ffp/share/aclocal# aclocal --print-ac-dir
/usr/local/share/aclocal
Anyone able to help???? Thanks
Offline
More progress..I think.
# /ffp/etc/fastcgi-mono-server/autogen.sh --prefix=/usr/local
grep: configure.ac: No such file or directory
Running aclocal ...
aclocal: configure.in: 210: macro `AM_PROG_AS' not found in library
aclocal: configure.in: 251: macro `AM_PROG_LIBTOOL' not found in library
aclocal: configure.in: 390: macro `AM_PO_SUBDIRS' not found in library
I've been copying some m4 files (macros) around but the problem is that I don't exactly know where the installer is looking for the library
Offline
Really made some progress and at the same time had the opportunity to learn ALOT of linux. I got the Automake tools working properly now by installing another package and setting a symbolic link and then copying a whole bunch of macro files m4 into that folder.
I see that the program is almost compiling now, but it fails in one of the lines in the ./configure command . I googled and search various results but none helped. I'm posting this in hopes that someone very savvy will be a good Samaritan and see something with fresh eyes that I'm missing. Thanks.
Here is the output from my ssh session:
#:/mnt/HD_a2/ffp/etc/fastcgi-mono-server# ./autogen.sh --prefix=/ffp
Running aclocal ...
aclocal: `configure.ac' and `configure.in' both present.
aclocal: proceeding with `configure.ac'.
/ffp/share/aclocal/winsz.m4:5: warning: underquoted definition of AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL
/ffp/share/aclocal/winsz.m4:5: run info '(automake)Extending aclocal'
/ffp/share/aclocal/winsz.m4:5: or see http://sources.redhat.com/automake/auto … ng-aclocal
Running automake --gnu ...
automake: `configure.ac' and `configure.in' both present.
automake: proceeding with `configure.ac'.
Running autoconf ...
autoconf: warning: both `configure.ac' and `configure.in' are present.
autoconf: warning: proceeding with `configure.ac'.
Running ./configure --enable-maintainer-mode --enable-compile-warnings ...
checking build system type... arm-unknown-linux-uclibc
checking host system type... arm-unknown-linux-uclibc
checking target system type... arm-unknown-linux-uclibc
checking for a BSD-compatible install... /ffp/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for a BSD-compatible install... /ffp/bin/install -c
./configure: ./configure.lineno: line 2387: syntax error: word unexpected (expecting ")")
Offline
It might help to edit the header of configure. Change #! /bin/sh to #! /ffp/bin/sh
Offline
Mijzelf wrote:
It might help to edit the header of configure. Change #! /bin/sh to #! /ffp/bin/sh
Thanks for the suggestion. I did that but it still failed in the exact same line. Even though in theory this might make sense, I believe that in practice both /ffp/bin/sh and /bin/sh are symbolic links to the busybox
Last edited by jdawg9 (2008-12-03 22:14:25)
Offline
i hate to do this but....bump
Offline
I made some progress from where I was stuck before, the error occurs when the script tries to execute this command:
PKG_CHECK_MODULES(MONO, mono >= $MONO_REQUIRED)
the error returned is below:
-sh: syntax error: word unexpected (expecting ")")
this was due to pkg-config package not installed.
Now, it gets past that point and it dies in
checking for MONO... configure: error: Package requirements (mono >= 1.1.9) were not met:
gnome-config: No such file or directory
No package 'mono' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables MONO_CFLAGS
and MONO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
I didn't know mono was required. I thought fastcgi-mono-server was stand alone. Now I'm looking into compiling mono package and I'll try again. I'll keep posted.
Offline
So I'm now on my quest to install mono...I installed by downloading the source from their svn repo after creating a mono folder in my /ffp/etc
$ svn co http://anonsvn.mono-project.com/source/trunk/mono
$ svn co http://anonsvn.mono-project.com/source/trunk/mcs
$ svn co http://anonsvn.mono-project.com/source/trunk/libgdiplus
after everything was downloaded i went into mono/mono and launched the autogen.sh script. The program ran fine for several minutes checking for many dependencies and proper packages installed. I installed a few that were missing along the way (GNU grep, autotools, etc)
The problem occurs when mono asks for some packages that I believe are graphics specific, which the DNS-323 for being a command only ssh/telnet device, does not suppor. Any one has any suggestion how I can get around these required libraries and dependencies?
.
.
.
checking integrity of package... ok
checking whether NLS is requested... yes
checking for msgfmt... /ffp/bin/msgfmt
checking for gmsgfmt... /ffp/bin/msgfmt
checking for xgettext... /ffp/bin/xgettext
checking for msgmerge... /ffp/bin/msgmerge
checking for msgfmt... yes
checking for pkg-config... /ffp/bin/pkg-config
gnome-config: No such file or directory
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
gnome-config: No such file or directory
Package gthread-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gthread-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gthread-2.0' found
gnome-config: No such file or directory
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
gnome-config: No such file or directory
Package gthread-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gthread-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gthread-2.0' found
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 1.3.11) were not met:
gnome-config: No such file or directory
No package 'glib-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Offline
I was finally able to run the entire autogen.sh . For those of you stuck, the depencies packages that I installed are gettext-0.17-ffp0.5.tgz and glib-2.18.1-ffp0.5.tgz from here http://dns323.kood.org/forum/t3173-Shar … Built.html (thanks boilerjt for indirectly helping me)
Now I'm stuck on the make command with the following error (gotta find that package):
os_dep.c:4024:23: error: execinfo.h: No such file or directory
make[3]: *** [os_dep.lo] Error 1
make[3]: Leaving directory `/mnt/HD_a2/ffp/etc/mono/mono/libgc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/HD_a2/ffp/etc/mono/mono/libgc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/HD_a2/ffp/etc/mono/mono'
make: *** [all] Error 2
Offline
Resolved the above by going to /ffp/include and wget http://www.nabble.com/file/5306/execinfo.h . The make command went much further afterwards but it complained about missing † and alot of errors of type:
error: glib.h: No such file or directory
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
../../mono/metadata/image.h:19: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
Offline
jdawg9 - I'm interested on running MONO. Any more progress?
Thx
Offline
pic.micro23
I wish I could more actively work on this but due to my limited but growing linux command/library/compiling knowledge and time I have put this on hold. I wish someone could with more experience with the NAS box and mono could pick up from here are continue to try on the little progress I made. Perhaps, even someone with alot of ins and outs could put together a funpkg on this.
Have you given a shot? Are you stuck in the same place?
Offline
Bumping this thread because it deserves some attention! I'm not much help in solving the porting process but I would sure be the first to test it.
Offline
Well, I tried to help you guys out but glib2 won't compile with funplug's uclibc. missing inotify functions. Might be able to hack around it but I'm tired of messing with it.
Had to recompile gettext because it didn't have libintl libs/header. By the time glib2 crapped out, so was I.
Compiling with uclibc can be pretty frustrating at times. Pretty crippled compared to glibc....
Keep at it guys. I'm sure it's entirely within the realm of possibility.
Last edited by madpenguin (2009-06-29 22:12:51)
Offline
Right.... I was hoping just having newer headers installed would at least make it compile but no such luck. Doesn't seem to be an easy way to make gio without it either.
What do I care I suppose. Not overly interested in mono anyway. ;-)
Maybe .16 or earlier would work... Dunno.
Last edited by madpenguin (2009-06-30 01:34:26)
Offline