LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-21-2009, 01:11 PM   #1
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
Building a Slackware package...


Hi forum,

So, I compiled the latest stable version of Paraview in Slackware64 13;

Had to download cmake ( Paraview uses the cmake build system ) from Kitware, configure make install, ( standard drill here ), so as to run cmake ../../paraview-xx-xx/CmakeList.txt.

It built my makefile, so i make and make install...

So far so good... My question here is this:

Supposing I want to build a Slackware package, for future install without having to recompile it from source, speeding up the install process... how should I do that... ?

One other thing, the packages in http://www.linuxpackages.net/ are for the 32 bit version, or are they compatible with the 64 bit...?

BRGDS

Alex
 
Old 10-21-2009, 01:18 PM   #2
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 800

Rep: Reputation: 100Reputation: 100
You're best bet would probably be to use a template from SBo and use a slackbuild that automagically packages it for you. Other than that, I used to use DESTDIR=/path/to/pkg/dir during make install and make a package out of that directory.
 
Old 10-21-2009, 01:24 PM   #3
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 110Reputation: 110
Slackware had CMake in d/ ever since KDE switched. You shouldn't need to install it yourself unless Paraview needs a newer version or somesuch.

I'll shamelessly plug src2pkg as *the* package creation tool, see my sig.

Don't use packages from linuxpackages. There's pretty much zero quality control and most of the submitters don't know what they're doing. I usually look if Alien Bob or SlackBuilds.org has a build script first, even before considering src2pkg.
 
Old 10-21-2009, 04:00 PM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 3,955

Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
http://slackbuilds.org/faq/#writing
 
  


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
RPM Package building harish.patel Linux - Newbie 2 12-25-2008 11:57 PM
building kernel package geetha_sg Slackware 0 07-03-2008 01:47 AM
need instructions on package building kinzlaw Linux - General 1 05-27-2006 05:00 PM
package building dockpunk Slackware 10 03-23-2005 09:46 AM
Building a nagios package. Linux.tar.gz Slackware 3 07-02-2004 11:51 AM


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