LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 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: 804

Rep: Reputation: 110Reputation: 110
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,012

Rep: Reputation: 115Reputation: 115
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
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

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


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
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

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

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