Professional Web Applications Themes

gtk2 problem? - FreeBSD

Hi, just about to install velocity but bump into a lot of dependency upgrade, like atk (1.8-> 1.9) and gtk2 (2.4 -> 2.6) and pango, etc. anyway, gnomevfs2 failed to compile: gmake[2]: Entering directory `/usr/ports/devel/gnomevfs2/work/gnome-vfs-2.10.0/libgnomevfs' /usr/local/bin/orbit-idl-2 -I `pkg-config --variable=idldir bonobo-activation-2.0` ../GNOME_VFS_Daemon.idl /libexec/ld-elf.so.1: Shared object "libgobject-2.0.so.400" not found, required by "orbit-idl-2" gmake[2]: *** [GNOME_VFS_Daemon.h] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/gnomevfs2/work/gnome-vfs-2.10.0/libgnomevfs' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/gnomevfs2/work/gnome-vfs-2.10.0' gmake: *** [all] Error 2 *** Error code 2 and want to reinstall gtk-gnutella, since gtk related stuff are change, but this is what I got: cc -c -I../../../.. -I../../.. -I../.. -DXTHREADS ...

  1. #1

    Default gtk2 problem?

    Hi,
    just about to install velocity but bump into a lot
    of dependency upgrade, like atk (1.8-> 1.9) and gtk2
    (2.4 -> 2.6) and pango, etc. anyway, gnomevfs2 failed
    to compile:

    gmake[2]: Entering directory
    `/usr/ports/devel/gnomevfs2/work/gnome-vfs-2.10.0/libgnomevfs'
    /usr/local/bin/orbit-idl-2 -I `pkg-config
    --variable=idldir bonobo-activation-2.0`
    ../GNOME_VFS_Daemon.idl
    /libexec/ld-elf.so.1: Shared object
    "libgobject-2.0.so.400" not found, required by
    "orbit-idl-2"
    gmake[2]: *** [GNOME_VFS_Daemon.h] Error 1
    gmake[2]: Leaving directory
    `/usr/ports/devel/gnomevfs2/work/gnome-vfs-2.10.0/libgnomevfs'
    gmake[1]: *** [all-recursive] Error 1
    gmake[1]: Leaving directory
    `/usr/ports/devel/gnomevfs2/work/gnome-vfs-2.10.0'
    gmake: *** [all] Error 2
    *** Error code 2


    and want to reinstall gtk-gnutella, since gtk related
    stuff are change, but this is what I got:

    cc -c -I../../../.. -I../../.. -I../.. -DXTHREADS
    -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0
    -I/usr/local/include/glib-2.0
    -I/usr/local/lib/glib-2.0/include
    -I/usr/X11R6/include/gtk-2.0
    -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include
    -I/usr/X11R6/include/pango-1.0
    -I/usr/local/include/freetype2 -I/usr/local/include
    -I/usr/local/include/libxml2 -I/usr/local/include
    -DGUI_SOURCES -DCURDIR=src/ui/gtk/gtk2 -O -O -pipe
    -I/usr/local/include/ downloads.c
    In file included from downloads.c:30:
    pbarcellrenderer.h:57:1: warning:
    "GTK_TYPE_CELL_RENDERER_PROGRESS" redefined
    In file included from
    /usr/X11R6/include/gtk-2.0/gtk/gtk.h:53,
    from ../../gtk/gui.h:31,
    from downloads.c:26:
    /usr/X11R6/include/gtk-2.0/gtk/gtkcellrendererprogress.h:34:1:
    warning: this is the location of the previous
    definition
    In file included from downloads.c:30:
    pbarcellrenderer.h:62: error: redefinition of typedef
    'GtkCellRendererProgress'
    /usr/X11R6/include/gtk-2.0/gtk/gtkcellrendererprogress.h:41:
    error: previous declaration of
    'GtkCellRendererProgress' was here
    pbarcellrenderer.h:63: error: redefinition of typedef
    'GtkCellRendererProgressClass'
    /usr/X11R6/include/gtk-2.0/gtk/gtkcellrendererprogress.h:42:
    error: previous declaration of
    'GtkCellRendererProgressClass' was here
    pbarcellrenderer.h:66: error: redefinition of `struct
    _GtkCellRendererProgress'
    pbarcellrenderer.h:71: error: redefinition of `struct
    _GtkCellRendererProgressClass'
    *** Error code 1

    I am not sure if this is due to gtk2 or something,
    would anybody help me? thank you!



    Best Regards,

    Tsu-Fan Cheng

    __________________________________________________ _______
    Do You Yahoo!?
    登記免費的 中文電子郵件 http://chinese.mail.
    Get your free address at http://chinese.mail.
    T.F. Guest

  2. #2

    Default Re: gtk2 problem?

    T.F. Cheng wrote:
     

    What does /usr/ports/UPDATING tell you?!


    --
    Best regards,
    Chris

    PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

    Chris Guest

  3. #3

    Default Re: gtk2 problem?

    shoot! everytime!! I always forgot to check that
    first, thank you so much for the tip!!

    :-)


    --- Chris <com> wrote: 
    > lot 
    > gtk2 
    > failed 
    >
    >`/usr/ports/devel/gnomevfs2/work/gnome-vfs-2.10.0/libgnomevfs' 
    >
    >`/usr/ports/devel/gnomevfs2/work/gnome-vfs-2.10.0/libgnomevfs' 
    > related 
    > -I/usr/X11R6/include 
    >
    >/usr/X11R6/include/gtk-2.0/gtk/gtkcellrendererprogress.h:34:1: 
    > typedef 
    >
    >/usr/X11R6/include/gtk-2.0/gtk/gtkcellrendererprogress.h:41: 
    > typedef 
    >
    >/usr/X11R6/include/gtk-2.0/gtk/gtkcellrendererprogress.h:42: 
    > `struct 
    > `struct 
    >
    > What does /usr/ports/UPDATING tell you?!
    >
    >
    > --
    > Best regards,
    > Chris
    >
    > PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93
    > FF80 C01B C363
    >
    >[/ref]

    Best Regards,

    Tsu-Fan Cheng

    __________________________________________________ _______
    Do You Yahoo!?
    登記免費的 中文電子郵件 http://chinese.mail.
    Get your free address at http://chinese.mail.
    T.F. Guest

  4. #4

    Default Re: gtk2 problem?

    Hi again,
    so I have run the script and everything seem to run
    smmothly, but... 2 things I noticed are not right,
    (1) gtk-gnutella still not compiled, here is the
    output:
    cc -c -I../../../.. -I../../.. -I../.. -DXTHREADS
    -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0
    -I/usr/local/include/glib-2.0
    -I/usr/local/lib/glib-2.0/include
    -I/usr/X11R6/include/gtk-2.0
    -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include
    -I/usr/X11R6/include/pango-1.0
    -I/usr/local/include/freetype2 -I/usr/local/include
    -I/usr/local/include/libxml2 -I/usr/local/include
    -DGUI_SOURCES -DCURDIR=src/ui/gtk/gtk2 -O -O -pipe
    -I/usr/local/include/ downloads.c
    In file included from downloads.c:30:
    pbarcellrenderer.h:57:1: warning:
    "GTK_TYPE_CELL_RENDERER_PROGRESS" redefined
    In file included from
    /usr/X11R6/include/gtk-2.0/gtk/gtk.h:53,
    from ../../gtk/gui.h:31,
    from downloads.c:26:
    /usr/X11R6/include/gtk-2.0/gtk/gtkcellrendererprogress.h:34:1:
    warning: this is the location of the previous
    definition
    In file included from downloads.c:30:
    pbarcellrenderer.h:62: error: redefinition of typedef
    'GtkCellRendererProgress'
    /usr/X11R6/include/gtk-2.0/gtk/gtkcellrendererprogress.h:41:
    error: previous declaration of
    'GtkCellRendererProgress' was here
    pbarcellrenderer.h:63: error: redefinition of typedef
    'GtkCellRendererProgressClass'
    /usr/X11R6/include/gtk-2.0/gtk/gtkcellrendererprogress.h:42:
    error: previous declaration of
    'GtkCellRendererProgressClass' was here
    pbarcellrenderer.h:66: error: redefinition of `struct
    _GtkCellRendererProgress'
    pbarcellrenderer.h:71: error: redefinition of `struct
    _GtkCellRendererProgressClass'
    *** Error code 1
    (2) the xfce4-session was re-compiled and installed,
    but when executed, xfce4-session still asked for the
    old gtklib 400 somthing instead of the 600 version.
    (sorry about the unprofessional writing).

    any idea? thanks!!


    --- Chris <com> wrote: 
    > lot 
    > gtk2 
    > failed 
    >
    >`/usr/ports/devel/gnomevfs2/work/gnome-vfs-2.10.0/libgnomevfs' 
    >
    >`/usr/ports/devel/gnomevfs2/work/gnome-vfs-2.10.0/libgnomevfs' 
    > related 
    > -I/usr/X11R6/include 
    >
    >/usr/X11R6/include/gtk-2.0/gtk/gtkcellrendererprogress.h:34:1: 
    > typedef 
    >
    >/usr/X11R6/include/gtk-2.0/gtk/gtkcellrendererprogress.h:41: 
    > typedef 
    >
    >/usr/X11R6/include/gtk-2.0/gtk/gtkcellrendererprogress.h:42: 
    > `struct 
    > `struct 
    >
    > What does /usr/ports/UPDATING tell you?!
    >
    >
    > --
    > Best regards,
    > Chris
    >
    > PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93
    > FF80 C01B C363
    >
    >[/ref]

    Best Regards,

    Tsu-Fan Cheng

    __________________________________________________ _______
    Do You Yahoo!?
    登記免費的 中文電子郵件 http://chinese.mail.
    Get your free address at http://chinese.mail.
    T.F. Guest

Similar Threads

  1. Modules Geo::OGC::Geometry and Gtk2::Ex::Geo
    By Ari in forum PERL Modules
    Replies: 2
    Last Post: July 18th, 10:17 AM
  2. Segmentation Fault with Gtk2
    By Guenther Sohler in forum PERL Modules
    Replies: 1
    Last Post: August 17th, 05:22 PM
  3. wxruby <=> ruby-gtk2
    By KONTRA Gergely in forum Ruby
    Replies: 1
    Last Post: October 20th, 03:37 PM
  4. Gtk2: stange problem with notebook ?
    By oxman in forum Ruby
    Replies: 1
    Last Post: August 15th, 08:08 AM
  5. Weird gtk2/gnome problem
    By James Kahn in forum Debian
    Replies: 0
    Last Post: July 19th, 11:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139