Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When compiling GTK+ 2.16.2, I keep getting these errors:
gdkpango.c: In function 'gdk_pango_renderer_draw_shape':
gdkpango.c:323: error: 'PangoCairoShapeRendererFunc' undeclared (first use in this function)
gdkpango.c:323: error: (Each undeclared identifier is reported only once
gdkpango.c:323: error: for each function it appears in.)
gdkpango.c:323: error: expected ';' before 'shape_renderer'
gdkpango.c:333: error: 'shape_renderer' undeclared (first use in this function)
The same problem (without solution) appears in this thread elsewhere:
Sorry, of course. I'm using GoboLinux 14.01 on an i686 (based on `uname -m`). My version of GCC is 4.1.2, in case that's relevant. Honestly I don't know how any of that is relevant, but if you say you need it, I'm happy to provide it. Thanks for the attention.
One of the reasons it is important is that each distro(and sometimes version and arch) has its own oddities. This is really true of distros like GoboLinux. GoboLinux does not use the standard file system hierarchy. What MAY be going on here is that this partiuclar package is looking for the libs in the standard location and they are not there.
I also encountered this problem when I trying to compile GTK2.16.1 this morning. My OS is RedhatLinux12forEnterprise.Gcc version is 4.1.2. I have finished the installation of Pango1.24.5. Now I'am stucked.
I do not know GoboLinux, so I am not sure where to point you.
huzhu1984
RHEL(Red Hat Enterprise Linux) is currently on version 5.3. Before that they used just RH, which only went to version 9(very old). Fedora's newest release in F11. So I am not quite sure what "RedhatLinux12forEnterprise" is. The current GTK2 release for RHEL5.3 is 2.10. I would start by grabbing the source rpm for that and examining the spec file, that should give you a huge amount of information. F11 uses gtk2-2.16.5-1.fc11.src.rpm, I would grab that and again look at the spec file(Fedora is what RHEL is/will be based on). Between those two spec files you should be able to get a pretty good idea of what needs to be done to run the newer GTK2 on RHEL5.3. If that is not what you are running, I really cannot help much until we know what you are actually running.
Lazlow:
I'am sorry for giving a wrong information of the OS version. I'am so a rookie. Actually it's RHEL5.3. But it should be unrelated with the OS version.
EmrldDrgn:
I think it's related with the version of your pango lib. Why not try another one? I just change it from 1.24.5 to 1.20.5, and now it's all right.
PS:Make sure your ATK version to be atleast 1.13.2.
Apparently the newer gtk2 versions have an issue with immodules not being in the standard install(split out for some reason). There is a patch for this in the F11 spec file. This may or may not have anything to do with the initial issue.
I'm not sure precisely what I did, but I found this list of dependencies and compiled it top-down. I wish I knew exactly which one had fixed it so I could report the oversight to the devs, but ah well... c'est la vie.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.