LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-13-2015, 10:01 AM   #1
jowa45
Member
 
Registered: Apr 2007
Location: Stockholm, Sweden
Distribution: Slackware11&14.1
Posts: 119

Rep: Reputation: 15
Which GTK ?


Slackware 14.1 ships with three versions of gtk, gtk-1.2 gtk-2.0 gtk-3.0.

It also uses pkg-config.

Would someone be as good as to tell me what switches I need in "./configure" and possibly "make" to ensure that I link with the gtk-3.0 packages.

I am trying to compile pcb-20140316.

Judging by all all the text I see rolling before my eyes the default is gtk-2.0 and the compilation fails.

John
 
Old 12-13-2015, 10:17 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
As you can see in the file 'configure', line 15,721, the only option is gtk2 :
".....\ "gtk+-2.0 >= 2.18.0""; } >&5" . I.e. gtk2 version 2.18.0 or any later.

The usual place to look for options is './configure --help' : But no gtk choices.




-

Last edited by knudfl; 12-13-2015 at 10:23 AM.
 
Old 12-13-2015, 10:27 AM   #3
bormant
Member
 
Registered: Jan 2008
Posts: 426

Rep: Reputation: 240Reputation: 240Reputation: 240
As I can see, pcb's ./configure --help has no options to build with gtk-3.
pcb needs pangox-compat and gtkglext to build, both are available at SBo.
 
Old 12-13-2015, 11:26 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
it depends on gtkglext, which in turns depends on gtk+2

why do you want it to be linked against gtk+3 ?
 
Old 12-13-2015, 01:43 PM   #5
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
If no option in configure, cant force nothing.

Normally, in configure some options in other packages are

--enable-gtk3
--with-gtk=3


or similar , if no configure option, you cant go to gtk3 , some packages have auto detection and goes with the higer available on system.
 
Old 12-14-2015, 05:11 AM   #6
jowa45
Member
 
Registered: Apr 2007
Location: Stockholm, Sweden
Distribution: Slackware11&14.1
Posts: 119

Original Poster
Rep: Reputation: 15
Many thanks all.

I will wait for the next pcb.
It did compile using the lesstif alternative but is flaky.
I am still using a version on my Slackware 11 which I installed at about the same time as joining this forum.

John
 
  


Reply



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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware64 current gtk+2 /etc/profile.d/gtk+.sh and .csh have uid 3356 aaazen Slackware 2 04-27-2015 09:13 AM
[SOLVED] Python/Gtk3: dialog.add_button(Gtk.STOCK_OK, Gtk.ResponseType.OK) RockDoctor Programming 2 08-12-2014 07:37 AM
Inhibit GTK verbose messages when running GTK/Gnome applications from terminal d1s4st3r Linux - Software 1 11-10-2009 10:33 PM
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration