LinuxQuestions.org
Help answer threads with 0 replies.
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 03-15-2006, 02:30 PM   #16
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30

If you're installing a Slackware package, you don't need to do ./configure. It's very easy. You can get the gphoto2 and libgphoto2 packages from linuxpackages.net. Just download them and issue installpkg NAMEOF PACKAGE.tgz in a console as root. That's all you need to do. Just as easy as Fedora or whatever.
 
Old 03-15-2006, 02:40 PM   #17
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Rep: Reputation: 190Reputation: 190
simcox1 is right. If you use precompiled binary packages from linuxpackages.net, then all you need to do is, as root:

installpkg libgphoto2*.tgz
installpkg gphoto2*.tgz

Or, you can grab both the libgphoto2 and the gphoto2 source code tarballs, which end in .tar.gz (note, NOT .tgz), then you would unpack each tarball like so:

tar -xvf libgphoto2*.tar.gz
tar -xvf gphoto2*.tar.gz

Then, go libgphoto2 directory first, and issue three commands:

./compile
make
make install (or checkinstall)

(I would recommend installing the "checkinstall" package that is found in the Slackware /extra directory. The checkinstall command replaces "make install" and what it does is creates a Slackware-compatible binary for you and installs it. That way, the package will show up in the Slackware pkgtool package list. If you just ./compile, make, make install then it will not show up in pkgtool).

Then, go into gphoto2 directory and do the same thing:

./compile
make
make install (or checkinstall)

That should get you going.

Two LQ threads that may help:
http://www.linuxquestions.org/questi...92#post1495892
http://www.linuxquestions.org/questi...hreadid=302174
 
Old 03-15-2006, 03:33 PM   #18
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
I appreciate all your help, but I can't seem to get it to install for me. Example:

installpkg libgphoto2-2.1.2.tgz

output:

"Description of package......"

Executing install script....

Nothing else happens, stops there. I enter the install directoru and it list four soft links and the script:

doinst.sh

So, I enter: sh dinst.sh

The output is a list of seven lines of cd /usr/lib: no such file or directory.

Am I missing something?

Bob
 
Old 03-15-2006, 03:47 PM   #19
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
Are you in the right directory? ie where the libgphoto package is. And are you signed in as root? If it doesn't work then there's something wrong. Have you got any other versions already installed? If so, try to remove them.
 
Old 03-15-2006, 04:53 PM   #20
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thank you. Yes I was attempting run installpkg from the directory where the files was, and, yes I was root.

I found instruction for this on the net, and I will study this more thoroughly. For now, I have been able to install one or two packages with .tar.gz using ./configure, make, make install. This puts me back a years or so, though, to dependency hell!! I suppose you get spoiled when dependencies are handled for you during the dowmload.

Thank you very much for your help.

Bob
 
Old 03-15-2006, 05:23 PM   #21
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
Looks like you have your issues solved, but I wanted to point out something. When doing a ./configure then make, instead of doing make install do a checkinstall (http://asic-linux.com.mx/~izto/checkinstall/).
Checkinstall basically captures what make install would have done, and creates a Slackware compatible package for you. That way you can use all the normal installpkg / removepkg / upgradepkg commands on it, instead of having messy files left everywhere.
I highly recommend it for anyone who does source builds (it supports deb and rpm packages too btw).
 
  


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
Easy-use, easy-install, fast, minimal KDE distro? lukeprog Linux - Distributions 8 09-08-2007 04:21 PM
hey guys, is this as easy to install as Slack? Jengo Ubuntu 4 06-26-2005 06:41 AM
How Bad/Easy is it to install Slack? mario8723 Slackware 48 03-31-2005 07:39 PM
Slack to debian is it easy ninadb Debian 1 05-27-2004 04:55 AM
Slack [PHP/GD + Freetype] easy way? ThA-B Slackware 1 09-25-2003 11:06 AM

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

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