gemot encubed  

Go Back   gemot encubed > Gemot > Technical Issues

Technical Issues For bug reports, problem solving, and help running Japanese software.

Reply
 
Thread Tools Display Modes
  #1  
Old 2006-03-12, 14:14
cybermaid cybermaid is offline
Visitor
 
Join Date: Mar 2006
Posts: 4
Default xkanon on fedora 4

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?
Reply With Quote
  #2  
Old 2006-03-12, 15:34
Haeleth's Avatar
Haeleth Haeleth is offline
Ex-boss
 
Join Date: Mar 2003
Location: England
Posts: 2,106
Default

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.)
Reply With Quote
  #3  
Old 2006-03-12, 17:40
cybermaid cybermaid is offline
Visitor
 
Join Date: Mar 2006
Posts: 4
Default

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 -_-""

Code:
[maid@cybermaid bin]$ xkanon
/usr/local/bin/xkanon: line 2: xayusys: command not found
Reply With Quote
  #4  
Old 2006-03-13, 05:40
Haeleth's Avatar
Haeleth Haeleth is offline
Ex-boss
 
Join Date: Mar 2003
Location: England
Posts: 2,106
Default

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)?
Reply With Quote
  #5  
Old 2006-03-13, 07:53
cybermaid cybermaid is offline
Visitor
 
Join Date: Mar 2006
Posts: 4
Default

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! ^^
Reply With Quote
  #6  
Old 2006-03-13, 08:21
Haeleth's Avatar
Haeleth Haeleth is offline
Ex-boss
 
Join Date: Mar 2003
Location: England
Posts: 2,106
Default

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.
Reply With Quote
  #7  
Old 2006-03-13, 09:47
cybermaid cybermaid is offline
Visitor
 
Join Date: Mar 2006
Posts: 4
Default

some output of the make

Code:
  /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: In instantiation of ‘lot1<gint, GdkEventKey*>’
/usr/include/gtk--/proxy.h:241:   instantiated from ‘tk::EmitProxySignal1<gint, GdkEventKey*, Gtk::Widget, GtkWidget, 22, gint gtkmm_widget_key_press_event>’
   /usr/include/gtk--/widget.h:847:   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: In instantiation of ‘lot1<gint, GdkEventCrossing*>’
/usr/include/gtk--/proxy.h:241:   instantiated from ‘tk::EmitProxySignal1<gint, GdkEventCrossing*, Gtk::Widget, GtkWidget, 24, gint gtkmm_widget_enter_notify_event>’
           /usr/include/gtk--/widget.h:849:   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: In instantiation of ‘lot1<gint, GdkEventConfigure*>’
/usr/include/gtk--/proxy.h:241:   instantiated from ‘tk::EmitProxySignal1<gint, GdkEventConfigure*, Gtk::Widget, GtkWidget, 26, gint gtkmm_widget_configure_event>’
         /usr/include/gtk--/widget.h:851:   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: In instantiation of ‘lot1<gint, GdkEventFocus*>’
/usr/include/gtk--/proxy.h:241:   instantiated from ‘tk::EmitProxySignal1<gint, GdkEventFocus*, Gtk::Widget, GtkWidget, 27, gint gtkmm_widget_focus_in_event>’
    /usr/include/gtk--/widget.h:852:   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: In instantiation of ‘lot1<gint, GdkEventProperty*>’
/usr/include/gtk--/proxy.h:241:   instantiated from ‘tk::EmitProxySignal1<gint, GdkEventProperty*, Gtk::Widget, GtkWidget, 31, gint gtkmm_widget_property_notify_event>’
              /usr/include/gtk--/widget.h:856:   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: In instantiation of ‘lot1<gint, GdkEventSelection*>’
/usr/include/gtk--/proxy.h:241:   instantiated from ‘tk::EmitProxySignal1<gint, GdkEventSelection*, Gtk::Widget, GtkWidget, 32, gint gtkmm_widget_selection_clear_event>’
               /usr/include/gtk--/widget.h:857:   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: In instantiation of ‘lot1<gint, GdkEventProximity*>’
/usr/include/gtk--/proxy.h:241:   instantiated from ‘tk::EmitProxySignal1<gint, GdkEventProximity*, Gtk::Widget, GtkWidget, 35, gint gtkmm_widget_proximity_in_event>’
            /usr/include/gtk--/widget.h:860:   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: In instantiation of ‘lot1<gint, GdkEventClient*>’
/usr/include/gtk--/proxy.h:241:   instantiated from ‘tk::EmitProxySignal1<gint, GdkEventClient*, Gtk::Widget, GtkWidget, 37, gint gtkmm_widget_client_event>’
   /usr/include/gtk--/widget.h:862:   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: In instantiation of ‘lot1<gint, GdkEventVisibility*>’
/usr/include/gtk--/proxy.h:241:   instantiated from ‘tk::EmitProxySignal1<gint, GdkEventVisibility*, Gtk::Widget, GtkWidget, 39, gint gtkmm_widget_visibility_notify_event>’
                  /usr/include/gtk--/widget.h:864:   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/gtk--/container.h:143: error: ‘igC’has not been declared
/usr/include/sigc++/slot.h: In instantiation of ‘lot1<gint, GtkDirectionType>’
/usr/include/gtk--/proxy.h:241:   instantiated from ‘tk::EmitProxySignal1<gint, GtkDirectionType, Gtk::Container, GtkContainer, 3, gint gtk_container_focus>’
   /usr/include/gtk--/container.h:208:   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/gtk--/menushell.h:109: error: ‘igC’has not been declared
/usr/include/gtk--/menushell.h:121: error: ‘igC’has not been declared
/usr/include/gtk--/menushell.h:138: error: ‘igC’has not been declared
/usr/include/gtk--/menushell.h:143: error: ‘igC’has not been declared
/usr/include/gtk--/menushell.h:168: error: ‘igC’has not been declared
/usr/include/gtk--/menushell.h:173: error: ‘igC’has not been declared
/usr/include/gtk--/menushell.h:190: error: ‘igC’has not been declared
/usr/include/gtk--/menushell.h:196: error: ‘igC’has not been declared
/usr/include/gtk--/menushell.h:212: error: ‘igC’has not been declared
/usr/include/gtk--/menushell.h:217: error: ‘igC’has not been declared
/usr/include/gtk--/menushell.h:222: error: ‘igC’has not been declared
window.h:152: error: ‘igC’has not been declared
main.cc: In function ‘int timer()’
main.cc:177: error: ‘lass Gtk::IdleSig’has no member named ‘onnect’
                                                                               main.cc:177: error: ‘igC’has not been declared
/usr/include/sigc++/slot.h: At global scope:
/usr/include/sigc++/slot.h: In instantiation of ‘lot0<gint>’
main.cc:177:   instantiated from here
/usr/include/sigc++/slot.h:273: error: function returning a function
/usr/include/sigc++/slot.h:281: error: function returning a function
/usr/include/sigc++/slot.h:287: error: function returning a function
main.cc: In function ‘nt main(int, char**)’
main.cc:279: error: ‘lass Gtk::TimeoutSig’has no member named ‘onnect’
  main.cc:279: error: ‘igC’has not been declared
/usr/include/sigc++/func_slot.h: In static member function ‘tatic SlotData* FuncSlot0_<R>::create(R (*)()) [with R = gint]’
/usr/include/sigc++/func_slot.h:100:   instantiated from ‘lot0<R> slot(R (*)()) [with R = gint]’
                      main.cc:177:   instantiated from here
/usr/include/sigc++/func_slot.h:57: error: invalid use of undefined type ‘truct SlotData’
               /usr/include/sigc++/slot.h:118: error: forward declaration of ‘truct SlotData’
                   make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/maid/software/xkanon-bundle-0.48/xkanon-akz'
make[1]: Entering directory `/home/maid/software/xkanon-bundle-0.48/xkanon-voice'
mkdir -p /usr/local/bin
cp xkanon-voice /usr/local/bin
make[1]: Leaving directory `/home/maid/software/xkanon-bundle-0.48/xkanon-voice'
make[1]: Entering directory `/home/maid/software/xkanon-bundle-0.48/xkanon-vpatch'
mkdir -p /usr/local/bin
cp xkanon-vpatch /usr/local/bin
make[1]: 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]
Reply With Quote
  #8  
Old 2006-03-15, 14:21
Haeleth's Avatar
Haeleth Haeleth is offline
Ex-boss
 
Join Date: Mar 2003
Location: England
Posts: 2,106
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
.deb file not on xkanon site :/ kittytreats Technical Issues 2 2006-04-01 19:46
Problems compiling xkanon Freakker Technical Issues 16 2005-12-09 12:31
XKanon - music not working darklegion Technical Issues 7 2005-01-12 05:59


All times are GMT -8. The time now is 04:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2023, vBulletin Solutions, Inc.