LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 09-20-2009, 01:38 AM   #1
hoanglong1712
Member
 
Registered: Nov 2008
Location: so 34, hem 75, ngach 12 ngo 624, Minh Khai, Ha Noi , Viet Nam
Distribution: Slackware, slax, opensuse
Posts: 33

Rep: Reputation: 15
how to make slackware package txz


Dear everyone
I want to make slackware 13 package .txz
someone on the forum advise me to use makepkg command

when I use this command like this
makepkg openoffice_3.1
It said:
ERROR: Can't make output package in current directory.

what should I do?
 
Old 09-20-2009, 01:46 AM   #2
el_b
Member
 
Registered: Apr 2009
Distribution: Slackware 13.0
Posts: 48

Rep: Reputation: 17
Make it "makepkg ../blah.txz"
It simply doesn't want to make the package in the source dir The same thing happened to me when I first moved in to Slack.

Last edited by el_b; 09-20-2009 at 01:48 AM.
 
Old 09-20-2009, 01:48 AM   #3
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 13.37
Posts: 436

Rep: Reputation: 56
I don't know how you make txz instead of tgz. But you can't have the destination directory inside the directory you are making a package of. So there, make the package to some other directory. You forget file extension as well, so I suggest something like:

makepkg /tmp/openoffice-3.1.tgz

You could add more information, like build architecture and such if you like, but you can name it what you want to. Perhaps you need to gunzip the archive, and then compress it again the right file extension to make it txz. I've never done this, but it should work, I suppose.

Edit:
Ok, thanks to el_b for pointing out that you can actually use .txz directly in makepkg.

Last edited by Dinithion; 09-20-2009 at 01:53 AM.
 
Old 09-20-2009, 01:56 AM   #4
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 199

Rep: Reputation: 41
It's done the exact same way as an .tgz package with only the "file extension" different.
So you only need to replace .tgz with .txz
But you need to be running 13.0 for it to work out of the box.
 
Old 09-20-2009, 08:19 AM   #5
hoanglong1712
Member
 
Registered: Nov 2008
Location: so 34, hem 75, ngach 12 ngo 624, Minh Khai, Ha Noi , Viet Nam
Distribution: Slackware, slax, opensuse
Posts: 33

Original Poster
Rep: Reputation: 15
thanks everyone
I had done my package
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to extract a .txz file? linus72 Linux - General 14 02-28-2010 01:55 AM
[SOLVED] .txz packages on slackware [SOLVED] michaelinux Linux - Software 4 09-04-2009 10:14 PM
Why ark in Slackware 13 doesn`t recognize .txz packages... witek Slackware 6 09-01-2009 09:10 PM
pkgtool doesn't support txz? zyli2006 Slackware 8 05-20-2009 03:56 PM
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM


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