LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-19-2015, 09:15 PM   #16
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619

I have noticed similar problems while figuring out how to have support for both python2 and python3. I made some changes to pygobject3.SlackBuild which now enable me to specify something like:
Code:
    PYTHON_VERSIONS=2     sh pygobject3.SlackBuild
or  PYTHON_VERSIONS=3     sh pygobject3.SlackBuild
or  PYTHON_VERSIONS="2 3" sh pygobject3.SlackBuild
and achieve the desired result. If PYTHON_VERSIONS is not set like that, the script defaults to "2 3" i.e. support both python2 and python3, which is what I wanted for myself. I'm about to suggest these changes to the maintainer; in the meantime you could download the pygobject3.SlackBuild from https://github.com/cwilling/slackbui...ct3.SlackBuild and give it a try.

chris
 
1 members found this post helpful.
Old 03-20-2015, 09:57 AM   #17
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Original Poster
Rep: Reputation: 238Reputation: 238Reputation: 238
Thanks Willy and Chris for all the efforts.
Still, any build-script crashes on autogens.sh not finding my automake..... How does autogen.sh does this??? it seems to refer to gnome-common for this....
I've got gnome-common-3.4.0.1-noarch-1_SBo..... might that one be wrong?
 
Old 03-20-2015, 06:23 PM   #18
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by brobr View Post
Thanks Willy and Chris for all the efforts.
Still, any build-script crashes on autogens.sh not finding my automake..... How does autogen.sh does this??? it seems to refer to gnome-common for this....
I've got gnome-common-3.4.0.1-noarch-1_SBo..... might that one be wrong?
Ah, I just read your original post more carefully and the problem is a bit clearer. Unfortunately the gnome-autogen.sh that comes in the gnome-common-3.4.0.1 package is not too clever about how it determines whether you have a good automake installed; its hard coded with particular versions that it will accept - the highest being 1.11 - and the automake in -current is 1.14.1 i.e. gnome-autogen.sh will fail. I had already locally upgraded (and since forgot doing so) my gnome-common to 3.14.0 so that newer automake versions would be accepted. You can download http://ftp.acc.umu.se/pub/gnome/sour...-3.14.0.tar.xz and change the version numbers in the gnome-common.SlackBuild; then everything should just work.

chris
 
1 members found this post helpful.
Old 03-21-2015, 08:37 AM   #19
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Original Poster
Rep: Reputation: 238Reputation: 238Reputation: 238
Quote:
Originally Posted by chris.willing View Post
...I had already locally upgraded my gnome-common to 3.14.0 so that newer automake versions would be accepted. You can download http://ftp.acc.umu.se/pub/gnome/sour...-3.14.0.tar.xz and change the version numbers in the gnome-common.SlackBuild; then everything should just work.
Hi Chris, using the newer gnome-common and your pygobject3.Slackbuild worked like a charm:

I only needed to repair the gnome-common.SLackBuild to remove some terms like INSTALL, NEWS etc. in the line where the documentation is created. The script choked on this line because these files were no longer present in the 3.14 version.

Thanks a lot and my thumbs up for getting these changes accepted by the maintainer of these SBo packages.

Cheers,

Rob
 
Old 03-21-2015, 12:15 PM   #20
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
OHh i forgot that i already bumped gnome-common in my system due to my CSB project. Sorry about that...
 
2 members found this post helpful.
  


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
[SOLVED] pygobject3 slackbuild fails slacksam Slackware 8 05-08-2014 08:11 PM
[SOLVED] Alien Bob's VLC slackbuild fails on current Daedra Slackware 4 10-25-2010 03:14 PM
[SOLVED] ORBit2 Slackbuild fails when building 32 bit package on current multilib damgar Slackware 4 04-10-2010 02:26 PM
lmms slackbuild fails with -current the_penguinator Slackware 3 02-03-2010 09:24 AM
ffmpeg Slackbuild fails in current multilib damgar Slackware 4 01-09-2010 09:12 PM

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

All times are GMT -5. The time now is 07:31 PM.

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