|
From: Manuel R. <Man...@e-...> - 2002-09-27 11:40:01
|
Thankyou, that seemed to work, well at least I didnt get any errors when
running make :
mreyes@gandalf2:~/mod_haydn/mod_haydn-1.3-0.0.6$ make
/usr/bin/apxs -c -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-lmono -lgmodule-2.0 -ldl -lglib-2.0 -lm -lpthread src/mod_haydn.c
gcc -DLINUX=22 -DEAPI -DTARGET="apache" -DDB_DBM_HSEARCH=1
-DDEV_RANDOM=/dev/random -DUSE_HSREGEX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O1 -fPIC -DSHARED_MODULE -I/usr/include/apache-1.3
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c src/mod_haydn.c
gcc -shared -o src/mod_haydn.so mod_haydn.o -lmono -lgmodule-2.0 -ldl
-lglib-2.0 -lm -lpthread -lc -lm -lcrypt -ldb -ldb -lexpat
mreyes@gandalf2:~/mod_haydn/mod_haydn-1.3-0.0.6$
Now how can I confirm that mod_haydn is running within apache, and what
apache configuration changes are required so that I can run a simple
test.aspx, e.g. :
<%@ Page Language="C#"%>
<html>
<body>
<center>
<% for (int i=0; i <8; i++) { %>
<font size="<%=i%>"> Hello World from MONO & HAYDN</font> <br>
<% }%>
</center>
</body>
</html>
-----Original Message-----
From: Ishpal Singh [mailto:ish...@ae...]
Sent: 27 September 2002 12:27
To: Manuel Reyes; hay...@li...
Subject: RE: [Haydn-list] Installation & Configuration
remove '-lgc' flag from the Makefile... It should compile after that.
It did for me
cheers,
Ishpal.
-----Original Message-----
From: hay...@li...
[mailto:hay...@li...]On Behalf Of Manuel Reyes
Sent: 27 September 2002 12:10
To: hay...@li...
Subject: [Haydn-list] Installation & Configuration
I am attempting to get MONO to work with MOD_HAYDN so that I can serve ASPX
pages via
an Apache webserver (1.3).
Unfortunalty the installation/configuration process is something that isnt
covered in the mod documentation.
Does anybody have any experience of getting this up and running? if so how?
From what I can gleam from the limited docs, the haydn module needs to be
compiled into Apache, and this can be done via the make script supplied with
the module. This process requires mod_so to be compiled into Apache :
mreyes@gandalf2:~$ /usr/sbin/apache -l
Compiled-in modules:
http_core.c
mod_so.c
mod_macro.c
suexec: enabled; valid wrapper /usr/lib/apache/suexec
mreyes@gandalf2:~$
When attempting to run the make script for the module I get the following
output/error :
mreyes@gandalf2:~/mod_haydn/mod_haydn-1.3-0.0.6$ make
/usr/bin/apxs -c -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-lmono -lgmodule-2.0 -ldl -lglib-2.0 -lm -lpthread -lgc src/mod_haydn.c
gcc -DLINUX=22 -DEAPI -DTARGET="apache" -DDB_DBM_HSEARCH=1
-DDEV_RANDOM=/dev/random -DUSE_HSREGEX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O1 -fPIC -DSHARED_MODULE -I/usr/include/apache-1.3
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c src/mod_haydn.c
gcc -shared -o src/mod_haydn.so mod_haydn.o -lmono -lgmodule-2.0 -ldl
-lglib-2.0 -lm -lpthread -lgc -lc -lm -lcrypt -ldb -ldb -lexpat
/usr/bin/ld: cannot find -lgc
collect2: ld returned 1 exit status
apxs:Break: Command failed with rc=1
make: *** [mod_haydn.so] Error 1
mreyes@gandalf2:~/mod_haydn/mod_haydn-1.3-0.0.6$
Now this is where is gets weird, although apache is configured with mod_so
support the "apxs" untility hasnt appeared anywhere, so I have copied this
from another machine and place it in the /usr/bin/ directory.
M Reyes
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Haydn-list mailing list
Hay...@li...
https://lists.sourceforge.net/lists/listinfo/haydn-list
|