LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-16-2003, 03:04 AM   #1
AnandKM
LQ Newbie
 
Registered: Sep 2003
Location: United Arab Emirates
Distribution: Mandrake 9.1
Posts: 8

Rep: Reputation: 0
Problem installing printer in Mandrake 9.1


Dear friends,

I am new to Linux and have installed Mandrake 9.1 on my office Dell desktop.

We have a Xerox Document Center 230 - Networked printer.

I went to their website and downloaded both Linuxi386XpxxInstall and PrinterpackageXpxx files into file:/home/anand/documents directory.

I unzipped them (sorry windows hangover!) in the same directory.

I then went to superuser mode and ran ./setup command and the results are enclosed below....

root@dubbc8sn0j-1 Linuxi386XpxxInstall]# ./setup
.............ERROR: unable to locate system command 'uncompress'
[root@dubbc8sn0j-1 Linuxi386XpxxInstall]#

What am I doing wrong?.

Kindly help.

I look forward to your assistance.

Best regards,

Anand K.
 
Old 09-16-2003, 08:56 AM   #2
drgowans
LQ Newbie
 
Registered: Sep 2003
Location: Salt Lake City, Utah
Distribution: Red Hat 9
Posts: 22

Rep: Reputation: 15
I have found that several distributions of Linux don't contain a program that many other POSIX compliant OSes have standard. Linux always has to be a little different. There also may be licensing issues. But the bottom line is that 'uncompress' is 'unnecessary' because we have 'gzip/gunzip'

The first solition I would try would be to make an alias command to uncompress (since gunzip will do the same thing, usually.)

Type this before typing ./setup:

[root@dubbc8sn0j-1 Linuxi386XpxxInstall]# alias uncompress gunzip

It may not work if the syntax is different between the version of uncompress that the setup program wants and gunzip, but it might work. If it doesn't, look for a package for mandrake to install that has uncompress.
 
Old 09-17-2003, 01:18 AM   #3
AnandKM
LQ Newbie
 
Registered: Sep 2003
Location: United Arab Emirates
Distribution: Mandrake 9.1
Posts: 8

Original Poster
Rep: Reputation: 0
many thanks for you help.

As i am on a fast internet connection, i have downloaded and installed?! all the mandrake fixes/bugs/updates from its site using rpmdrake.

As per your advise i ran to command and here are its results.

[root@dubbc8sn0j-1 Linuxi386XpxxInstall]# alias uncompress gunzip
bash: alias: uncompress: not found
bash: alias: gunzip: not found

so i ran the locate command for both uncompress and gunzip and here are the results

[root@dubbc8sn0j-1 Linuxi386XpxxInstall]# locate uncompress
/usr/share/man/it/man1/uncompress.1.bz2
/usr/share/man/pl/man1/uncompress.1.bz2
/usr/share/apps/konqueror/servicemenus/uncompress-gz.desktop
/usr/share/apps/konqueror/servicemenus/uncompress-tgz.desktop
/usr/share/apps/konqueror/servicemenus/uncompress-zip.desktop
/usr/share/emacs/21.2.93/lisp/obsolete/uncompress.elc
/usr/X11R6/bin/gvuncompress
/usr/src/linux-2.4.21-0.25mdk/drivers/usb/pwc-uncompress.c
/usr/src/linux-2.4.21-0.25mdk/drivers/usb/pwc-uncompress.h
/usr/src/linux-2.4.21-0.25mdk/fs/cramfs/uncompress.c
/usr/src/linux-2.4.21-0.25mdk/include/linux/modules/pwc-uncompress.stamp
/usr/src/linux-2.4.21-0.25mdk/include/linux/modules/pwc-uncompress.ver
[root@dubbc8sn0j-1 Linuxi386XpxxInstall]# locate gunzip
/usr/share/man/man1/gunzip.1.bz2
/usr/share/man/fr/man1/gunzip.1.bz2
/usr/share/man/es/man1/gunzip.1.bz2
/usr/share/man/ja/man1/gunzip.1.bz2
/usr/share/man/it/man1/gunzip.1.bz2
/usr/share/man/pl/man1/gunzip.1.bz2
/usr/bin/gunzip

Does this mean that i have both this packages/utilities already exisiting in my computer, if so do they need to be separately installed?

Which is a good download website for linux software where i can locate these utilities.

I thank you in advance for you assistance.

Best regards,

Anand K.
 
Old 09-17-2003, 08:45 AM   #4
drgowans
LQ Newbie
 
Registered: Sep 2003
Location: Salt Lake City, Utah
Distribution: Red Hat 9
Posts: 22

Rep: Reputation: 15
The two lines of interest to me are the following:

/usr/X11R6/bin/gvuncompress
/usr/bin/gunzip

You definitely have gunzip. As for uncompress, I am not sure what gvuncompress is. You may want to try aliasing each of them and see what happens. But first, I am somewhat concerned about your path variable. It should definitely include the directory in which gunzip resides, /usr/bin/

Could you post your path and shell? You can get it by typing:

[root@dubbc8sn0j-1 Linuxi386XpxxInstall]# echo $PATH
and
[root@dubbc8sn0j-1 Linuxi386XpxxInstall]# echo $SHELL

Also, sometimes the PATH variable is smaller for root. However, since it is an install, you need to be root. So you may need to augment your PATH variable. To do it in bash/sh, type the following at the prompt:

export PATH=$PATH:/usr/bin:/usr/X11R6/bin

Then try:

alias uncompress gunzip

again, and if that doesn't work,

alias uncompress gvuncompress

If neither of those work- then post the setup script from your program - assuming it is a text file.

Good luck!
 
Old 09-18-2003, 12:58 AM   #5
AnandKM
LQ Newbie
 
Registered: Sep 2003
Location: United Arab Emirates
Distribution: Mandrake 9.1
Posts: 8

Original Poster
Rep: Reputation: 0
Dear Friend,

Here are the results of my tries today:

root@dubbc8sn0j-1 XeroxInstall]# echo $PATH
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/X11R6/bin

[root@dubbc8sn0j-1 XeroxInstall]# echo $SHELL
/bin/bash

[root@dubbc8sn0j-1 XeroxInstall]# alias uncompress gunzip
bash: alias: uncompress: not found
bash: alias: gunzip: not found
[root@dubbc8sn0j-1 XeroxInstall]# alias uncompress gvuncompress
bash: alias: uncompress: not found
bash: alias: gvuncompress: not found
[root@dubbc8sn0j-1 XeroxInstall]# alias gvuncompress gunzip
bash: alias: gvuncompress: not found
bash: alias: gunzip: not found

I assume this is what u mean by setup script (installation instructions?)
run setup within the install directory as root to install the driver.

NOTE: setup will expand and install the compressed tar file in the install
directory, generate script files and other files that are needed
at run time. The following syntaxes are supported:
1) setup <== menu driven install
2) setup tmp_path <== menu driven install
3) setup install install_path <== no menu, just install
4) setup install install_path tmp_path <== no menu, just install
install_path is the installation directory which will contain all
the Xerox software.
tmp_path is a temporary work area. /tmp is the default work area.

In any of the above syntaxes the no_space_check is also supported
and will disable the check to ensure free space exists in the install and
tmp paths.

I appreciate your patience with my me and thank you in advance for your assistance.

Best regards,

Anand K.
 
Old 09-18-2003, 08:54 AM   #6
drgowans
LQ Newbie
 
Registered: Sep 2003
Location: Salt Lake City, Utah
Distribution: Red Hat 9
Posts: 22

Rep: Reputation: 15
Anand,

I am sorry, but it seems I have been giving you some bad information. I was telling you to use alias, but I was typing it like I was at the cshell prompt. The alias command is different under the bash script.

Type the same alias command, just with an equal sign between the two arguments:

alias uncompress=gunzip

Then try setup. We'll see what happens. Also, when I said to send me the setup script, I meant sent me the script itself. However, it may be big. Check how long it is. But only send it if this doesn't work.

As for uncompress, you may want to try finding a redhat package containing uncompress. I can't find anything on the mandrake page except the full CDs for the whole OS. I also don't know if you can install redhat packages on mandrake.

Talk to you again Monday.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Lexmark Z705 Printer in Mandrake Linux Powerpack 10.1 TGWDNGHN Linux - Hardware 2 07-27-2005 08:48 AM
Problem installing a printer. aje Slackware 7 11-21-2004 08:43 PM
installing a modem blaster and lexmark printer in mandrake 9.2 newbie needs help p slane47 Mandriva 3 07-25-2004 04:21 PM
Problem installing printer in Mandrake 9.1 AnandKM Mandriva 1 09-16-2003 05:44 AM
Printer Problem Mandrake 8 nick Linux - Networking 2 12-20-2001 07:43 AM


All times are GMT -5. The time now is 08:37 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration