LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-02-2012, 02:13 PM   #16
bnguyen
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 125

Rep: Reputation: 32

Did you use version 2.32.1 in git? I remember successfully building it when 14.0 was still in -current state.
 
Old 10-02-2012, 02:43 PM   #17
AntEater
LQ Newbie
 
Registered: Jan 2003
Location: Vermont
Distribution: Slackware
Posts: 29

Rep: Reputation: 15
Quote:
Originally Posted by Woodsman View Post
GCC 4.7.x changed in a few significant ways, mostly in becoming more strict with compiling. Also glibc changed the way includes are handled. The latest ffmpeg has changed too, anything dependent upon that needs rebuilding. All of those types of build issues need to be resolved upstream or patched in the build scripts. Etc., etc.

So patience will be required with the slackbuilds scripts for 14.0.
I thought I'd piggy-back onto this comment some more specifics about gcc 4.7.x. One of the issues is actually well documented (if you know where to look) on the gnu/gcc site:

Quote:
Many of the standard C++ library include files have been edited to no longer include <unistd.h> to remove namespace pollution.

As such, C++ programs that used functions including truncate, sleep or pipe without first including <unistd.h> will no longer compile. The diagnostic produced is similar to:

error: ‘truncate’ was not declared in this scope
error: ‘sleep’ was not declared in this scope
error: ‘pipe’ was not declared in this scope
error: there are no arguments to 'offsetof' that depend on a template
parameter, so a declaration of 'offsetof' must be available
Fixing this issue is easy: just include <unistd.h>.
Unfortunately, this isn't something you're going to work around with a configure option or environment variable. You'll need to find the particular file in the source and add the include line. Fortunately, this has actually fixed the few instances I've found where this was a problem.
 
Old 10-02-2012, 02:58 PM   #18
Chelyuk
LQ Newbie
 
Registered: Sep 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
Now I see a new branch 14.0 on slackbuilds.org but I can't chose one in sbopkg util. Am I should to wait for update of sbopkg?
 
Old 10-02-2012, 03:11 PM   #19
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,484

Rep: Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906
you can add yourself this line on top of /etc/sbopkg/repos.d/40-sbo.repo
Code:
SBo 14.0 "SBo repository for Slackware 14.0" _SBo rsync slackbuilds.org::slackbuilds/14.0 GPG
then edit /etc/sbopkg/sbopkg.conf and set the variables REPO_BRANCH and REPO_NAME like this
Code:
REPO_BRANCH=${REPO_BRANCH:-14.0}
REPO_NAME=${REPO_NAME:-SBo}
sync
Code:
sbopkg -r
and you're ready to go
 
7 members found this post helpful.
Old 10-02-2012, 03:28 PM   #20
Chelyuk
LQ Newbie
 
Registered: Sep 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thanks, I was something confused by the warning in "/etc/sbopkg/repos.d/40-sbo.repo". But it's alright.
 
Old 10-02-2012, 03:36 PM   #21
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,623
Blog Entries: 2

Rep: Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078
I am currently using sbopkg with the SBo-git/current repository. Is it safe to keep it that way on 14 or should I change that to the 14 repo?
 
Old 10-02-2012, 03:45 PM   #22
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,484

Rep: Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906
I'll usually rebase SBo-git/current on slackbuilds.org's git master (the delay is some hours at max) so you will have that stuff plus the needed updates for -current for the stuff I use, so it's safe to use that if you use -current.

If you stay on 14.0, you are better off with the settings above (or with the ones to follow slackbuilds.org's git master branch).

Last edited by ponce; 10-02-2012 at 03:49 PM.
 
1 members found this post helpful.
Old 10-02-2012, 03:53 PM   #23
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,623
Blog Entries: 2

Rep: Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078
Thanks, I will make the change, these machines will stay at 14, at least for a while.
 
Old 10-02-2012, 07:04 PM   #24
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 888

Rep: Reputation: 78
Quote:
Originally Posted by ponce View Post
you can add yourself this line on top of /etc/sbopkg/repos.d/40-sbo.repo
Code:
SBo 14.0 "SBo repository for Slackware 14.0" _SBo rsync slackbuilds.org::slackbuilds/14.0 GPG
then edit /etc/sbopkg/sbopkg.conf and set the variables REPO_BRANCH and REPO_NAME like this
Code:
REPO_BRANCH=${REPO_BRANCH:-14.0}
REPO_NAME=${REPO_NAME:-SBo}
sync
Code:
sbopkg -r
and you're ready to go
Thanks!
 
Old 10-03-2012, 08:06 AM   #25
zakame
Member
 
Registered: Apr 2012
Distribution: Debian, Ubuntu, Slackware
Posts: 131

Rep: Reputation: 52
Quote:
Originally Posted by ponce View Post
you can add yourself this line on top of /etc/sbopkg/repos.d/40-sbo.repo
Code:
SBo 14.0 "SBo repository for Slackware 14.0" _SBo rsync slackbuilds.org::slackbuilds/14.0 GPG
then edit /etc/sbopkg/sbopkg.conf and set the variables REPO_BRANCH and REPO_NAME like this
Code:
REPO_BRANCH=${REPO_BRANCH:-14.0}
REPO_NAME=${REPO_NAME:-SBo}
sync
Code:
sbopkg -r
and you're ready to go
As an alternate to editing /etc/sbopkg/sbopkg.conf, you can change the version sbopkg uses with

Code:
# sbopkg -V SBo/14.0
This will prompt you to create the repository directory in /var/lib/sbopkg/SBo/14.0 and take you to the ncurses dialog, where you can start to sync the archive to your local repository and check/build and install updates.
 
Old 10-03-2012, 09:17 AM   #26
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,484

Rep: Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906
Yes, but using like this (with the -V option) it's only for temporary use: if you don't specify the "-V SBo/14.0" also the next time you launch it, it will default to the repository set in /etc/sbopkg/sbopkg.conf (or ~/.sbopkg.conf, if you save your options from the dialog interface).

Last edited by ponce; 10-03-2012 at 12:21 PM. Reason: added .sbopkg.conf
 
1 members found this post helpful.
Old 10-03-2012, 04:29 PM   #27
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Rep: Reputation: 106Reputation: 106
Is sbopkg still being maintained? It's very feature rich as it is already, but was wondering about the development since I haven't seen much lately.
 
Old 10-03-2012, 04:34 PM   #28
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,623
Blog Entries: 2

Rep: Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078
I would think that sbopkg is feature complete, so a slow development cycle has to be expected. It works fine here, the only thing that bother me a bit is that the queue files are not adapted yet. I have to look into how to maintain them and then maybe volunteer for that. Well, and I have to learn how to work with git, in the first place.
 
Old 10-03-2012, 06:38 PM   #29
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Rep: Reputation: 106Reputation: 106
I can't think of any new features to add. Pretty complete.
 
Old 10-03-2012, 11:41 PM   #30
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,623
Blog Entries: 2

Rep: Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078Reputation: 4078
And as we speak of it slakmagik released a new version: http://www.linuxquestions.org/questi...ed-4175430399/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Building slackbuilds.org packages with gcc 4.4.2 ponce Slackware 1 11-05-2009 12:07 PM
SlackBuilds and Slackware64 niels.horn Slackware 9 06-30-2009 05:00 PM
Packages/Slackbuilds versus Compiling From Source AlphaSigmaOne Slackware 14 10-25-2008 03:54 PM
error compiling lablgtk on Slack 11 using SlackBuild from slackbuilds.org BCarey Slackware 1 02-22-2008 11:57 AM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 09:56 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration