Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16015 - gtk-sharp 0.6 and 0.7 will not compile
Summary: gtk-sharp 0.6 and 0.7 will not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-19 11:59 UTC by Kurt Hindenburg
Modified: 2003-03-03 15:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Full output of emerge (gtk-sharp.log,73.29 KB, text/plain)
2003-02-19 12:12 UTC, Kurt Hindenburg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Hindenburg 2003-02-19 11:59:15 UTC
emerging gtk-sharp 0.6 or 0.7 will generate compile errors.

Reproducible: Always
Steps to Reproduce:
1.emerge gtk-sharp # 0.6
  OR
2.ACCEPT_KEYWORDS="~x86" emerge gtk-sharp # 0.7


Actual Results:  
...
mcs --unsafe -o treeviewdemo.exe -L ../glib -L ../pango -L ../atk -L ../gdk -L
../gtk  -L ../glade  -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r
gdk-sharp.dll -r gtk-sharp.dll  -r glade-sharp.dll -r System.Drawing TreeViewDemo.cs
Compilation succeeded
mcs --unsafe -o glade-viewer.exe -L ../glib -L ../pango -L ../atk -L ../gdk -L
../gtk  -L ../glade  -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r
gdk-sharp.dll -r gtk-sharp.dll  -r glade-sharp.dll -r System.Drawing GladeViewer.cs
GladeViewer.cs(24) error CS0246: Cannot find type `Program'
Compilation failed: 1 error(s), 0 warnings
make[1]: *** [glade-viewer.exe] Error 1
make[1]: *** Waiting for unfinished jobs....
Compilation succeeded
make[1]: Leaving directory
`/mnt/zeta/var/tmp/portage/gtk-sharp-0.7/work/gtk-sharp-0.7/sample'
make: *** [binding] Error 1

!!! ERROR: dev-libs/gtk-sharp-0.7 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)
Comment 1 Kurt Hindenburg 2003-02-19 12:12:13 UTC
Created attachment 8488 [details]
Full output of emerge
Comment 2 foser (RETIRED) gentoo-dev 2003-02-19 16:49:51 UTC
hmm well, it works for me.. so 'will generate' may be put a bit too broad.

I suppose you do have glade around ? Do you have USE gnome (give us your 'emerge info').
Comment 3 Kurt Hindenburg 2003-02-20 10:37:48 UTC
Ok, nevermind, I don't have the necessary packages installed.  I would have thought that gnome/etc would be dependencies to gtk-sharp.  Perhaps you can fix this dependency issue?

      * gnome-sharp.dll: no
      * glade-sharp.dll: yes
      * gda-sharp.dll: no
      * gnomedb-sharp.dll: no
Comment 4 foser (RETIRED) gentoo-dev 2003-02-20 11:21:32 UTC
well glade support should be seperate from gnome support.. (as it is in the ebuild right now). So if you have only glade it should build support for that.
Comment 5 foser (RETIRED) gentoo-dev 2003-02-20 11:24:34 UTC
Problem seems to be that the Glade example uses gnome and gets built even when gnome support isn't built, so i have to disable building the tests i think if thats possible.
Comment 6 foser (RETIRED) gentoo-dev 2003-02-20 12:05:14 UTC
ok did some hacks to disable samples build, could you please try 0.7-r1 and see if that one builds ok for you ?
Comment 7 Kurt Hindenburg 2003-02-21 02:08:19 UTC
      * glade-sharp.dll: yes
I think this is a wast of time; I don't have glade installed yet.  I'm not sure why the configure on gtk-sharp thinks glade is installed.

[...]

make[2]: Entering directory `/mnt/zeta/var/tmp/portage/gtk-sharp-0.7-r1/work/gtk-sharp-0.7/gconf/GConf'
mcs ClientBase.cs Client.cs ChangeSet.cs _Entry.cs NoSuchKeyException.cs NotifyEventArgs.cs NotifyEventHandler.cs NotifyWrapper.cs Value.cs  -L ../../glib /r:glib-sharp.dll /target:library /out:gconf-sharp.dll

** (/usr/bin/mcs.exe:9389): CRITICAL **: : shared file [/root/.wapi/shared_data-0] open error: Permission denied
make[2]: *** [gconf-sharp.dll] Error 255
make[2]: Leaving directory `/mnt/zeta/var/tmp/portage/gtk-sharp-0.7-r1/work/gtk-sharp-0.7/gconf/GConf'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/mnt/zeta/var/tmp/portage/gtk-sharp-0.7-r1/work/gtk-sharp-0.7/gconf'
make: *** [install-binding] Error 1

!!! ERROR: dev-libs/gtk-sharp-0.7-r1 failed.
!!! Function einstall, Line 361, Exitcode 2
!!! einstall failed
Comment 8 Kurt Hindenburg 2003-02-21 03:10:13 UTC
Ok, glade installed...still get errors (dev-util/glade-0.6.4)


make[2]: Entering directory `/mnt/zeta/var/tmp/portage/gtk-sharp-0.7-r1/work/gtk-sharp-0.7/gconf/GConf'
mcs ClientBase.cs Client.cs ChangeSet.cs _Entry.cs NoSuchKeyException.cs NotifyEventArgs.cs NotifyEventHandler.cs NotifyWrapper.cs Value.cs  -L ../../glib /r:glib-sharp.dll /target:library /out:gconf-sharp.dll

** (/usr/bin/mcs.exe:1760): CRITICAL **: : shared file [/root/.wapi/shared_data-0] open error: Permission denied
make[2]: *** [gconf-sharp.dll] Error 255
make[2]: Leaving directory `/mnt/zeta/var/tmp/portage/gtk-sharp-0.7-r1/work/gtk-sharp-0.7/gconf/GConf'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/mnt/zeta/var/tmp/portage/gtk-sharp-0.7-r1/work/gtk-sharp-0.7/gconf'
make: *** [install-binding] Error 1

!!! ERROR: dev-libs/gtk-sharp-0.7-r1 failed.
!!! Function einstall, Line 361, Exitcode 2
!!! einstall failed

Comment 9 foser (RETIRED) gentoo-dev 2003-02-21 07:35:09 UTC
it is 'libglade' that you need to have installed to trigger this and it's a dep, so it should be installed.

The new error actually is different as you can see, have you upgraded your portage cause the snag you hit there should be solved in the ebuild. What's 'emerge info' for you ?
Comment 10 Kurt Hindenburg 2003-02-22 11:23:59 UTC
Nevermind, I'm an idiot...I had -gnome in the USE.  0.7-r1 compiled just fine.  Sorry for the waste of time.
Comment 11 foser (RETIRED) gentoo-dev 2003-02-22 12:37:00 UTC
-gnome should still work (aka gtk/glade-only)
Comment 12 foser (RETIRED) gentoo-dev 2003-03-03 15:32:56 UTC
fixed and marked stable