Menu

#51 Can't compile Gnome version in Fedora 16

open
5
2012-09-18
2011-10-23
DaVince
No

gWaei fails to compile on Fedora 16. The ./configure step works fine (or, well, it goes through with it), but make fails.
http://pastebin.com/A32pZcuS

After some insightful discussion with ravenexp on IRC, I have found out that /usr/lib/pkgconfig/glib-2.0.pc does not exist on 64-bit Fedora, as it is in /usr/lib64 and not /usr/lib (which are two separate directories). Somehow, Gwaei's autoconf keeps using /usr/lib where it should be using /usr/lib64. I can only have the sources of either 32-bit or 64-bit glib installed, but not both at the same time, so I try forcing it to use /usr/lib64.

After trying this:
KG_CONFIG_LIBDIR=/usr/lib64/pkgconfig:/usr/share/pkgconfig ./configure

Configure goes through, but compilation fails once again. The terminal output seems identical to the above pastebin.

Ravenexp gave the following insight:
<ravenexp> that's strange
<ravenexp> libtool picks up the correct includes
<ravenexp> plain gcc does not</ravenexp></ravenexp></ravenexp>

And that's about as far as I got. I'd really like to see this application work in Fedora again as it is the best Japanese dictionary software I know of!

Discussion

  • DaVince

    DaVince - 2011-10-23

    Alright, I managed to solve it! Apparently I had a mix of 32-bit and 64-bit development packages on my system that were impossible to use, and autoconf didn't pick up on this at all.

    Basically, it boils down to making the following command output something coherent:
    pkg-config --cflags gtk+-3.0

    I got a whole lot of weird dependency errors, and after getting all of them, gWaei compiled and it runs great!
    I am also reporting this to the Fedora developers, as they have decided to orphan gwaei for Fedora 16. After this it can be included again (I hope)!

     
  • Zachary Dovel

    Zachary Dovel - 2012-03-27

    DaVince, I am running the Fedora Alpha right now. Have you run into any problems? Please email me if you do. I don't know when the freeze for F17 is. It looks like I need to do another bugfix version after gwaei 3.4.1. The install dictionaries aren't popping up and it looks like scrolling is broken. My email is through gmail. zakkudo2.

     

Log in to post a comment.

MongoDB Logo MongoDB