[Mono-list] Lots of Npgsql partially reproductible errors

2008-03-11 Thread Nicolas Cornu
Hello,

I have a website made with ASP.NET that run with Mono on CentOS.
I switched from mysql to postgre because I was getting lot of bugs with
mysql drivers.
I get lot of bugs with Npgsql 1.0.0 driver or Npgsql 2.0 beta3 driver with
mono 1.2.6 or mono 1.9 beta3.
This error are partially reproductible. If i hit refresh on the navigator
the page is sometimes displayed succesfully, sometimes I get the same
error or another error.

When I develop the website on Windows XP / IIS I never get any errors.

I would like to know if someone experience problems with Npgsql driver
1.0.0 or 2.0 beta3(I don't use 1.0.1) ?

I asked for help on Npgsql forums, here is the link to the discussion
http://pgfoundry.org/forum/forum.php?thread_id=1629forum_id=519

In advance thanks,

Cornu Nicolas

--

Offending URL:
http://www.syndica.fr/article.aspx?articleid=1ae22922ac225be4942fa39e249ab90c

Source: System.Web

Message: Exception has been thrown by the target of an invocation.

Stack trace:

at System.Web.UI.Page.ProcessException (System.Exception e) [0x0]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x0]
at System.Web.HttpApplication+c__CompilerGenerated2.MoveNext () [0x0]
at System.Web.HttpApplication.Tick () [0x0]

Complete stack trace:
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. --- NHibernate.ADOException: could not
execute query [ select feeditem0_.hash as hash4_, feeditem0_.feed_link as
feed2_4_, feeditem0_.link as link4_, feeditem0_.parent_feed_hash as
parent4_4_, feeditem0_.date as date4_, feeditem0_.title as title4_,
feeditem0_.content as content4_, feeditem0_.author as author4_,
feeditem0_.category as category4_ from feeds_items feeditem0_ where
(feeditem0_.parent_feed_hash IN(select feed1_.hash from feeds feed1_ where
(feed1_.suggested_category_id='6c9e3180bd4a41c08db94500ac397dad' ))) order
by feeditem0_.date DESC LIMIT 14 OFFSET 1 ] [SQL: select feeditem0_.hash
as hash4_, feeditem0_.feed_link as feed2_4_, feeditem0_.link as link4_,
feeditem0_.parent_feed_hash as parent4_4_, feeditem0_.date as date4_,
feeditem0_.title as title4_, feeditem0_.content as content4_,
feeditem0_.author as author4_, feeditem0_.category as category4_ from
feeds_items feeditem0_ where (feeditem0_.parent_feed_hash IN(select
feed1_.hash from feeds feed1_ where
(feed1_.suggested_category_id='6c9e3180bd4a41c08db94500ac397dad' ))) order
by feeditem0_.date DESC LIMIT 14 OFFSET 1] ---
System.NullReferenceException: Object reference not set to an instance of
an object
at Npgsql.NpgsqlState.ProcessBackendResponses_Ver_3
(Npgsql.NpgsqlConnector context) [0x0]
at Npgsql.NpgsqlState.ProcessBackendResponses (Npgsql.NpgsqlConnector
context) [0x0]
at Npgsql.NpgsqlReadyState.Query (Npgsql.NpgsqlConnector context,
Npgsql.NpgsqlCommand command) [0x0]
at Npgsql.NpgsqlConnector.Query (Npgsql.NpgsqlCommand queryCommand) [0x0]
at Npgsql.NpgsqlCommand.ExecuteCommand () [0x0]
at Npgsql.NpgsqlCommand.ExecuteReader (CommandBehavior cb) [0x0]
at Npgsql.NpgsqlCommand.ExecuteDbDataReader (CommandBehavior behavior)
[0x0]
at System.Data.Common.DbCommand.ExecuteReader () [0x0]
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader ()
[0x0]
at NHibernate.Impl.BatcherImpl.ExecuteReader (IDbCommand cmd) [0x0]
at NHibernate.Loader.Loader.GetResultSet (IDbCommand st,
NHibernate.Engine.RowSelection selection, ISessionImplementor session)
[0x0] --- End of inner exception stack trace ---
at NHibernate.Loader.Loader.DoList (ISessionImplementor session,
NHibernate.Engine.QueryParameters queryParameters) [0x0]
at NHibernate.Loader.Loader.ListIgnoreQueryCache (ISessionImplementor
session, NHibernate.Engine.QueryParameters queryParameters) [0x0]
at NHibernate.Loader.Loader.List (ISessionImplementor session,
NHibernate.Engine.QueryParameters queryParameters, ISet querySpaces,
NHibernate.Type.IType[] resultTypes) [0x0]
at NHibernate.Hql.Classic.QueryTranslator.List (ISessionImplementor
session, NHibernate.Engine.QueryParameters queryParameters) [0x0]
at NHibernate.Impl.SessionImpl.Find (System.String query,
NHibernate.Engine.QueryParameters parameters, IList results) [0x0] ---
End of inner exception stack trace ---
at System.Web.UI.Page.ProcessException (System.Exception e) [0x0]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x0]
at System.Web.HttpApplication+c__CompilerGenerated2.MoveNext () [0x0]
at System.Web.HttpApplication.Tick () [0x0]




Offending URL:
http://www.syndica.fr/article.aspx?articleid=0f7795d47727c134dead6a2596579274

Source: System.Web

Message: Exception has been thrown by the target of an invocation.


[Mono-list] Problem with mod_mono, Autoconfiguration, and mono 1.2

2006-11-29 Thread Nicolas Cornu
Hello,

I have a FC4 with mono 1.2 from mono repository.
I want to use Autoconfiguration mod_mono directive.

I have done what it is said on the Autoconfiguration webpage on 
mono-project.com.

My website is an ASP.NET 2.0 application and i get a compilation error 
about generic.
The compliler used to compile the app is mcs not gmcs.

I tryed to set MonoPath and MonoServerPath without success.
I get: Internal server error

Thanks in advance,

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


[Mono-list] Problem with mod_mono, Autoconfiguration, and mono 1.2

2006-11-29 Thread Nicolas Cornu
Hello,

I have a FC4 with mono 1.2 from mono repository.
I want to use Autoconfiguration mod_mono directive.

I have done what it is said on the Autoconfiguration webpage on 
mono-project.com.

My website is an ASP.NET 2.0 application and i get a compilation error 
about generic.
The compliler used to compile the app is mcs not gmcs.

I tryed to set MonoPath and MonoServerPath without success.
I get: Internal server error

Thanks in advance,

CN

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


[Mono-list] Mono.Data.Sqlite problem

2006-09-02 Thread Nicolas Cornu
Hello,

I use Mono.Data.Sqlite.dll in my ASP.NET project on Windows
The application create all the needed table.
I can read an insert into them.
If i use any program to see the content of my database it does not show 
any table
If i create the table using one of this program i can read or insert 
into created table with the web application.

On Linux i remenber that i created the database with Sqlite3 and i can 
iread and insert into it form the web application that i run with Xsp2.

I would like to see the content of my table with any sqlite database 
visualizer program and ba able to use it in my web project.

In advance thanks,

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


[Mono-list] Mono.Data.Sqlite problem to check the content of my database with external program

2006-09-02 Thread Nicolas Cornu
Hello,

I use Mono.Data.Sqlite.dll in my ASP.NET project on Windows
The application create all the needed table.
I can read an insert into them.
If i use any program to see the content of my database it does not show 
any table
If i create the table using one of this program i can read or insert 
into created table with the web application.

On Linux i remenber that i created the database with Sqlite3 and i can 
iread and insert into it form the web application that i run with Xsp2.

I would like to see the content of my table with any sqlite database 
visualizer program and ba able to use it in my web project.

In advance thanks,

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


[Mono-list] Xsp2, ConfigurationManager in the context of MasterPage

2006-08-10 Thread Nicolas Cornu
Hello,

I get this error:
MasterPage.master.cs(26,13) : error CS0103: The name 
`ConfigurationManager' does not exist in the context of `MasterPage'

I tihnk it is not implemented cause it work fine on the visual studio 
2005 webserver.
Can someone confirm this ?

Thanks in advance,

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


[Mono-list] Error Mapping across applications not allowed

2006-07-25 Thread Nicolas Cornu

  Hello,

I have this error:

I try to get a page that is in one subfolder: subfolder/test1.aspx
I get this:


  Server error in '/' application




/MapPath: Mapping across applications not allowed/

*Description: *Error processing request.

*Error Message: *HTTP 500. MapPath: Mapping across applications not allowe


I tryed ~/subfolder/test1.aspx but it don't help.

In advance thanks,

Cornu Nicolas

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


[Mono-list] XSP2 SIGSEGV SIGNAL

2006-07-08 Thread Nicolas Cornu
Hello,

I got this error while executing my ASP.NET 2 application with Xsp2. I 
am testing if my website developpe dunder Visual Studio 2005 run with xsp2.
I don't know if I must post this here.


=
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=

Stacktrace:

in (wrapper managed-to-native) 
Mono.Data.SqliteClient.Sqlite:sqlite3_prepare 
(intptr,string,int,intptr,intptr) 0x4
in (wrapper managed-to-native) 
Mono.Data.SqliteClient.Sqlite:sqlite3_prepare 
(intptr,string,int,intptr,intptr) 0xf820
in Mono.Data.SqliteClient.SqliteCommand:ExecuteReader 
(System.Data.CommandBehavior,bool,int) 0xb8
in Mono.Data.SqliteClient.SqliteCommand:ExecuteReader 
(System.Data.CommandBehavior) 0x20
in Mono.Data.SqliteClient.SqliteCommand:ExecuteReader () 0xf
in 
Mono.Data.SqliteClient.SqliteCommand:System.Data.IDbCommand.ExecuteReader 
() 0xd
in Cyberdev.Authentification.UserManager:IsValidUser (string,string) 0x65
in login:Page_Load (object,System.EventArgs) 0x134
in (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_object_EventArgs 
(object,System.EventArgs) 0x10ebb7
in System.Web.UI.Control:OnLoad (System.EventArgs) 0x117
in System.Web.UI.Control:LoadRecursive () 0x112
in System.Web.UI.Page:InternalProcessRequest () 0x1c4
in System.Web.UI.Page:ProcessRequest (System.Web.HttpContext) 0xa7
in Pipeline__1:MoveNext () 0x1a09
in System.Web.HttpApplication:Tick () 0x1f
in System.Web.HttpApplication:Start (object) 0x37
in 
System.Web.HttpApplication:System.Web.IHttpAsyncHandler.BeginProcessRequest 
(System.Web.HttpContext,System.AsyncCallback,object) 0x68
in System.Web.HttpRuntime:RealProcessRequest (object) 0x1ab
in System.Web.HttpRuntime:ProcessRequest (System.Web.HttpWorkerRequest) 
0x2c
in Mono.WebServer.MonoWorkerRequest:ProcessRequest () 0xa
in Mono.WebServer.BaseApplicationHost:ProcessRequest 
(Mono.WebServer.MonoWorkerRequest) 0x43
in Mono.WebServer.XSPApplicationHost:ProcessRequest 
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
 
0x37f
in (wrapper remoting-invoke-with-check) 
Mono.WebServer.XSPApplicationHost:ProcessRequest 
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
 
0xfa6c
in (wrapper xdomain-dispatch) 
Mono.WebServer.XSPApplicationHost:ProcessRequest 
(object,byte[],byte[],int,long,int,long,int,string,string,string,string,byte[],string)
 
0xfffd892b
in (wrapper xdomain-invoke) 
Mono.WebServer.XSPApplicationHost:ProcessRequest 
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
 
0xff3d
in (wrapper remoting-invoke-with-check) 
Mono.WebServer.XSPApplicationHost:ProcessRequest 
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
 
0xffd6982b
in Mono.WebServer.XSPWorker:InnerRun (object) 0x563
in Mono.WebServer.XSPWorker:Run (object) 0x22
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object 
(object) 0xff95
in (wrapper runtime-invoke) System.Object:runtime_invoke_void_object 
(object,intptr,intptr,intptr) 0x7841857

Native stacktrace:

/usr/bin/mono(mono_handle_native_sigsegv+0xbb) [0x814f88b]
/usr/bin/mono [0x813bc3f]
[0xa15440]
/usr/lib/libsqlite3.so.0(sqlite3_prepare+0x43) [0xd42f2e]
[0xc63df8]
[0xc635d9]
[0xc63db1]
[0xc63d78]
[0xc63d4e]
[0x34b724e]
[0xc90935]
[0xc6c41a]
[0xd7af90]
[0xd7add3]
[0xc923ed]
[0xc902f8]
[0xc6a94a]
[0xc68e68]
[0xc64a38]
[0xc64919]
[0xbdc90c]
[0xbdc42d]
[0xbdc3eb]
[0xbdc154]
[0xbba378]
[0xbb9739]
[0xbb903d]
[0xb915ec]
[0xb913ae]
[0x8faadc]
[0x8fa3b3]
[0x8fa36c]
[0x8fa2c6]
/usr/bin/mono [0x813baf0]
/usr/bin/mono(mono_runtime_invoke+0x27) [0x80d6827]
/usr/bin/mono(mono_runtime_invoke_array+0x270) [0x80d7d00]
/usr/bin/mono(mono_message_invoke+0xc5) [0x80d9815]
/usr/bin/mono [0x80a52bf]
/usr/bin/mono [0x80a5ae9]
/usr/bin/mono [0x809a072]
/usr/bin/mono [0x80f5317]
/usr/bin/mono [0x8113ac5]
/lib/libpthread.so.0 [0x1a0bd4]
/lib/libc.so.6(__clone+0x5e) [0xafe4fe]
Abandon



In advance thanks,

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


[Mono-list] Monodevelop FC 4 x64

2006-01-30 Thread Nicolas Cornu

Hello,

I use mono.com yum server to install mono packages.
I installed mono and gtk-sharp 2 and some other libs but i miss some 
dependancy for monodevelop.

Is there a package to install or do i need to compil gtk-sharp ?

-- Populating transaction set with selected packages. Please wait.
--- Package monodevelop.noarch 0:0.9-2.novell set to be updated
-- Running transaction check
-- Processing Dependency: mono(nunit.core) = 2.2.0.0 for package: 
monodevelop
-- Processing Dependency: mono(gtksourceview-sharp) = 1.0.0.2 for 
package: monodevelop
-- Processing Dependency: mono(Boo.Lang.Interpreter) = 1.0.0.0 for 
package: monodevelop
-- Processing Dependency: mono(System.Data.OracleClient) = 1.0.5000.0 
for package: monodevelop
-- Processing Dependency: mono(gdk-sharp) = 2.4.0.0 for package: 
monodevelop

-- Processing Dependency: mono(Boo.Lang) = 1.0.0.0 for package: monodevelop
-- Processing Dependency: mono(gnome-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(gconf-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(gtkhtml-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(Mono.Data.SybaseClient) = 1.0.5000.0 for 
package: monodevelop
-- Processing Dependency: mono(Boo.Lang.Parser) = 1.0.0.0 for package: 
monodevelop

-- Processing Dependency: mono(monodoc) = 1.0.0.0 for package: monodevelop
-- Processing Dependency: mono(glib-sharp) = 2.4.0.0 for package: 
monodevelop

-- Processing Dependency: ikvm for package: monodevelop
-- Processing Dependency: mono(glade-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(gtk-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(Boo.Lang.Compiler) = 1.0.0.0 for 
package: monodevelop
-- Processing Dependency: mono(gnome-vfs-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(gecko-sharp) = 2.0.0.0 for package: 
monodevelop
-- Processing Dependency: mono(pango-sharp) = 2.4.0.0 for package: 
monodevelop

-- Restarting Dependency Resolution with new changes.
-- Populating transaction set with selected packages. Please wait.
--- Package boo.noarch 0:0.7.0.1921-0.novell set to be updated
--- Package mono-data-sybase.x86_64 0:1.1.13.2-0.novell set to be updated
--- Package gtksourceview-sharp2.noarch 0:0.10-3.novell set to be updated
--- Package mono-data-oracle.x86_64 0:1.1.13.2-0.novell set to be updated
--- Package mono-nunit.x86_64 0:1.1.13.2-0.novell set to be updated
--- Package monodoc-core.noarch 0:1.1.13-0.novell set to be updated
--- Package gecko-sharp2.noarch 0:0.11-1.novell set to be updated
--- Package ikvm.noarch 1:0.22-0.novell set to be updated
-- Running transaction check
-- Processing Dependency: mono(gtk-sharp) = 2.4.0.0 for package: 
gecko-sharp2
-- Processing Dependency: mono(gtk-sharp) = 2.4.0.0 for package: 
gtksourceview-sharp2
-- Processing Dependency: mono(gdk-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(gnome-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(gtkhtml-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(glib-sharp) = 2.4.0.0 for package: 
gecko-sharp2
-- Processing Dependency: mono(pango-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(gconf-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(gnome-sharp) = 2.4.0.0 for package: 
gtksourceview-sharp2
-- Processing Dependency: mono(gdk-sharp) = 2.4.0.0 for package: 
gtksourceview-sharp2
-- Processing Dependency: mono(glib-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(gnome-vfs-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(glade-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(gtk-sharp) = 2.4.0.0 for package: 
monodevelop
-- Processing Dependency: mono(glib-sharp) = 2.4.0.0 for package: 
gtksourceview-sharp2

-- Finished Dependency Resolution
Error: Missing Dependency: mono(gdk-sharp) = 2.4.0.0 is needed by 
package monodevelop
Error: Missing Dependency: mono(gnome-sharp) = 2.4.0.0 is needed by 
package monodevelop
Error: Missing Dependency: mono(gconf-sharp) = 2.4.0.0 is needed by 
package monodevelop
Error: Missing Dependency: mono(gtkhtml-sharp) = 2.4.0.0 is needed by 
package monodevelop
Error: Missing Dependency: mono(glib-sharp) = 2.4.0.0 is needed by 
package monodevelop
Error: Missing Dependency: mono(glade-sharp) = 2.4.0.0 is needed by 
package monodevelop
Error: Missing Dependency: mono(gtk-sharp) = 2.4.0.0 is needed by 
package monodevelop
Error: Missing Dependency: mono(gnome-vfs-sharp) = 2.4.0.0 is needed by 
package monodevelop
Error: Missing Dependency: mono(pango-sharp) = 2.4.0.0 is needed by 
package monodevelop
Error: Missing Dependency: mono(gtk-sharp) = 2.4.0.0 is needed by 
package gecko-sharp2
Error: Missing Dependency: mono(gtk-sharp) = 2.4.0.0 is needed by 
package gtksourceview-sharp2
Error: Missing Dependency: 

Re: [Mono-list] Re: ASP .NET Application

2006-01-17 Thread Nicolas Cornu

Robert Jordan a écrit :


Nicolas,

You have 2 choices:

1. remove the Src-attribute and precompile the code-behind file
   with mcs:

   %@ Application language=C# Inherits=Everquest2.Global %

   You may also rename Src to Codebehind. This way the code remains
   compatible with VS.NET.

2. don't precompile the code-behind file and remove the Everquest2
   assembly from bin:

   %@ Application language=C# Src=global.asax.cs %


Robert


Robert Jordan a écrit :


Nicolas,


Bin directory contain: everquest2-fr.dll and Npgsql.dll
If i run XSP on the website directory i get this error:


   /Compilation Error/

*Description: *Error compiling a resource required to service this 
request. Review your source file and modify it to fix this error.


*Error message: */tmp/root-temp-aspnet-0/ab3f0828/26794.0.cs(26,27) 
: error CS0433: The imported type `Everquest2.Global' is defined 
multiple times





You have shared the *source code* of the type Everquest2.Global
with everquest2-fr.dll and one of your pages. That kind of source
code include is not allowed in C#.

Robert

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



-- 


Global.asax.cs
-- 

%@ Application language=C# Src=global.asax.cs 
Inherits=Everquest2.Global %


--- 


Global.asax.cs
-- 


using System;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;

namespace Everquest2
{
/// summary
/// Summary description for Global.
/// /summary
public class Global : System.Web.HttpApplication
{
  /*public Global()
  {
InitializeComponent();
  } */   protected void Application_Start(Object 
sender, EventArgs e)

  {

  }

  protected void Session_Start(Object sender, EventArgs e)
  {  Response.Write(123);
  }

  protected void Application_BeginRequest(Object sender, 
EventArgs e)

  {


  }

  protected void Application_EndRequest(Object sender, 
EventArgs e)

  {

  }

  protected void Application_AuthenticateRequest(Object 
sender, EventArgs e)

  {


  }

  protected void Application_Error(Object sender, EventArgs e)
  {


  }

  protected void Session_End(Object sender, EventArgs e)
  {

  }

  protected void Application_End(Object sender, EventArgs e)
  {

  }

  #region Web Form Designer generated code
  /// summary
  /// Required method for Designer support - do not modify
  /// the contents of this method with the code editor.
  /// /summary
  private void InitializeComponent()
  { }
  #endregion
}
}

- 

mcs -t:library *.cs -out:bin/Everquest2.dll -r:System.Web.dll 
-r:System.Data -r:System.Drawing.dll -r:Npgsql
- 



I don't understand why

In advance thanks,

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


Thanks a lot for your answers.

My question is how do i use Global object in the case of i don't 
precompil my project. I did delete the library in bin but it seem 123 is 
never printed.


protected void Session_Start(Object sender, EventArgs e)
 {  Response.Write(123);
 }

I use the solution with precompilation with Codebehind instaed of Src 
and it work fine.


Thanks a lot.

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


Re: [Mono-list] Re: ASP .NET Application

2006-01-16 Thread Nicolas Cornu

Robert Jordan a écrit :


Nicolas,


Bin directory contain: everquest2-fr.dll and Npgsql.dll
If i run XSP on the website directory i get this error:


   /Compilation Error/

*Description: *Error compiling a resource required to service this 
request. Review your source file and modify it to fix this error.


*Error message: */tmp/root-temp-aspnet-0/ab3f0828/26794.0.cs(26,27) : 
error CS0433: The imported type `Everquest2.Global' is defined 
multiple times




You have shared the *source code* of the type Everquest2.Global
with everquest2-fr.dll and one of your pages. That kind of source
code include is not allowed in C#.

Robert

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


-- 


Global.asax.cs
-- 

%@ Application language=C# Src=global.asax.cs 
Inherits=Everquest2.Global %


--- 


Global.asax.cs
-- 


using System;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;

namespace Everquest2
{
/// summary
/// Summary description for Global.
/// /summary
public class Global : System.Web.HttpApplication
{
  /*public Global()
  {
InitializeComponent();
  } */ 
  protected void Application_Start(Object sender, EventArgs e)

  {

  }

  protected void Session_Start(Object sender, EventArgs e)
  {  Response.Write(123);
  }

  protected void Application_BeginRequest(Object sender, 
EventArgs e)

  {


  }

  protected void Application_EndRequest(Object sender, 
EventArgs e)

  {

  }

  protected void Application_AuthenticateRequest(Object sender, 
EventArgs e)

  {


  }

  protected void Application_Error(Object sender, EventArgs e)
  {


  }

  protected void Session_End(Object sender, EventArgs e)
  {

  }

  protected void Application_End(Object sender, EventArgs e)
  {

  }

  #region Web Form Designer generated code
  /// summary
  /// Required method for Designer support - do not modify
  /// the contents of this method with the code editor.
  /// /summary
  private void InitializeComponent()
  { }
  #endregion
}
}

- 

mcs -t:library *.cs -out:bin/Everquest2.dll -r:System.Web.dll 
-r:System.Data -r:System.Drawing.dll -r:Npgsql
- 



I don't understand why

In advance thanks,

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


[Mono-list] ASP .NET Application

2006-01-15 Thread Nicolas Cornu

Hello,

I have troubles setting up an asp .net application.
A aspx page work fine but i don't know how to make an asp .net application
i would like to use Global.asax file and the Global class and object.

I did compil all .cs files into a library and put it in the subdirectory 
bin of my website

but i get an error.


With this config without using global.asax the website work:

VirtualHost 192.168.0.2:80
ServerName www.everquest2-fr.com
DocumentRoot /var/www/everquest2-fr.com/httpdocs
#Alias / /var/www/everquest2-fr.com/httpdocs
#AddMonoApplications eq2 /:/var/www/everquest2-fr.com/httpdocs
#Directory /var/www/everquest2-fr.com/httpdocs/
#allow from all
#DirectoryIndex index.aspx index.html index.php
#Options +Indexes
#/Directory
#Location /
#  SetHandler mono
#  Allow from all
#/Location
Location /mono
 SetHandler mono-ctrl
 Allow from all
/Location
ServerName www.everquest2-fr.com
/VirtualHost


With this config without using global.asax the website d'ont work
i get an Internal server error:

VirtualHost 192.168.0.2:80
ServerName www.everquest2-fr.com
DocumentRoot /var/www/everquest2-fr.com/httpdocs
Alias / /var/www/everquest2-fr.com/httpdocs
AddMonoApplications eq2 /:/var/www/everquest2-fr.com/httpdocs
#Directory /var/www/everquest2-fr.com/httpdocs/
#allow from all
#DirectoryIndex index.aspx index.html index.php
#Options +Indexes
#/Directory
Location /
 SetHandler mono
 Allow from all
/Location
Location /mono
 SetHandler mono-ctrl
 Allow from all
/Location
ServerName www.everquest2-fr.com
/VirtualHost

--
I disabled SE Linux, i got:
avc:  denied  { write } for  pid=15001 comm=httpd 
name=mod_mono_server_global dev=hdc1 ino=68848 
scontext=root:system_r:httpd_t tcontext=root:object_r:tmp_t tclass=sock_file


I would like to know what i need to do to have an ASP .NET 1 application 
working, i prefer not having to recompil the project due to the fact i 
develop the site on windows on another computer.


Thanks in advance.

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


Re: [Mono-list] ASP .NET Application

2006-01-15 Thread Nicolas Cornu

Nicolas Cornu a écrit :


Hello,

I have troubles setting up an asp .net application.
A aspx page work fine but i don't know how to make an asp .net 
application

i would like to use Global.asax file and the Global class and object.

I did compil all .cs files into a library and put it in the 
subdirectory bin of my website

but i get an error.


With this config without using global.asax the website work:

VirtualHost 192.168.0.2:80
ServerName www.everquest2-fr.com
DocumentRoot /var/www/everquest2-fr.com/httpdocs
#Alias / /var/www/everquest2-fr.com/httpdocs
#AddMonoApplications eq2 /:/var/www/everquest2-fr.com/httpdocs
#Directory /var/www/everquest2-fr.com/httpdocs/
#allow from all
#DirectoryIndex index.aspx index.html index.php
#Options +Indexes
#/Directory
#Location /
#  SetHandler mono
#  Allow from all
#/Location
Location /mono
 SetHandler mono-ctrl
 Allow from all
/Location
ServerName www.everquest2-fr.com
/VirtualHost


With this config without using global.asax the website d'ont work
i get an Internal server error:

VirtualHost 192.168.0.2:80
ServerName www.everquest2-fr.com
DocumentRoot /var/www/everquest2-fr.com/httpdocs
Alias / /var/www/everquest2-fr.com/httpdocs
AddMonoApplications eq2 /:/var/www/everquest2-fr.com/httpdocs
#Directory /var/www/everquest2-fr.com/httpdocs/
#allow from all
#DirectoryIndex index.aspx index.html index.php
#Options +Indexes
#/Directory
Location /
 SetHandler mono
 Allow from all
/Location
Location /mono
 SetHandler mono-ctrl
 Allow from all
/Location
ServerName www.everquest2-fr.com
/VirtualHost

--
I disabled SE Linux, i got:
avc:  denied  { write } for  pid=15001 comm=httpd 
name=mod_mono_server_global dev=hdc1 ino=68848 
scontext=root:system_r:httpd_t tcontext=root:object_r:tmp_t 
tclass=sock_file


I would like to know what i need to do to have an ASP .NET 1 
application working, i prefer not having to recompil the project due 
to the fact i develop the site on windows on another computer.


Thanks in advance.

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


Bin directory contain: everquest2-fr.dll and Npgsql.dll
If i run XSP on the website directory i get this error:


   /Compilation Error/

*Description: *Error compiling a resource required to service this 
request. Review your source file and modify it to fix this error.


*Error message: */tmp/root-temp-aspnet-0/ab3f0828/26794.0.cs(26,27) : 
error CS0433: The imported type `Everquest2.Global' is defined multiple 
times



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


Re: [Mono-list] ASP.NET 2

2005-10-29 Thread Nicolas Cornu

Gaurav Vaish (Mono) a écrit :


Hi Miguel,

   I suspect, Nicolas was looking at ASP.Net features in terms of controls 
available.


   As from what I can see from code, 2.0 is far from completion.

   Not sure, but probably Gonzalo may list down the set of Completed or 
Almost Completed controls...



--
Cheers,
Gaurav Vaish
http://mastergaurav.org
-


- Original Message - 
From: Miguel de Icaza [EMAIL PROTECTED]

To: Nicolas Cornu [EMAIL PROTECTED]
Cc: mono-list@lists.ximian.com
Sent: Saturday, October 29, 2005 20:46
Subject: Re: [Mono-list] ASP.NET 2


: Hello,
:
:  I am devleopping using ASP.NET 2 on Windows i would like ot know what is
:  the point with ASP.NET 2 support and mono.
:  What things are supported
:
: The list is detailed on the various release notes for Mono for the past
: few releases, you need to read them all though, start here:
:
: http://www.go-mono.com/archive/1.1.9
:
: Miguel
: ___
: Mono-list maillist  -  Mono-list@lists.ximian.com
: http://lists.ximian.com/mailman/listinfo/mono-list 

 

I would like the contorls status and the supported syntax and to know if 
MasterPage are supported.


I have some toruble with ASP.NET 2 code. I code my page in separate file 
like Default.aspx.cs without masterpages and i can't get the code 
executed. I use mono 1.1.9 on FC 2. If i code in Default.aspx it work fine.


I would like ot know if i need to make a DLL for the project or if mono 
do automatic compilation and generate assemblies.


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


[Mono-list] ASP.NET 2

2005-10-28 Thread Nicolas Cornu

Hello,

I am devleopping using ASP.NET 2 on Windows i would like ot know what is 
the point with ASP.NET 2 support and mono.

What things are supported

I don't know if there is an asp.net mailing list and where to ask.

Thanks in advance,

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


[Mono-list] unsuscribe

2005-09-23 Thread Nicolas Cornu

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


[Mono-list] How to use Makefile with mono

2005-09-11 Thread Nicolas Cornu

Hello,

I am developping a software in Visual Basic .NET that use SWF.
I would like to port it to Linux and i would like to compil the project 
under my linux system.

I have Mono 1.1.9 and i will have soon SWF working.

I would like to know how to compil my app using a makefile.
I don't have any information about this and i can't find some on web.

In advance thanks,

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


Re: [Mono-winforms-list] Theming in MWF

2005-07-31 Thread Nicolas Cornu

Is this configuration ok to use SWF with mono ?

libgdiplus

cairo will be compiled with the following surface backends:
 Xlib: yes
 Quartz: no
 XCB: yes
 PostScript: yes
 PDF: no
 PNG: yes
 glitz: no (requires glitz http://freedesktop.org/software/glitz)

and the following font backends:
 freetype: yes
 atsui: no

---
Configuration summary

  * Installation prefix = /usr
  * Codecs supported:

 - TIFF: yes
 - JPEG: yes
 - GIF: yes
 - PNG: yes

 NOTE: if any of the above say 'no' you may install the
   corresponding development packages for them, rerun
   autogen.sh to include them in the build.

---

GtkSharp-2.0-2.5.5
--
Configuration summary

  * Installation prefix = /usr
  * C# compiler: /usr/bin/mcs

  Optional assemblies included in the build:

 * art-sharp.dll: yes
 * gnomevfs-sharp.dll: yes
 * gnome-sharp.dll: no
 * glade-sharp.dll: yes
 * gda-sharp.dll: no
 * gnomedb-sharp.dll: no
 * rsvg-sharp.dll: no
 * gtkhtml-sharp.dll: no
 * vte-sharp.dll: no
 * panelapplet-sharp.dll: no

 NOTE: if any of the above say 'no' you may install the
   corresponding development packages for them, rerun
   autogen.sh to include them in the build.

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


[Mono-winforms-list] MWF not working

2005-07-31 Thread Nicolas Cornu


cairo will be compiled with the following surface backends:
 Xlib: yes
 Quartz: no
 XCB: yes
 PostScript: yes
 PDF: no
 PNG: yes
 glitz: no (requires glitz http://freedesktop.org/software/glitz)

and the following font backends:
 freetype: yes
 atsui: no

---
Configuration summary

  * Installation prefix = /usr
  * Codecs supported:

 - TIFF: yes
 - JPEG: yes
 - GIF: yes
 - PNG: yes

 NOTE: if any of the above say 'no' you may install the
   corresponding development packages for them, rerun
   autogen.sh to include them in the build.

---

GtkSharp-2.0-2.5.5
--
Configuration summary

  * Installation prefix = /usr
  * C# compiler: /usr/bin/mcs

  Optional assemblies included in the build:

 * art-sharp.dll: yes
 * gnomevfs-sharp.dll: yes
 * gnome-sharp.dll: no
 * glade-sharp.dll: yes
 * gda-sharp.dll: no
 * gnomedb-sharp.dll: no
 * rsvg-sharp.dll: no
 * gtkhtml-sharp.dll: no
 * vte-sharp.dll: no
 * panelapplet-sharp.dll: no

 NOTE: if any of the above say 'no' you may install the
   corresponding development packages for them, rerun
   autogen.sh to include them in the build.
___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Re: [Mono-winforms-list] Theming in MWF

2005-07-31 Thread Nicolas Cornu

Peter Dennis Bartok a écrit :


Yep, you got freetype, Xlib and all four image formats. You're good to go.

Peter
-Original Message-
From: Nicolas Cornu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Sunday, 31 July, 2005 07:37
Subject: Re: [Mono-winforms-list] Theming in MWF


 


Is this configuration ok to use SWF with mono ?

libgdiplus

cairo will be compiled with the following surface backends:
Xlib: yes
Quartz: no
XCB: yes
PostScript: yes
PDF: no
PNG: yes
glitz: no (requires glitz http://freedesktop.org/software/glitz)

and the following font backends:
freetype: yes
atsui: no

---
Configuration summary

 * Installation prefix = /usr
 * Codecs supported:

- TIFF: yes
- JPEG: yes
- GIF: yes
- PNG: yes

NOTE: if any of the above say 'no' you may install the
  corresponding development packages for them, rerun
  autogen.sh to include them in the build.

---

GtkSharp-2.0-2.5.5
--
Configuration summary

 * Installation prefix = /usr
 * C# compiler: /usr/bin/mcs

 Optional assemblies included in the build:

* art-sharp.dll: yes
* gnomevfs-sharp.dll: yes
* gnome-sharp.dll: no
* glade-sharp.dll: yes
* gda-sharp.dll: no
* gnomedb-sharp.dll: no
* rsvg-sharp.dll: no
* gtkhtml-sharp.dll: no
* vte-sharp.dll: no
* panelapplet-sharp.dll: no

NOTE: if any of the above say 'no' you may install the
  corresponding development packages for them, rerun
  autogen.sh to include them in the build.

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


   



 

why do i get this error when starting a basic program written in C# 
using SWF:


Mono System.Windows.Forms Assembly [Revision: 44786; built: 2005/5/25 
22:34:45]


Unhandled Exception: System.TypeInitializationException: An exception 
was thrown  by the type initializer for System.Windows.Forms.XplatUI 
--- System.TypeInitia lizationException: An exception was thrown by the 
type initializer for System.Dr awing.GDIPlus --- 
System.DllNotFoundException: gdiplus.dll
in (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup 
(ulong,Sys 
tem.Drawing.GdiplusStartupInput,System.Drawing.GdiplusStartupOutput)
in 0x000cc System.Drawing.GDIPlus:.cctor ()--- End of inner exception 
stack tr ace ---


in 0x0 unknown method
in 0xc System.Drawing.Graphics:FromHdcInternal (IntPtr hdc)
in 0x00090 System.Windows.Forms.XplatUIX11:SetDisplay (IntPtr 
display_handle)

in 0x0008c System.Windows.Forms.XplatUIX11:.ctor ()
in 0x0003f System.Windows.Forms.XplatUIX11:GetInstance ()
in 0x00061 System.Windows.Forms.XplatUI:.cctor ()--- End of inner 
exception st ack trace ---


in 0x0 unknown method
in 0x00049 System.Windows.Forms.Form:get_CreateParams ()
in 0x0022f System.Windows.Forms.Control:.ctor ()
in 0x00011 System.Windows.Forms.ScrollableControl:.ctor ()
in 0x00010 System.Windows.Forms.ContainerControl:.ctor ()
in 0x00010 System.Windows.Forms.Form:.ctor ()
in 0xa Fen:.ctor ()
in (wrapper remoting-invoke-with-check) Fen:.ctor ()
in 0x0002f Program:Main ()

Thanks in advance,

CN

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


[Mono-winforms-list] Remove XCB from compiling libgdiplus

2005-07-31 Thread Nicolas Cornu

I would like to remove XCB support.
I have it compiled but make fail when i try to compil libgdiplus again

How can i remove XCB support

Thanks in advance,

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


[Mono-list] Problem Compiling Tomboy

2005-07-31 Thread Nicolas Cornu

I try to compil Tomboy

I get this error:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for intltool = 0.25... 0.31.2 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared 
libraries... yes

checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag CXX to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries... yes

checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries... yes

checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag F77 to libtool
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for 

[Mono-list] Compiling GTK Sharp 2.0 2.5.5

2005-07-31 Thread Nicolas Cornu

I try to compil gtk-sharp-2.0 2.5.5
I have compiled Mono from SVN
I have it installed and i have:

/usr/lib/pkgconfig/mono.pc:

prefix=/usr/
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include


Name: Mono
Description: Mono Runtime
Version: 1.1.8.2
Requires: glib-2.0 gmodule-2.0 gthread-2.0
Libs: -L${libdir} -lmono -lpthread -lm
Cflags: -I${includedir} -D_REENTRANT


--
gtk sharp 2.0 2.5.5 ./configure
--
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag F77 to libtool
checking for void *... yes
checking size of void *... 4
checking for pkg-config... /usr/bin/pkg-config
checking for mono = 1.0... ./configure: line 21170: 17699 Segmentation 
fault  (core dumped) $PKG_CONFIG --exists mono = 
$MONO_REQUIRED_VERSION

checking for csc.exe... no
configure: error: You need to install either mono or .Net


Thanks in advance,

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


[Mono-list] pkg config error fixed

2005-07-31 Thread Nicolas Cornu
I was using pkg-config 0.18.1 and I was getting lots of segmentation 
fault when runnning ./configure

i installed version 0.19 and all is fine now like before I install 0.18.1

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


[Mono-list] Gtksourceview-sharp 2

2005-07-28 Thread Nicolas Cornu

I try to compil Gtksourview-sharp-2.0-0.10

[EMAIL PROTECTED] gtksourceview-sharp-2.0-0.10]# ./configure
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking target system type... i686-pc-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking for mono = 1.0... ./configure: line 1992:  2129 Segmentation 
fault  (core dumped) $PKG_CONFIG --exists mono = 1.0
checking for mint = 1.0... ./configure: line 2088:  2132 Segmentation 
fault  (core dumped) $PKG_CONFIG --exists mint = 1.0

checking for csc.exe... no
configure: error: You need to install either mono or .Net


Thanks in advance,

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


Re: [Mono-list] Gtksourceview-sharp 2

2005-07-28 Thread Nicolas Cornu

Paul F. Johnson a écrit :


Hi,

 


I try to compil Gtksourview-sharp-2.0-0.10
   



 


checking for pkg-config... /usr/bin/pkg-config
checking for mono = 1.0... ./configure: line 1992:  2129 Segmentation 
fault  (core dumped) $PKG_CONFIG --exists mono = 1.0
checking for mint = 1.0... ./configure: line 2088:  2132 Segmentation 
fault  (core dumped) $PKG_CONFIG --exists mint = 1.0

checking for csc.exe... no
configure: error: You need to install either mono or .Net
   



I take it that you have got mono installed and that it is in somewhere
sane (like /usr or /usr/local)?

TTFN

Paul
 


Yes mono is installed in /usr/local/

mono.pc in /usr/lib/pkgconfig:

prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include


Name: Mono
Description: Mono Runtime
Version: 1.1.8.2
Requires: glib-2.0 gmodule-2.0 gthread-2.0
Libs: -L${libdir} -lmono -lpthread -lm
Cflags: -I${includedir} -D_REENTRANT

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


[Mono-list] Re: [Xcb] XCB-PROTO

2005-07-28 Thread Nicolas Cornu

Dickson Patton a écrit :


Nicolas,

You have to download build ALL the  packages listed on the website:

There are multiple modules in CVS. The modules you need to checkout, 
build, and install for each part of the project are, in order:


   *

 Xproto from xlibs http://freedesktop.org/wiki/Software_2fxlibs

   *

 Xau from xlibs http://freedesktop.org/wiki/Software_2fxlibs

   *

 xcb-proto

   *

 xcb

To build Xlib with support for XCB, first build XCB as above. After 
that, the modules you need to checkout, build, and install for each 
part of the project are, in order:


   *

 XExtensions from xlibs 
http://freedesktop.org/wiki/Software_2fxlibs


   *

 xtrans from xlibs http://freedesktop.org/wiki/Software_2fxlibs

   *

 X11 from xlibs http://freedesktop.org/wiki/Software_2fxlibs


I just went through it for the first time myself, and had the exact 
same problems.


Good Luck,

Dickson

Nicolas Cornu wrote:


I just downloaded XCB-PROTO from CVS

i get this error:

-
checking for xsltproc... /usr/bin/xsltproc
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XCBPROTO... checking for XPROTO... configure: error: 
Package requirements (xproto) were not met.

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the XPROTO_CFLAGS and XPROTO_LIBS 
environment variables

to avoid the need to call pkg-config.  See the pkg-config man page for
more details.
[EMAIL PROTECTED] xcb]# echo $PKG_CONFIG_PATH
/usr/lib/pkgconfig/
[EMAIL PROTECTED] xcb]#
---

/usr/lib/pkgconfig/xcb-proto.pc:
---
prefix=/usr/
includedir=${prefix}/include
xcbincludedir=${includedir}/X11/XCB

Name: XCBProto
Description: X protocol descriptions for XCB
Version: 0.9
---

Thanks in advance,

Cornu Nicolas
___
xcb mailing list
[EMAIL PROTECTED]
http://lists.freedesktop.org/mailman/listinfo/xcb





i have Xproto installed now moved the .pc file to /usr/lib/pkgconfig
I try to compil libgdiplus with Xcb

i get the following error

then mv -f .deps/cairo_xcb_surface.Tpo .deps/cairo_xcb_surface.Plo; 
else rm -f .deps/cairo_xcb_surface.Tpo; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/X11R6/include 
-D_XOPEN_SOURCE=500 -I/usr/local/include -I/usr/include/libpng12 
-I../../libpixman/src -I/usr/include/freetype2 -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -g -O2 -MT cairo_xcb_surface.lo 
-MD -MP -MF .deps/cairo_xcb_surface.Tpo -c cairo_xcb_surface.c  -fPIC 
-DPIC -o .libs/cairo_xcb_surface.o

cairo_xcb_surface.c:40: error: syntax error before '*' token
cairo_xcb_surface.c:43: warning: function declaration isn't a prototype
cairo_xcb_surface.c:48: error: syntax error before format_from_visual
cairo_xcb_surface.c:48: error: syntax error before '*' token
cairo_xcb_surface.c:49: warning: return type defaults to `int'
cairo_xcb_surface.c:49: warning: function declaration isn't a prototype
cairo_xcb_surface.c: In function `format_from_visual':
cairo_xcb_surface.c:50: error: syntax error before nil
cairo_xcb_surface.c: At top level:
cairo_xcb_surface.c:51: error: syntax error before '*' token
cairo_xcb_surface.c:51: warning: type defaults to `int' in declaration 
of `r'
cairo_xcb_surface.c:51: warning: data definition has no type or storage 
class

cairo_xcb_surface.c:52: error: syntax error before si
cairo_xcb_surface.c:52: warning: type defaults to `int' in declaration 
of `si'
cairo_xcb_surface.c:52: warning: data definition has no type or storage 
class

cairo_xcb_surface.c:53: error: syntax error before di

In advance thanks,

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


[Mono-list] GtkSourceViewSharp-2.0

2005-07-24 Thread Nicolas Cornu

Hello,

I try to compil GtkSourceView-Sharp-2.0 and i get the following error:

checking pkg-config is at least version 0.9.0... yes
checking for MONO_DEPENDENCY... ./configure: line 19407: 30672 
Segmentation fault  (core dumped) ( $PKG_CONFIG --exists 
--print-errors mono = 1.0 ) 25
./configure: line 19421: 30675 Segmentation fault  (core dumped) ( 
$PKG_CONFIG --exists --print-errors mono = 1.0 ) 25
checking for MONO_DEPENDENCY... ./configure: line 19454: 30679 
Segmentation fault  (core dumped) ( $PKG_CONFIG --exists 
--print-errors mint = 1.0 ) 25
./configure: line 19468: 30682 Segmentation fault  (core dumped) ( 
$PKG_CONFIG --exists --print-errors mint = 1.0 ) 25

checking for csc.exe... no
configure: error: You need to install either mono or .Net
mailto:mono-list@lists.ximian.com
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list