Help installing a driver

I'm trying to install a printer driver from a tar file and need some help installing it I got out the book but it doesn't have much on installing tar. This is what I did and what happened # tar xzf install_drv_z42-0.

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar04.webp

67 Posts
Location -
Joined 2003-02-08
I'm trying to install a printer driver from a tar file and need some help installing it I got out the book but it doesn't have much on installing tar. This is what I did and what happened
 
[root@user name]# tar xzf install_drv_z42-0.4.1.tar.gz
tar (child): install_drv_z42-0.4.1.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
[root@user name]# tar xzf install/home/hollywood_drv_z42-0.4.1.tar.gz
tar (child): install/home/hollywood_drv_z42-0.4.1.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
[root@user name]#
 
What am I doing wrong?
Thanks Art 8)

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar04.webp

67 Posts
Location -
Joined 2003-02-08
OP
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: Cannot find GTK: Is gtk-config in path?
[root@01flht z42tool]# rpm -Uvh pkgconfig-0.14.0-3.i386.rpm
error: open of pkgconfig-0.14.0-3.i386.rpm failed: No such file or directory
[root@01flht z42tool]# rpm -Uvh pkgconfig-0.14.0-3.i386.rpm
error: open of pkgconfig-0.14.0-3.i386.rpm failed: No such file or directory
[root@01flht z42tool]#
[root@01flht z42tool]#
Dapper this is what I get from the terminal but if I try to install the package by double clicking the icon it says that the package is already installed. Is there a way around this. If I'm understanding this package it is for help on installing or running a GUI package. Since all is I want is to install a driver I shouldn't need the pkgconfig anyway's correct?? ;(
Or am I missing something here :x

data/avatar/default/avatar04.webp

1678 Posts
Location -
Joined 2003-09-27
Oops, I'm sorry, I missed this latest post of yours until now. I didn't mean to ignore you..
 
Try:
 
rpm -ivh pkgconfig-0.14.0-3.i386.rpm [enter]
 
And you are attempting to install pkgconfig rpm from the same directory where you downloaded it to?
 
...apt-get could sure get all this squared away in a hurry...

data/avatar/default/avatar04.webp

67 Posts
Location -
Joined 2003-02-08
OP
Sorry myself I worked throught he last error message. This is what I get now when I go try and install it it say's that the package is already installed??? I updated synaptic and tried again with the same results.
 
[root@01flht z42tool]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: Cannot find GTK: Is gtk-config in path?
[root@01flht z42tool]#
 
When looking in synaptic for the gtk-config package it is not listed but when I download the rpm and install it it tells me that it is already installed.
When serching synaptic for GTK+ it shows this package gtk+devel which is installed.
At the end of the error it reads Is gtk-config in path? how do I check for that?
 
Glad you came back I thought I scared you away

data/avatar/default/avatar04.webp

1678 Posts
Location -
Joined 2003-09-27
If I'm reading the error correctly, I'ts looking for a later version of GTK. Check and see if gtk2 is listed in your synaptic tree as being installed. If not, install it and try again. In fact, I would install gtk2-devel and anything listed that has a "gtk2" in it.
I ran into similar problems trying to install Icepref in redhat 9. I'm sorry to say I could never find a satisfactory answer for my problem. Maybe we'll be luckier and find a solution for yours.

data/avatar/default/avatar04.webp

67 Posts
Location -
Joined 2003-02-08
OP
I think I ran into a major snafu with this one. No matter what I do it tells me that gtk is installed but in terminal it say's its not???

data/avatar/default/avatar04.webp

1678 Posts
Location -
Joined 2003-09-27
I ran into this exact same thing with trying to compile Icepref in RH9. There's a lot out there on the net on this having gtk installed but it can't find it problem..wait, I might be able to find one of my old posts...
 
Yes!
Here's one, and here's another..
 
I know this won't help with the problem, but thought you might be interested anyway. Please let me know if you find a solution. Sorry I couldn't help more...

data/avatar/default/avatar04.webp

67 Posts
Location -
Joined 2003-02-08
OP
Dan don't be sorry you helped me more in the last few weeks then anyone has over the last year it was a extreme pleasure to have someone take the time and help out rather then reply back RTFM. If I figure this out I will let you know what I did
Thanks Again
Art

data/avatar/default/avatar32.webp

3 Posts
Location -
Joined 2004-03-12
Wow. This is wild. The dude wanted to install a printer driver and everyone has him apt-getting gcc.
 
BLAG comes with the printer drivers for that printer, so even the "tar" step isn't needed.
 
Go to:
Menu->System Tools->Print Manager
 
And add it from there. You'll be able to pick Lexmark and your printer under there.

data/avatar/default/avatar04.webp

1678 Posts
Location -
Joined 2003-09-27
I'm not familiar with Blag. We sure could have used your help with this sooner..