Hi Aleksandar.
That worked, great. The only failure was that i first ran ./configure
and then deleted the -S parameter, which didn't work. So i just
misunderstood Enzo, sorry about that. So thanks to both of you, I'll
begin to check the Bugzilla in the feature, sorry i didn't.
But thanks, it is so excellent!
Med venlig hilsen / Best Regards
----------------------------------
Janus Tougaard
Ridderhatten 316
DK-5220 Odense SØ
Phone: +45 6165 4801
E-mail: [EMAIL PROTECTED]
Web-site: DaniJonex.NET
----------------------------------
Aleksandar Radulovic wrote:
Hello, Janus..
I had the same problem, and I have fixed it by removing the last -S
parameter (-S PREFIX="$(prefix)") from the APXS lines. Mod_mono
version I am running with is 1.0.9.
Before running configure, change src/Makefile.in in the lines 471 and
472 file as follows:
@APACHE2_TRUE@ $(APXS) -S
LIBEXECDIR="$(DESTDIR)$(APXS_LIBEXECDIR)" -i -n mono mod_mono.la
@APACHE2_FALSE@ $(APXS) -S
LIBEXECDIR="$(DESTDIR)$(APXS_LIBEXECDIR)" -i -n mono .libs/mod_mono.so
Then, run ./configure with your options and it should work ok.
Regards,
alex.
On 8/22/05, Janus Tougaard <[EMAIL PROTECTED]> wrote:
Hi Enzo.
Thanks for looking at my problem =) But I'm not all sure of what to do =/
I have tried to look in the ./src/Makefile for some apxs line with -S
argues. I found it in the bottom, and removed four of them, here is how that
part of the file looked before deleting the -S argues:
install: $(lib_LTLIBRARIES)
$(mkinstalldirs) "$(DESTDIR)$(APXS_LIBEXECDIR)"
$(APXS) -S
LIBEXECDIR="$(DESTDIR)$(APXS_LIBEXECDIR)" -S
PREFIX="$(prefix)" -i -n mono mod_mono.la
# $(APXS) -S
LIBEXECDIR="$(DESTDIR)$(APXS_LIBEXECDIR)" -S
PREFIX="$(prefix)" -i -n mono .libs/mod_mono.so
And here is how it looks when the -S argues is gone:
install: $(lib_LTLIBRARIES)
$(mkinstalldirs) "$(DESTDIR)$(APXS_LIBEXECDIR)"
$(APXS) LIBEXECDIR="$(DESTDIR)$(APXS_LIBEXECDIR)"
PREFIX="$(prefix)" -i -n mono mod_mono.la
# $(APXS) -S
LIBEXECDIR="$(DESTDIR)$(APXS_LIBEXECDIR)" -S
PREFIX="$(prefix)" -i -n mono .libs/mod_mono.so
The last line is infunctional, but i have also tried to remove the -S from
that one, with no success.
I get the same output:
debian:~/mod_mono-1.0.9# make install
Making install in src
make[1]: Entering directory `/root/mod_mono-1.0.9/src'
/root/mod_mono-1.0.9/install-sh -d "/usr/lib/apache2/modules"
/usr/bin/apxs2 LIBEXECDIR="/usr/lib/apache2/modules"
PREFIX="/usr" -i -n mono mod_mono.la
Usage: apxs -g [-S <var>=<val>] -n <modname>
apxs -q [-S <var>=<val>] <query> ...
apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
[-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
[-Wl,<flags>] [-p] <files> ...
apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
make[1]: *** [install] Error 1
make[1]: Leaving directory `/root/mod_mono-1.0.9/src'
make: *** [install-recursive] Error 1
Can you still help me? - I see from the Bugzilla file it actually should be
a bug in Apache2/apxs. How should i react to that?
Med venlig hilsen / Best Regards
----------------------------------
Janus Tougaard
Ridderhatten 316
DK-5220 Odense SØ
Phone: +45 6165 4801
E-mail: [EMAIL PROTECTED]
Web-site: DaniJonex.NET
----------------------------------
Eduardo Garcia - enzo wrote:
Hi Janus
your problems its a little bug in apxs or apache build bug. to solve only
edit your src/Makefile and remove part all -S redefinition in the command
apxs
check this bugzilla file
http://bugzilla.ximian.com/show_bug.cgi?id=67459
cu.
enzo
Janus Tougaard wrote:
Hi there.
I'm trying to make mod_mono work with my Apache 2 server. Done it on Apache
1.3, so it should be possible?
I have installed mono and XSP. It works great, XSP can perfectly run
asp.NET scripts. The problem comes when i am trying to compile the mod_mono
source code, here are the facts i get about the setup after running the
configuration:
/
Configuration summary for mod_mono
* Installation prefix = /usr
* Apache version = 2.0
* Apache modules directory = /usr/lib/apache2/modules
* apxs = /usr/bin/apxs2
* apr-config = /usr/bin/apr-config
* Verbose logging (debug) = no
* mono prefix = /usr
* Default MonoApplicationsConfigDir =
/etc/apache2/mod-mono-applications
/Well, looks fine to me. But something might be wrong, since after running
'make' and then 'make install' i get some error about apxs. Here is the
output:
/debian:~/mod_mono-1.0.9# make install
Making install in src
make[1]: Entering directory `/root/mod_mono-1.0.9/src'
/root/mod_mono-1.0.9/install-sh -d "/usr/lib/apache2/modules"
/usr/bin/apxs2 -S LIBEXECDIR="/usr/lib/apache2/modules" -S
PREFIX="/usr" -i -n mono mod_mono.la
apxs:Error: no config variable PREFIX
Usage: apxs -g [-S <var>=<val>] -n <modname>
apxs -q [-S <var>=<val>] <query> ...
apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
[-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
[-Wl,<flags>] [-p] <files> ...
apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
make[1]: *** [install] Error 1
make[1]: Leaving directory `/root/mod_mono-1.0.9/src'
make: *** [install-recursive] Error 1
/
I can't figure out how to fix this. Any suggestions?
--
Med venlig hilsen / Best Regards
----------------------------------
Janus Tougaard
Ridderhatten 316
DK-5220 Odense SØ
Phone: +45 6165 4801
E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Web-site: DaniJonex.NET <http://danijonex.net/>
----------------------------------
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
|
begin:vcard
fn:Janus Tougaard
n:Tougaard;Janus
email;internet:[EMAIL PROTECTED]
tel;fax:+45 6593 0996
tel;home:+45 6593 0996
tel;cell:+45 6165 4801
x-mozilla-html:TRUE
version:2.1
end:vcard
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list