LinuxQuestions.org
Visit Jeremy's Blog.
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, 01:13 PM   #16
bnguyen
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 125

Rep: Reputation: 33

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, 01:43 PM   #17
AntEater
Member
 
Registered: Jan 2003
Location: Vermont
Distribution: Slackware
Posts: 39

Rep: Reputation: 19
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, 01:58 PM   #18
Chelyuk
LQ Newbie
 
Registered: Sep 2012
Posts: 15

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, 02:11 PM   #19
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
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, 02:28 PM   #20
Chelyuk
LQ Newbie
 
Registered: Sep 2012
Posts: 15

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, 02:36 PM   #21
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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, 02:45 PM   #22
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
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 02:49 PM.
 
1 members found this post helpful.
Old 10-02-2012, 02:53 PM   #23
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

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

Rep: Reputation: 90
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, 07:06 AM   #25
zakame
Member
 
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295

Rep: Reputation: 181Reputation: 181
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, 08:17 AM   #26
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
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 11:21 AM. Reason: added .sbopkg.conf
 
1 members found this post helpful.
Old 10-03-2012, 03:29 PM   #27
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
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, 03:34 PM   #28
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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, 05:38 PM   #29
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
I can't think of any new features to add. Pretty complete.
 
Old 10-03-2012, 10:41 PM   #30
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

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

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

All times are GMT -5. The time now is 09:40 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