Re: [Mono-list] mod_mono Error: Blank Page with Apache / XSP

2003-01-26 Thread Daniel Lopez

Hi,

> When trying to source compile the the ModMono.dll I get:
> 
> mcs.exe:1653: WARNING **: cant resolve internal call to
> "Apache.Web.Request::[different functions]()" (tested without signature
> also)
> Your mono runtime and corelib are out of sync.

This warning is ok, is just the way the internal calls are specified.

> I've also tried the changes in the machine.config proposed by the FAQ.

Are you sure it is picking up the right machine.config?
The only cause I have found so far for the blank page is the auth config
info in machine.config

> 
> Maybe somebody could help me.

I am going to need some traces to try and troubleshoot this.
I'll send you private email

Cheers

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list



Re: [Mono-list] mod_mono permission denied

2003-02-02 Thread Daniel Lopez

Whcich version of Mono are you using, 0.19, CVS?
Which OS version/distribution?
What are the contents of machine.config? I am thinking this may be related to
number 4 in http://www.apacheworld.org/modmono/FAQ.txt, although I have not
seen the message you mention before

Cheers

Daniel

On Sun, Feb 02, 2003 at 01:12:05AM +0100, O.S. de Zwart,  endforward wrote:
> Hello,
> 
> I am getting the following error:
> 
> System.Web.HttpException:  ---> System.UnauthorizedAccessException:
> Access to the path "/home/ozwart/xsp/server/test/index.aspx" is denied.
> 
> at http://endforward.xs4all.nl/mono/index.aspx
> 
> the entire xsp tree is owned by apache apache and even 777. Any ideas?
> -- 
> Olle de Zwart
> www.endforward.com
> +31(0)6-52330739
> [EMAIL PROTECTED]
> 
> ___
> 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



Re: [Mono-list] mod_mono permission denied

2003-02-02 Thread Daniel Lopez

Glad you got it working :)
When accessing the links, there is a NullReference error, that has already
been fixed you can get the latest version from CVS
Cheers

Daniel

On Mon, Feb 03, 2003 at 02:16:24AM +0100, O.S. de Zwart,  endforward wrote:
> Thanks all!! Rebooting the machine did the magic trick. 
> 
> see it at http://endforward.xs4all.nl/mono/index.aspx
> 
> Olle
> 
> -- 
> Olle de Zwart
> www.endforward.com
> +31(0)6-52330739
> [EMAIL PROTECTED]
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list



[Mono-list] mod_mono rpm

2003-02-03 Thread Daniel Lopez

Hola,

Dave Hollis submitted an rpm spec, is in CVS at mod_mono/packaging/redhat/
I have created an rpm for Red Hat 8, and put it in
http://www.apacheworld.org/modmono/
If anybody wants to create packages for other formats/distributions that would
be great!

Cheers

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list



Re: [Mono-list] mod_mono rpm

2003-02-04 Thread Daniel Lopez
> Any ideas as to what to do here to get this to work?

Can you be more specific about what does not work.
I assume you have installed Apache 2, mono 0.19.
What kind of errors do you get on the browser, what in
/var/log/httpd/error_log ?

> Hi!
> 
> mod_mono don't work with another apache modules,  i try installing 
> mod_mono rpm version in Red Hat 8.0, but nothing is
> functioning.
> 
> Flávio
> 
> Any ideas as to what to do here to get this to work?
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list



Re: [Mono-list] mod_mono and blank page

2003-02-21 Thread Daniel Lopez

Ave you had a look at
http://www.apacheworld.org/modmono/FAQ.txt
?
The only known bug that I am still tracking down is
one that leaves in the error_log:
* ERROR **: file jit.c: line 4101 (mono_get_lmf_addr): should not be
reached
aborting...

But other than that it should work. If the cases in the FAQ do not solve it
for you, please send me the details of your error_log, Apache version, OS,
the steps that you have already tried etc. so I can try and reproduce it

Best regards

Daniel

> Hi all,
> has anybody solved the mod_mono (Apache) and the blank page problem?
> 
> 
> ___
> 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



[Mono-list] AppDomain

2003-02-24 Thread Daniel Lopez

Hi,

I am looking for the correct way to call a method in a transparent proxy
from the C side of mono. When I create an object in a different AppDomain
and call it from C# everything is fine, but when I do it from C, it gets
executed in the same domain.
I attach some sample code to demonstrate what I mean.

In c# the result of compiling and running test.exe:
mcs test.cs /r:System.Web
mono test.exe

Main AppDomain: test.exe
Process request AppDomain: 56ca2e66

And compiling and running test.c
mcs test.cs /r:System.Web /target:library
cp test.dll /usr/lib  (or somewhere where it will be picked up from the path)
gcc -o test test.c pkg-config --cflags --libs mono -lm
./test

Main Domain: testing
Process request AppDomain: testing


So what is the correct way of invoking the method so it will be executed in
the other domain? I tried every method I could think of with no luck.

Best regards

DAniel
#include 
#include 
#include 

int
main(int argc, char* argv[]) {
  MonoMethodDesc *desc;
  MonoClass *class, *klass;
  MonoMethod *method;
  MonoAssembly *assembly;
  MonoAssemblyName aname;
  MonoObject *sampleApplicationHost;
  MonoDomain *domain;
  gpointer params[2];
  int i;

  domain = mono_jit_init ("testing");
  mono_thread_attach(domain);  
  aname.name = "test.dll";
  /* Specifying NULL base dir means it will look in path */
  if ((assembly = (MonoAssembly *)mono_assembly_load (&aname, NULL, NULL)) == NULL) {
printf ("Could not find test.dll\n");
exit(1);
  }
  class = mono_class_from_name (assembly->image, "", "SampleApplicationHost");
  if (class == NULL) {
printf ("Could not find class");
  }
  domain->entry_assembly = assembly;
  domain->setup->application_base = mono_string_new (domain, "/a");
  domain->setup->configuration_file = mono_string_new (domain, "/a.config");
  desc = mono_method_desc_new ("::CreateApplicationHost(string,string)", 0);
  method = mono_method_desc_search_in_class (desc, class);
  params[0] = mono_string_new (domain, "/a"); 
  params[1] = mono_string_new (domain, "/b"); 
  // What gets returned is a TransparentProxy
  sampleApplicationHost = mono_runtime_invoke (method, NULL, params, NULL);
  desc = mono_method_desc_new ("::ProcessRequest()", 0);  
  // I also tried 
  // processRequestMethod = mono_method_desc_search_in_class (mono_method_desc_new 
("::ProcessRequest()", 0), class);
  klass = ((MonoTransparentProxy *)sampleApplicationHost)->klass;
  for (i = 0; i < klass->vtable_size; ++i) {
if (!strcmp(klass->vtable[i]->name,"ProcessRequest")) break;
  }
  printf("Main Domain: %s\n", mono_domain_get()->friendly_name);
  mono_runtime_invoke (klass->vtable[i], sampleApplicationHost, NULL, NULL);
}

using System;
using System.Web.Hosting;
//using Mono.ASPNET;


public class SampleApplicationHost : MarshalByRefObject
{
  public static object CreateApplicationHost (string virtualPath, string baseDirectory)
{
  return ApplicationHost.CreateApplicationHost (typeof (SampleApplicationHost), 
virtualPath, baseDirectory);
}

  public void ProcessRequest ()
{
  Console.WriteLine("Process request AppDomain: " + 
AppDomain.CurrentDomain.FriendlyName);
}
}

class Mono {
  static void Main() {
SampleApplicationHost a = SampleApplicationHost.CreateApplicationHost("/b","/a") 
as SampleApplicationHost;
Console.WriteLine("Main AppDomain: " + AppDomain.CurrentDomain.FriendlyName);
a.ProcessRequest();
  }
}


Re: [Mono-list] AppDomain

2003-02-24 Thread Daniel Lopez

I get the same result :(
I looked at mono_object_get_virtual_method before, and if i understand
correctly, that gives me the real method of the object that will be called
by the proxy, but it still gets executed in the same domain?

> This should work:
> 
> mono_runtime_invoke (mono_object_get_virtual_method(sampleApplicationHost,
> klass->vtable[i]), sampleApplicationHost, NULL, NULL);
> 
> Lluis
> 
> - Original Message -
> From: "Daniel Lopez" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, February 24, 2003 7:01 PM
> Subject: [Mono-list] AppDomain
> 
> 
> >
> > Hi,
> >
> > I am looking for the correct way to call a method in a transparent proxy
> > from the C side of mono. When I create an object in a different AppDomain
> > and call it from C# everything is fine, but when I do it from C, it gets
> > executed in the same domain.
> > I attach some sample code to demonstrate what I mean.
> >
> > In c# the result of compiling and running test.exe:
> > mcs test.cs /r:System.Web
> > mono test.exe
> >
> > Main AppDomain: test.exe
> > Process request AppDomain: 56ca2e66
> >
> > And compiling and running test.c
> > mcs test.cs /r:System.Web /target:library
> > cp test.dll /usr/lib  (or somewhere where it will be picked up from the
> path)
> > gcc -o test test.c pkg-config --cflags --libs mono -lm
> > ./test
> >
> > Main Domain: testing
> > Process request AppDomain: testing
> >
> >
> > So what is the correct way of invoking the method so it will be executed
> in
> > the other domain? I tried every method I could think of with no luck.
> >
> > Best regards
> >
> > DAniel
> >
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] AppDomain

2003-02-24 Thread Daniel Lopez
> > I am looking for the correct way to call a method in a transparent proxy
> > from the C side of mono. When I create an object in a different AppDomain
> > and call it from C# everything is fine, but when I do it from C, it gets
> > executed in the same domain.
> > I attach some sample code to demonstrate what I mean.
> 
> I am quite unsure if we will support such things. Cant you put that code
> into a managed method?

thanks! that made the trick, I added:

public void ProcessRequest2 ()
{
Console.WriteLine("Process2 request AppDomain: " + 
AppDomain.CurrentDomain.FriendlyName);
this.ProcessRequest();
}
  
Main Domain: testing
Process2 request AppDomain: testing
Process request AppDomain: 175a9821

The reason for not supporting doing this directly from C, is that you have not
found a need for it or because it is 'bad practice'?

Best regards

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] AppDomain

2003-02-24 Thread Daniel Lopez
> do you really need such functionality inside unmanaged code? I guess you
> can also do that in managed code?

I am using it in mod_mono to create an application host and tell it to
process a request, with the application host being created in a different
AppDomain. It worked with Mono 0.19 because there was a hack in the
code that replicated the domain setup, but Mono 0.20 fixed how domains work,
the hack got removed and mod_mono broke and I am trying to glue the pieces
together :)  The managed code approach you suggested works indeed and I will
likely use that as is the simplest solution.

Best regards

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] mod_mono for Mono 0.20

2003-02-25 Thread Daniel Lopez

You can get it from CVS. Tarball and rpm available at
http://apacheworld.org/modmono/
This release brought to you thanks to Dick, Gonzalo, Dietmar and everybody
else that helped answer my questions!

Daniel



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mod_Mono

2003-02-26 Thread Daniel Lopez
Hi

Did you update corlib.dll, as described in the download page, what do you
get in teh error_log page?

On Wed, Feb 26, 2003 at 12:21:26PM -0500, Karl Gauthier wrote:
> Hello,
> 
> I installed the Mono 0.20 rpm on my Red Hat 8.0 and I also installed
> Mod-Mono and I did nothing else than install those RPM's.
> 
> I can always access /var/www/html/mrtg/index.html: that is never a
> problem...
> 
> This is my mono.conf file:
> 
>   # Mono Configuration for Apache
> 
>   LoadModule mono_module modules/libmod_mono.so
>   MonoApplication /mono /var/www/html/mono
> 
> When it is like that and I try to access localhost/mono/index.aspx, it
> does not show and it gets stuck on 'Sending request to localhost...'
> 
> 
> Other try:
>   # Mono Configuration for Apache
> 
>   LoadModule mono_module modules/libmod_mono.so
>   #MonoApplication /mono /var/www/html/mono
> 
> When it is like that and I try to access localhost/mono/index.aspx, it
> does not show and it gets stuck on 'Connecting to www.localhost.com...'
> 
> I also ran those commands:
> chown apache.apache /var/www/.wapi
> chmod 700 /var/www/.wapi
> chown -R apache.apache /var/www/html/mono
> 
> Is there anything else I need to do? Like setting some Apache Settings?
> 
> Thank you very much,
> Karl
> R & D
> 2K1Soft Solutions inc.
> 
> 
> ___
> 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


Re: [Mono-list] Perl.NET on MONO?

2003-02-26 Thread Daniel Lopez

What Activestate developed for Perl (and Python iirc) was a compiler that
targeted the .NET platform, that is it would take Perl or Python code and
compile it into CIL. That is useful, but a lot of work to get right
(Activestate just developed prototypes, again iirc) and may break if you
have Perl code that depends on thirdparty C-libraries, etc.
If you have an existing Perl codebase, it is probably easier to embed the
Mono runtime in Perl, and extend your code base 'from the inside', just like
this code from Paolo does:
http://primates.ximian.com/~lupus/slides/embed/Mono-0.01.tar.gz

Best regards

Daniel

On Tue, Feb 25, 2003 at 10:08:03PM -0500, Julio Cesar Silva wrote:
> 
> Hi.
> 
> I have been following your progress.
> 
> I am planning to start using mono on my RHL 8.0 box.
> 
> Is there an effort to get Perl to run and compile on mono?
> 
> ActiveState (if memory serves) developed PerlNet (Perl for .NET)I am 
> not sure if there effort was OpenSource or not.
> 
> I ask this because I may have an opportunity to work with a 35 node (70 
> CPU) Linux cluster with a custom Perl Mega Appplication.  If I could run 
> all the legacy code on mono and then extend the application via C#, that 
> would be most cool.
> 
> Any thoughts?
> 
> Thank you for your time!!
> 
> Go mono!
> 
> -Julio
> 
> 
> _
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> ___
> 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


Re: [Mono-list] Perl.NET on MONO?

2003-02-26 Thread Daniel Lopez
On Wed, Feb 26, 2003 at 08:53:26AM -0800, Daniel Lopez wrote:
> 
> What Activestate developed for Perl (and Python iirc) was a compiler that
> targeted the .NET platform, that is it would take Perl or Python code and
> compile it into CIL.

To correct myself, they used to have that (Perl.Net research) but they also
have a commercial product now that uses an embedded Perl interpreter

Cheers

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problems with XSP

2003-02-28 Thread Daniel Lopez

Can you try http://127.0.0.1:8080/index.aspx directly ?

On Fri, Feb 28, 2003 at 02:34:03AM -0600, Carlos Alberto Cortez wrote:
> Hi!
> 
> 
> Trying to play for a few minutes with the XSP server, I downloaded it and 
> compiled ... everything was fine, no error messages, but ... when I tried to 
> connect me to the 8080 port ( the default ) or even the 80 port, it shows me
> this message ( I write # mono server.exe ) ...
> 
> Error
> 
> System.Web.HttpException: File '/mono/xsp/server/' does not exist
> in <0x000e4> 00 System.Web.StaticFileHandler:ProcessRequest
> (System.Web.HttpContext)
> in <0x001b6> 00 .ExecuteHandlerState:Execute ()
> in <0x0005e> 00 .StateMachine:ExecuteState (IStateHandler,bool&)
> 
> Any idea ???
> 
> Regards,
> Carlos.
> 
> -- 
> --
> /* The definition of myself */
> using Cortez;
> using GeniusIntelligence;
> 
> public class Carlos : Human, IGenius, ILinuxUser {
> 
>   static void Main () {
> 
>   Me.Run();
> 
>   }
> 
>   static string PHON : 2 34 31 63
>   static string NICKNAME : Zero
> 
> }
> 
> --
> ___
> 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


Re: [Mono-list] Embedding Mono

2003-03-03 Thread Daniel Lopez

> 2) If I build with "./configure --with-gc=boehm", any assembly run by
> mono segfaults with an assertion on line 4099 of jit.c
> (mono_get_lmf_addr) on cleanup

This occurs with regular Mono from the command line or when embedding?
When embedding, with recent versions of mono you need to do certain things
when running managed code in the main thread (either mono_thread_attach() or
special calls for running managed code in a separate thread)
Otherwise you will get that error. You can have a look at embed/ in the
documentation directory 

cheers

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ASP.NET, mod_mono, Apache

2003-03-05 Thread Daniel Lopez
Hi!

> processes, not nuts and bolts development. I think there's a place for
> people like me, but so far the focus of the Mono project has _been_ on the
> nuts and bolts. That will very likely continue for awhile.

Mono is still a work in progress, the focus will be in the nuts and bolts
for a while. Large parts of the framework have already been implemented
and can be useful, but it is not at a stage where it focus on the user
friendly side of things.

> -  Is it possible to make the ASP.NET/Apache installation very fool
> proof? I have found some typically rough install guides, but they only
> mention Apache 2. I still run Apache 1.3 because I have many users on my
> linux server and they've lobbied against Apache 2. So my request would be
> that mod_mono have very clear, foolproof instructions or packages that work
> with the latest official releases of Apache (1.3.27 and 2). The idea is that
> someone like me (a business type developer with some knowledge of DEB's and
> RPM's) could execute an install and have a sample website running
> automatically. Samples for web forms in this installation would be
> extraordinarily helpful.

There's already an rpm module for Apache 2, for Red Hat 8, that includes
sample pages, etc.  We look forward to contributions of .deb packages or
other formats.
Modules developed for Apache 2 are not compatible with Apache 1.3
I plan to support Apache 1.3 in the future but the current focus is on
Apache 2, because of the better support for threading and Windows.
You can always keep a copy of Apache 2 running in paralell with your Apache
1.3 (either different port or using a reverse proxy)

> I have played with the Mono testing web server, but
> I think mod_mono is really the killer app that needs to be pushed for people
> like myself. Maybe there should be an automatically installed test website
> under Apache that runs as localhost/monotest or something. I could help in
> this are if you think it's a good idea.

It's already there, when you install the RPM (and restart apache) you can
find teh XSP samples in
http://localhost/mono/index.aspx
I have read somewhere that the current ASP.NET implementation can run
Microsoft petstore-like sample application (IBuySpy?)


> I promise to work on testing things and reporting issues in the near future.
> My focus is really from a business perspective (again). How can I write a
> very typical presentation tier, business tier, and data tier in Mono
> connected to a PostgreSQL or MySQL database? Well, I know how to write the
> code in .NET and I know all the voodoo of .NET on IIS 5/6. I want to do
> whatever it takes to help Mono start showing _real_ examples of this in
> Linux/Apache. So the most important namespaces are System.Data,
> System.Data.MySqlClient, System.Xml (less so), System.Web.UI.WebControls,
> System.Web.UI.HtmlControls, and System.Collections. I'm sure I'm forgetting
> something.

I think the best way to proceed is to start programming or porting your
ASP.NET applications, and when you run into functionality that has not been
implemented, implement it and submit a patch to incorporate it in Mono.
Documentation writing and well documented bug reports thru the bug tracking
system are also welcome.

Cheers

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mod_mono error

2003-03-06 Thread Daniel Lopez

As mentioned in the FAQ, you need to create the .wapi/ directory in teh home
directory of the user Apache runs as. If you are using Apache taht came with
your distribution, it is /var/www/. If you installed Apache from source,
say in /usr/local/apache2/ then you need to create the
/usr/local/apache2/htdocs/.wapi directory and make sure has the right
permissions and is owned by the user Apache run as.
I can see how the current wording in the FAQ entry can be confusing, so I will
be updating it to be more specific. but this should solve it, let me know

Cheers

daniel

> Hi,
> 
> Does anyone recognize what the error below means?
> 
> --start of error-
> [Wed Mar 05 21:49:19 2003] [notice] Apache/2.0.44 (Unix) mod_mono/0.3 
> configured -- resuming normal operations
> 
> ** (process:22789): CRITICAL **: : shared file [/.wapi/shared_data-0] open 
> error: No such file or directory
> 
> ** (process:22789): WARNING **: Failed to attach shared memory! Falling 
> back to non-shared handles
> [Wed Mar 05 21:49:37 2003] [error] mod_mono: Could not initialize 
> ModMono.dll. Is it in your path?
> --end of error--
> 
> I haven't done anything with the "/var/www/.wapi/" . I am not sure if this 
> is necessary since I installed the apache 2.0.44 from the source.
> 
> Also, the modmono.dll is in /usr/lib
> 
> I am currently stuck. Any help would be highly appreciated.
> 
> Thanks,
> -G
> 
> 
> 
> 
> _
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> ___
> 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


[Mono-list] mod_mono 0.3.6

2003-03-11 Thread Daniel Lopez

Works with 0.23 and fixes the following error:

System.ArgumentOutOfRangeException: Argument is out of range
in <0x00052> 00 System.String:Substring (int)

that prevented Apache from serving pages other than the ASP.NET ones
when mod_mono is active.
You can get the tarball and Red Hat 8.0 RPM at
http://www.apacheworld.org/modmono/

Cheers

Daniel


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] mod_mono and user dirs

2003-03-12 Thread Daniel Lopez

Miguel suggested to allow individual users to be able to run their
own .aspx pages from their home directories.
In Apache, you can use the UserDir configuration directive to tell the web
server that when 
http://www.example.com/~userfoo/index.aspx is requested, it should return
/home/userfoo/public_html/index.aspx

But in ASP.NET, all requests go thru an ApplicationHost, that has a virtual
path and a physical path, which are different for each user. I have thought
of the following implementation possibilities:
- Detect that a user directory is being requested and create an application
host on the fly for that user
- Create an ApplicationHost that is shared by all users, but modify
HttpWorkerRequest so when the translated path is requested, it will return
the appropriate user directory with public_html inserted in the right place.

I am not entirely satisfied with these, specially because I dont know if b)
will have some unwanted side effects
Do you have any suggestions on the best way to approach this or a link to
relevant discussion/info?
I am posting this to some ASP.NET groups, but since they are windows centric
I dont think they will know what I am talking about :-)

Cheers

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mod_mono and user dirs

2003-03-12 Thread Daniel Lopez

> You could also make a HttpModule that checks for /~ that into a correct path (that could be saved in web.config or other cfg
> file)

I can do that with Apache (and reuse the UserDir directive), but when do you
use that information? My guess was overriding PathTranslated in
HttpWorkerRequest, but it just does not feel right :)
As you suggested, I will look for examples of HttpModules that change the
physical path and see how they do it.

thanks!


> > -Original Message-
> > From: Daniel Lopez [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, March 12, 2003 11:14 AM
> > To: [EMAIL PROTECTED]
> > Subject: [Mono-list] mod_mono and user dirs
> > 
> > 
> > 
> > Miguel suggested to allow individual users to be able to run their
> > own .aspx pages from their home directories.
> > In Apache, you can use the UserDir configuration directive to 
> > tell the web
> > server that when 
> > http://www.example.com/~userfoo/index.aspx is requested, it 
> > should return
> > /home/userfoo/public_html/index.aspx
> > 
> > But in ASP.NET, all requests go thru an ApplicationHost, that 
> > has a virtual
> > path and a physical path, which are different for each user. 
> > I have thought
> > of the following implementation possibilities:
> > - Detect that a user directory is being requested and create 
> > an application
> > host on the fly for that user
> > - Create an ApplicationHost that is shared by all users, but modify
> > HttpWorkerRequest so when the translated path is requested, 
> > it will return
> > the appropriate user directory with public_html inserted in 
> > the right place.
> > 
> > I am not entirely satisfied with these, specially because I 
> > dont know if b)
> > will have some unwanted side effects
> > Do you have any suggestions on the best way to approach this 
> > or a link to
> > relevant discussion/info?
> > I am posting this to some ASP.NET groups, but since they are 
> > windows centric
> > I dont think they will know what I am talking about :-)
> > 
> > Cheers
> > 
> > Daniel
> > ___
> > 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


Re: [Mono-list] mod_mono and user dirs

2003-03-12 Thread Daniel Lopez


> In IIS 6 a new term was introduced, a web garden. A web garden is an
> application host that hosts several applications on the same process.
> It is also possible (of course) to create several web gardens.

Oh, I was not aware of this, I´ll read up on that 

> So as I see it we have the following options:
> 
> - Update the application host to receive as a parameter several paths.
> Each path represents an application. This means that every user path
> will be manually enter to the config. This is also useful for applying a
> web garden concept in mod_mono.

You can do that with MonoApplication /~ /home/
The problem is adding the public_html in the right place, the workaround I
suggested so far was 
MonoApplication /~ /some/path
and then soft-linking the public_html to there

> - Add a parameter to the application host that will recognize a pattern
> that will be interpreted as a user home directory. By default it can be
> paths with a "~" sign, but it can also be any kind of pattern (for
> example a path named home_username). Perhaps it will be useful to allow
> adding some kind of a loadable filter that will be able to hold this
> logic. This will allow a nicer approach in windows so we can have a
> source path (equivalent to /home/) and underneath it a filter that will
> process the received user home directory name and convert it to the
> physical path according to some kind of a logic.
> 
> So we will have s path that looks like this:
> http://myserver/mono/~username/ or perhaps it will even look like this:
> http://myserver/mono/user_joe/
> 
> 
> - Write a user pages application host which specifically works for user
> home directories.
> 
> In this case the IIS 6 web garden model seems like a logical choice and
> although there is currently no support for something like user pages,
> perhaps it will be best to combine the 2 first suggestions I have made
> so we will support a similar concept of web garden while still being
> able to serve user pages.
> 
> What do you think about it?

I like the ideas, what I am trying to figure out is where to do the
transformations. Patrik suggested HttpModule, I am going to look for
examples in which an HttpModule is used to change the physical path.
The other one that I had in mind originally is changing MapPath, so if a
certain flag is set, it will use the apache path_translated. That will allow
us not only use UserDir apache directive, but take advantage of all other
apache modules that map virtual to physical paths (such as mod_rewrite).
That will allow to easily implement, for example, the mapping on Windows
that you suggested 

Cheers

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] mod_mono and userdir

2003-03-12 Thread Daniel Lopez

I believe part of what I want can be accomplished with 

HttpContext.RewritePath()

Not currently implemented in Mono, I´ll look into implementing it.
This can then be called from an HttpModule

Cheers

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mod_mono and userdir

2003-03-12 Thread Daniel Lopez

Yes, I already looked at the HttpApplication events and in the System.Web
namespace and could not find a path resolve event? Should I be looking
somwehre else?
The current place I am thinking on hooking is in BeginRequest

> There is a event that is called during path resolve, that could resolve that
> path into another physical path (just change it). I don't have time to make
> a poc now but take a look in MSDN.
> 
> Cheers,
>  Patrik
> 
> > -Original Message-
> > From: Daniel Lopez [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, March 12, 2003 12:35 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Mono-list] mod_mono and userdir
> > 
> > 
> > 
> > I believe part of what I want can be accomplished with 
> > 
> > HttpContext.RewritePath()
> > 
> > Not currently implemented in Mono, I´ll look into implementing it.
> > This can then be called from an HttpModule
> > 
> > Cheers
> > 
> > Daniel
> > ___
> > 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


Re: [Mono-list] mod_mono problems

2003-03-13 Thread Daniel Lopez

The warnings while compiling ModMono.dll are normal, because some functions are
declared as being provided by Mono, but the compiler cant find them in the
runtime (that is ok, they will be provided by mod_mono, not Mono)
When you mention crashes, I guess you refer to segfaults or do you get some
other errors?
Are you using a threaded MPM, like the worker MPM? That is the only time I
have seen segfaults (I am currently looking at this, Alp Toker mentioned it
to me)
Have you tried mod_mono RPM?
If that does not fix it, can you email me off-list your error_log?

Thanks!

Daniel


> Hi,
> 
> I have a RH8.0 box with mono-0.23 installed from RPMs. I have compiled a
> couple of small programs on it without any problem but I am getting a lot of
> warnings compiling ModMono.dll. The result of this compilation (ModMono.dll)
> crashes my apache 2.0.44 everytime I try to access /mono. The xsp server
> works fine when started as a standalone application. I also tried with the
> code in cvs as it was last night with the same results. The apache module
> (mod_mono.so) compiles and installs without any problem.
> 
> It seems there is a problem with my mono install, I removed the installed
> RPMs and made sure there was no remaining files on the system and then
> installed again the RPMs getting the same results.
> 
> Is there anything I can do to make it work?
> 
> Thanks
> 
> RJ
> 
> 
> mcs /debug+ /debug:full /nologo /r:System.Web.dll /target:library
> /out:ModMono.dll ApacheApplicationHost.cs ApacheWorkerRequest.cs
> MonoWorkerRequest.cs IApplicationHost.cs Request.cs
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetConnectionInternal(intptr)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetHttpVersionInternal(intptr)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetHttpVerbNameInternal(intptr)" (tested without
> signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::SendResponseFromMemoryInternal(intptr,byte[],int)"
> (tested without signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::SetResponseHeaderInternal(intptr,string,string)"
> (tested without signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetRequestHeaderInternal(intptr,string)" (tested
> without signature also)
> Your mono runtime and corlib are out of sync.
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
> ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> "Apache.

Re: [Mono-list] mod_mono problems

2003-03-13 Thread Daniel Lopez
Hola Rogelio,

Currently it only works with prefork MPM. I can reproduce the problem and I
have set aside some time this weekend to look into it, unless somebody
figures it out first (in that case he/she should send a patch please ;)

> Thanks Daniel for your response. Apache segfaults, thats the only error I got 
> in logs/erros_log. Yes, My apache is compiled using the the worker MPM. I 
> remember that I installed the mod_module the first time it was available to the 
> public some time ago and it worked fine but at that time I was using prefork 
> MPM. I cannot use the RPM because it is compiled for the version of apache that 
> comes in RH 8.0 and the module fails to load in 2.0.44.
> 
> Let me know if you find any solution.
> 
> Thanks for you help.
> 
> Rogelio
> 
> > 
> > The warnings while compiling ModMono.dll are normal, because some functions
> > are
> > declared as being provided by Mono, but the compiler cant find them in the
> > runtime (that is ok, they will be provided by mod_mono, not Mono)
> > When you mention crashes, I guess you refer to segfaults or do you get some
> > other errors?
> > Are you using a threaded MPM, like the worker MPM? That is the only time I
> > have seen segfaults (I am currently looking at this, Alp Toker mentioned it
> > to me)
> > Have you tried mod_mono RPM?
> > If that does not fix it, can you email me off-list your error_log?
> > 
> > Thanks!
> > 
> > Daniel
> > 
> > 
> > > Hi,
> > > 
> > > I have a RH8.0 box with mono-0.23 installed from RPMs. I have compiled a
> > > couple of small programs on it without any problem but I am getting a lot
> > of
> > > warnings compiling ModMono.dll. The result of this compilation
> > (ModMono.dll)
> > > crashes my apache 2.0.44 everytime I try to access /mono. The xsp server
> > > works fine when started as a standalone application. I also tried with the
> > > code in cvs as it was last night with the same results. The apache module
> > > (mod_mono.so) compiles and installs without any problem.
> > > 
> > > It seems there is a problem with my mono install, I removed the installed
> > > RPMs and made sure there was no remaining files on the system and then
> > > installed again the RPMs getting the same results.
> > > 
> > > Is there anything I can do to make it work?
> > > 
> > > Thanks
> > > 
> > > RJ
> > > 
> > > 
> > > mcs /debug+ /debug:full /nologo /r:System.Web.dll /target:library
> > > /out:ModMono.dll ApacheApplicationHost.cs ApacheWorkerRequest.cs
> > > MonoWorkerRequest.cs IApplicationHost.cs Request.cs
> > > ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> > > "Apache.Web.Request::GetConnectionInternal(intptr)" (tested without
> > > signature also)
> > > Your mono runtime and corlib are out of sync.
> > > When you update one from cvs you need to update, compile and install
> > > the other too.
> > > Do not report this as a bug unless you're sure you have updated correctly:
> > > you probably have a broken mono install.
> > > If you see other errors or faults after this message they are probably
> > > related
> > > and you need to fix your mono install first.
> > > ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> > > "Apache.Web.Request::GetHttpVersionInternal(intptr)" (tested without
> > > signature also)
> > > Your mono runtime and corlib are out of sync.
> > > When you update one from cvs you need to update, compile and install
> > > the other too.
> > > Do not report this as a bug unless you're sure you have updated correctly:
> > > you probably have a broken mono install.
> > > If you see other errors or faults after this message they are probably
> > > related
> > > and you need to fix your mono install first.
> > > ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> > > "Apache.Web.Request::GetHttpVerbNameInternal(intptr)" (tested without
> > > signature also)
> > > Your mono runtime and corlib are out of sync.
> > > When you update one from cvs you need to update, compile and install
> > > the other too.
> > > Do not report this as a bug unless you're sure you have updated correctly:
> > > you probably have a broken mono install.
> > > If you see other errors or faults after this message they are probably
> > > related
> > > and you need to fix your mono install first.
> > > ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal call to
> > > "Apache.Web.Request::SendResponseFromMemoryInternal(intptr,byte[],int)"
> > > (tested without signature also)
> > > Your mono runtime and corlib are out of sync.
> > > When you update one from cvs you need to update, compile and install
> > > the other too.
> > > Do not report this as a bug unless you're sure you have updated correctly:
> > > you probably have a broken mono install.
> > > If you see other errors or faults after this message they are probably
> > > related
> > > and you need to fix your mono install first.
> > > ** (/usr/bin/mcs.exe:13055): WARNING **: cant resolve internal ca

Re: *****SPAM***** [Mono-list] [Myricom help #17446]Can you help me?(.net on redhat8.0)

2003-03-13 Thread Daniel Lopez

Oops, I missed this one.

> >  I have a application abount .net(c#) on windows 2000,but i am  not able to use it 
> > on redhat8.0.
> >  If you would like help me,you can mail me a instruction about installing asp.net 
> > on redhat8.0.
> >  especially how to  dispose application.
> >  Thank you very much.

WIth mono 0.23, you dont need the corlib.dll, etc. that you describe below.
Just install the mod_mono rpm, it will (should) work out of the box



On Tue, Mar 11, 2003 at 07:06:48PM +0800, [EMAIL PROTECTED] wrote:
> SPAM:  Start SpamAssassin results --
> SPAM: This mail is probably spam.  The original message has been altered
> SPAM: so you can recognise or block similar unwanted mail in future.
> SPAM: See http://spamassassin.org/tag/ for more details.
> SPAM: 
> SPAM: Content analysis details:   (6.1 hits, 5 required)
> SPAM: Hit! (1.0 point)   From: ends in numbers
> SPAM: Hit! (1.0 point)   Subject: contains a question mark
> SPAM: Hit! (0.6 points)  From: does not include a real name
> SPAM: Hit! (3.0 points)  URI: Uses a dotted-decimal IP address in URL
> SPAM: Hit! (0.5 points)  Received via a relay in ipwhois.rfc-ignorant.org
> SPAM:[RBL check: found 13.145.135.61.ipwhois.rfc-ignorant.org., 
> type: 127.0.0.6]
> SPAM: 
> SPAM:  End of SpamAssassin results -
> 
> > Hello my dear friend:
> > I am a linux lover,i am installing mono.
> > I installed it following the next step:
> > http://www.apacheworld.org/modmono/INSTALL
> > a) Install Mono 0.20
> > Install the Mono rpms from 
> > http://www.go-mono.com/download.html
> > b) Install Apache
> > httpd-2.0.40-8.i386.rpm
> > httpd-devel-2.0.40-8.i386.rpm
> > c) mod_mono
> > http://www.apacheworld.org/modmono/
> > download  Red Hat 8.0 rpm,
> > download  corlib.dll.tar.gz 
> > copy it over your existing corlib.dll 
> > d) XSP web server (0.3) 
> > chown -R apache.apache /home/user/mono/install/xsp/server/test
> > e) Configure Apache
> > Edit the /etc/httpd/conf/httpd.conf file and add the following:
> > 
> > LoadModule mono_module libmod_mono.so
> > MonoApplication /mono /home/user/mono/install/xsp/server/test
> > mkdir /var/www/.wapi/
> > chown apache.apache /var/www/.wapi
> > chmod 700 /var/www/.wapi
> > f) Start apache 
> > As root, type:
> > /etc/init.d/httpd start
> > g) Browse the examples
> > http://127.0.0.1/mono/index.aspx
> > 
> >  Now i can look  around those examples,
> > 
> >  I have a application abount .net(c#) on windows 2000,but i am  not able to use it 
> > on redhat8.0.
> >  If you would like help me,you can mail me a instruction about installing asp.net 
> > on redhat8.0.
> >  especially how to  dispose application.
> >  Thank you very much.
> >  I am a chinese.
> >  I would lile make a friend with you.
> >  please mail me as quickly as possible.
> > 
> 
> ___
> 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


[Mono-list] Rewriting path with an HttpModule

2003-03-17 Thread Daniel Lopez

As mentioned earlier, I am developing an ASP.NET HttpModule that maps URLs like

~/username/foo/bar.aspx

to the file on disk

/home/username/public_html/foo/bar.aspx

In a similar way to how Apache mod_userdir does.
That requires implementing RewritePath and changing the PhysicalFilePath
returned, small changes that I already commited.
The problem that I am running into is that some parts of the current codebase
assume that that file path does not change in the life of the request and
that is also rooted on AppPath.
I am looking for the minimal changes to get this to work, I attach a small
pacth that works, but since I am not familiar with that part of the
codebase, can you have a look before I apply? 

I also attach the sample module and a makefile. To test this, you will
need to copu UserDir.dll to where your other dlls are and add the following
to your machine.config in the  section 




 
Index: class/System.Web/System.Web.Compilation/AspGenerator.cs
===
RCS file: /cvs/public/mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs,v
retrieving revision 1.32
diff -u -r1.32 AspGenerator.cs
--- class/System.Web/System.Web.Compilation/AspGenerator.cs 10 Mar 2003 06:41:26 
-  1.32
+++ class/System.Web/System.Web.Compilation/AspGenerator.cs 17 Mar 2003 13:11:45 
-
@@ -1908,8 +1908,13 @@
 
if (templatePath == appPath)
return "/";
+   if (templatePath.StartsWith(appPath)) {
+   templatePath = templatePath.Substring (appPath.Length);
+   } else {
+   // If it is a rewrite, assume it is application path for now
+   return "/";
+   }
 
-   templatePath = templatePath.Substring (appPath.Length);
if (Path.DirectorySeparatorChar != '/')
templatePath = templatePath.Replace 
(Path.DirectorySeparatorChar, '/');

Index: class/System.Web/System.Web.UI/TemplateControlParser.cs
===
RCS file: /cvs/public/mcs/class/System.Web/System.Web.UI/TemplateControlParser.cs,v
retrieving revision 1.4
diff -u -r1.4 TemplateControlParser.cs
--- class/System.Web/System.Web.UI/TemplateControlParser.cs 18 Dec 2002 02:17:17 
-  1.4
+++ class/System.Web/System.Web.UI/TemplateControlParser.cs 17 Mar 2003 13:11:45 
-
@@ -19,7 +19,10 @@
internal object GetCompiledInstance (string virtualPath, string 
inputFile, HttpContext context)
{
Context = context;
-   InputFile = MapPath (virtualPath);
+   if (inputFile == null) {
+   inputFile = MapPath (virtualPath);
+   }
+   InputFile = inputFile;
Type type = CompileIntoType ();
if (type == null)
return null;
CSC=mcs
CSCFLAGS+= /debug+ /debug:full /nologo

# 
REFERENCES= System.Web
REFS= $(addsuffix .dll, $(addprefix /r:, $(REFERENCES)))
SOURCES = UserDir.cs

all: UserDir.dll

UserDir.dll: $(SOURCES)
$(CSC) $(CSCFLAGS) $(REFS) /target:library /out:$@ $^

clean:
rm -f UserDir.dll *~ *.pdb *.dbg


using System;
using System.Web;
using System.IO;

namespace ModMono.Examples
{

public class UserDir : IHttpModule
{
  private HttpApplication httpApp;
  
  public void Init(HttpApplication application)
{
  httpApp = application;
  httpApp.BeginRequest += new EventHandler(this.UserDirHandler);
}

  private void UserDirHandler(object sender, EventArgs e)
{
  String path = httpApp.Request.Path;
  if (path == null) {
return;
  }
  if (!path.StartsWith("/~") || (path.Length == 2)) {
return;
  }

  int index = path.IndexOf('/', 2);
  string username, remaining;
  if (index == -1) {
username = path.Substring(2);
remaining = "/";
  } else {
username = path.Substring(2,index - 1);
remaining = path.Substring(index);
  }
  if (username[0] == '.') {
return;
  }
  // Todo: More security checks (make sure final path
  // does not go outside /home/username/public_html)
  string translated = Path.Combine("/home/" + username, "public_html" + remaining);
  httpApp.Context.RewritePath(translated);
}
  
  public void Dispose()
{
}
}  
}


Re: [Mono-list] Regarding XSP Web Server

2003-03-19 Thread Daniel Lopez

Hi Suresh

Nothing to configure after you do make, make install
Go to xsp/server/test, type 

mono server.exe

Then go to http://127.0.0.1:8080   
and you will be presented with an examples page

On Wed, Mar 19, 2003 at 12:51:03PM +0530, Suresh wrote:
> Hi,
> I installed Xsp Web server.but i dont know browse the pages from 
> browser. kindly tell me the steps to configure ,start the webserver and 
> run the pages.Thanks in advance.
> 
> 
> ___
> 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


Re: [Mono-list] Rewriting path with an HttpModule

2003-03-22 Thread Daniel Lopez

> > In a similar way to how Apache mod_userdir does.
> > That requires implementing RewritePath and changing the PhysicalFilePath
> > returned, small changes that I already commited.
> > codebase, can you have a look before I apply?
> 
> The path passed to rewrite path must be relative to the application host
> base path (--root in server.exe), so UserDir.cs is wrong because it
> passes the full path to the file instead of a virtual path. (MS says
> "c:\xxx" is a physical path") (heh, and they say that they throw an
> ArgumentNullException when the path is null but i get a
> NullReferenceException :).

Oh, so my mistake was to think Path refered here to a physical path, it is
actually a URL path. MS documentation is so ambiguous.
This simplifies everything, because I do not need to worry about the other
Map() functions in other classes, they will do the right thing.

> After fixing RewritePath, i'll modify it and send it back to you.
> 
> Btw, I've found an interesing link (god bless google!):
> http://www.codeproject.com/aspnet/URLRewriter.asp 

Good link, thanks!

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Rewriting path with an HttpModule

2003-03-22 Thread Daniel Lopez
> > After fixing RewritePath, i'll modify it and send it back to you.
> 
> Mmm. Well, as RewritePath is more of a 'hide the real URL' thing, and
> after some thinking, I bet for adding the ~user stuff in
> MonoWorkerRequest.

I think it could be done with

MonoApplication /~ /home

and then using RewritePath to rewrite ~user/index.aspx to
~user/public_html/index.aspx internally, which will then
be mapped to /home/user/public_html/index.aspx

> Why? There's one place where you can fake the real path to the file
> (MapPath), so you can map "/~gonzalo/" to the file
> "/home/gonzalo/public_html/index.aspx" or even using a configuration
> file like the one in the link I put in my previous mail.

We can modify Request to support user directories, but it may be better to
create a hook point in MapPath(), that allows you to have arbitrary code
providing that functionality.
What I have in mind is a module that runs the mapped path thru Apache API
and then takes a look at the resulting path_translated filed in the
request_rec structure. This would allow us to reuse all the existing Apache
modules that map virtual paths to physical paths, such as mod_userdir or
mod_rewrite.
That would require that:

a) All MapPath functions eventually call Request.MapPath()  (I did some
greping and think that is the case)
b) Other parts of the code do not make assumptions that physical paths are
rooted in the Application physical path, as for example happens in 
mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs
See patch in 
http://lists.ximian.com/archives/public/mono-list/2003-March/012992.html

Cheers

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Rewriting path with an HttpModule

2003-03-24 Thread Daniel Lopez

> > MonoApplication /~ /home
> 
> No. At least if we want to be compatible with MS runtime...
> If /~ is the root virtual directory, /~user is not in that virtual
> directory (while /~/user is under that directory).

Yes, you are right :)

> > We can modify Request to support user directories, but it may be better to
> > create a hook point in MapPath(), that allows you to have arbitrary code
> > providing that functionality.
> > What I have in mind is a module that runs the mapped path thru Apache API
> > and then takes a look at the resulting path_translated filed in the
> > request_rec structure. This would allow us to reuse all the existing Apache
> > modules that map virtual paths to physical paths, such as mod_userdir or
> > mod_rewrite.
> > That would require that:
> > 
> > a) All MapPath functions eventually call Request.MapPath()  (I did some
> > greping and think that is the case)
> 
> Yes.
> 
> May be we can add a 'MapPathEvent' event to MonoWorkerRequest. Then, in
> MapPath we do something like:


>   if (MapPathEvent != null) {
>   MapPathEventArgs args = new MapPathEventArgs (path);
>   MapPathEventHandler [] evts = (MapPathEventHandler)
> MapPathEvent.GetInvocationList ();
>   foreach (MapPathEventHandler evt in evts) {
>   evt (this, args);
>   if (args.MappedPath != null)
>   return args.MappedPath;
>   }
>   }
>   // Here goes the current code
> 
> This way we can register any possible path 'mapper' method adding it to
> MapPathEvent. If there is one of those 'mappers' that recognizes the
> path and map it to a real path (ie, sets MappedPath), we return that
> path.
> 
> What do you think?

Yes, that was I had in mind, maybe even integrating with teh 
rest of events (BeginRequest, etc.)


> > b) Other parts of the code do not make assumptions that physical paths are
> > rooted in the Application physical path, as for example happens in 
> > mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs
> > See patch in 
> > http://lists.ximian.com/archives/public/mono-list/2003-March/012992.html
> 
> templatePath should be the absolute virtual directory of the file being
> processed. That's not a file system path. It's used to look for other
> files referred from the one being processed.

Exactly :)  What I am saying is that, in order to get that virtual path,
GetTemplateDirectory() it substracts two physical directory paths, the one
containing the file and the AppDomainAppPath. That assumes that they have a
common initial part. This is true currently, but if you introduce a mapping
function that maps to arbitrary files then it is not. That´s why I had to
patch it (though I dont know if the change I introduced was the right one)


Cheers

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mod_mono on Debian - any solution will do fine

2003-04-02 Thread Daniel Lopez

Hi Phil,

> httpd: module "mod_mono.c" is not compatible with this version of Apache
(found 20020628, need 20020903).

The Apache RPM was compiled against Red Hat 8 Apache, which is based on 2.0.40
Several people have reported problems building from source on Debian.
Alp Toker is working on a .deb package, he is waiting on me right now since
mod_mono is segfaulting with theaded Apache and I still need to fix that.
But I believe the prefork Apache 2 should work fine


On Wed, Apr 02, 2003 at 08:11:18AM -0600, Jerkins, Phillip wrote:
> Gentlemen:
>  
> I'm having lots of trouble getting mod_mono installed and running on Debian with 
> Apache 2.0.44.  I found instructions for Apache 2.0.43 on the Monkeyguide, which has 
> been my reference.  However, 2.0.44 is out, and I can't find 2.0.43 anywhere.  
> (Actually, as I write, I find out that 2.0.45 is out.  Wow.)
>  
> Here's what I did:
> 1) Installed Apache 2.0.44 from the source code ( --prefix=/usr/apache2 )
> 2) Converted the RH8.0 RPM for mod_mono 0.3.6 into a .DEB file using Debian's alien 
> utility.
> 3) Installed the mod_mono DEB
> 4) Added the LoadModule and LoadModMonoDll lines to httpd.conf
> 5) /usr/apache2/bin/apachectl start
>  
> Here's what I got when I start apache:
>  
>  sh-2.05b# /usr/apache2/bin/apachectl start
>  httpd: module "mod_mono.c" is not compatible with this version of Apache (found 
> 20020628, need 20020903).
>  Please contact the vendor for the correct version.
>  
> My purpose is to burn a remastered CD of Knoppix ( HYPERLINK 
> "http://www.knoppix.net"www.knoppix.net ), a live CD implementation of Debian.  I 
> want to showcase mono and mod_mono in hopes that I can introduce open-source 
> software (linux, mono, apache) into our server enrivonment.  I've already got one w/ 
> mono running, but it would be great to show some web pages running as well.
>  
> Thanks in advance!
>  
> Phil Jerkins
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003
>  
> 
> 
> **
> Morgan Keegan & Co., Inc. DOES NOT ACCEPT ORDERS AND/OR 
> INSTRUCTIONS REGARDING YOUR ACCOUNT BY E-MAIL.  Transactional details 
> do not supersede normal trade confirmations or statements.  The information 
> contained in this transmission is privileged and confidential. It is intended for 
> the use of 
> the individual or entity named above. The information contained herein is based on 
> sources we believe reliable but is not considered all-inclusive. Opinions are our 
> current 
> opinions only and are subject to change without notice.  Offerings are subject to 
> prior 
> sale and/or change in price.  Prices, quotes, rates and yields are subject to change 
> without notice.  Morgan Keegan & Co., Inc., member NYSE, NASD and SIPC, is a 
> registered broker-dealer subsidiary of Regions Financial Corporation.  Investments 
> are 
> NOT FDIC INSURED, NOT BANK GUARANTEED and MAY LOSE VALUE.  Morgan 
> Keegan & Co., Inc. reserves the right to monitor all electronic correspondence.
> 
> 
> http://www.morgankeegan.com
> **
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Http Modules & Handlers

2003-06-06 Thread Daniel Lopez

In which sense? mod_mono uses the underlying System.Web framework, which
implements HTTP modules and handlers. Additionally Gonzalo implemented a path
translation event that will be useful for things like mod_rewrite, etc.

Does that answer your question or where you referring something else?

Cheers

Daniel


On Fri, Jun 06, 2003 at 01:09:42AM -0700, Jones, Larry wrote:
> Are Http Modules & Handlers implemented per the .Net specs for Apache2?
> 
> Larry Jones
> Hydrel/Lithonia Lighting
> ___
> 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


Re: [Mono-list] Http Modules & Handlers

2003-06-08 Thread Daniel Lopez

That's correct, mod_mono task is to create HTtpWorkerRequest and pass it to
the underlying framework

On Sun, Jun 08, 2003 at 08:37:23AM +0300, Eran Sandler wrote:
> If I'm not mistaken, mod_mono is actually replacing the ASP.NET worker
> process, by hosting ASP.NET's framework and delegating requests from
> apache to it.
> This means that when you do enter into ASP.NET, you can all the
> necessary HTTP modules and handles since the implementation of ASP.NET
> should be the same as in Windows.
> 
> 
> Eran
> 
> 
> 
> -Original Message-
> From: Daniel Lopez [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 06, 2003 5:48 PM
> To: Jones, Larry
> Subject: Re: [Mono-list] Http Modules & Handlers
> 
> 
> 
> In which sense? mod_mono uses the underlying System.Web framework, which
> implements HTTP modules and handlers. Additionally Gonzalo implemented a
> path translation event that will be useful for things like mod_rewrite,
> etc.
> 
> Does that answer your question or where you referring something else?
> 
> Cheers
> 
> Daniel
> 
> 
> On Fri, Jun 06, 2003 at 01:09:42AM -0700, Jones, Larry wrote:
> > Are Http Modules & Handlers implemented per the .Net specs for 
> > Apache2?
> > 
> > Larry Jones
> > Hydrel/Lithonia Lighting 
> > ___
> > 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
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Question about Mono .Net vs Microsoft .Net

2003-06-08 Thread Daniel Lopez

Hello Joe,

Yes, the idea is to replicate exactly the functionality of hte .Net framework,
so the same code will run unmodified in either Mono or MS .Net
You can compile in Mono and deploy on MS .Net and the other way around.
That's the goal, the degree of completeness at this moment varies from area
to area (Windows Forms namespace been one of the difficult pieces for example)



> Hello, 
> I read the faq questions at your site hoping to find an answer to my
> question, but I'm still unsure of the answer.  Here is my question:
> 
> We currently develop software for multiple platforms in C, including unix,
> linux, and win32 platforms.  This is a very tedious process and we have
> recently opted for porting all our code to java to make our life easier.  I
> have been interested in Microsoft .Net for some time now as a possible
> alternative to java for writing code one time that will work in any
> platform, but I haven't really found any examples out there of how to use
> Microsoft's .Net on unix platforms.  
> 
> I'm interested in Mono as a possible solution, but I'm not sure if it will
> do what I'm looking for:   Is it possible to write web and windows
> applications using Microsoft's .Net classes and compiler (in C#) , and then
> execute that code in unix platforms just using the mono CLR in Unix, or
> would I have to actually write the application using Mono's .Net open source
> classes instead of the Microsoft .Net classes, which means I would be
> learning new classes all over again?   In other words, is it possible to
> write the application on a windows platform using Microsof'ts latest .Net
> tools (C#) and compiler, and then run them on a unix platform that uses the
> Mono CLR?  Would the Mono CLR resolve the Microsoft .Net classes used to
> write the application to aliases (compatible classes) in Mono, or how would
> this work?.  Meaning, do I have to learn the new classes in Mono and the
> apis in Mono in order to write .Net applications or can I still write my
> applications in Microsoft .Net and let the Mono CLR take care of the rest
> when I wan't to run the same application on unix?
> 
> Thanks,
> 
> 
> 
> Joe Roberts
> [EMAIL PROTECTED]
> 770-858-2156
> 
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problems with ModMono

2003-06-10 Thread Daniel Lopez
Hi Ngo,

I will look into this
http://127.0.0.1/mono/index.aspx  should work in the mean time

On Tue, Jun 10, 2003 at 09:17:45AM -0700, Ngo HH (Hao) at Aera wrote:
> Im using Redhat 8.0
> Apache 2.0.40
> mono-0.24-2
> mod_mono from CVS
>  
> Copied mod_mono.so and ModMono.dll to the appropriate dirs.
> I added in my httpd.conf file the following:
>  
> LoadModule mono_module modules/mod_mono.so
> MonoApplication /mono /home/hngo/xsp/server/test
>  
> When I try to go to http://127.0.0.1/mono  
> I get the following Error:
>  
> Error in '/mono' Application
>  
> 
>  
> Error
> Description: Error processing request. 
> Error Message: 
>  
> Stack Trace:
> System.ArgumentOutOfRangeException: Argument is out of rangein <0x0004e> 00 
> System.String:Substring (int)
> in <0x00047> 00 Apache.Web.Request:RemovePrefix (string,string)
> in <0x00040> 00 Apache.Web.ApacheWorkerRequest:MapPath (string)
> in <0x00098> 00 System.Web.HttpRequest:get_PhysicalPath ()
> in <0x0016a> 00 .CreateHandlerState:Execute ()
> in <0x0007f> 00 .StateMachine:ExecuteState (IStateHandler,bool&)
>  
>  
> If I run XSP server and go to http://127.0.0.1:8080/mono 
>   
> the sample .aspx work correctly.
>  
> No errors in /var/log/httpd/error_log
>  
> Im assuming mono is installed correctly since the pages serve up with XSP.
> Im assuming modmono is loading correctly because Im not getting errors in the 
> error_log.
> So Im guessing my problem is configuration. 
> I chowned the required paths to apache.apache (/home/hngo/xsp/server/test and the 
> .wapi directory)
>  
> This is frustrating.
> Hao.
> ___
> 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


Re: [Mono-list] Problems with ModMono

2003-06-10 Thread &#x27;Daniel Lopez'

Does the directory
/home/hngo/xsp/server/test

exist? Which permissions does it have that directory and its parent directories?

Cheers

Daniel

On Tue, Jun 10, 2003 at 09:37:37AM -0700, Ngo HH (Hao) at Aera wrote:
> When I specifiy http://127.0.0.1/mono/index.aspx I get a different error:
> 
> Error in '/mono' Application
> 
> 
> 
> Error
> Description: Error processing request. 
> Error Message: 
> 
> Stack Trace: 
> System.IO.DirectoryNotFoundException: Directory '/home/hngo/xsp/server/test' not 
> found.
> in <0x001ab> 00 System.IO.StreamReader:.ctor (string,System.Text.Encoding,bool,int)
> in <0x0001d> 00 System.IO.StreamReader:.ctor (string,System.Text.Encoding)
> in <0x00047> 00 System.Web.Compilation.AspGenerator:InitParser (string)
> in <0x0004d> 00 System.Web.Compilation.AspGenerator:GetCompiledType ()
> in <0x0003e> 00 System.Web.UI.PageParser:CompileIntoType ()
> in <0x00075> 00 System.Web.UI.TemplateControlParser:GetCompiledInstance 
> (string,string,System.Web.HttpContext)
> in <0x0004e> 00 System.Web.UI.PageParser:GetCompiledPageInstance 
> (string,string,System.Web.HttpContext)
> in <0x00013> 00 System.Web.UI.PageHandlerFactory:GetHandler 
> (System.Web.HttpContext,string,string,string)
> in <0x001bb> 00 System.Web.HttpApplication:CreateHttpHandler 
> (System.Web.HttpContext,string,string,string)
> in <0x001a6> 00 .CreateHandlerState:Execute ()in <0x0007f> 00 
> .StateMachine:ExecuteState (IStateHandler,bool&)
>  
> thanks.
> Hao.
> 
> -Original Message-
> From: Jonathan Stowe [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 10, 2003 9:29 AM
> To: Ngo HH (Hao) at Aera
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: [Mono-list] Problems with ModMono
> 
> 
> On Tue, 10 Jun 2003, Ngo HH (Hao) at Aera wrote:
> 
> > Im using Redhat 8.0
> > Apache 2.0.40
> > mono-0.24-2
> > mod_mono from CVS
> >
> > Copied mod_mono.so and ModMono.dll to the appropriate dirs.
> > I added in my httpd.conf file the following:
> >
> > LoadModule mono_module modules/mod_mono.so
> > MonoApplication /mono /home/hngo/xsp/server/test
> >
> > When I try to go to http://127.0.0.1/mono 
> > I get the following Error:
> >
> > Error in '/mono' Application
> >
> 
> I found this too.  You need to specify the actual file as well so the URL
> should be:
> 
>  http://127.0.0.1/mono/indesx.aspx
> 
> 
> I think.  Looks like any easy thing to fix I just haven't got round to
> making the patch yet.
> 
> /J\
> -- 
> Jonathan Stowe  |
>   |  This space for rent
> |
> ___
> 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


Re: [Mono-list] Problems with ModMono

2003-06-10 Thread &#x27;Daniel Lopez'

Can you email me privately the full httpd.conf file
and the list.txt text file result of running

ls -lRa /home/hngo/xsp/ > list.txt

> Yes - it and its parent is owned by apache.apache
> and I chmod 755
> 
> so from /home/hngo 
> I chown -R apache.apache xsp
> I chmod -R 755 xsp
> 
> thanks for your help!
> Hao.
> 
> -Original Message-
> From: 'Daniel Lopez' [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 10, 2003 9:59 AM
> To: Ngo HH (Hao) at Aera
> Cc: 'Jonathan Stowe'; '[EMAIL PROTECTED]'
> Subject: Re: [Mono-list] Problems with ModMono
> 
> 
> 
> Does the directory
> /home/hngo/xsp/server/test
> 
> exist? Which permissions does it have that directory and its parent directories?
> 
> Cheers
> 
> Daniel
> 
> On Tue, Jun 10, 2003 at 09:37:37AM -0700, Ngo HH (Hao) at Aera wrote:
> > When I specifiy http://127.0.0.1/mono/index.aspx I get a different error:
> > 
> > Error in '/mono' Application
> > 
> > 
> > 
> > Error
> > Description: Error processing request. 
> > Error Message: 
> > 
> > Stack Trace: 
> > System.IO.DirectoryNotFoundException: Directory '/home/hngo/xsp/server/test' not 
> > found.
> > in <0x001ab> 00 System.IO.StreamReader:.ctor (string,System.Text.Encoding,bool,int)
> > in <0x0001d> 00 System.IO.StreamReader:.ctor (string,System.Text.Encoding)
> > in <0x00047> 00 System.Web.Compilation.AspGenerator:InitParser (string)
> > in <0x0004d> 00 System.Web.Compilation.AspGenerator:GetCompiledType ()
> > in <0x0003e> 00 System.Web.UI.PageParser:CompileIntoType ()
> > in <0x00075> 00 System.Web.UI.TemplateControlParser:GetCompiledInstance 
> > (string,string,System.Web.HttpContext)
> > in <0x0004e> 00 System.Web.UI.PageParser:GetCompiledPageInstance 
> > (string,string,System.Web.HttpContext)
> > in <0x00013> 00 System.Web.UI.PageHandlerFactory:GetHandler 
> > (System.Web.HttpContext,string,string,string)
> > in <0x001bb> 00 System.Web.HttpApplication:CreateHttpHandler 
> > (System.Web.HttpContext,string,string,string)
> > in <0x001a6> 00 .CreateHandlerState:Execute ()in <0x0007f> 00 
> > .StateMachine:ExecuteState (IStateHandler,bool&)
> >  
> > thanks.
> > Hao.
> > 
> > -Original Message-
> > From: Jonathan Stowe [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, June 10, 2003 9:29 AM
> > To: Ngo HH (Hao) at Aera
> > Cc: '[EMAIL PROTECTED]'
> > Subject: Re: [Mono-list] Problems with ModMono
> > 
> > 
> > On Tue, 10 Jun 2003, Ngo HH (Hao) at Aera wrote:
> > 
> > > Im using Redhat 8.0
> > > Apache 2.0.40
> > > mono-0.24-2
> > > mod_mono from CVS
> > >
> > > Copied mod_mono.so and ModMono.dll to the appropriate dirs.
> > > I added in my httpd.conf file the following:
> > >
> > > LoadModule mono_module modules/mod_mono.so
> > > MonoApplication /mono /home/hngo/xsp/server/test
> > >
> > > When I try to go to http://127.0.0.1/mono <http://127.0.0.1/mono>
> > > I get the following Error:
> > >
> > > Error in '/mono' Application
> > >
> > 
> > I found this too.  You need to specify the actual file as well so the URL
> > should be:
> > 
> >  http://127.0.0.1/mono/indesx.aspx
> > 
> > 
> > I think.  Looks like any easy thing to fix I just haven't got round to
> > making the patch yet.
> > 
> > /J\
> > -- 
> > Jonathan Stowe  |
> > <http://www.gellyfish.com>  |  This space for rent
> > |
> > ___
> > 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
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problems with ModMono

2003-06-10 Thread &#x27;Daniel Lopez'

Hi Ngo,

Support for that is planned, but not yet implemented. It is straightforward
to do, if anyone wants to take a stab at it I can help them.
For now your best bet may be to set up different apache instances and do
reverse proxy to them

On Tue, Jun 10, 2003 at 10:03:04AM -0700, Ngo HH (Hao) at Aera wrote:
> Woohooo!
> Yes - You guessed it!  It works!
> You guys are so quick and great!
> 
> Since you guys are so great, one more question please?
> I know, Im greedy.
> 
> Can I using Apache's virtual hosting to host multiple domains and have each domain 
> serve up its own separate /mono pages?
> 
> I only have one IP, but three domains are already pointing to this IP.
> 
> I would like each domain to have its own /mono space
> http://domaina1.com/mono/index.asp
> http://domainb2.com/mono/index.asp
> http://domainc3.com/mono/index.asp
> 
> Thanks again so much!
> 
> -Original Message-
> From: Jonathan Stowe [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 10, 2003 9:50 AM
> To: Ngo HH (Hao) at Aera
> Cc: 'Daniel Lopez'; '[EMAIL PROTECTED]'
> Subject: RE: [Mono-list] Problems with ModMono
> 
> 
> On Tue, 10 Jun 2003, Ngo HH (Hao) at Aera wrote:
> 
> > Yes - it and its parent is owned by apache.apache
> > and I chmod 755
> >
> > so from /home/hngo
> > I chown -R apache.apache xsp
> > I chmod -R 755 xsp
> >
> 
> On a Red Hat machine it is unlikely that the http process will have access
> to /home/hngo unless you have changed that (and I wouldn't recommend you
> did).  I would suggest moving the xsp/test directory and its contents to
> somewhere in the apache directory and adjusting its permissions
> appropriately.
> 
> /J\
> > thanks for your help!
> > Hao.
> >
> > -Original Message-
> > From: 'Daniel Lopez' [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, June 10, 2003 9:59 AM
> > To: Ngo HH (Hao) at Aera
> > Cc: 'Jonathan Stowe'; '[EMAIL PROTECTED]'
> > Subject: Re: [Mono-list] Problems with ModMono
> >
> >
> >
> > Does the directory
> > /home/hngo/xsp/server/test
> >
> > exist? Which permissions does it have that directory and its parent directories?
> >
> > Cheers
> >
> > Daniel
> >
> > On Tue, Jun 10, 2003 at 09:37:37AM -0700, Ngo HH (Hao) at Aera wrote:
> > > When I specifiy http://127.0.0.1/mono/index.aspx I get a different error:
> > >
> > > Error in '/mono' Application
> > >
> > > 
> > >
> > > Error
> > > Description: Error processing request.
> > > Error Message:
> > >
> > > Stack Trace:
> > > System.IO.DirectoryNotFoundException: Directory '/home/hngo/xsp/server/test' not 
> > > found.
> > > in <0x001ab> 00 System.IO.StreamReader:.ctor 
> > > (string,System.Text.Encoding,bool,int)
> > > in <0x0001d> 00 System.IO.StreamReader:.ctor (string,System.Text.Encoding)
> > > in <0x00047> 00 System.Web.Compilation.AspGenerator:InitParser (string)
> > > in <0x0004d> 00 System.Web.Compilation.AspGenerator:GetCompiledType ()
> > > in <0x0003e> 00 System.Web.UI.PageParser:CompileIntoType ()
> > > in <0x00075> 00 System.Web.UI.TemplateControlParser:GetCompiledInstance 
> > > (string,string,System.Web.HttpContext)
> > > in <0x0004e> 00 System.Web.UI.PageParser:GetCompiledPageInstance 
> > > (string,string,System.Web.HttpContext)
> > > in <0x00013> 00 System.Web.UI.PageHandlerFactory:GetHandler 
> > > (System.Web.HttpContext,string,string,string)
> > > in <0x001bb> 00 System.Web.HttpApplication:CreateHttpHandler 
> > > (System.Web.HttpContext,string,string,string)
> > > in <0x001a6> 00 .CreateHandlerState:Execute ()in <0x0007f> 00 
> > > .StateMachine:ExecuteState (IStateHandler,bool&)
> > >
> > > thanks.
> > > Hao.
> > >
> > > -Original Message-
> > > From: Jonathan Stowe [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, June 10, 2003 9:29 AM
> > > To: Ngo HH (Hao) at Aera
> > > Cc: '[EMAIL PROTECTED]'
> > > Subject: Re: [Mono-list] Problems with ModMono
> > >
> > >
> > > On Tue, 10 Jun 2003, Ngo HH (Hao) at Aera wrote:
> > >
> > > > Im using Redhat 8.0
> > > > Apache 2.0.40
> > >

Re: [Mono-list] mod_mono on Gentoo

2003-06-15 Thread Daniel Lopez

Forgot to cc: the list. Can't we just make reply-to go to the list instead
of forcing people to do group-reply?

Cheers

daniel

On Sun, Jun 15, 2003 at 01:31:34AM -0700, Daniel Lopez wrote:
> 
> That is fine, you should get a working ModMono.dll after that.
> The C# class relies on some C functions that are not provided by Mono runtime
> but will be present once mod_mono is loaded. You can safely ignore those
> warnings
> 
> Take care
> 
> Daniel
> 
> On Sun, Jun 15, 2003 at 10:04:15AM +0200, Gert Driesen wrote:
> > Hi,
> > 
> > I built and installed Mono from cvs and it's running great, but now I want
> > to be able to use mod_mono to use ASP.NET in Apache.
> > 
> > I use Gentoo (1.4 rc4), so I "emerged" apache2, and again it's working fine
> > ...
> > 
> > I'm able to compile mod_mono without problems, but when I compile
> > ModMono.dll I get numerous warning messages that corlib and runtime are out
> > of sync, although I'm pretty sure they're in sync :
> > 
> > ** (/home/gert/mono/install/bin/mcs.exe:5473): WARNING **: cant resolve
> > internal call to "Apache.Web.Request::SetStatusLineInternal(intptr,string)"
> > (tested without signature also)
> > 
> > Your mono runtime and corlib are out of sync.
> > Corlib is: ModMono
> > 
> > When you update one from cvs you need to update, compile and install
> > the other too.
> > Do not report this as a bug unless you're sure you have updated correctly:
> > you probably have a broken mono install.
> > If you see other errors or faults after this message they are probably
> > related
> > and you need to fix your mono install first.
> > 
> > Can someone please advise ?
> > 
> > Thanks,
> > 
> > Gert
> > 
> > ___
> > 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


Re: [Mono-list] Help compiling mod_mono

2003-07-12 Thread Daniel Lopez
The warnings are ok, the missing functions will be resolved at runtime.
If it outputs the ModMono.dll fine, you should be fine

On Sat, Jul 12, 2003 at 02:02:02PM -0700, Richard Thombs wrote:
> When I try and make ModMono.Dll, I get piles of warnings about
> unresolved externals. I'm _assuming_ that the warning about my corlib
> and runtime being out of date is a red herring, because I have just
> freshly make and installed both mono and mcs.
> 
> Can somebody shed some light on this please?
> 
> Thanks,
> 
> Stony.
> 
> ** (/usr/bin/mcs.exe:19543): WARNING **: cant resolve internal call to
> "Apache.Web.Request::GetConnectionInternal(intptr)" (tested without
> signature also)
>  
> Your mono runtime and corlib are out of sync.
> Corlib is: ModMono
>  
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated
> correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably
> related
> and you need to fix your mono install first.
>  
> 
> 
> ___
> 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


Re: [Mono-list] "Real" mod-mono documentation?

2003-09-08 Thread Daniel Lopez

The go-mono.com stuff is more recent, I have a note in
http://apacheworld.org/modmono/

The more current version is the one in CVS. It has also a doc/
directory with documentation in Docbook format that I need to find the time
to translate to XHTML format used by MonoDoc.
I attach a HTML conversion

mod_mono.c needs updating to work with latest Mono,  mod_mono_unix.c
from Gonzalo is your best choice right now, it also works with Apache 1.3,

Cheers

Daniel


On Mon, Sep 08, 2003 at 01:58:31PM -0600, Matt Ryan wrote:
> I'm having a bit of trouble getting mod-mono working on my system.  At
> this point, I'm basically wondering to whom I should be referring as the
> authoritative source.  The installation guide on go-mono.com is
> different than that on the Mod Mono page (apacheworld.org/modmono/), as
> is the tarball that I can download (0.4 on go-mono.com, 0.3.7 on
> apacheworld.org).
> 
> Can somebody point me in the right direction?
> 
> 
> -Matt Ryan
> Software Engineer
> Linux/ZEN Developer Champion
> Worldwide Developer Support
> 
> Novell, Inc., the leading provider of information solutions
> http://www.novell.com
> ___
> 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


Re: [Mono-list] Help with ASP.NET on linux

2003-09-09 Thread Daniel Lopez

I put a notice on teh page a few days ago, I guess I need to make it clearer  :)
Please use version 0.4, which you can get from go-omono.com or even better,
use CVS version


On Sat, Sep 06, 2003 at 11:06:26PM +0530, Akhilesh Agarwal wrote:
> Hi,
> 
>  
> 
> I just installed Mono 0.26 RPMs for Redhat 9 from 
> http://www.go-mono.com/download.html
> 
>  
> 
> I ran a test hello world application and it works fine. So I figure Mono is 
> installed correctly.
> 
>  
> 
> I then installed the RPM for mod_mono 0.3.7 from http://www.apacheworld.org/modmono, 
> no errors.
> 
>  
> 
> Now when I open http://127.0.0.1/mono/index.aspx, I get a blank page. In fact all 
> aspx pages are returned blank.
> 
>  
> 
> I also downloaded the latest tarball for mod_mono 0.4 from:
> 
> http://www.go-mono.com/archive/mod_mono-0.4.tar.gz
> 
>  
> 
> I then tried to build a binary and source RPMs using
> 
> rpmbuild ???ta mod_mono-0.4.tar.gz
> 
>  
> 
> But it gives an error:
> 
> error: File /home/akhilesh/mono/xsp-0.3.tar.gz: No such file or directory
> 
>  
> 
> Is XSP 0.3 tarball required to build mod_mono 0.4 ?
> 
>  
> 
> What should I do now to get ASP.NET working?
> 
>  
> 
> Thanks,
> 
>  
> 
> Akhilesh Agarwal
> 
>  
> 
>  
> 
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ap_table_get !

2003-11-12 Thread Daniel Lopez
Ciao Mariotto,

Please use a more up to date mod_mono version that you can download at
www.go-mono.com

On Wed, Nov 12, 2003 at 12:31:14PM +0100, Mariotto Francesco wrote:
> Hi, i have this problem with mod_mono.so when i start apachectl (apache2)
> 
> In httpd.conf:
> LoadModule mod_mono /usr/lib/apache2/modules/mod_mono.so
> 
> 
> after start:
> Syntax error on line 232 of /etc/apache2/conf/httpd.conf:
> Cannot load /usr/lib/apache2/modules/mod_mono.so into server:
> /usr/lib/apache2/modules/mod_mono.so: undefined symbol: ap_table_get
> 
> 
> ___
> 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


Re: [Mono-list] ModMono.dll error

2003-12-04 Thread Daniel Lopez

Thats for a previous version of mod_mono, you dont need that anymore, check
the INSTALL file for instructions

On Thu, Dec 04, 2003 at 10:21:53PM -0300, Augusto Silva wrote:
> I downloads from CVS today, the mod_mono
> 
> I can't generate the ModMono.dll file. What can I do?
> 
> 
> make -f makedll.mak 
> mcs /debug+ /debug:full /nologo /r:System.Web.dll
> /target:library /out:ModMono.dll
> ApacheApplicationHost.cs ApacheWorkerRequest.cs
> MonoWorkerRequest.cs IApplicationHost.cs Request.cs
> In type: Apache.Web.ApacheApplicationHost
> 
> Unhandled Exception: System.NullReferenceException: A
> null value was found where an object instance was
> required
> in (unmanaged) /usr/local/lib/libmono.so.0
> [0x40077e75]
> in (unmanaged) /usr/local/lib/libmono.so.0
> [0x40077fe9]
> in (unmanaged) /usr/local/lib/libmono.so.0
> [0x40078d03]
> in (unmanaged)
> /usr/local/lib/libmono.so.0(mono_reflection_create_runtime_class+0x165)
> [0x4007949d]
> in <0x003de>
> System.Reflection.Emit.TypeBuilder:CreateType ()
> in <0x00092> Mono.CSharp.TypeContainer:CloseType ()
> in <0x000df> Mono.CSharp.TypeContainer:CloseType ()
> in <0x00640> Mono.CSharp.RootContext:CloseTypes ()
> in <0x0086c> Mono.CSharp.Driver:MainDriver (string[])
> in <0x0001b> Mono.CSharp.Driver:Main (string[])
> 
> make: *** [ModMono.dll] Error 1
> 
> __
> 
> Yahoo! Mail: 6MB, anti-spam e antivírus gratuito! Crie sua conta agora:
> http://mail.yahoo.com.br
> ___
> 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


[Mono-list] Re: mod_mono

2004-11-24 Thread Daniel Lopez

> My interest in this? Coming from the windows C/C++ world I'd like to see an
> alternative on Windows for asp.net and am considering writing the port
> myself if nobody else is up to the challenge. That would help many
> businesses wanting to move away from IIS but towards Asp.Net that are not
> ready to commit to a Linux platform.

You may also want to check out :
http://httpd.apache.org/cli/

It allows you to run Microsoft ASP.NET (not Mono) with Apache

Un saludo

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] re: mod_mono

2004-11-25 Thread Daniel Lopez
> > So why consider changing the syntax? The entries are completely unique to
> > Linux requiring a new set of commands for a Win32 port. The outcome of using
> > these commands is to control unique processes of mod-mono-server regardless
> > of the host platform. This is our way of controlling groups of
> > MonoApplications/mod-mono-server processes, what I'll refer to as
> > "application pools". A common syntax that supports application pools across
> > multiple platforms seems logical/ideal.
> 
> I still like more the setup I said above. Have you tried running apache
> using the MPM worker thread model? You'll see it failing miserably to
> spawn mod-mono-server because of how apache manages processes.

Yes, this is an issue when spawning CGIs as well. Apache 2 includes a module
mod_cgid that deals with that by spawning a external process which in turn
spawns others in demand. In that case it is better to run XSP on your own,
as you mentioned.

un saludo

Daniel
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Re: Linux installers for Mono 1.0.5 and debian (Joeri Belis)

2005-01-13 Thread Daniel Lopez
> 
> I was wondering, does this work on a debian system?

It should, if not please let us know. The only requirement is to have Gtk/Gnome
already installed and, if you plan on using MonoDevelop, Mozilla installed.

> what about apt-get , will this not conflict? I might install stuff that
> apt-get already installed and vice versa

The installation is completely self contained inside the directory you specify
during the install. You can even have different, simultaneous installations

Best regards

Daniel

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Re: Linux installers for Mono 1.0.5 (Cesar Mello)

2005-01-13 Thread Daniel Lopez

> wow cute!!! Worked nice in a clean Mandrakelinux 10.1 Official box.
> 
> small detail: when installing as root,  could run mono as root only
> because of the permissions on the installation directories.  But as a
> normal user it worked perfectly.

I will look into the permissions issues.

> small suggestion: After quitting the installer started from a console,
> needs to close and open another console for the new PATH to work.
> Would it be possible for the installer to export the new path
> immediatelly?

You need to source again the ~/.bash_profile or ~/.profile files for the
changes to take effect

> Great work!! This is the right direction.

Thanks :) Still a lot of work to do, we need your feedback about what you
like and what you dont so we can improve future releases. The idea is to
make Mono as easy to install as possible, specially for new users.

Best regards

Daniel
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Linux installers for Mono 1.0.5 and debian

2005-01-13 Thread Daniel Lopez
Hola

> > I was wondering, does this work on a debian system?
> > 
> > what about apt-get , will this not conflict? I might install stuff that
> > apt-get already installed and vice versa
> 
> The packages have been built against the least common denominator, so it
> should work.
> 
> The only downside of BitRock is that it does not participate in the
> package management infrastructure available in your system. 

That could also be considered a "feature" :) 
The installer does not require root access to install, allows multiple
simultaneous installations, the same binary can work across multiple
distributions.

We do not intend to replace compiling from source or rpm for those users
that feel comfortable with it, but offer an alternative to those that for
whatever reason have trouble getting Mono up and running.

> Maybe
> something that could be added to BitRock though.

We could add that functionality, but I need to understand better what you
are looking for, so we can look for ways to implement that functionality

registering with the RPM database after installation?
(which problem would that solve?)

detecting any external dependencies? since it is mostly self contained, right
now this would be gtk and mozilla for monodevelop.


Best regards

Daniel





___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: Linux installers for Mono 1.0.5 and debian (Joeri Belis)

2005-01-14 Thread Daniel Lopez
> > The installation is completely self contained inside the 
> > directory you specify during the install. You can even have 
> > different, simultaneous installations
> 
> I have Gnome & GTK installed on my Sarge system (as well as Mozilla), but
> monodevelop will not run.

What exact command line are you using to start MonoDevelop ?
Do you have other Mono versions already installed from deb or source?
Do the rest of programs Monodoc, mono binary, etc. work ok?

> Also, what does one need to do (having installed monobundle) to get ASP.NET
> up and running?

You can use the XSP Web server, which is already included. If you want to
use Apache, you will need to install mod_mono (not included)

Best regards

Daniel



> 
> I get the following errors:
> 
> ** (./MonoDevelop.exe:5473): WARNING **: Could not find assembly
> ICSharpCode.Sha
> rpZipLib, references from
> /usr/share/dotnet/monodevelop/bin/MonoDevelop.Gui.Util
> s.dll (assemblyref_index=5)
>  Major/Minor: 0,6
>  Build:   0,0
>  Token:   1b03e6acf1164f73
> System error: No such file or directory
> 
> 
> ** (./MonoDevelop.exe:5473): WARNING **: Could not find assembly
> MonoDevelop.Gui
> .Utils, references from
> /usr/share/dotnet/monodevelop/bin/MonoDevelop.Gui.Widget
> s.dll (assemblyref_index=6)
>  Major/Minor: 0,5
>  Build:   1,0
>  Token:
> System error: No such file or directory
> 
> 
> ** (./MonoDevelop.exe:5473): WARNING **: Could not find assembly
> MonoDevelop.Gui
> .Widgets, references from
> /usr/share/dotnet/monodevelop/bin/MonoDevelop.Base.dll
>  (assemblyref_index=2)
>  Major/Minor: 0,5
>  Build:   1,0
>  Token:
> System error: No such file or directory
> 
> 
> ** (./MonoDevelop.exe:5473): WARNING **: Could not find assembly
> MonoDevelop.Bas
> e, references from /usr/share/dotnet/monodevelop/bin/./MonoDevelop.exe
> (assembly
> ref_index=7)
>  Major/Minor: 0,5
>  Build:   1,0
>  Token:
> System error: No such file or directory
> 
> cannot open assembly ./MonoDevelop.exe
> 
> Also, what does one need to do (having installed monobundle) to get ASP.NET
> up and running?
> 
> Regards,
> 
> Chris
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: Linux installers for Mono 1.0.5 and debian (Joeri Belis)

2005-01-14 Thread Daniel Lopez
> 
> I had installed the monobundle, but had a previous debian installation from
> the official repository, got rid of that then:
> 
> export MOZILLA_FIVE_HOME=/lib/mozilla
> 
> Ans away we go...
> 
> Seems to be working now anyhow.

I am glad you got it working. I guess what was happening is that you were
running MonoDevelop.exe with the previous Mono installation which did not
had environment setup to locate the libraries in the bundle.


> Fair enough, I had run apache & mod_mono before on this PC, but this is the
> first time I have tried XSP.
> 
> I notice that XSP supports the Trace (& Debug) tags, whereas mono-server
> doesn't.
> 
> Is the a page that shows the differences between XSP & mono-server (is
> mono-server the same as mod_mono?).

mono-server and xsp are basically the same code, one has a connector to talk
to mod_mono and is intended to work in conjuction with Apache.
The other implements a simple http server and is intended for standalone
usage.

(mod_mono itself just acts as a connector between Apache and mono-server)
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Monobundle Npgsql.dll problems

2005-01-18 Thread Daniel Lopez
> ** (/home/chrisa/.mono//mono/lib/mono/1.0/mcs.exe:31483): WARNING **: Could
> not find assembly System.Windows.Forms, references from
> /home/chrisa/ASPNET/bin/Npgsql.dll (assemblyref_index=5)

System.Windows.Forms is not currently included in the Mono installer, so
anything that depends on it will not work. It will be included in future
versions, based on the managed SWF implementation

Best regards

Daniel

On Tue, Jan 18, 2005 at 02:01:58PM -, Chris Aitken wrote:
> Hi All,
> 
> I have just installed monobundle on a debian sarge installation.
> 
> My home dir is /home/chrisa, and monobundle is installed in ~/.mono/. The
> aspx files are kept in ~/ASPNET/
> 
> I have copied the Npgsql.dll from
> ~/.mono/mono/lib/mono/gac/Npgsql/1.0.5000.0__5d8b90d52f46fda7/Npgsql.dll to
> ~/ASPNET/bin/
> 
> When I run an app (that is known to work) I get the following:
> 
> Description: Error compiling a resource required to service this request.
> Review your source file and modify it to fix this error.
> 
> Description: Error compiling a resource required to service this request.
> Review your source file and modify it to fix this error.
> 
> Error message: (0,0) : error CS0006: Cannot find assembly
> `/home/chrisa/ASPNET/bin/Npgsql.dll' (0,0) : error : (0,0) : error failed: 1
> error(s), 0 warnings
> 
> File name: /home/chrisa/ASPNET/employee.cs
> 
> Here is the output from xsp:
> 
> [EMAIL PROTECTED]:~/ASPNET$ cat /tmp/xsp.log
> 
> ** (/home/chrisa/.mono//mono/lib/mono/1.0/mcs.exe:31483): WARNING **: Could
> not find assembly System.Windows.Forms, references from
> /home/chrisa/ASPNET/bin/Npgsql.dll (assemblyref_index=5)
>  Major/Minor: 1,0
>  Build:   5000,0
>  Token:   b77a5c561934e089
> System error: No such file or directory
> 
> 
> ** (/home/chrisa/.mono//mono/lib/mono/1.0/mcs.exe:31483): WARNING **: Could
> not find assembly System.Windows.Forms, references from
> /home/chrisa/ASPNET/bin/Npgsql.dll (assemblyref_index=5)
>  Major/Minor: 1,0
>  Build:   5000,0
>  Token:   b77a5c561934e089
> System error: No such file or directory
> 
> 
> ** (/home/chrisa/.mono//mono/lib/mono/1.0/mcs.exe:31483): WARNING **: Could
> not find assembly System.Windows.Forms, references from
> /home/chrisa/ASPNET/bin/Npgsql.dll (assemblyref_index=5)
>  Major/Minor: 1,0
>  Build:   5000,0
>  Token:   b77a5c561934e089
> System error: No such file or directory
> 
> Any ideas?
> 
> Cheers
> 
> Chris
> 
> 
> 
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Linux installers for Mono 1.0.5 and debian

2005-01-19 Thread Daniel Lopez

Yes, we will work on that, thanks for the suggestion.

I see from
http://www.mono-project.com/downloads/#unstable
that there are no rpm packages for RH9 or FC1 for 1.1.3

Is there any limitation (missing dependency?) on these platforms or is it
just that nobody has gotten around to create them?

Best regards

Daniel

On Wed, Jan 19, 2005 at 02:02:49PM +0100, Vincent Arnoux wrote:
> Hi,
> Will we be lucky enough to get such a bundle for latest Mono versions 
> (1.1.3) ?
> 
> Regards,
> Vincent
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Npgsql with the installer?

2005-01-23 Thread Daniel Lopez

The problem is not with npgsql, but likely with the dependencies.
It will be fixed in future installers, for now can you follow the following
steps?

http://lists.ximian.com/archives/public/mono-list/2005-January/025351.html

Un saludo

Daniel

On Mon, Jan 24, 2005 at 01:25:11AM -0600, SigmaX wrote:
> Heya;
> I have a binary of Mono-1.0.5 on Mandrake Linux 9.2 that I've been using 
> for ASP .NET test and development via XSP.   What's the best way to go 
> about getting the Npgsql class installed onto this binary installation?  
> I'd prefer to avoid compiling from source and RPM's if possible; what 
> I'm looking for is a file I can plop into the Mono directory (Given I'm 
> told where in the Mono directory ;-) ) so that XSP stops complaining 
> about not having Npqsql when I run my ASP apps.
>   Thanx, and Mono rocks!
>   SigmaX
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Npgsql with the installer?

2005-01-23 Thread Daniel Lopez

http://www.bitrock.com/swf.tar.gz

Copy the dlls to  /lib/mono/1.0

Let me know if it works for you

Best regards

Daniel

On Mon, Jan 24, 2005 at 12:21:09PM -0600, SigmaX wrote:
> Daniel Lopez wrote:
> 
> >The problem is not with npgsql, but likely with the dependencies.
> >It will be fixed in future installers, for now can you follow the following
> >steps?
> >
> >http://lists.ximian.com/archives/public/mono-list/2005-January/025351.html
> >
> > 
> >
> Said post says:
> "Well I copied the Npgsql.dll from the working installation (all the dll's
> are 2.0 if that means anything). Then I copied SWF, then I had to copy a
> load more (System.Design.dll and Accessibility.dll to be exact.). Now it
> works fine."
> 
> Okay, sounds easy enough.  Then, in that case, could somebody sent me 
> said dlls and SWF (whatever that is :-P) and tell me where to put them 
> in relation to the mono directry? 
>Thanx!
>  SigmaX
> 
> -- 
> Registered Linux Freak #: 366,862
> 
> "My ISP won't talk to me after lodging a support call for helping gettting 
> ADSL hooked up to a WinXP install running under VMWare under Linux on my 
> XBox."
>   'Anonymous Coward,' in a post on slashdot.org
> 
> "For the eyes of the Lord range throughout the earth to strengthen those 
> whose hearts are fully commited to him."
>   2 Chronicles 16:9a
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How do I install on Red Hat Enterprise Linux ES release 3 ??

2005-01-26 Thread Daniel Lopez

Hej Morten

> At work I am forced to use RHEL ES3, and I need to ude mono. 
>  
> But how do I do this the easiest way? I can't seem to find any packages
> for it out there... Do I _have_ to compile myself, or is there an easier
> way out? 

If you dont want to compile, you can either try to use fedora RPMs or
use the standalone installer :
http://lists.ximian.com/archives/public/mono-list/2005-January/025254.html

Best regards

Daniel
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mod_mono not case sensitive

2005-02-15 Thread Daniel Lopez

Inside your code, you need to consider case-sensitivity.
At the URL level you can use mod_speling
http://httpd.apache.org/docs/mod/mod_speling.html



On Tue, Feb 15, 2005 at 10:29:46AM +0100, Hubert FONGARNAND wrote:
> Is there a way to configure mod_mono not case sensitive.
> (i'm working on a IIS based project, and IIS isn't case sensitive)
> thanks
> -- 
> Hubert FONGARNAND
> Fiducial IT
> ___
> Ce message et les ?ventuels documents joints peuvent contenir des 
> informations confidentielles.
> Au cas o? il ne vous serait pas destin?, nous vous remercions de bien vouloir 
> le supprimer et en aviser imm?diatement l'exp?diteur. Toute utilisation de ce 
> message non conforme ? sa destination, toute diffusion ou publication, totale 
> ou partielle et quel qu'en soit le moyen est formellement interdite.
> Les communications sur internet n'?tant pas s?curis?es, l'int?grit? de ce 
> message n'est pas assur?e et la soci?t? ?mettrice ne peut ?tre tenue pour 
> responsable de son contenu.
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: [Mono-announce-list] Mono 1.1.4 and 1.0.6 released.

2005-02-18 Thread Daniel Lopez

Working on it as we speak :) for both 1.0.6 and 1.1.4

On Fri, Feb 18, 2005 at 10:50:30AM +0100, Vincent Arnoux wrote:
> Miguel de Icaza a écrit :
> 
> >Hello,
> >
> >   Mono 1.1.4 and 1.0.6 have been released.
> > 
> >
> Will we be lucky enough to get the same "super usefull installer" for 
> Mono 1.1.4 as for 1.0.5 ?
> 
> Vincent
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono 1.1.4 and 1.0.6 released.

2005-02-18 Thread Daniel Lopez

The mono-core rpm for RH9 seems damaged

rpmverify gives me:
/home/daniel/cvs/thirdparty/tarballs/www.go-mono.com/archive/1.1.4/redhat-9-i386/mono-core-1.1.4-1.novell.9.1.i386.rpm:
MD5 digest: BAD Expected(396607ffc0b46929ab009da3f4cff388) !=
(387e52772d2f1bafa11cde72b8f385ba)

The mono-core rpm inside the all.zip for RH9 appears ok though (though it
has ximian as vendor instead of novell)

The all.zip includes also an additional
mono-jscript-1.1.4-1.ximian.6.1.i386.rpm 
not included in the regular rpm download page.

Best regards

Daniel



On Thu, Feb 17, 2005 at 03:27:52PM -0500, Miguel de Icaza wrote:
> Hello,
> 
> Mono 1.1.4 and 1.0.6 have been released.
> 
> As of this version, Mono 1.1.4 has received more testing and more
> scrutiny that Mono 1.0.6, and we strongly recommend that people switch
> to the 1.1.4 release.
> 
> We will continue to support 1.0.x for those who can not do a larger
> change, but keep in mind that 1.1.4 at this point is stabler, has many
> less bugs, faster, better tested and more complete than the 1.0.6
> series.
> 
> There are significant changes: make sure you read the release notes
> as there are many exiting features in monodoc, xsp, apache support, xml,
> relaxng, the C# compiler, the VM and more.
> 
> Detailed release notes:
> 
>   http://www.go-mono.com/archive/1.0.6/
> 
>   Release notes for 1.0.6, xsp, mod_mono, monodoc
> 
>   http://www.go-mono.com/archive/1.1.4
> 
>   Release notes for Mono 1.1.4
> 
> These include the locations for the download source code.  If you
> want pre-built packages for Linux, MacOS and Windows, go to:
> 
>   http://www.mono-project.com/downloads/
> 
> This release got delayed as we added more distributions to the
> packaging effort.  We hope that the release wont take as long in the
> future. 
> 
> Packages for various x86-64 distributions should be available next
> week.
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: Mono 1.1.4 and 1.0.6 released.

2005-02-19 Thread Daniel Lopez

> Please don't take this as criticism, I think Mono is a very exciting 
> project, and supporting a wide range of distros cannot be easy.  However 
> I'm a bit stuck at the moment. :-(

The new all-in-one installers were just released, and they are the perfect
solution for situations like this one, when people have trouble installing
from source or packages.

can you try the following ?

Download 
http://www.go-mono.com/archive/1.1.4/installer/monobundle-1.1.4-installer.bin

chmod +x monobundle-1.1.4-installer.bin
./monobundle-1.1.4-installer.bin

and follow the on-screen instructions.

Un saludo

Daniel

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: Mono 1.1.4 and 1.0.6 released.

2005-02-19 Thread Daniel Lopez

> >can you try the following ?
> >
> >Download 
> >http://www.go-mono.com/archive/1.1.4/installer/monobundle-1.1.4-installer.bin
> 
> I just gave it a shot.  I did notice one problem straight away, that a 
> lot of the permissions seem to be incorrect. 
> /opt/monobundle-1.1.4/uninstall is world writable!  A lot of the 
> directories, for example /opt/monobundle-1.1.4/mono/bin, are not even 
> world readable.  So you have to fix the permissions before you can use Mono.

This is when installing as root, right? I will look into it

> Having fixed the permissions, the installation seems to have worked; 
> thanks for getting me out of my RPM nightmare! :-)

You are welcome :) The installer is not intended as a RPM replacement, but
it comes handy when something goes wrong with the distribution packages or
source code compilation, want to show Mono to your boss, want to include a
Mono runtime with your app, etc. I will look into the permissions issues
above, please let me know if you have any more suggestions or run into any
issues.

Un saludo

Daniel
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: Mono 1.1.4 and 1.0.6 released.

2005-02-20 Thread Daniel Lopez

No, I missed that one. I will add it to the next build.

> >The new all-in-one installers were just released ...
> 
> One other question by the way.  Is JavaScript included in the all-in-one 
> installer?  mono-jscript-1.1.4-1.novell.9.1.i386.rpm includes two 
> versions of Microsoft.JScript.dll.  This file doesn't seem to have been 
> installed by the all-in-one installer; am I missing something here?
> 
> Thanks,
> Pete
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] May you give me the MD5 checksum?

2005-02-21 Thread Daniel Lopez

Hi Victor,

I will look into reproducing the coredump.
Can you try running the installer in alternate modes
and tell me if it stills coredumps?

./monobundle-1.0.6-installer.bin --mode xwindow
./monobundle-1.0.6-installer.bin --mode text

md5sum:
d7c2bcd8fb898d7f1b20f6391475b3e5  monobundle-1.0.6-installer.bin

ls -al:
29847584 Feb 18 13:44 monobundle-1.0.6-installer.bin


On Mon, Feb 21, 2005 at 12:32:35PM -0300, Victor Rivarola wrote:
> Of monobundle-1.0.6-installer.bin?
> 
> I have downloaded it painfully at a 32Kbps bandwidth limited cable
> connection, but it core dumps just after I accept the licence
> agreement (MDK 10.1CE fresh total install). I really don't want to do
> it again, specially if the problem is not a wrongly downloaded file.
> 
> By the way, may you include it along with the link to the file like it
> is common in the Free Software world? It will also be interesting to
> have the size of the files before you download them.
> 
> Thank you.
> 
> Víctor
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] May you give me the MD5 checksum?

2005-02-22 Thread Daniel Lopez

Thanks Victor. This is probably related to GTK. I will email you directly
asking for some specifics about your system.

On Tue, Feb 22, 2005 at 12:30:27PM -0300, Victor Rivarola wrote:
> Thank you, Daniel
> 
> On Mon, 21 Feb 2005 08:49:48 -0800, Daniel Lopez <[EMAIL PROTECTED]> wrote:
> 
> > I will look into reproducing the coredump.
> 
> I have additional info for you. I tried installing it on a second box
> with more memory but a much smaller hard drive, and it didn't coredump
> in the normal way. It is also installed with MDK 10.1 CE from the same
> physical CDs indirectly, but with many things left out.  Would you be
> interested in a sorted package listing of both boxes?
> 
> > Can you try running the installer in alternate modes
> > and tell me if it stills coredumps?
> > 
> > ./monobundle-1.0.6-installer.bin --mode xwindow
> 
> With this one, the installer works. mcs works too, but monodevelop
> doesn't, but I'll better leave that one out for its own post.
> 
> > ./monobundle-1.0.6-installer.bin --mode text
> 
> It works with this one too.
> 
> > md5sum:
> > d7c2bcd8fb898d7f1b20f6391475b3e5  monobundle-1.0.6-installer.bin
> > 
> > ls -al:
> > 29847584 Feb 18 13:44 monobundle-1.0.6-installer.bin
> 
> Thanks for your help,
> 
> Victor Rivarola
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] monobundle-installer on Ubuntu

2005-02-24 Thread Daniel Lopez

Hi Ricardo,

The installers are based off the current RH9 binaries, but 1.1.4 seems to
have been compiled against a different glibc (2.3.2)

That means 1.0.6 will work on systems using older glibc such as suse
enterprise 8 or several debian-based distributions, but 1.1.4 will not work.

I mentioned this earlier to Gerardo, when new RPMs are released I can
rebuild the installers.

Un saludo

Daniel

On Wed, Feb 23, 2005 at 05:05:25PM +0100, Ricardo García wrote:
> Hello
> 
> I have Ubuntu Warty. If I install monobundle-1.0.6-installer.bin, all
> commands (mono, mcs, monodevelop) works fine, but when I install
> monobundle-1.1.4-installer.bin, I can't do nothing and always get this
> message:
> 
> /home/ricardo/monobundle-1.1.4/mono/bin/mono.bin: relocation
> error: /home/ricardo/monobundle-1.1.4/mono/bin/mono.bin: symbol
> __libc_stack_end, version GLIBC_2.1 not defined in file ld-linux.so.2
> with link time reference
> 
> I install and uninstall both versions many times with the same result.
> 
> 
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: Monobundle w/o X?

2005-02-28 Thread Daniel Lopez
> Just thought I'd post an answer to my own question since nobody 
> answered, and I figured it out, so that those searching the archives can 
> save themselves the trouble.  My problem was (No duh) that I was missing 
> glib.  The difficulty was that I didn't know the package-name to install 
> it under Debian Sarge.  It was a dependancy of pkg-config, so when I 
> installed pkg-config it installed 'libglib2,' and now mono works 
> perfectly :-D

Correct, sorry for the delay, I have been travelling and still catching up
with email. I thought of bundling glib with the installer but it is usually
safe to assume it is installed, so decided not to.

Best regards

Daniel
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] MonoBundle on Debian

2005-02-28 Thread Daniel Lopez
Hi,

This is a problem with a glibc dependency on 1.1.4 TH9 build, you can take a 
look at :
http://lists.ximian.com/archives/public/mono-list/2005-February/025984.html

On Fri, Feb 25, 2005 at 12:38:07PM -0600, SigmaX wrote:
> Hey;
> I have a Debian Sid computer that I've been trying to run Monobundle 
> 1.1.4 on.  It works perfectly on my nearby Mandrake system, but not on 
> Debian :-S.  The first time I extracted it onto the system, it worked 
> fine (Except the .desktop links didn't work for some reason), but I've 
> reinstalled (twice) since then, as well as installed nVidia drivers for 
> the first time, if it matters.
> 
> When I run mono.bin I get:
> # ./mono
> /home/eric/bin/monobundle-1.1.4/mono/bin/mono.bin: relocation error: 
> /home/eric/bin/monobundle-1.1.4/mono/bin/mono.bin: symbol 
> __libc_stack_end, version GLIBC_2.1 not defined in file ld-linux.so.2 
> with link time reference
> 
> 
> Any help?
>Thanx,
>SigmaX
> 
> -- 
> Registered Linux Freak #: 366,862
> 
> "If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby 
> Pro-Logic Surround Sound with Bass Boost and all the music is free."
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] monobundle with libgdiplus

2005-02-28 Thread Daniel Lopez

Hi Carl,

Can you give us more details of what you are trying to accomplish?
A libgdiplus.so is included with the installer, should be in the mono/lib/
directory under your installation root



On Sun, Feb 27, 2005 at 03:57:39PM +0100, Carl Wistedt wrote:
> I just tested to install from the monobundle i downloaded
> monobundle-1.0.6-2-installer.bin.
> How do i get libgdiplus to work with it. I found a file libgdiplus.pc
> what kinda file is that?
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Monobundle installer and Mandrake 10.1 CE

2005-03-01 Thread Daniel Lopez

Hi,

With help from Victor Rivarrola I have tracked down a problem with the
MonoBundle installer on Mandrake 10.1CE

The problem seem to be related to the interaction of SCIM and GTK.  The
installer starts up in Gtk mode and then crashes after the license page,
when displaying the entry for installation directory.

It is going to take me some time to track down the exact bug and fix it, for
now if you are a Mandrake 10.1 CE user, please do: 

./monobundle-1.1.4-linux-installer.bin --mode xwindow

to start the installer in an alternate GUI mode that does not suffer this
problem

Best regards

Daniel
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] fix for gtk# bug - Fedora Core 2

2005-03-07 Thread Daniel Lopez


The MonoBundle is self-contained, should not interfere with your existing
installation at all, other than add new entry to your PATH (check ~/.bashrc)
if you so selectedduring installation.

Can you tell us which exact error are you getting, where exactly did you
install monobundle and howare you exactly invoking MonoDEvelop

Un saludo

Daniel


On Sun, Mar 06, 2005 at 05:00:40PM -0800, Michael E. Isbell wrote:
> Is there a fix for this bug...since I installed the bitrock 
> monobundle-1.1.4-2 on my FC2 box
> 
> MonoDevelop can't find GTK# for running GTK# apps
> 
> and sqlsharpgtk can't find gtk# 
> either!!
> 
> HELP
> 
> M


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Cross Platform Installer Question?

2005-03-14 Thread Daniel Lopez

Hello -e-

The current MonoBundle installer for Linux is done using BitRock
InstallBuilder http://www.bitrock.com  (disclaimer: I work for BitRock)
It also runs on Windows and Solaris (OSX and Linux-PPC coming soon)

The current Mono installer for Windows made by Paco is based on InnoSetup
http://www.innosetup.org  (Windows only)

For multiplatform installers that run on Windows and Linux, other than
BitRock, your choices are all Java-based afaik
(http://www.installshield.com, htttp://www.zerog.com) which is kind of
ironic if you want to install Mono :) 

If you want more details on BitRock, please drop me aline offlist

Un saludo

Daniel



On Sun, Mar 13, 2005 at 09:34:17PM -0700, [EMAIL PROTECTED] wrote:
> Hello!
> 
>  
> 
> Please excuse me if this question seems off-topic: please bear with me, to
> see why I've posed this question here. On that note:
> 
>  
> 
> Does anyone know of a cross-platform installer that can be used well with
> deploying mono? 
> 
>  
> 
> I want to make sure that my app will be easily installed on at least Linux
> and Windows machines, and I figured having a symmetrical build process
> across both platforms will make development much easier (knock on wood).
> 
>  
> 
> The reason I ask this on this list, rather then somewhere else, is that I am
> hoping someone knows of a solution that will aid me in deploying the mono
> runtime on an end-user machine if necessary. My application, when it
> finishes, will be heavily reliant on mono, and I'd like to make sure that
> end-users don't have to fight to get the runtime installed.
> 
>  
> 
> Does anyone know of a solution like the one I mention? Your help would be
> appreciated!
> 
>  
> 
> Thanks,
> 
>  
> 
> -e-
> 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gtksourceview-sharp / gtksourceview conflict on Fedora Core 3

2005-04-06 Thread Daniel Lopez
Hi

Until you get the RPM issues figured up, have you tried the Mono binary
installer ?

On Wed, Apr 06, 2005 at 08:15:24PM +0200, Thomas Pryds Lauritsen wrote:
> Hi
> 
> I'm trying to install monodevelop and its dependencies as RPMs from 
> http://www.go-mono.com/archive/1.0.6/fedora-3-i386/ on a fresh install 
> of Fedora Core 3. It seems, however, that a file from the 
> gtksourceview-sharp package conflicts with one from the already 
> installed gtksourceview package, yet it still depends on the package 
> being installed.
> 
> Here's what I did:
> 
> [EMAIL PROTECTED] packages]# rpm -ivh 
> monodevelop-0.5.1-1.novell.9.1.i386.rpm 
> gecko-sharp-0.6-1.novell.9.1.i386.rpm 
> gtk-sharp-1.0.6-0.novell.9.1.i386.rpm 
> monodoc-1.0.5-1.novell.9.1.i386.rpm mono-web-1.0.6-1.novell.9.1.i386.rpm 
> gtksourceview-sharp-0.5-1.novell.9.1.i386.rpm 
> mono-data-1.0.6-1.novell.9.1.i386.rpm
> Preparing...### 
> [100%]
> file /usr/share/gtksourceview-1.0/language-specs/vbnet.lang 
> from install of gtksourceview-sharp-0.5-1.novell.9.1 conflicts with file 
> from package gtksourceview-1.1.0-4.fc3
> 
> 
> When I tried the same thing after uninstalling the gtksourceview package 
> that came with FC3, I got this response:
> 
> error: Failed dependencies:
> gtksourceview >= 1.0 is needed by 
> gtksourceview-sharp-0.5-1.novell.9.1.i386
> 
> 
> I am not sure what to do since the RPMs I get from go-mono.com are 
> supposed to be compiled/packaged for my distribution. I could, of 
> course, try building from the tarball myself but if I can I really 
> prefer RPMs. Source-RPMs will do fine, too, but I can't seem to find 
> them at go-mono.com, and I don't know if it would actually solve the 
> problem.
> 
> What would you suggest me to do?
> 
> Thanks in advance,
> Thomas Pryds Lauritsen
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Monodevelop 0.6

2005-04-20 Thread Daniel Lopez

I will work on creating a installer that supports the newest monodevelop
(even if only in certain supported platforms) Apart from 2.4/2.6 are there
any additional dependencies ?

On Wed, Apr 20, 2005 at 12:52:39PM -0400, Ben Maurer wrote:
> On Wed, 2005-04-20 at 11:51 -0500, Jayme wrote:
> > > I think it is unlikely the new MD would be included with the installer.
> > > Gtk# 2 requires GTK > 2.4 (and will soon be > 2.6). That conflicts with
> > > the goal of portability for the installer.
> > > 
> > > -- Ben
> > 
> > Bummer. So the Monodevelop team is probably aware of that moving to
> > GTK# 2 is going to cause them to not have updates included with the
> > mono distro? That seems like a bad move to me...
> 
> It will be included -- with rpms.
> 
> -- Ben
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono Linux Installer suggestions

2005-04-27 Thread Daniel Lopez
Hi Daniel,

The installer needs to play some tricks to make Mono relocatable (take a
look at /path/to/install/bin/mono)

I will look into 1, 2 and updating the installer. I am not very familiar
with 3, if somebody figures it out first, please let me know.

Best regards

Daniel



On Wed, Apr 27, 2005 at 12:47:24AM -0400, Daniel Morgan wrote:
> Works great on Fedora Core 3 Linux!  
> 
> It installs so easily just like the Windows installer.  You can not get
> any easier than this.
> 
> However, here are issues I found with it so far. I do not know if these
> have been reported yet or not:
> 
> 1. gacutil -l 
>   fails to run.  it can not find /usr/local/mono/gac
> 
>   It is correct about the directory not existing. Mono was installed to
> my $HOME in directory mono-1.1.6 
> 
> 2. xsp - when you run xsp out of the box, you could have it specify xsp
> test pages.  This is what I have to do now.
> 
>   xsp --address 192.168.1.101 --port 8080 \
>   --root $HOME/mono-1.1.6/share/doc/xsp/test
> 
> I figured this out only because I'm already familiar with xsp, but for
> someone who is new - they may think it is broken - even though it is
> not.
> 
> 3. monodoc works nicely; however, trying to create new docs it fails for
> me.
> 
> monodoc --update assembly.dll folder/
> fails.  Or am I using monodoc incorrectly?
> 
> [EMAIL PROTECTED] ~]$ monodoc --update
> $HOME/mono-1.1.6/lib/mono/1.0/Mono.Data.SybaseClient.dll sybasedocs/
> 
> Unhandled Exception: System.NullReferenceException: Object reference not
> set to an instance of an object
> in <0x00043> Updater:GetName (System.Type t)
> in <0x000d0> Updater:Generate (System.Type type, System.String assembly,
> System.String ns, System.Int32 count)
> in <0x000ae> Updater:Generate (System.String assembly)
> in <0x00146> Updater:Main (System.String[] args)
> 
> I want to add docs for missing assemblies that are included with Mono.
> 
> 
> 
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono Installer/Uninstaller

2005-04-28 Thread Daniel Lopez

Hi,

The installations are self-contained, and should not affect each other.
If you have more than one installation, you will need to invoke the mono
binaries with absolute paths to make sure you are invoking the right one

cheers

Daniel

On Wed, Apr 27, 2005 at 04:47:25PM +0100, Milen Dzhumerov wrote:
> Hi all,
> 
> I've a few questions about the installer. What will happen if I use the 
> installer and install Mono 1.1.6 on a system where Mono 1.x is 
> installed? Is this case handled? What about uninstalling Mono on a 
> distro where you installed Mono using the installer?
> 
> Regards,
> gamehack
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Installer Error

2005-04-28 Thread Daniel Lopez

Hi Milen,

The Mono versionpackaged with the installer is based on the Red Hat 9 binary
build. It has some glibc dependencies that make it not work on certain
DEbian versions and derivatives, as notedin the website pages.
Once those issues are resolved, I can repackage it.

Best regards

Daniel

On Wed, Apr 27, 2005 at 05:42:26PM +0100, Milen Dzhumerov wrote:
> Hi all,
> 
> After I tried the installer, I really liked it.Unfortunately, I get a
> critical error. Here it is:
> 
> [EMAIL PROTECTED]:~$ monodevelop
> /home/gamehack/mono-1.1.6/bin/mono.bin: relocation
> error: /home/gamehack/mono-1.1.6/bin/mono.bin: symbol __libc_stack_end,
> version GLIBC_2.1 not defined in file ld-linux.so.2 with link time
> reference
> 
> I get the same error if I try to run monodoc as well. Does anyone have
> any idea how to fix that? The system is a stock Ubuntu Hoary.
> 
> Regards,
> gamehack
> 
> 
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] MonoDevelop in Mono Liux Intaller

2005-04-28 Thread Daniel Lopez

Hi Daniel,

Which errors do you get? if you install MonoDevelop from the RPMs, does it
work?

On Thu, Apr 28, 2005 at 08:30:32PM -0400, Daniel Morgan wrote:
> Hello,
> 
> I installed MonoDevelop on FC3 via the Mono Linux Installer.
> 
> MonoDevelop does not build nor run any projects it creates.  How can
> this be corrected?
> 
> As of now, I have to go to the command-line and run the make.sh script
> that MonoDevelop created.  This builds successfully, but in a different
> directory named Build.  The built program does work in that directory
> though.
> 
> I had some co-workers impressed by Mono even though MonoDevelop couldn't
> compile/run.
> 
> Thanks,
> Daniel
> 
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Where is 1.1.7 ?

2005-05-12 Thread Daniel Lopez
Hi everyone,

I am finishing uploading the 1.1.7 binary installer so Miguel can have a
look at it. It took me a bit, asI got confused for a few days with the
download page, thinking the source tarballs where out but not yet the RPMs
(the installer is built from the RPMs, for better compatibility)

Un saludo

Daniel

On Thu, May 12, 2005 at 12:27:02AM -0400, Ben Maurer wrote:
> On Wed, 2005-05-11 at 21:42 -0600, Poorna Pushkala wrote:
> > Hi,
> > 
> > It would really help, if we have a binary installer for mono 1.1.7. 
> > I do find Mono 1.1.6 Linux installer for x86. Where do I get one for
> > 1.1.7 ? 
> 
> The binary installers are kindly provided by external contributers,
> therefore they might come some time after the official release. We hope
> to package the binary installer internally as part of our attempt to
> enhance our build system.
> 
> > A binary installer is so easy to use :-)
> 
> I'd mention that the best supported, most tested, and easiest way is to
> use the rpms for your distrobution if they exist. Even easier is to rug
> sa http://go-mono.com/download and then rug sub to the mono-1.1-official
> channel. That will provide everything you need to get mono running and
> is the fastest way to get releases.
> 
> -- Ben
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: [MonoDevelop] MonoDevelop 0.7 Release

2005-05-19 Thread Daniel Lopez
Hola!

> Thank you for the great job.
> Is there a chance to see a new version of the binary installer having
> this latest release of Monodevelop (the current one doesn't seem to ship
> with monodevelop at all) ?

Yes, I will work on updating the installer to include MonoDevelop and
also Boo and latest versions of IKVM. It will take me a few days.

Best regards

Daniel
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] MonoDevelop 0.7

2005-05-23 Thread Daniel Lopez
Hola!

> Back onto point a bit here. I have noticed a couple recurring trends.
> 
> #1) People who use the installer, and not the rpms, and then install
> gtk# 1.9.5 into a *different* prefix than the installer, and then
> install MD seem to have the most issues. To me, and Daniel can correct
> me if I am wrong, but it seems that people using the installer don't
> seem to understand that if you don't install mono stuff into the same
> prefix as mono, you need to mung things like MONO_GAC_PATH and
> LD_LIBRARY_PATH, etc. Maybe this is something that should be put into
> some sort of HOWTO for the installer.

You are correct. The original purpose of the installer was more of a runtime
than using it for development purposes. All the MONO_GAC_PATH,
LD_LIBRARY_PATH "magic" happens in /bin/mono, which is a shell
script that sets the environment before executing Mono. If people are
compiling stuff against what is included, we need to make it more explicit,
add that to the installer Mini-FAQ in the website, maybe include it as a
README.

The installer, however, includes GTK# support, I believe he needs to
properly setup PKG_CONFIG_PATH to also point to /lib/pkgconfig

This week I plan to set aside some time and have a new build that includes
MonoDevelop support. 

> I would recommend for people who are having issues installing
> MonoDevelop look into how their mono prefix and gtk# prefixes are setup,
> as that seems to be the #1 cause of all of these problems. Mixing RPMS
> w/ tarballs w/ installers is not something that should be done lightly
> and indiscriminately.

I agree. I think all this comes from people trying all different
installation methods in their frustration to get things set up :)
A lot of people come from a Windows background, so this imposes much more
work on us packagers to make sure everything "just works". This is even more
difficult than, say, Java runtime, because of the dependencies all over the
place (gtk, gtkhtml, gecko, etc.). But we will get there, it just comes from
using a state-of-the-art platform like Mono ;)

Un saludo

Daniel









___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] mint.pc

2005-05-23 Thread Daniel Lopez
Hi,

The latest Mono 1.1.7 RH9 RPMs are missing lib/pkgconfig/mint.pc, is that an
oversight?

Best regards

Daniel
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mono-1.1.7-1-installer.bin seg faults

2005-06-13 Thread Daniel Lopez

Hi,

I am working on fixing this, it is going to take a bit. Please use

./mono-1.1.7-1-installer.bin --mode xwindow

as a workaround for now, as described in :

http://www.mono-project.com/InstallerInstructions


On Mon, Jun 13, 2005 at 08:06:42PM +1000, [EMAIL PROTECTED] wrote:
> # ./mono-1.1.7-1-installer.bin
> # Segmentation fault
> 
> 
> 
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono 1.1.8 binary installer and Ubuntu

2005-06-17 Thread Daniel Lopez
Hi Vincent

The GLIBC issues were solved by the Mono team, so it should now

Best regards

Daniel

On Fri, Jun 17, 2005 at 02:53:08PM +0200, Vincent Arnoux wrote:
> Hi,
> Is the binary installer now working on Ubuntu (if I remember well the 
> previous were not) ?
> 
> Vincent
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono Installation Question

2005-06-29 Thread Daniel Lopez

Hi Kent,

I think RHAS is too old for the RH9 RPMs and the installer (which is based
on the RedHat RPMs) since it seems they reguire a newer version of glibc and
libgmodule than  is available on your system. Have you tried compiling from 
source?
You may still not have access to GUI development, but the server side of
things should be fine

Best regards

Daniel


On Wed, Jun 29, 2005 at 05:01:55PM +0930, Kent Boogaart wrote:
> Hi there,
> 
> I need some help installing Mono on a Redhat Advanced Server release 2.1AS
> system. I'm pretty much a linux noob so please "speak slowly" for me :)
> 
> The first thing I tried was the installer for x86. The installation went
> smoothly. However, when I tried to run mono I got:
> mono: error while loading shared libraries: libgmodule-2.0.so.0:
> cannot open shared object file: No such file or directory
> 
> I wasn't sure what to do about this so I thought I'd try the RedHat RPMs
> (RedHat 9.0 x86). Trying to install the core RPM gives me:
> [EMAIL PROTECTED] mono]# rpm -i --test 
> mono-core-1.1.8.1-0.novell.i586.rpm
> error: failed dependencies:
> libc.so.6(GLIBC_2.3)   is needed by mono-core-1.1.8.1-0.novell
> libc.so.6(GLIBC_2.3.2)   is needed by
> mono-core-1.1.8.1-0.novell
> libglib-2.0.so.0   is needed by mono-core-1.1.8.1-0.novell
> libgmodule-2.0.so.0   is needed by
> mono-core-1.1.8.1-0.novell
> libgthread-2.0.so.0   is needed by
> mono-core-1.1.8.1-0.novell
> libpthread.so.0(GLIBC_2.3.2)   is needed by
> mono-core-1.1.8.1-0.novell
> 
> Therefore, I tried to install glibc but got this:
> [EMAIL PROTECTED] kb]# rpm -i --test glibc-2.3.2-27.9.7vfs3.i386.rpm
> error: failed dependencies:
> glibc-common = 2.3.2-27.9.7vfs3 is needed by
> glibc-2.3.2-27.9.7vfs3
> glibc > 2.2.5 conflicts with glibc-common-2.2.5-34
> 
> When trying to install glibc-common I get this:
> [EMAIL PROTECTED] kb]# rpm -i --test 
> glibc-common-2.3.2-27.9.7vfs3.i386.rpm
> error: failed dependencies:
> glibc < 2.3.2 conflicts with glibc-common-2.3.2-27.9.7vfs3
> 
> I'm not sure how to resolve this failed dependency. Has mono been proven to
> install OK on my distro? I'd appreciate any advice here.
> 
> Thanks a lot,
> Kent
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mono installer download fails via dial up - Help

2005-07-26 Thread Daniel Lopez

It is a big file (the price to pay to make sure it runs out-of-the-box
everywhere, but not so fun if you are in dialup)
If the problem is that you get disconnected,have you tried

wget -c 

which should allow you to resume failed downloads.
I dont know also if somebody has made the installer available via
bittorrent, that would be another option.

Best regards

Daniel

On Tue, Jul 26, 2005 at 12:59:00PM -0700, Rhythm King Drums wrote:
> Downloading mono via dial up fails, help.
> 
> I live in an area where dsl is not available.
> I have tried several times to download the mono installer binary for linux.
> Can someone burn a cd with mono installer binary for linux and mail it 
> to me?
> Is there a place to buy mono and other package cd's?
> 
> I will be glad to pay for the shipping and cd.
> 
> Thanks in advance.
> 
> J.W. Smith
> PO Box 371, Ardenvoir, WA 98811
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono installer and Ubuntu AMD64

2005-08-01 Thread Daniel Lopez
Hello

The installer is a 32bit binary. Other people have experienced sucess
running it on 64bit platforms, but I believe they also had installed 32bit
support.
As a workaround, I suggest installing on regular Linux distribution and then
packing it, copy it to the 64 machine and unpack in the same directory.

At Bitrock, we are currently looking at porting the installer to 64bit
Linux (anybody from AMD/Intel wants to donate some hardware? wink, wink ;)
It may take some weeks, as getting OSX out the door is our
priority right now (which will happen before LinuxWorld, or else our
bizdev person has promised us a very painful and slow death and you know
these people, they have way too much free time ;)

Chers

Daniel

On Mon, Aug 01, 2005 at 03:49:22PM +0200, Vincent Arnoux wrote:
> Hi all,
> I am running Ubuntu64.
> I downloaded mono-1.1.8.3_0-installer.bin, chmoded it, but when I try to 
> execute I get the following error:
> 
> [EMAIL PROTECTED]:~/Mono$ ./mono-1.1.8.3_0-installer.bin
> 
> (main.tcl:11621): Gdk-WARNING **: locale not supported by Xlib
> 
> (main.tcl:11621): Gdk-WARNING **: can not set locale modifiers
> 
> (main.tcl:11621): Gdk-WARNING **: Error converting from UTF-8 to STRING: 
> Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
> 
> (main.tcl:11621): Gdk-WARNING **: Error converting from UTF-8 to STRING: 
> Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
> 
> ** (main.tcl:11621): WARNING 
> **: /usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object 
> file: No such file or directory
> Failed to load Pango module for id: 'BasicScriptEngineFc'
> ** (main.tcl:11621): WARNING 
> **: /usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object 
> file: No such file or directory
> Failed to load Pango module for id: 'BasicScriptEngineFc'
> ** (main.tcl:11621): WARNING 
> **: /usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object 
> file: No such file or directory
> Failed to load Pango module for id: 'BasicScriptEngineFc'
> (main.tcl:11621): GLib-GObject-CRITICAL **: file gobject.c: line 1561 
> (g_object_ref): assertion `G_IS_OBJECT (object)' failed
> 
> ** (main.tcl:11621): CRITICAL **: file pango-engine.c: line 68 
> (_pango_engine_shape_shape): assertion `PANGO_IS_FONT (font)' failed
> 
> ** ERROR **: file shape.c: line 75 (pango_shape): assertion failed: 
> (glyphs->num_glyphs > 0)
> aborting...
> Abandon
> 
> 
> Does anyone know how to solve this ?
> 
> Vincent
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono installer and Ubuntu AMD64

2005-08-01 Thread Daniel Lopez

Er... I was talking about porting the installer, not Mono :)


On Mon, Aug 01, 2005 at 07:07:32PM +0200, Emil Emilov wrote:
> Hi :)
> You could get the tarball, compile it and install it yourself. It's not 
> that hard.
> Consider this URL:
> http://www.mono-project.com/Compiling_Mono
> 
> You will also need the ubuntu package "build-essential" i.e. following 
> command:
> sudo apt-get install build-essential
> 
> taken from Ubunutu Starter Guide (http://ubuntuguide.org/)
> 
> Enjoy :)
> 
> Daniel Lopez wrote:
> >Hello
> >
> >The installer is a 32bit binary. Other people have experienced sucess
> >running it on 64bit platforms, but I believe they also had installed 32bit
> >support.
> >As a workaround, I suggest installing on regular Linux distribution and 
> >then
> >packing it, copy it to the 64 machine and unpack in the same directory.
> >
> >At Bitrock, we are currently looking at porting the installer to 64bit
> >Linux (anybody from AMD/Intel wants to donate some hardware? wink, wink ;)
> >It may take some weeks, as getting OSX out the door is our
> >priority right now (which will happen before LinuxWorld, or else our
> >bizdev person has promised us a very painful and slow death and you know
> >these people, they have way too much free time ;)
> >
> >Chers
> >
> >Daniel
> >
> >On Mon, Aug 01, 2005 at 03:49:22PM +0200, Vincent Arnoux wrote:
> >
> >>Hi all,
> >>I am running Ubuntu64.
> >>I downloaded mono-1.1.8.3_0-installer.bin, chmoded it, but when I try to 
> >>execute I get the following error:
> >>
> >>[EMAIL PROTECTED]:~/Mono$ ./mono-1.1.8.3_0-installer.bin
> >>
> >>(main.tcl:11621): Gdk-WARNING **: locale not supported by Xlib
> >>
> >>(main.tcl:11621): Gdk-WARNING **: can not set locale modifiers
> >>
> >>(main.tcl:11621): Gdk-WARNING **: Error converting from UTF-8 to STRING: 
> >>Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
> >>
> >>(main.tcl:11621): Gdk-WARNING **: Error converting from UTF-8 to STRING: 
> >>Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
> >>
> >>** (main.tcl:11621): WARNING 
> >>**: /usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared 
> >>object file: No such file or directory
> >>Failed to load Pango module for id: 'BasicScriptEngineFc'
> >>** (main.tcl:11621): WARNING 
> >>**: /usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared 
> >>object file: No such file or directory
> >>Failed to load Pango module for id: 'BasicScriptEngineFc'
> >>** (main.tcl:11621): WARNING 
> >>**: /usr/lib/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared 
> >>object file: No such file or directory
> >>Failed to load Pango module for id: 'BasicScriptEngineFc'
> >>(main.tcl:11621): GLib-GObject-CRITICAL **: file gobject.c: line 1561 
> >>(g_object_ref): assertion `G_IS_OBJECT (object)' failed
> >>
> >>** (main.tcl:11621): CRITICAL **: file pango-engine.c: line 68 
> >>(_pango_engine_shape_shape): assertion `PANGO_IS_FONT (font)' failed
> >>
> >>** ERROR **: file shape.c: line 75 (pango_shape): assertion failed: 
> >>(glyphs->num_glyphs > 0)
> >>aborting...
> >>Abandon
> >>
> >>
> >>Does anyone know how to solve this ?
> >>
> >>Vincent
> >>___
> >>Mono-list maillist  -  Mono-list@lists.ximian.com
> >>http://lists.ximian.com/mailman/listinfo/mono-list
> >
> >___
> >Mono-list maillist  -  Mono-list@lists.ximian.com
> >http://lists.ximian.com/mailman/listinfo/mono-list
> >
> 
> -- 
> Emil R. Emilov
> ---
> mailto:[EMAIL PROTECTED]
> http://www.emilov.de
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list