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 11-30-2017, 12:27 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Posts: 1,157

Rep: Reputation: 103Reputation: 103
Can build-time switches be passed with sbopkg?


I'd like to start using sbopkg for updating a particular package I use which was originally built by downloading sources from the facility owner (dovecot). To build this for my system, I needed to do the ./configure with a couple of options, e.g. --with-gssapi=yes.

Is it possible to pass such options to sbopkg -i?
 
Old 11-30-2017, 12:43 PM   #2
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,544

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
Unless the maintainer added the ability to do so through the SlackBuild (in which case, you'd follow their instructions in the README, which could be something like GSSAPI=yes sbopkg -i dovecot), the only option would be for you to edit the SlackBuild yourself, although, you can do this within sbopkg's interface.
 
Old 12-04-2017, 11:25 PM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Posts: 1,157

Original Poster
Rep: Reputation: 103Reputation: 103
Quote:
Originally Posted by bassmadrigal View Post
... the only option would be for you to edit the SlackBuild yourself, although, you can do this within sbopkg's interface.
Did you mean "... can't do this within sbopkg's interface"?
 
Old 12-05-2017, 12:38 AM   #4
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,544

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
Quote:
Originally Posted by mfoley View Post
Did you mean "... can't do this within sbopkg's interface"?
No, you can absolutely edit SlackBuilds and Info files in sbopkg. Once you pull up the package, you can go to the "Custom" menu option and from there you can edit the SlackBuild and Info files.

Keep in mind that it will use the EDITOR environment variable as the editor. By default in Slackware, that is vi (or maybe vim, but something vi-like). If you want to change it, you can run EDITOR=nano sbopkg or change override the variable in a .bashrc
 
Old 12-06-2017, 12:27 AM   #5
mfoley
Senior Member
 
Registered: Oct 2008
Posts: 1,157

Original Poster
Rep: Reputation: 103Reputation: 103
Interesting. So, guide me a bit. I've used the sbopkg interface, selected 'Search' and entered "Dovecot". It found 2 packages, "network/dovecot" and "network/dovecot-pigeonhole". I selected "network/dovecot" and clicked 'Add to Queue'. I then went back to the Main Menu and selected 'Queue' > 'Process'. It shows my "dovecot" selection. The comment on this menu says,

"The following packages are currently in the queue. Please note that when the queue is processed, the packages selected below will be processed in the order listed from top to bottom."

I hesitate to continue at this point. What does it mean by "when the queue is processed? Does that mean "install"? "Download"? I've seen no 'Custom' option yet. Not knowing what is meant by processed, I'm not willing to click on OK at this point as I absolutely do not want this installed just yet without being able to modify the build parameters. Am I OK to process without the package getting installed?
 
Old 12-06-2017, 07:38 AM   #6
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,544

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
Rather than selecting "Add to queue" from the search results, hit enter on dovecot and it will take you to another screen for details of that app. That is the screen that has custom.

Main Menu -> Search -> type dovecot and press enter -> search results -> select dovecot and press enter (not add to queue) -> Custom

And "processed" means it will build and install each program on that list in the order they're listed, from top down. This allows you to have multiple programs in the queue, some of which might be dependencies of others. Assuming the order is correct, this ensures that the dependencies are built and installed before the main program is built and installed. If you have custom SlackBuilds or Infos for programs in the queue, sbopkg will ask if you want to use the local (custom) or original files to build it.
 
  


Reply

Tags
sbopkg


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
Unable to build LibreOffice with sbopkg mfoley Slackware 24 04-25-2017 03:15 AM
SBOPKG(8) not list/show/build dependencies of SlackBuild scripts to build Slackware p xavi_slacky Slackware 3 06-13-2013 08:53 PM
[SOLVED] The system time switches the time zone automatically but doesn't change the time RandomTroll Linux - Software 9 03-15-2013 01:28 PM
[SOLVED] Cannot build wxPython from sbopkg arubin Slackware 12 10-08-2012 07:22 PM

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

All times are GMT -5. The time now is 08:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration