LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-15-2011, 10:37 PM   #16
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 13.37
Posts: 238

Original Poster
Rep: Reputation: 17

I should have stated the question more clearly. I'm not very good a scripting, so how would I go about upgrading to 0.8.18 ? I need fairly comprehensive step by step instructions.

Thanks for any help.
Dan
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 09-16-2011, 12:42 AM   #17
Hyonane
LQ Newbie
 
Registered: Sep 2011
Location: Brazil
Distribution: Slackware64-current+multilib
Posts: 26

Rep: Reputation: Disabled
Download all the files in ( http://taper.alienbase.nl/mirrors/pe...calibre/build/ ) , except calibre_pythondeps-13.37.0-i486.tar.bz2 AND calibre_pythondeps-13.37.0-i486.tar.bz2

Put then all into the same folder, enter a terminal, navigate to the folder, become root

Execute the script "./calibre.Slackbuild"

If any error happens and the build dont finish plx try to get some of the build log and copy in here

If everything turns to be good, as i think it will, use "upgradepkg /tmp/calibre*.txz" or "upgradepkg calibre*.txz"



The BUILD folder in alien repositorie is the formula that he uses to build the package he launchs every week. Its avaliable so everybody can see and learn how to build it thenselfs. If everything went fine and u did build the 0.8.18 version for your slackware-13.1_64bits, you can keep doing it by saving the folder you downloaded all the files from that BUILD and downloading and replacing just the calibre source code in it. Today ( its 2 AM of Friday here in Brazil ) the next version should be avaliable, the 0.9.19.

Alien REPO for more great packages: (http://taper.alienbase.nl/mirrors/pe...n/slackbuilds/)
Alien BLOG about Slackware, Life and everything (http://alien.slackbook.org/blog/)
Alien REPO RSS for updates and new packages ( http://connie.slackware.com/~alien/s.../ChangeLog.rss)
 
1 members found this post helpful.
Old 09-25-2011, 12:46 PM   #18
interndan
Member
 
Registered: Aug 2004
Location: near Marion, Ill
Distribution: Slackware 13.37
Posts: 238

Original Poster
Rep: Reputation: 17
I know it has been a while since I started this, but I haven't had time to work on this project. I would like to thank everyone for their assistance. I now have Calibre 0.8.20 running. I shall now mark this thread solved.

Dan
 
Old 09-25-2011, 02:15 PM   #19
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,258

Rep: Reputation: Disabled
Quote:
Originally Posted by Hyonane View Post
Download all the files in ( http://taper.alienbase.nl/mirrors/pe...calibre/build/ ) , except calibre_pythondeps-13.37.0-i486.tar.bz2 AND calibre_pythondeps-13.37.0-i486.tar.bz2
There is a reason that I added these "calibre_pythondeps-13.37.0-i486.tar.bz2" and "calibre_pythondeps-13.37.0-i486.tar.bz2" files. They contain an "internal" pre-compiled python plus additional libraries which calibre needs (the python in Slackware is too old). Compiling these yourself will take a lot of time. Much more than compiling just the calibre source code.

So, because that "internal" python plus additional libraries do not change with every new version of calibre, it not needed to compile them every time. If the SlackBuild script finds a "calibre_pythondeps" tarball for your Slackware version and architecture, it will simply extract the binaries and add them to the calibre package. If such a tarball is not found during the build of the calibre package, then the SlackBuild script will have to compile python plus the additional libtraries and that takes a lot longer.

Your choice to use these tarballs with pre-compiled binaries. If you decide that you need to compile everything and do not trust my binaries, then you can still run the SlackBuild once. The SlackBuild will leave a tarball with the precompiled python binaries in the $TMP directory. You can move that tarball into the source directory and the next time, the SlackBuild script will use your own precompiled python binaries.

Eric
 
Old 10-01-2011, 02:33 PM   #20
Hyonane
LQ Newbie
 
Registered: Sep 2011
Location: Brazil
Distribution: Slackware64-current+multilib
Posts: 26

Rep: Reputation: Disabled
my bad

XD

Didnt know about those build details, but i did tested what i said before posting. I did take a while to finish...


Sorry Bob
 
  


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
LibreOffice Writer and Calibre and EPUB format SaintDanBert Linux - Software 3 06-06-2011 04:59 PM
LXer: Calibre - Really Good E-Book Management Tool for Linux LXer Syndicated Linux News 0 03-17-2011 05:20 PM
LXer: Creating and Reading eBooks on Linux with Calibre LXer Syndicated Linux News 0 12-17-2010 06:40 AM
LXer: Calibre 0.6: Zusätzliche E-Book-Formate LXer Syndicated Linux News 0 07-28-2009 03:30 PM
Installing Calibre on SuSE linux for digital ebooks readers. dougnc Linux - Mobile 0 01-18-2009 12:56 PM


All times are GMT -5. The time now is 11:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration