LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-05-2008, 08:44 AM   #1
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Smile src2pkg question


Hi gnashley,

Forgive a foolish question. Is your version of src2pkg (1.9.5) 12.1 ready?
Thank you:-)
 
Old 05-05-2008, 09:48 AM   #2
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
i just use Slackware's very own makepkg providing the source code supports DESTDIR, what i do is make a directory named pkg as /tmp/pkg then when "make" sucessfully builds the source i run make install DESTDIR=/tmp/pkg then with the terminal i cd to /tmp/pkg and run makepkg /tmp/pkg/package_name.tgz

always keep /tmp/pkg completely empty after you make your package (store the package somewhere else) or the previous package will be bundled with the next package you make...

Last edited by Okie; 05-05-2008 at 09:49 AM. Reason: fixed typo
 
Old 05-05-2008, 09:56 AM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Original Poster
Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Smile

Quote:
Originally Posted by Okie View Post
i just use Slackware's very own makepkg providing the source code supports DESTDIR, what i do is make a directory named pkg as /tmp/pkg then when "make" sucessfully builds the source i run make install DESTDIR=/tmp/pkg then with the terminal i cd to /tmp/pkg and run makepkg /tmp/pkg/package_name.tgz

always keep /tmp/pkg completely empty after you make your package (store the package somewhere else) or the previous package will be bundled with the next package you make...
Thanks for the reply. I do know how to compile from source. I'm curious about gnashley's utility as it creates nice Slackware packages.
 
Old 05-05-2008, 10:47 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Hello, hitest. Congrats! I've let your question goad me into finally uploading the latest sr2pkg which has been quite awhile in the making.
More directly to your question, yes src2pkg-1.9.5 will work okay with Slack-12.1. However, the new version includes a great number of improvements -both small and large. It has gone through a very long testing period here on my systems, but I've only released a pre-release version to a couple of contributors.
I'd be pleased to have you be the first to try the new version. If you are installing fresh to Slack-12.1, just install the src2pkg-1.9.6-noarch-3.tgz package from here:
http://distro.ibiblio.org/pub/linux/...6-noarch-3.tgz

Then run 'src2pkg --setup' as user 'root'. Then it should be ready to use. This new version is designed so that you won't have to re-run 'src2pkg --setup' when upgrading to a later version -at least until further notice. This command now creates and installs a separate package which contains the binaries and libs used by src2pkg -this means they remain installed when upgrading src2pkg itself. Upgrading these progs (the package is named 'src2pkg-helpers') should rarely be necessary and I'll always notify you when it is. I've added several programs from the coreutils package to the src2pkg-helpers installation which I think will eliminate any possible problems associated with later glibc versions.

I'm going to post a separate announcement of the new version which will contain some other useful information.

Last edited by gnashley; 05-05-2008 at 10:51 AM.
 
Old 05-05-2008, 10:52 AM   #5
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
I've tried it on the latest Xmoto version, which wouldn't compile with a SlackBuild script. With src2pkg it went fine.
It's the only experience I have with src2pkg so far on SW 12.1 though, haven't used it on anything else (all the rest is compiled and installed through SlackBuild scripts from SlackBuilds.org).

EDIT:
I hadn't read Gnashley's posting when I posted mine.
Thanks Gnashley, scr2pkg rocks!

Last edited by adriv; 05-05-2008 at 10:54 AM.
 
Old 05-05-2008, 10:58 AM   #6
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Rep: Reputation: 46
Src2Pkg is the BEST. Thanks Gnashley.
 
Old 05-05-2008, 11:45 AM   #7
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
hmm. src2pkg sounds interesting, i may just have to give it a spin.
 
Old 05-05-2008, 11:47 AM   #8
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Original Poster
Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Smile

Quote:
Originally Posted by gnashley View Post
Hello, hitest. Congrats! I've let your question goad me into finally uploading the latest sr2pkg which has been quite awhile in the making.
More directly to your question, yes src2pkg-1.9.5 will work okay with Slack-12.1. However, the new version includes a great number of improvements -both small and large. It has gone through a very long testing period here on my systems, but I've only released a pre-release version to a couple of contributors.
I'd be pleased to have you be the first to try the new version. If you are installing fresh to Slack-12.1, just install the src2pkg-1.9.6-noarch-3.tgz package from here:
http://distro.ibiblio.org/pub/linux/...6-noarch-3.tgz

Then run 'src2pkg --setup' as user 'root'. Then it should be ready to use. This new version is designed so that you won't have to re-run 'src2pkg --setup' when upgrading to a later version -at least until further notice. This command now creates and installs a separate package which contains the binaries and libs used by src2pkg -this means they remain installed when upgrading src2pkg itself. Upgrading these progs (the package is named 'src2pkg-helpers') should rarely be necessary and I'll always notify you when it is. I've added several programs from the coreutils package to the src2pkg-helpers installation which I think will eliminate any possible problems associated with later glibc versions.

I'm going to post a separate announcement of the new version which will contain some other useful information.
Thank you, gnashley:-) I've got two clean installs of Slackware 12.1 at home that I will use your latest src2pkg on:-) I'll report back tonight on how it goes after I return from work.
Heh-heh, I'm glad my annoying post encouraged you to let us use your latest software.
Thanks again for all of the great work you do with supporting the Slackware community:-)

hitest
 
Old 05-05-2008, 06:43 PM   #9
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Original Poster
Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Hi gnashley:-)

Thanks for uploading your new src2pkg today. Installed src2pkg-1.9.6 on my Slackware 12.1 boxes; it works very well indeed:-)

hitest
 
  


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
src2pkg question, what is "Reverting to Jail installation"? okos Linux - Newbie 1 02-10-2008 10:19 PM
src2pkg 1.9.3, trackinstall, and hplip 2.7.12 question jelaiwang Slackware 9 02-01-2008 11:16 PM
src2pkg + qt 4.3.3 dive Slackware 9 01-24-2008 02:12 AM
src2pkg 1.5 question hitest Slackware 4 08-01-2007 02:58 PM
src2pkg custom related question about removepkg matters Slackware 5 06-18-2007 07:56 PM

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

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