PDA

View Full Version : xkanon on fedora 4


cybermaid
2006-03-12, 14:14
Is it possible?
I have tried everything i could but i just simply can't compile xkanon.
Probally has to do with the old gtkmm and libsigc++

I installed the old versions of these but still...not working.
Is is possible to update xkanon so it works with the recent versions?
Or are there other possibilities?

Haeleth
2006-03-12, 15:34
Firstly, are you using the latest version of my fork? I think there are some configure bugs in the tarball... try the Subversion sources.

Secondly, exactly what isn't working? If you can post the error message you're getting, that would help find the problem.

(Updating to newer libraries is a long-term goal, but as the GTK+ creators didn't bother to make their new versions backwards-compatible, it will probably take some work, and hacking on xkanon is not a high priority for me.)

cybermaid
2006-03-12, 17:40
hmmmm...a step closer i think.
I installed the RH9 version of gtkmm...i did before too but could not install the devel from some weird reason it could not find the main gtkmm (and it really was installed).
So i just did a --nodeps :P
Well, it compiled and i installed the game succesfully.
Only 1 thing holding me back (probally the most important thing of all) when i type xkanon it can not find xayusys -_-""

[maid@cybermaid bin]$ xkanon
/usr/local/bin/xkanon: line 2: xayusys: command not found

Haeleth
2006-03-13, 05:40
xayusys is the name of the xkanon binary itself - xkanon is just a script that launches it. Did xayusys get installed properly (and with execute privileges)?

cybermaid
2006-03-13, 07:53
I guess not, i searched the harddrive and no result at all :s

I checked the config.log again but no major errors or something.
I've put my config.log up, maybe you know what went wrong O_O


http://www.cybermaid.nl/stuff/config.log

Thanks for the help! ^^

Haeleth
2006-03-13, 08:21
I can't see any problems there either, so if anything went wrong, it must have been during the "make" phase rather than the "configure" phase. Do you have any logs of the build? If not, could you run "make" again and check the output of that for any errors?

BTW, from the pathnames in the config.log, it looks like you're still using Arkazam's sourcecode. If that's the case, you really do want to switch to mine (http://dev.haeleth.net/xkanon.shtml), which is the only version which I officially support.

cybermaid
2006-03-13, 09:47
some output of the make

/usr/include/gtk--/widget.h:846: instantiated from here
/usr/include/sigc++/slot.h:371: error: function returning a function
/usr/include/sigc++/slot.h:379: error: function returning a function
/usr/include/sigc++/slot.h:385: error: function returning a function
/usr/include/sigc++/slot.h&#58; In instantiation of ‘lot1<gint, GdkEventKey*>’
/usr/include/gtk--/proxy.h&#58;241&#58; instantiated from ‘tk&#58;&#58;EmitProxySignal1<gint, GdkEventKey*, Gtk&#58;&#58;Widget, GtkWidget, 22, gint gtkmm_widget_key_press_event>’
/usr/include/gtk--/widget.h&#58;847&#58; instantiated from here
/usr/include/sigc++/slot.h&#58;371&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;379&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;385&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58; In instantiation of ‘lot1<gint, GdkEventCrossing*>’
/usr/include/gtk--/proxy.h&#58;241&#58; instantiated from ‘tk&#58;&#58;EmitProxySignal1<gint, GdkEventCrossing*, Gtk&#58;&#58;Widget, GtkWidget, 24, gint gtkmm_widget_enter_notify_event>’
/usr/include/gtk--/widget.h&#58;849&#58; instantiated from here
/usr/include/sigc++/slot.h&#58;371&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;379&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;385&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58; In instantiation of ‘lot1<gint, GdkEventConfigure*>’
/usr/include/gtk--/proxy.h&#58;241&#58; instantiated from ‘tk&#58;&#58;EmitProxySignal1<gint, GdkEventConfigure*, Gtk&#58;&#58;Widget, GtkWidget, 26, gint gtkmm_widget_configure_event>’
/usr/include/gtk--/widget.h&#58;851&#58; instantiated from here
/usr/include/sigc++/slot.h&#58;371&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;379&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;385&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58; In instantiation of ‘lot1<gint, GdkEventFocus*>’
/usr/include/gtk--/proxy.h&#58;241&#58; instantiated from ‘tk&#58;&#58;EmitProxySignal1<gint, GdkEventFocus*, Gtk&#58;&#58;Widget, GtkWidget, 27, gint gtkmm_widget_focus_in_event>’
/usr/include/gtk--/widget.h&#58;852&#58; instantiated from here
/usr/include/sigc++/slot.h&#58;371&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;379&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;385&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58; In instantiation of ‘lot1<gint, GdkEventProperty*>’
/usr/include/gtk--/proxy.h&#58;241&#58; instantiated from ‘tk&#58;&#58;EmitProxySignal1<gint, GdkEventProperty*, Gtk&#58;&#58;Widget, GtkWidget, 31, gint gtkmm_widget_property_notify_event>’
/usr/include/gtk--/widget.h&#58;856&#58; instantiated from here
/usr/include/sigc++/slot.h&#58;371&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;379&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;385&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58; In instantiation of ‘lot1<gint, GdkEventSelection*>’
/usr/include/gtk--/proxy.h&#58;241&#58; instantiated from ‘tk&#58;&#58;EmitProxySignal1<gint, GdkEventSelection*, Gtk&#58;&#58;Widget, GtkWidget, 32, gint gtkmm_widget_selection_clear_event>’
/usr/include/gtk--/widget.h&#58;857&#58; instantiated from here
/usr/include/sigc++/slot.h&#58;371&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;379&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;385&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58; In instantiation of ‘lot1<gint, GdkEventProximity*>’
/usr/include/gtk--/proxy.h&#58;241&#58; instantiated from ‘tk&#58;&#58;EmitProxySignal1<gint, GdkEventProximity*, Gtk&#58;&#58;Widget, GtkWidget, 35, gint gtkmm_widget_proximity_in_event>’
/usr/include/gtk--/widget.h&#58;860&#58; instantiated from here
/usr/include/sigc++/slot.h&#58;371&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;379&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;385&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58; In instantiation of ‘lot1<gint, GdkEventClient*>’
/usr/include/gtk--/proxy.h&#58;241&#58; instantiated from ‘tk&#58;&#58;EmitProxySignal1<gint, GdkEventClient*, Gtk&#58;&#58;Widget, GtkWidget, 37, gint gtkmm_widget_client_event>’
/usr/include/gtk--/widget.h&#58;862&#58; instantiated from here
/usr/include/sigc++/slot.h&#58;371&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;379&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;385&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58; In instantiation of ‘lot1<gint, GdkEventVisibility*>’
/usr/include/gtk--/proxy.h&#58;241&#58; instantiated from ‘tk&#58;&#58;EmitProxySignal1<gint, GdkEventVisibility*, Gtk&#58;&#58;Widget, GtkWidget, 39, gint gtkmm_widget_visibility_notify_event>’
/usr/include/gtk--/widget.h&#58;864&#58; instantiated from here
/usr/include/sigc++/slot.h&#58;371&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;379&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;385&#58; error&#58; function returning a function
/usr/include/gtk--/container.h&#58;143&#58; error&#58; ‘igC’has not been declared
/usr/include/sigc++/slot.h&#58; In instantiation of ‘lot1<gint, GtkDirectionType>’
/usr/include/gtk--/proxy.h&#58;241&#58; instantiated from ‘tk&#58;&#58;EmitProxySignal1<gint, GtkDirectionType, Gtk&#58;&#58;Container, GtkContainer, 3, gint gtk_container_focus>’
/usr/include/gtk--/container.h&#58;208&#58; instantiated from here
/usr/include/sigc++/slot.h&#58;371&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;379&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;385&#58; error&#58; function returning a function
/usr/include/gtk--/menushell.h&#58;109&#58; error&#58; ‘igC’has not been declared
/usr/include/gtk--/menushell.h&#58;121&#58; error&#58; ‘igC’has not been declared
/usr/include/gtk--/menushell.h&#58;138&#58; error&#58; ‘igC’has not been declared
/usr/include/gtk--/menushell.h&#58;143&#58; error&#58; ‘igC’has not been declared
/usr/include/gtk--/menushell.h&#58;168&#58; error&#58; ‘igC’has not been declared
/usr/include/gtk--/menushell.h&#58;173&#58; error&#58; ‘igC’has not been declared
/usr/include/gtk--/menushell.h&#58;190&#58; error&#58; ‘igC’has not been declared
/usr/include/gtk--/menushell.h&#58;196&#58; error&#58; ‘igC’has not been declared
/usr/include/gtk--/menushell.h&#58;212&#58; error&#58; ‘igC’has not been declared
/usr/include/gtk--/menushell.h&#58;217&#58; error&#58; ‘igC’has not been declared
/usr/include/gtk--/menushell.h&#58;222&#58; error&#58; ‘igC’has not been declared
window.h&#58;152&#58; error&#58; ‘igC’has not been declared
main.cc&#58; In function ‘int timer&#40;&#41;’
main.cc&#58;177&#58; error&#58; ‘lass Gtk&#58;&#58;IdleSig’has no member named ‘onnect’
main.cc&#58;177&#58; error&#58; ‘igC’has not been declared
/usr/include/sigc++/slot.h&#58; At global scope&#58;
/usr/include/sigc++/slot.h&#58; In instantiation of ‘lot0<gint>’
main.cc&#58;177&#58; instantiated from here
/usr/include/sigc++/slot.h&#58;273&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;281&#58; error&#58; function returning a function
/usr/include/sigc++/slot.h&#58;287&#58; error&#58; function returning a function
main.cc&#58; In function ‘nt main&#40;int, char**&#41;’
main.cc&#58;279&#58; error&#58; ‘lass Gtk&#58;&#58;TimeoutSig’has no member named ‘onnect’
main.cc&#58;279&#58; error&#58; ‘igC’has not been declared
/usr/include/sigc++/func_slot.h&#58; In static member function ‘tatic SlotData* FuncSlot0_<R>&#58;&#58;create&#40;R &#40;*&#41;&#40;&#41;&#41; &#91;with R = gint&#93;’
/usr/include/sigc++/func_slot.h&#58;100&#58; instantiated from ‘lot0<R> slot&#40;R &#40;*&#41;&#40;&#41;&#41; &#91;with R = gint&#93;’
main.cc&#58;177&#58; instantiated from here
/usr/include/sigc++/func_slot.h&#58;57&#58; error&#58; invalid use of undefined type ‘truct SlotData’
/usr/include/sigc++/slot.h&#58;118&#58; error&#58; forward declaration of ‘truct SlotData’
make&#91;1&#93;&#58; *** &#91;main.o&#93; Error 1
make&#91;1&#93;&#58; Leaving directory `/home/maid/software/xkanon-bundle-0.48/xkanon-akz'
make&#91;1&#93;&#58; Entering directory `/home/maid/software/xkanon-bundle-0.48/xkanon-voice'
mkdir -p /usr/local/bin
cp xkanon-voice /usr/local/bin
make&#91;1&#93;&#58; Leaving directory `/home/maid/software/xkanon-bundle-0.48/xkanon-voice'
make&#91;1&#93;&#58; Entering directory `/home/maid/software/xkanon-bundle-0.48/xkanon-vpatch'
mkdir -p /usr/local/bin
cp xkanon-vpatch /usr/local/bin
make&#91;1&#93;&#58; Leaving directory `/home/maid/software/xkanon-bundle-0.48/xkanon-vpatch'
mkdir -p /usr/local/share/xayusys
mkdir -p /usr/local/share/xayusys/patches
cp -r xkanon-vpatch/patches/* /usr/local/share/xayusys/patches
mkdir -p /usr/local/share/xayusys/scripts
cp -r scripts/* /usr/local/share/xayusys/scripts
sed -e "s|PREFIXVAL|/usr/local|" scripts/xkanon-install \
> xkanon-install
chmod +x xkanon-install
sed -e "s|PREFIXVAL|/usr/local|" scripts/xair-install \
> xair-install
chmod +x xair-install
mkdir -p /usr/local/bin
mv xkanon-install /usr/local/bin
mv xair-install /usr/local/bin
mkdir -p /usr/local/share/xayusys/packages


Nevermind my first statement that it compiled...it got very late last night -_-
It's back to square 1
http://www.cybermaid.nl/stuff/config2.log

This was the error i had most of the times, as you can see in the log i can't find ligc++config.h
And that's correct, it's in a diffirent path then that script is looking in.
I already made it so yesterday that it would include the right path...but i had to edit ALL the files in the /sigc++/ dir that had a include with that ligc++config.h file O_O
In the end it still didn't work...some conflict with the statements in proxy.h in combination with gtkmm.

I'm using libsigc++-1.0.1 and the devel (tried RH 9 version 1.2.5 too but i get errors there too)

My guess is that it's the libsigc++ thats not letting me play Kanon on Linux T_T[/code]

Haeleth
2006-03-15, 14:21
Yes, clearly something's wrong with your libsigc++ installation.

You could try installing libsigc++ and gtkmm from source too, I guess... I seem to recall that being what I did last time I used a Red Hat system (which was years ago, mind you).

I'd suggest libsigc++ 1.0.3 and gtkmm 1.2.10 as the most likely versions to work.

Since it's becoming clear that using such old versions of the libraries is going to cause problems on some distros, I will investigate updating the source to use more recent versions.