Unix/Linux Go Back    


Fedora is an operating system centered on the Linux open source kernel and is developed by the community-supported Fedora Project. Fedora is sponsored by Red Hat. Fedora contains software distributed under a free and open-source license. Fedora focuses on innovation, integrating and adopting new technologies and working closely with various Linux communities. The default desktop in Fedora is the GNOME desktop environment and the default user interface is the GNOME Shell. Other desktop environments include KDE Plasma, Xfce, LXDE, MATE and Cinnamon. Security is an important aspect of Fedora with one specific security feature, Security-Enhanced Linux, implementing a variety of software security policies, including mandatory access controls.

GTK2.22 for Fedora 20

Fedora


Tags
fedora, gdk, gtk

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 02-27-2015
fedora18 fedora18 is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 27 May 2015, 5:06 PM EDT
Posts: 60
Thanks: 3
Thanked 2 Times in 2 Posts
GTK2.22 for Fedora 20

Hi again,

I maybe should have posted this question in this forum.
I am looking for an RPM for gtk2.22 development for a machine running Fedora 20. I only have the gtk2.22 development binaries for Fedora 14.

Anyone know where I could find them?

Thanks!
Sponsored Links
    #2  
Old Unix and Linux 02-27-2015
Don Cragun's Unix or Linux Image
Don Cragun Don Cragun is online now Forum Staff  
Administrator
 
Join Date: Jul 2012
Last Activity: 22 May 2017, 1:26 PM EDT
Location: San Jose, CA, USA
Posts: 10,293
Thanks: 518
Thanked 3,581 Times in 3,049 Posts
Moderator's Comments:
GTK2.22 for Fedora 20 When asking questions about a specific operating system, it would seem to be better to ask the question in the forum devoted to that operating system. Therefore, this thread has been moved to the Fedora operating system forum.
Sponsored Links
    #3  
Old Unix and Linux 02-27-2015
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is offline Forum Staff  
who?
 
Join Date: Dec 2003
Last Activity: 12 June 2016, 11:03 PM EDT
Location: /dev/ph
Posts: 4,996
Thanks: 73
Thanked 475 Times in 437 Posts
I do not think you will find a gtk2.22-devel package for F20. Fedora moved to 2.24 in F15 or even earlier.
    #4  
Old Unix and Linux 02-27-2015
fedora18 fedora18 is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 27 May 2015, 5:06 PM EDT
Posts: 60
Thanks: 3
Thanked 2 Times in 2 Posts
Compiling GTK

Hi all,

I have an application that runs based on GTK2.22 on a Fedora 14 operating system.
My client wants to upgrade to Fedora 20 which is 64bit. I have not found any pre-compiled binaries of GTK2.22 for Fedora 20. And when I compile on the Fedora 20 machine using the GTK2.4 libraries for 64bit machines the application throws some serious memory errors.
What would my best course of action be here? Should I be looking for the GTK2.22 source code and recompiling it on the new 64bit machine?

Thanks!
Sponsored Links
    #5  
Old Unix and Linux 02-27-2015
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is offline Forum Staff  
who?
 
Join Date: Dec 2003
Last Activity: 12 June 2016, 11:03 PM EDT
Location: /dev/ph
Posts: 4,996
Thanks: 73
Thanked 475 Times in 437 Posts
The ideal course of action is to fix the memory problems in your application. Sounds like these memory problems may relate to the change of programming models from ILP32 (32-bit Linux) to LP64 (64-bit Linux) rather than issues due to moving from GTL2.2 to GTK2.4

Do an Internet search. There are many good guides to porting 32-bit applications to 64-bit platforms.

Alternatively, you could continue to build your application as a 32-bit application and install all the necessary 32-bit shared libraries on your clients system.
The Following User Says Thank You to fpmurphy For This Useful Post:
fedora18 (03-05-2015)
Sponsored Links
    #6  
Old Unix and Linux 03-05-2015
fedora18 fedora18 is offline
Registered User
 
Join Date: Sep 2013
Last Activity: 27 May 2015, 5:06 PM EDT
Posts: 60
Thanks: 3
Thanked 2 Times in 2 Posts
fpmurphy I really like the idea of installing the 32 bit binaries on the clients system. I am just unsure how to do this. I have the binaries in rpm packages but am lost on how to install them and then link to them at runtime.....
The only libraries I need to install are:

gtk2-devel-2.22.0-2.fc.14.i686.rpm
proj-4.7.0-3.fc14.i686.rpm
proj-devel-4.7.0-3.fc14.i686.rpm
Sponsored Links
    #7  
Old Unix and Linux 03-05-2015
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 19 May 2017, 3:17 PM EDT
Location: Saskatchewan
Posts: 22,155
Thanks: 1,085
Thanked 4,168 Times in 3,857 Posts
Forcing an RPM to install is a really bad idea. You are liable to play havoc with other gtk-using things. They may not even work, since they could easily depend on other old libraries you don't have either!

You could extract files by hand and put them somewhere under /opt/, then cause your application to load them via LD_LIBRARY_PATH="/opt/oldlibraries/" if you wanted to do it safely. I don't think they'll work, but you won't have destroyed your system.

We don't know what 32-bit versions you have already though. There may be some acceptable generic choices available in your emul package.

You could also compile statically, as suggested in the other thread.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Gtk2-Perl kiran425 Shell Programming and Scripting 1 08-30-2013 07:37 AM
Gtk2-Perl kiran425 Shell Programming and Scripting 0 08-30-2013 07:18 AM
perl/Gtk2: issue with initializing Gtk2 pseudocoder Programming 1 03-28-2010 05:39 PM
Need gtk2 for linux es3 frankkahle Linux 1 05-24-2007 06:06 AM



All times are GMT -4. The time now is 01:28 PM.