LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 12-16-2012, 01:43 PM   #1
joncoles
LQ Newbie
 
Registered: Feb 2004
Distribution: Ubuntu 12.10, Slackware 14.0
Posts: 11

Rep: Reputation: 0
Installation of non-slackware tarballs


When I do slackpkg searches, they almost always return nothing. How much compatibility is there for the installation of non-slackware software in tarball format?

Example: I like grsync. It makes rsync much simpler to set up and manage.

slackpkg search grsync - "No package name matches.."

I downloaded the grsync tarball and attempted to compile, but found the following dependencies:
dee-1.0
dbusmenu-glib-0.4
unity

These packages are not available through slackpkg. Is there any point trying to source them elsewhere? Or, am I doomed in my attempt to add some user-level simplicity?
 
Old 12-16-2012, 02:18 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
grsync is on Slackbuilds.

-->http://slackbuilds.org/result/?search=grsync&sv=14.0

I have had it install on 13.37 and now on 14.
 
Old 12-16-2012, 02:22 PM   #3
joncoles
LQ Newbie
 
Registered: Feb 2004
Distribution: Ubuntu 12.10, Slackware 14.0
Posts: 11

Original Poster
Rep: Reputation: 0
Part of the problem was the Unity dependency. I think this refers to the awful new GUI in some "cool", "user-friendly" distributions. I was able to add --enable-unity=no to the ./config line and lose all of the earlier dependencies.

I'm still not out of the woods, though.

The result of make:
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: callbacks.o: undefined reference to symbol 'round@@GLIBC_2.2.5'
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: note: 'round@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line

I have used "make" many times, sometimes successfully. While I know that linking happens, at this point I have no idea how to access the "linker command line" or precisely what I would add to it. (I just want to install a little app! Shouldn't that be simple?)

I keep hoping that the learning curve for Slackware is worthwhile. I've had better decoding with the Dream Radio application under Slackware than I got under another distro.
 
Old 12-16-2012, 02:36 PM   #4
joncoles
LQ Newbie
 
Registered: Feb 2004
Distribution: Ubuntu 12.10, Slackware 14.0
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by camorri View Post
grsync is on Slackbuilds.

-->http://slackbuilds.org/result/?search=grsync&sv=14.0

I have had it install on 13.37 and now on 14.
Thanks, Camorri!

Which package did you use: the source or the SlackBuild?
I downloaded the SlackBuild, grsync.tar.gz, expanded it and ran doinst.sh. Nothing happened. Did I do something wrong?
 
Old 12-16-2012, 02:55 PM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
I used the Slackbuild. You need to download the file
Quote:
grsync.tar.gz
and the file
Quote:
grsync-1.2.1.tar.gz
.

I put them in a dir called /home/cliff/src. Any directory in your /home/user will do. The first file has to be unpacked, I do it with ark. If you have a full install, you will have it.

The second file comes from different sources, do not worry about that.

When I untar the first file, I allow it to maintain the same dir structure. Then I move the file with the version number into that dir. ( everything is in one place. )

On my system it looks like this:

Quote:
ls
total 228
drwxr-xr-x 2 cliff users 4096 Apr 24 2011 ./
drwxr-xr-x 93 cliff users 4096 Oct 12 09:51 ../
-rw-r--r-- 1 cliff users 273 May 24 2010 README
-rw-r--r-- 1 cliff users 130 May 24 2010 doinst.sh
-rw-r--r-- 1 cliff users 204566 Apr 24 2011 grsync-0.6.tar.gz
-rwxr-xr-x 1 cliff users 2730 Jun 4 2010 grsync.SlackBuild*
-rw-r--r-- 1 cliff users 276 May 24 2010 grsync.info
-rw-r--r-- 1 cliff users 881 May 24 2010 slack-desc
Now su to root. Type ./grsync.SlackBuild and press enter. The compiler will take off and build your package.

The result will end up in /tmp. After the compile finishes, go to tmp. If you want you can list the file there. One will be the package you install. It is a binary package at this point. You can, if you wish, copy it to the dir you put the other files in. You do not have to. Just type in /tmp dir installpkg nameofthe package and press enter. It will install.

That is it. The reasopn to copy the package back to the dir you create, is if you might want to install it again, later, on the same system, or on another system of the same release and arch; 32 bit or 64 bit. Of course you can always just build it again.

I do recommend you clear /tmp of the files you create with slackbuilds. You can fill up /tmp and cause system problems if you put too much stuff there.

Hope this helps.
 
Old 12-16-2012, 02:56 PM   #6
joncoles
LQ Newbie
 
Registered: Feb 2004
Distribution: Ubuntu 12.10, Slackware 14.0
Posts: 11

Original Poster
Rep: Reputation: 0
It took me quite a while to figure out that I needed to:
  • Download both tarballs.
  • Expand the SlackBuild tarball.
  • Put the source tarball inside the SlackBuild's directory.
  • Run the grsync.SlackBuild script.
  • Note the name of the Slackware install package (/tmp/grsync-1.2.1-x86_64-2_SBo.tgz).
  • su to root.
  • run installpkg /tmp/grsync-1.2.1-x86_64-2_SBo.tgz

The package installation even added grsync to the menu in Xfce.

SlackBuilds. Gotta remember that.
 
Old 12-16-2012, 03:03 PM   #7
joncoles
LQ Newbie
 
Registered: Feb 2004
Distribution: Ubuntu 12.10, Slackware 14.0
Posts: 11

Original Poster
Rep: Reputation: 0
Looking at the timestamps, it seems I figured it out about as fast as you could compose your instructions. But thanks. You mentioned a few things I didn't know.
 
Old 12-16-2012, 03:11 PM   #8
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
No problem, now if you want to make your life with Slack slacker.... then take the time to install sbopkg; from here -->http://www.sbopkg.org/

Read the doc on the site. Once you have sbopkg installed, to install packages on slackbuild, you run as root, sbopkg. It takes a little use, easy to use, and it does all the work for you. Now you're slackin...

BTW, you still have to check the pre-req's. With sbopkg you can create install list in the correct order of packages, and install a bunch of packages in the correct order. Makes life much easier.

Last edited by camorri; 12-16-2012 at 03:12 PM. Reason: fixed spelling.
 
Old 12-22-2012, 09:43 PM   #9
astanton
Member
 
Registered: Nov 2010
Distribution: Slackware64 -current
Posts: 82

Rep: Reputation: 5
Arrow

Quote:
Originally Posted by camorri View Post
... then take the time to install sbopkg; from here -->http://www.sbopkg.org/
Yup. And then it's as easy as:

Code:
# sbopkg -i <package_name>
For deps, you might want to use queuefiles w/sbopkg too.

Then it would be:

Code:
# sbopkg -i <package_name>.queue -k
and all the deps will be installed, and in the proper order.

I'll let you ponder that for a bit, so you look into how to correctly clone the queuefiles from the git repo and prepare sbopkg for use with them. There's gotta be some RTFM'ing or it just ain't like it should be, right?
 
  


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
Installation of Linux tarballs made in C# using mono-develop Puneet Jindal Linux - Newbie 0 11-18-2010 12:24 PM
Installation with tarballs cynicalpsycho Linux - Newbie 3 12-25-2009 12:16 AM
Record installation of tarballs, as for .tgz? JohnKFT Slackware 6 01-30-2004 05:11 PM
apt-get, tarballs and installation dakensta Debian 5 07-04-2003 05:04 PM
tarballs MasterC Linux - General 5 05-15-2002 01:44 PM

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

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