-   Slackware (
-   -   how to make slackware package txz (

hoanglong1712 09-20-2009 01:38 AM

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?

el_b 09-20-2009 01:46 AM

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.

Dinithion 09-20-2009 01:48 AM

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. :)

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

Nille_kungen 09-20-2009 01:56 AM

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.

hoanglong1712 09-20-2009 08:19 AM

thanks everyone
I had done my package

All times are GMT -5. The time now is 11:09 PM.