It is currently Sat Aug 24, 2019 10:22 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: OpenSuse 42.3 cannot find libgtk-3-dev
PostPosted: Fri Aug 17, 2018 8:27 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu May 21, 2009 6:56 pm
Posts: 510
Hi

When I run the PB v 5.62 checkinstall.sh on OpenSuse 42.3 it always reports that gtk+-3.0 is not found and suggest adding the directory containing "gtk+-3.0.pc" to the PKG_CONFIG_PATH variable. If I run sudo apt-get install libgtk-3-dev it reports that libgtk-3-devel not found in package names and then it reports that no provider of libgtk3-devel found.

Does anyone know how to fix this? In the meantime I just used the "gtk2" as the library subsystem in the compiler settings.

Thanks,
Simon


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenSuse 42.3 cannot find libgtk-3-dev
PostPosted: Fri Aug 17, 2018 9:59 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Jun 25, 2014 5:25 pm
Posts: 345
Location: Germany
I don't have OpenSUSE in use, but I think, this works:

  1. Go to this site: https://software.opensuse.org/package/gtk3-devel?locale=en
  2. The window "Search settings" opens. Look for "Distribution" and choose "openSUSE Leap 42.3"
  3. Set the checkbox "Show development packages"
  4. Click "Direct Install"

_________________
Image
Why OpenSource should have a license
PureBasic-CodeArchiv-Rebirth: Git-Repository / Download -- Any help is welcome!
Manjaro Xfce x64 (Main system) :: WindowsXP/Xubuntu x86 (VirtualBox) :: PureBasic (Linux: x86/x64, Windows: x86) :: All are up to date


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenSuse 42.3 cannot find libgtk-3-dev
PostPosted: Fri Aug 17, 2018 10:34 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 739
Location: Nottinghamshire UK
Hi @sirco that url does not seem to work. but this does at least on windows chrome https://software.opensuse.org/package/libgtk-3-0

zebuddi.

_________________
malleo, caput, bang. Ego, comprehendunt in tempore


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenSuse 42.3 cannot find libgtk-3-dev
PostPosted: Sat Aug 18, 2018 2:01 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu May 21, 2009 6:56 pm
Posts: 510
Hi

Did the installation but I still get the same message. It appears that the file "gtk+-3.0.pc" cannot be found anywhere on the workstation.

Thanks,
Simon


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenSuse 42.3 cannot find libgtk-3-dev
PostPosted: Sat Aug 18, 2018 4:47 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Apr 21, 2005 2:38 pm
Posts: 1643
Location: Germany
swhite wrote:
If I run sudo apt-get install libgtk-3-dev it reports that libgtk-3-devel not found in package names and then it reports that no provider of libgtk3-devel found.

apt-get only works on Linux distributions that utilize the Debian package format (Debian, Ubuntu and derivatives and many more). But OpenSuSE is utilizing the Red Hat Package Manager format (RPM). On OpenSuSE you have to use the graphical Yast software manager or the command line tool Zypper.

If you need the 64 bit package of gtk3-devel you may click onto this link, scroll down to "openSUSE leap 42.3" and install the package by clicking onto "1 Click Install" or onto "Download" and selecting "64 bit" to download the RPM package and install it with Yast or Zypper.

swhite wrote:
Did the installation but I still get the same message.

Zebuddi123's link points to the standard version of GTK3. But you have to install the developer version of GTK3 otherwise the error message won't disappear!


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenSuse 42.3 cannot find libgtk-3-dev
PostPosted: Tue Aug 21, 2018 1:47 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu May 21, 2009 6:56 pm
Posts: 510
Thank-you that worked.

Simon


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye