Re: [Mono-list] mod_mono install

2005-08-26 Thread Janus Tougaard




Hello Jeremy.

It is possible to change the destination of those files.
But the first problem we'll have to look at, is if you have the
permissions to edit in the Apache configuration files. If you haven't
it is impossible to make mod_mono work.

Please give me further feedback on this =)

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
--



Jeremy Vaught wrote:

  
  
I'm trying to install mod_mono, but I'm installing on a hosted server,
and don't have write permissions in apache.
  
I can './configure' mod_mono and I can 'make'.  But when I run 'make
install', I get this:
  
cp .libs/mod_mono.so /usr/local/apache/libexec/mod_mono.so
cp: cannot create regular file `/usr/local/apache/libexec/mod_mono.so':
Permission denied
  
And so of course my installation aborts.  Can I change where this is
put and it will still work?  If so, how?
  
Thanks for your help,
  
Jeremy Vaught
ImBloggingThis.org
  

___
Mono-list maillist  -  Mono-list@lists.ximian.com
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  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mod_mono install

2005-08-26 Thread Janus Tougaard




Well i think it would be a quite difficult operation, maby impossible.
You can't make any Apache configuration your self from that directory,
have you told this guy from the hosting company that you are planing to
load a new module on their server? - Usaly this aint possible, they
wont. Also keep in mind that you'll have to install mono and XSP, have
you done that on the hosting server?

Have you tried to ask them if they just can put mono on it the real way?

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
--



Jeremy Vaught wrote:

  
  
Thanks Janus,
I only have permissions on '/home/jeremyvaught/'  However, I have been
in contact with the tech support, and I may be able to have them make
some configuration changes, if I know exactly what changes need to be
made.
  
I don't suppose this is possible, but can I install my a second
instance of apache in my directory?  Would this work as a work-around? 
Now that I think about it more, I'm pretty sure that wouldn't work.  :-(
  
Thanks again for your help,
  
Jeremy Vaught
  ImBloggingThis.org
  
  
On Fri, 2005-08-26 at 09:06 +0200, Janus Tougaard wrote:
   Hello Jeremy.

It is possible to change the destination of those files.
But the first problem we'll have to look at, is if you have the
permissions to edit in the Apache configuration files. If you haven't
it is impossible to make mod_mono work.

Please give me further feedback on this =)
  
   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
--


  
   

Jeremy Vaught wrote: 
 I'm trying to install mod_mono, but I'm
installing on a hosted server, and don't have write permissions in
apache.
  
I can './configure' mod_mono and I can 'make'.  But when I run 'make
install', I get this:
  
cp .libs/mod_mono.so /usr/local/apache/libexec/mod_mono.so
cp: cannot create regular file `/usr/local/apache/libexec/mod_mono.so':
Permission denied
  
And so of course my installation aborts.  Can I change where this is
put and it will still work?  If so, how?
  
Thanks for your help,
  
Jeremy Vaught
ImBloggingThis.org
  



___
Mono-list maillist  -  Mono-list@lists.ximian.com
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  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mod_mono on Apache 2, apxs error

2005-08-24 Thread Janus Tougaard




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/module

Re: [Mono-list] Mod_mono on Apache 2, apxs error

2005-08-22 Thread Janus Tougaard




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




  
  



begin:vcard
fn:Janus Tougaard

[Mono-list] Mod_mono on Apache 2, apxs error

2005-08-21 Thread Janus Tougaard




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]
Web-site: DaniJonex.NET
--



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