LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-17-2004, 05:13 PM   #1
dave bean
Member
 
Registered: Jun 2003
Location: UK
Distribution: Slackware 9.1
Posts: 136

Rep: Reputation: 15
can't install a .tgz.tar (noob)


hi
I just downloaded the jext text editor (I chose the .tgz for slackware):

http://www.jext.org/?section=downloads

In windows its extension is just .tgz but in linux the extension .tgz.tar. So im figuring its a tarred slackpack. . .

so first i try tar -zxvf and i get 3 new directories (install,opt,usr) in install there is a shell file 'doinst' so i type 'checkmod a + x' and type 'make install' and i get the 'no rule to make target' error (what does this mean please??).

well probabyl i shouldn't have typed -zxvf but when i try tar -x the shell just hangs.

(i also tried renaming the pack to just .tgz, there was no error but it wasn't renamed)

im confused - can anyone help please ?
 
Old 02-17-2004, 05:18 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,068
Blog Entries: 4

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Did you try ./configure, then make then use su to become root and then type make install?

This thread may be of help: http://www.linuxquestions.org/questi...threadid=45094
 
Old 02-17-2004, 05:26 PM   #3
dave bean
Member
 
Registered: Jun 2003
Location: UK
Distribution: Slackware 9.1
Posts: 136

Original Poster
Rep: Reputation: 15
yup i cd to the install directory, there is only the doinst.sh file and a text file there. then i type
./configure
which results in a program not found or similar type error. I tried make and make install as root too.
 
Old 02-17-2004, 05:31 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,068
Blog Entries: 4

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
The INSTALL file is, I assume, the text file you are talking about. Open it in a text editor, it should tell you what you need to do.
 
Old 02-17-2004, 06:30 PM   #5
dave bean
Member
 
Registered: Jun 2003
Location: UK
Distribution: Slackware 9.1
Posts: 136

Original Poster
Rep: Reputation: 15
the other file is a text file with a 'handy rule' for editing package names. I opened doinst.sh in gedit and it contains the following:

Code:
#!/bin/sh
ln -sf /opt/jext/bin/jext.sh /usr/bin/jext
chmod ugo+x /usr/bin/jext
the packages ive installed before have always gone ok . .
 
Old 02-17-2004, 06:58 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,627
Blog Entries: 10

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
just do
installpkg <path/filename>

It seems to be an actual slack-pack, nothing
else needs to be done.


Cheers,
Tink
 
Old 02-17-2004, 07:02 PM   #7
dave bean
Member
 
Registered: Jun 2003
Location: UK
Distribution: Slackware 9.1
Posts: 136

Original Poster
Rep: Reputation: 15
hi tinkster. When i try this i get 'can't install package, it doesn't end in .tgz' .

But i have redownloaded the file and noticed that each download i either get a tgz.tar or a tgz.gz extension. I think windows is adding extensions as i have this problem before. However when i rename the package .tgz i still get the error i mentioned before.
 
Old 02-17-2004, 07:04 PM   #8
Minderbinder
Member
 
Registered: Aug 2003
Location: Boston, MA
Distribution: Slackware-current
Posts: 142

Rep: Reputation: 15
Did you download the package while you were in windows? It sounds like windows couldn't deal with the .tgz extension and added the .tar. When I downloaded the file in linux it is just a .tgz file. Try downloading it in linux or turning off the "hide extension for known file type" option in windows then removing the .tar in windows.
 
Old 02-17-2004, 07:16 PM   #9
init
Member
 
Registered: Oct 2003
Location: Portland, Maine
Distribution: Gentoo 2004_2 2.6.7r14
Posts: 160

Rep: Reputation: 30
First off Jext is a java based app. You need the Java sdk installed.

1 Can you : " echo $JAVA_HOME "
if not you need to set this up in your profile. If this is all said and done and when you "echo $JAVA_HOME" you get /path/to/you/java/install you must untar the file

2 tar xfvz jext-3.2pre3.tar.gz <<<DOWNLOAD THIS FILE FROM THE WEB_LINK YOU POSTED ABOVE>>>

3 than cd to <jextinstalldir> than cd to the bin dir withen that

4 type ./jext
 
Old 02-17-2004, 07:26 PM   #10
dave bean
Member
 
Registered: Jun 2003
Location: UK
Distribution: Slackware 9.1
Posts: 136

Original Poster
Rep: Reputation: 15
thanks people i sorted it now

i was downloading it in windows (need to get my wireless card working with slack and i dont know enough yet to do this). The extension was always .tgz but the file was listed as either tar or gz. Then when i accessed it in linux the .tar or .gz extension was added to .tgz.

i just downloaded the package again and renamed it (in linux) to .tgz and it installed fine - cant understand why it wouldn't do that before when i renamed it

cheers
 
  


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 do I install from tgz, tar files? nathan_newmai Linux - Software 2 07-25-2004 05:39 AM
noob. .tgz in slack the d2490n Linux - Newbie 11 06-06-2004 05:42 PM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM
X Sever crash after xset.tgz & vg16.tgz install lachlan Slackware 0 08-13-2003 02:48 AM
.tgz or .tar.gz c0c0deuz Linux - General 9 12-14-2001 10:37 AM


All times are GMT -5. The time now is 09:43 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
Open Source Consulting | Domain Registration