LinuxQuestions.org
Review your favorite Linux distribution.
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 01-21-2011, 04:32 AM   #1
rody
Member
 
Registered: Jan 2011
Location: kernel
Distribution: Slackware - Arch
Posts: 77

Rep: Reputation: 3
How to make .tgz file


Hi there
i found program but they are tar.bz2 and tar.gz and they are not work on slackware

How can i make them tgz file
last night im download src2pkg but i dont know how to use it

need help please
 
Old 01-21-2011, 04:37 AM   #2
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Firstly, check www.slackbuilds.org to see if someone has already created a more easy to use SlackBuild script for the software you want to install. Also take a look at the HOWTO section on SlackBuilds.org.

To use src2pkg, last time I used it you just ran src2pkg yourfile.tar.bz2 and it should automagically compile and create an installable package (.tgz) for you.
 
1 members found this post helpful.
Old 01-21-2011, 04:43 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,291

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
.tgz is tar.gz. Let's get that one out of the way.

I don't know src2pkg. If you have it, read - it's not fatal.
Standard thing is to compile software (./configure && make), and then do something like

make DESTDIR=/tmp/foo install
cd /tmp/foo
makepkg ../foo-version.tgz

the ../ in the package name is important, so it won't start packaging itself. That can then be installed with installpkg.
 
1 members found this post helpful.
Old 01-21-2011, 04:58 AM   #4
rody
Member
 
Registered: Jan 2011
Location: kernel
Distribution: Slackware - Arch
Posts: 77

Original Poster
Rep: Reputation: 3
thanks pwc101 i will check www.slackbuilds.org now

business_kid please can you be more specific im new on slackware

i need steps 1 , 2 , 3 ,4 etc

please
 
Old 01-21-2011, 05:06 AM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Also you might want to check the src2pkg tool
http://www.src2pkg.net/
 
1 members found this post helpful.
Old 01-21-2011, 05:24 AM   #6
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
I use src2pkg on occasion, normally all you need to do is type:

# sr2pkg source-code-file.tar.bz2

It might help to know what program you are trying to install.
 
Old 01-21-2011, 05:41 AM   #7
rody
Member
 
Registered: Jan 2011
Location: kernel
Distribution: Slackware - Arch
Posts: 77

Original Poster
Rep: Reputation: 3
chrisretusn im try to install emesene
i have source and im use it ./emesene and is work but if im close terminal it is clols the program

and if im use # sr2pkg source-code-file.tar.bz2 i get error

PHP Code:
libmimic/mimic.h:48warning: function declaration isn't a prototype
gcc -pthread -shared -O2 -m32 -march=i486 -mtune=i686 build/temp.linux-i686-2.6/libmimic/bitstring.o build/temp.linux-i686-2.6/libmimic/colorspace.o build/temp.linux-i686-2.6/libmimic/deblock.o build/temp.linux-i686-2.6/libmimic/decode.o build/temp.linux-i686-2.6/libmimic/encode.o build/temp.linux-i686-2.6/libmimic/fdct_quant.o build/temp.linux-i686-2.6/libmimic/idct_dequant.o build/temp.linux-i686-2.6/libmimic/mimic.o build/temp.linux-i686-2.6/libmimic/vlc_common.o build/temp.linux-i686-2.6/libmimic/vlc_decode.o build/temp.linux-i686-2.6/libmimic/vlc_encode.o build/temp.linux-i686-2.6/libmimic/py_libmimic.o -L/usr/lib -lpython2.6 -o build/lib.linux-i686-2.6/libmimic.so
running build_scripts
creating build/scripts-2.6
copying and adjusting emesene -> build/scripts-2.6
changing mode of build/scripts-2.6/emesene from 644 to 755
Compiling has been - Successful!
Creating content in JAIL root - Using: '
/usr/bin/env python ./setup.py install'
Hello.
You are trying to do a system-wide install of emesene using this script, which is a very bad thing to do.
Seriously, you do NOT want to do this, since it can break other python apps, and emesene too!
Follow my advice: just run the "emesene" script that is in this very same directory and you'
re doneemesene is running and your system is safeIt's a win-win, don't you think?
Thanks for trying emesene.
FATALRunning '/usr/bin/env python ./setup.py install' has failed with error
Try using INSTALL_LINE 'make -i install'  Exiting...
/
home/rody
root
@slackware ~> 
 
Old 01-21-2011, 05:45 AM   #8
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Use the SlackBuild here: http://slackbuilds.org/repository/13.1/network/emesene/. Read http://slackbuilds.org/howto/ to learn how to use the SlackBuild and then install the resulting package.
 
Old 01-21-2011, 05:57 AM   #9
rody
Member
 
Registered: Jan 2011
Location: kernel
Distribution: Slackware - Arch
Posts: 77

Original Poster
Rep: Reputation: 3
thanks man
i will try it

and back
 
Old 01-21-2011, 06:00 AM   #10
rody
Member
 
Registered: Jan 2011
Location: kernel
Distribution: Slackware - Arch
Posts: 77

Original Poster
Rep: Reputation: 3
http://slackbuilds.org/repository/13.1/network/emesene/ is tar.gz ???? not tgz
 
Old 01-21-2011, 06:04 AM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by rody View Post
Take a look at the howto
http://slackbuilds.org/howto/
Or download the package at
http://slakfinder.frattocchie.it/sla...&desc=#results

Kind regards
 
1 members found this post helpful.
Old 01-21-2011, 06:06 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
You will probably want to read http://slackbuilds.org/howto/

To know how to use emesene.tar.gz + emesene-1.6.3.tar.gz

..
 
1 members found this post helpful.
Old 01-21-2011, 06:21 AM   #13
rody
Member
 
Registered: Jan 2011
Location: kernel
Distribution: Slackware - Arch
Posts: 77

Original Poster
Rep: Reputation: 3
repo , knudfl

thanks alote friend

that very helpful
 
  


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
How to convert a tar.gz-file to tgz-file ? Knasen Slackware 17 09-05-2006 04:44 AM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM
how can I make a tgz file of my home? eantoranz Linux - General 13 03-29-2005 04:13 AM
checkinstall - make tgz, but don't install tw001_tw Slackware 6 03-11-2005 09:45 AM
tgz file doesn't end in .tgz? detpenguin Slackware 4 05-15-2004 07:13 PM

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

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