LinuxQuestions.org
Visit Jeremy's Blog.
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 02-17-2015, 02:28 PM   #1
t.mwalimu
LQ Newbie
 
Registered: Apr 2014
Location: Boston
Distribution: linux slackeware3.0/Damn Small Linux
Posts: 14

Rep: Reputation: Disabled
Red face Packages has not been created with mkepkg


Hi could anyone Tell me where I should do these steps when installing slackware I'm trying to build the slackware packages with an install from a CD

Configure and compile the source where should I put these lines of code

1 ./configure --prefix=/usr --localstatedir=var --sysconfdir=/etc
make

Make a temporary destination directory available

2 mkdir /tmp/build

Install into the temporary directory

3 make install DESTDIR=/tmp/build
 
Old 02-23-2015, 01:45 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
You're looking good in what is written. It doesn't matter where you do the steps. I would alter

3. make DESTDIR=/tmp/build install
The difference is that the DESTDIR is passed to the install action. The way you have it is ambiguous.

4. cd /tmp/build
5. makepkg ../foo-version-any random-junk-you-want.txz

The ../ is very important to have the package land outside of the package dir. Then

6. rm -rf /tmp/build/*
to clean up.
 
2 members found this post helpful.
Old 03-01-2015, 10:25 PM   #3
Troy50
LQ Newbie
 
Registered: Mar 2013
Posts: 5

Rep: Reputation: Disabled
Post

Quote:
Originally Posted by business_kid View Post
You're looking good in what is written. It doesn't matter where you do the steps. I would alter

3. make DESTDIR=/tmp/build install
The difference is that the DESTDIR is passed to the install action. The way you have it is ambiguous.

4. cd /tmp/build
5. makepkg ../foo-version-any random-junk-you-want.txz

The ../ is very important to have the package land outside of the package dir. Then

6. rm -rf /tmp/build/*
to clean up.
Thank you very much
 
Old 03-01-2015, 10:48 PM   #4
Troy50
LQ Newbie
 
Registered: Mar 2013
Posts: 5

Rep: Reputation: Disabled
Post Building packages

When I enter these commands in my termial

./configure --prefix=/usr --localstatedir=/var sysconfdir=/etc
make

The make command is not found, what can I do to begin to setup a build environment I got some help from the Business Kid that I will try later but I don't think the make command will work I've tried once before
 
Old 03-02-2015, 03:51 AM   #5
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
@Troy50 if you did a full install, which you should because you are new, you would have make. So to fix this, do a full install.
 
Old 03-03-2015, 03:47 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
This is slackware if you're making packages, right?

The slackware64/d directory has the stuff you need. You need C, C++, maybe C#, java. You hardly need cobol, fortran, ada, or the weird ones. You need everything with 'auto' in it, every form of make (make, cmake, pmake) bison, m4, python, dev86, kernel headers git, subversion, cvs, doxygen, flex, libtool, llvm, m4, & kernel headers. I imagine you already have binutils; if not, install them too.

Most of that stuff is used by scripts the various packages run. As has been mentioned, installing the lot is not a bad idea. But you don't need to install kdei double-dutch fonts or help pages, etc. Just the stuff in slackware64/d.
 
Old 03-03-2015, 07:30 AM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I think these posts are mixing up how Slackware is installed. Slackware is installed as a set of binary packages, not like gentoo where you have to compile all your packages as part of the install. The source is provided in case you want to recompile something, but the Slackware install dvd is only designed to install precompiled binary packages.

Once you have Slackware installed, then you'll have a "build environment" that you can use to recompile slackware packages (if desired) or to compile new packages. slackbuilds.org can be used to find a lot of packages and it will tell you any dependencies that are needed (that aren't included in a full install) to compile that piece of software.
 
  


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
Packages has not been created with mkepkg t.mwalimu Slackware 3 02-17-2015 07:09 PM
apt/dpkg: How do I segregate user application packages from system packages? boxyzzy Ubuntu 2 12-03-2010 11:04 AM
Installation of packages in RHEL-5.3 using X windows menu Add/Remove packages akluthra Linux - Newbie 2 09-21-2010 05:34 AM
Formating FAT32, but linux created FAT32 is not like win created FAT32?? Difference? boki15 Linux - Newbie 19 07-21-2010 04:41 AM
Permisions in slackware for created packages small_boy22 Slackware 8 05-13-2005 03:19 PM

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

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