#2 gtk-sharp problem in make.

closed
5
2006-03-13
2006-03-09
Anonymous
No

I use ./configure PKG_CONFIG_PATH=/path/to/gtk-sharp-
2.0/ it compiles finds C#. I then run make, and I
get an error after about 5 seconds saying it can not
find GTK-Sharp.

Why does the configure option not remember the path
to gtk-sharp-2.0.pc? Am I doing something wrong?
This is on a fedora core 4 fresh install. I have
mono installed also.

thanks!

Discussion

  • Nobody/Anonymous

    Logged In: NO

    sorry meant to add my email also mzauher@ gmail dot com

     
  • Nobody/Anonymous

    Logged In: NO

    ok I figured out that problem, now when I install I get
    error CS0234 The type or namespace name 'Syscall' does not
    exist in the namespace 'Mono.Unix' are you missing an
    assembly reference

     
  • Reiner Jung

    Reiner Jung - 2006-03-09
    • assigned_to: nobody --> everaldo
     
  • Everaldo Canuto

    Everaldo Canuto - 2006-03-09
    • status: open --> pending
     
  • Everaldo Canuto

    Everaldo Canuto - 2006-03-09

    Logged In: YES
    user_id=1267285

    Hi,

    I need some information to find a solution to your problem:

    1. What verison of gtk-sharp you use? Instaled from sources
    or RPM? If from sources where you install it?

    2. You are trying to compile OpenVPN-Admin from 1.9.2
    sources or SVN?

    3. What Mono version you use?

    Thanks,
    Everaldo.

     
  • Everaldo Canuto

    Everaldo Canuto - 2006-03-10
    • status: pending --> open
     
  • Nobody/Anonymous

    Logged In: NO

    Hi everaldo!

    Thanks for the help, I am using Fedora Core 4, Mono
    1.1.13.4, gtk-sharp-2.8.2 from source, and open admin
    1.9.2 from source.

    All installs were done using ./configure and using the
    default install locations.

    Is there any other information I can help you with to
    better get this problem fixed? Thanks again for your help.

    The full error during make is:

    ./Configuration.cs(463,4): error CS0234: The type or
    namespace name 'Syscall' does not exist in the
    namespace 'Mono.Unix'. Are you missing an assembly
    reference? Compilation failed:

     
  • overflow

    overflow - 2006-03-10

    Logged In: YES
    user_id=1472924

    Well I am not sure if this is how I should have fixed it,
    but none the less I fixed it myself. (This is the OP btw,
    forgot to login).

    Basically I went into src/Configuration.cs and changed

    // Only for Mono after 1.9.1 releases.
    //Mono.Unix.Native.Syscall.kill(pid,Mono.Unix.Native.Signum.SIGKILL);
    Mono.Unix.Syscall.kill(pid, Mono.Unix.Signum.SIGKILL);

    to

    // Only for Mono after 1.9.1 releases.
    Mono.Unix.Native.Syscall.kill(pid,Mono.Unix.Native.Signum.SIGKILL);
    //Mono.Unix.Syscall.kill(pid, Mono.Unix.Signum.SIGKILL);

    and it compiled.

    Thanks for looking into it, I just figured I would poke
    around myself, not a programmer, but know enough to look
    hehe. Thanks again.

     
  • Reiner Jung

    Reiner Jung - 2006-03-13

    Logged In: YES
    user_id=775404

    Hi,

    thank you for the report.It is also fixed in upcomming release.

    Regards
    Reiner

     
  • Reiner Jung

    Reiner Jung - 2006-03-13
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks