Compatible Support Forums: Help installing a driver

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Help installing a driver

#1 User is offline   hollywood63 

  • journeyman
  • Group: Members
  • Posts: 67
  • Joined: 08-February 03

Posted 20 January 2004 - 05:27 AM

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)
0

#2 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 20 January 2004 - 06:05 AM

Forgive me if you already know this but, did you "cd" to the directory where those files were downloaded before trying to extract them? If so, what you are doing should work. Try also:

gunzip install_drv_z42-0.4.1.tar.gz [enter]

then:

tar xvf install_drv_z42-0.4.1.tar [enter]
0

#3 User is offline   hollywood63 

  • journeyman
  • Group: Members
  • Posts: 67
  • Joined: 08-February 03

Posted 21 January 2004 - 08:00 AM

Dapper,
Thanks for the response I believe I did the cd I'm a green horn with Linux but I'm doing my best here is what I tried from your post.

[hollywood@01flht hollywood]$ cd /home/hollywood/drv_z42
[hollywood@01flht drv_z42]$
[hollywood@01flht drv_z42]$ gunzip install_drv_z42-0.4.1.tar.gz
gunzip: install_drv_z42-0.4.1.tar.gz: No such file or directory
[hollywood@01flht drv_z42]$ cd /home/hollywood
[hollywood@01flht hollywood]$ gunzip install_drv_z42-0.4.1.tar.gz
gunzip: install_drv_z42-0.4.1.tar.gz: No such file or directory
[hollywood@01flht hollywood]$

What do you see that I'm doing wrong


:x
0

#4 User is offline   Maillion 

  • enthusiast
  • Group: Members
  • Posts: 213
  • Joined: 02-January 04

Posted 21 January 2004 - 09:56 AM

I know this may sound a little silly, but try to do an ls in those directories to see if the file is actually there and the name is correct. I could not find a file with the name you have given in google or any of the web pages I found for that driver. It is always like this: "drv_z42-0.4.1.tar.gz" I couldn't find any that had the word 'install' at the beginning of the file name... ;(
0

#5 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 21 January 2004 - 05:03 PM

hollywood63, be sure to 'cd' to the directory which contains the zipped tarball, not to the zipped tarball itself. Think of it as walking into a room (directory) to open a package (drv_z42-0.4.1.tar.gz), not going into a room and into the package. wink If you downloaded it to your 'hollywood' directory, you won't need to cd to that location since, when you open a terminal you'll already be there.

It should go something like this for you...

Code:
[hollywood@01flht hollywood]$ su
Password:
[root@01flht hollywood]# gunzip drv_z42-0.4.1.tar.gz
[root@01flht hollywood]# tar xvf drv_z42-0.4.1.tar
drv_z42/
drv_z42/COPYING
drv_z42/ChangeLog
drv_z42/README
drv_z42/src/
drv_z42/src/z42_cmyk.c
drv_z42/z42tool/
drv_z42/z42tool/src/
drv_z42/z42tool/src/z42tool.c
drv_z42/z42tool/src/Makefile.in
drv_z42/z42tool/src/z42tool.h
drv_z42/z42tool/src/main.c
drv_z42/z42tool/src/Makefile.am
drv_z42/z42tool/src/support.h
drv_z42/z42tool/src/support.c
drv_z42/z42tool/src/interface.h
drv_z42/z42tool/src/interface.c
drv_z42/z42tool/README
drv_z42/z42tool/pixmaps/
drv_z42/z42tool/pixmaps/logo2.png
drv_z42/z42tool/install-sh
drv_z42/z42tool/autogen.sh
drv_z42/z42tool/configure.ac
drv_z42/z42tool/Makefile.am
drv_z42/z42tool/stamp-h.in
drv_z42/z42tool/acconfig.h
drv_z42/z42tool/aclocal.m4
drv_z42/z42tool/missing
drv_z42/z42tool/config.h.in
drv_z42/z42tool/mkinstalldirs
drv_z42/z42tool/Makefile.in
drv_z42/z42tool/configure
drv_z42/z42tool/depcomp
drv_z42/INSTALL
drv_z42/TODO
drv_z42/FAQ
[root@01flht hollywood]# cd drv_z42/
[root@01flht hollywood]# vi README


DRV_Z42
=======


What is it?
-----------
This project is a driver / configuration program for the Lexmark Z42 printer.
The printer driver was reported to work with the Lexmark Z43, and the Compaq
IJ1200 also (which is basically a relabeled Z42).
The configuration program should work with these printers, and
also with the Lexmark Z52.

I think the Z42 is a very nice printer. Unfortunately Lexmark
did not make a Linux driver for the Z42, so I had to write my own. It's a
strange thing: hardware manufactorers not releasing protocols: you do want to
@
"README" 104L, 3168C                                1,1           Top


To move down the page in vi, press the down arrow. To get out of the readme from vi, just press escape, then:

: x [enter] (without a space between : and x) (..it makes a ;( here...)

After getting out of the README which you viewed with vi, it appears that you install it by typing:

/install-sh [enter]

You may have to look around, read some more and work with it though. If you have any questions at all, I'm here to help. Good Luck! smile
0

#6 User is offline   hollywood63 

  • journeyman
  • Group: Members
  • Posts: 67
  • Joined: 08-February 03

Posted 22 January 2004 - 01:16 AM

[hollywood@01flht hollywood]$ su
Password:
[root@01flht hollywood]# gunzip drv_z42-0.4.1.tar.gz
gunzip: drv_z42-0.4.1.tar.gz: No such file or directory
[root@01flht hollywood]# chmod 777/home/hollywood/drv_z42
chmod: too few arguments
Try `chmod --help' for more information.
[root@01flht hollywood]# cd /home/hollywood/software
bash: cd: /home/hollywood/software: No such file or directory
[root@01flht hollywood]# cd /home/hollywood/Software
[root@01flht Software]# gunzip drv_z42-0.4.1.tar.gz
[root@01flht Software]# tar xvf drv_z42-0.4.1.tar
drv_z42/
drv_z42/COPYING
drv_z42/ChangeLog
drv_z42/README
drv_z42/src/
drv_z42/src/z42_cmyk.c
drv_z42/z42tool/
drv_z42/z42tool/src/
drv_z42/z42tool/src/z42tool.c
drv_z42/z42tool/src/Makefile.in
drv_z42/z42tool/src/z42tool.h
drv_z42/z42tool/src/main.c
drv_z42/z42tool/src/Makefile.am
drv_z42/z42tool/src/support.h
drv_z42/z42tool/src/support.c
drv_z42/z42tool/src/interface.h
drv_z42/z42tool/src/interface.c
drv_z42/z42tool/README
drv_z42/z42tool/pixmaps/
drv_z42/z42tool/pixmaps/logo2.png
drv_z42/z42tool/install-sh
drv_z42/z42tool/autogen.sh
drv_z42/z42tool/configure.ac
drv_z42/z42tool/Makefile.am
drv_z42/z42tool/stamp-h.in
drv_z42/z42tool/acconfig.h
drv_z42/z42tool/aclocal.m4
drv_z42/z42tool/missing
drv_z42/z42tool/config.h.in
drv_z42/z42tool/mkinstalldirs
drv_z42/z42tool/Makefile.in
drv_z42/z42tool/configure
drv_z42/z42tool/depcomp
drv_z42/INSTALL
drv_z42/TODO
drv_z42/FAQ
[root@01flht Software]# /install-sh
bash: /install-sh: No such file or directory
[root@01flht Software]# cd drv_z42/
[root@01flht drv_z42]# /install-sh
bash: /install-sh: No such file or directory
[root@01flht drv_z42]# vi readme
[root@01flht drv_z42]# /install-sh
bash: /install-sh: No such file or directory

Dan this is what I came up with the story of my life
no such file or directory
smile
When going into readme all that shows up is a bunch of vertical bars on the left of the terminal box.
Am I trying to bite off more then I can chew here? This is my last step in ditching M$ eveerything else I do works good I just can not print with my printer. I quess my other option would be buy a new printer frown
Thanks Art
0

#7 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 22 January 2004 - 02:48 AM

You're doing great! I'm sorry, I told you / rather than ./ , but it wouldn't have worked anyway as install was a how to. I don't have time to go into detail, but take a look at this..

Code:
[shelley@caroshell shelley]$ su
Password:
[root@caroshell shelley]# cd drv_z42/
[root@caroshell drv_z42]# ls
ChangeLog  COPYING  FAQ  INSTALL  README  src  TODO  z42tool
[root@caroshell drv_z42]# cd z42tool/
[root@caroshell z42tool]# ls
acconfig.h   configure     Makefile.am    pixmaps
aclocal.m4   configure.ac  Makefile.in    README
autogen.sh   depcomp       missing        src
config.h.in  install-sh    mkinstalldirs  stamp-h.in
[root@caroshell 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... yes (version 2.2.1)
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
[root@caroshell z42tool]# make
make  all-recursive
make[1]: Entering directory `/home/shelley/drv_z42/z42tool'
Making all in src
make[2]: Entering directory `/home/shelley/drv_z42/z42tool/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -Wall -MT main.o -MD -MP -MF ".deps/main.Tpo" \
  -c -o main.o `test -f 'main.c' || echo './'`main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -Wall -MT support.o -MD -MP -MF ".deps/support.Tpo" \
  -c -o support.o `test -f 'support.c' || echo './'`support.c; \
then mv -f ".deps/support.Tpo" ".deps/support.Po"; \
else rm -f ".deps/support.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -Wall -MT interface.o -MD -MP -MF ".deps/interface.Tpo" \
  -c -o interface.o `test -f 'interface.c' || echo './'`interface.c; \
then mv -f ".deps/interface.Tpo" ".deps/interface.Po"; \
else rm -f ".deps/interface.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -Wall -MT z42tool.o -MD -MP -MF ".deps/z42tool.Tpo" \
  -c -o z42tool.o `test -f 'z42tool.c' || echo './'`z42tool.c; \
then mv -f ".deps/z42tool.Tpo" ".deps/z42tool.Po"; \
else rm -f ".deps/z42tool.Tpo"; exit 1; \
fi
gcc  -g -O2 -Wall   -o z42tool  main.o support.o interface.o z42tool.o -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
make[2]: Leaving directory `/home/shelley/drv_z42/z42tool/src'
make[2]: Entering directory `/home/shelley/drv_z42/z42tool'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/shelley/drv_z42/z42tool'
make[1]: Leaving directory `/home/shelley/drv_z42/z42tool'
[root@caroshell z42tool]# make install
Making install in src
make[1]: Entering directory `/home/shelley/drv_z42/z42tool/src'
make[2]: Entering directory `/home/shelley/drv_z42/z42tool/src'
/bin/sh ../mkinstalldirs /usr/local/bin
  /usr/bin/install -c z42tool /usr/local/bin/z42tool
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/shelley/drv_z42/z42tool/src'
make[1]: Leaving directory `/home/shelley/drv_z42/z42tool/src'
make[1]: Entering directory `/home/shelley/drv_z42/z42tool'
make[2]: Entering directory `/home/shelley/drv_z42/z42tool'
make[2]: Nothing to be done for `install-exec-am'.
if test -d ./pixmaps; then \
  /bin/sh ./mkinstalldirs /usr/local/share/z42tool/pixmaps; \
  for pixmap in ./pixmaps/*; do \
    if test -f $pixmap; then \
      /usr/bin/install -c -m 644 $pixmap /usr/local/share/z42tool/pixmaps; \
    fi \
  done \
fi
mkdir /usr/local/share/z42tool
mkdir /usr/local/share/z42tool/pixmaps
make[2]: Leaving directory `/home/shelley/drv_z42/z42tool'
make[1]: Leaving directory `/home/shelley/drv_z42/z42tool'
[root@caroshell z42tool]#


It made for me so it should make ok for you. I'll check back in an hour or so...

Good Luck!

smile
0

#8 User is offline   hollywood63 

  • journeyman
  • Group: Members
  • Posts: 67
  • Joined: 08-February 03

Posted 22 January 2004 - 03:18 AM

Dan I tried this twice and got the same error

[hollywood@01flht hollywood]$ su
Password:
[root@01flht hollywood]# gunzip drv_z42-0.4.1.tar.gz
gunzip: drv_z42-0.4.1.tar.gz: No such file or directory
[root@01flht hollywood]# cd /home/hollywood/Software
[root@01flht Software]# gunzip drv_z42-0.4.1.tar.gz
[root@01flht Software]# tar xvf drv_z42-0.4.1.tar
drv_z42/
drv_z42/COPYING
drv_z42/ChangeLog
drv_z42/README
drv_z42/src/
drv_z42/src/z42_cmyk.c
drv_z42/z42tool/
drv_z42/z42tool/src/
drv_z42/z42tool/src/z42tool.c
drv_z42/z42tool/src/Makefile.in
drv_z42/z42tool/src/z42tool.h
drv_z42/z42tool/src/main.c
drv_z42/z42tool/src/Makefile.am
drv_z42/z42tool/src/support.h
drv_z42/z42tool/src/support.c
drv_z42/z42tool/src/interface.h
drv_z42/z42tool/src/interface.c
drv_z42/z42tool/README
drv_z42/z42tool/pixmaps/
drv_z42/z42tool/pixmaps/logo2.png
drv_z42/z42tool/install-sh
drv_z42/z42tool/autogen.sh
drv_z42/z42tool/configure.ac
drv_z42/z42tool/Makefile.am
drv_z42/z42tool/stamp-h.in
drv_z42/z42tool/acconfig.h
drv_z42/z42tool/aclocal.m4
drv_z42/z42tool/missing
drv_z42/z42tool/config.h.in
drv_z42/z42tool/mkinstalldirs
drv_z42/z42tool/Makefile.in
drv_z42/z42tool/configure
drv_z42/z42tool/depcomp
drv_z42/INSTALL
drv_z42/TODO
drv_z42/FAQ
[root@01flht Software]# cd drv_z42
[root@01flht drv_z42]# ls
ChangeLog COPYING FAQ INSTALL readme README src TODO z42tool
[root@01flht drv_z42]# cd z42tool/
[root@01flht z42tool]# ls
acconfig.h config.h.in depcomp Makefile.in pixmaps stamp-h.in
aclocal.m4 configure install-sh missing README
autogen.sh configure.ac Makefile.am mkinstalldirs src
[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... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[root@01flht z42tool]#
0

#9 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 22 January 2004 - 04:31 AM

I had a hunch this might happen. I know you don't want to hear this, but you have to install the gcc compiler program to make this work. (Kinda like having to go to the hardware store to get the right tool to build a project! ;)).
The good news is, it really should be very easy to install. What distro are you using? When I know that, I can help you get it installed. I know this is frustrating for you, but just hang with it, you're doing great! You are going through a process that is giving you an extremely valuable education about how Linux works, that will make future undertakings MUCH easier! smile
0

#10 User is offline   hollywood63 

  • journeyman
  • Group: Members
  • Posts: 67
  • Joined: 08-February 03

Posted 22 January 2004 - 04:51 AM

I'm using BLAG its a multimedia version of Red Hat 9.
I really appreciate your patience with me. I've read manuals til I was blue in the face and some times you just need to be walked through stuff like this.
Thanks again for your time
Art 8)
0

#11 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 22 January 2004 - 05:16 AM

Hey, my pleasure to help out a fellow RH 9 user! I highly reccommend that you install apt-get rpm, and this would be a good time to do it. You can install all the tools you need without dependancy problems. We can install the c compilers from it. Would you want to do that now? If interested, go here and download the first and third binary packages. Installation should give no problems. If you need help installing the RPM's let me know. Otherwise, after installing the two RPM's, open a terminal and as root type:

apt-get update [enter]

When it finishes, do the above again.

Then type:

apt-get install synaptic [enter]

after it finishes, type:

synaptic [enter]

The Synaptic gui should then come up. Type in...

gcc

in the search box in the upper right and press enter. Follow the intuitive gui instructions to install. You can install many apps for Red Hat 9 using this, and it will solve all dependency problems for you!
apt-get rpm is a big reason I moved from Mdk to RH!

If you don't want to fool with this right now, go here and download and install the gcc RPM. Let me know how you come out! smile
0

#12 User is offline   hollywood63 

  • journeyman
  • Group: Members
  • Posts: 67
  • Joined: 08-February 03

Posted 22 January 2004 - 02:47 PM

After I download the rpm when trying to install the box pops up reading preparing system for update then it disappears and nothing happens. This seems to happen alot. The funny thing is I have synaptic installed and when typing in gcc it shows nothing. So I tried to install it from a tar bal and I got has far tar xvf gcc-3.3.2 all of the items in there popped up in the terminal screen but I could not figure out how to install it. I did ./install-sh and /install-sh. Not sure if that was the correct thing to do or not. The big thing would be to get the rpm install to work I logged in as root then went to software dir. and changed the permissions for the rpm to 777 and it still did the same thing (preparing system for update) then nothing. ;(
0

#13 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 22 January 2004 - 04:06 PM

Did you do:

apt-get update [enter]

from a command prompt as root twice? What happended? You should have seen it updating. You can also update from Synaptic too. What happens when you try to update? You have to run Synaptic as root. Are you getting as far as seeing gcc in the file tree? If you are and it is stopping somewhere in the install process, you may need to power off your box, reboot and try again. Let me know..
0

#14 User is offline   hollywood63 

  • journeyman
  • Group: Members
  • Posts: 67
  • Joined: 08-February 03

Posted 22 January 2004 - 08:29 PM

[hollywood@01flht hollywood]$ su
Password:
[root@01flht hollywood]# apt-get update
Get:1 http://www.blagblagblag.org 9000/i386 release [925B]
Fetched 925B in 0s (1973B/s)
Hit http://www.blagblagblag.org 9000/i386/os pkglist
Hit http://www.blagblagblag.org 9000/i386/os release
Hit http://www.blagblagblag.org 9000/i386/updates pkglist
Hit http://www.blagblagblag.org 9000/i386/updates release
Get:1 http://www.blagblagblag.org 9000/i386/errata pkglist [50.7kB]
Hit http://www.blagblagblag.org 9000/i386/errata release
Fetched 50.7kB in 0s (52.8kB/s)
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in
E: could not open RPM database
[root@01flht hollywood]#


This is what I get when doing a apt-get update. When I try synaptic and type in gcc and hit enter it does nothing like the package is not even there.
0

#15 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 22 January 2004 - 09:34 PM

I'm not understanding this at all. I've installed apt-get many times and never run into this. What's happening here is it's acting like you are trying to run Synaptic/apt-get as regular user, but I can clearly see you became root before starting. That's really weird! Maybe your version of RH has some how changed the permissions in a strange way. All I know to do at this point is to ask you to try resetting the permissions on /var/lib/rpm/packages to the permissions mine is set to. As root go:

chmod 644 /var/lib/rpm /packages [enter]

Then:

chown rpm /var/lib/rpm/packages [enter]

Try that and see if it will then allow you to proceed. If not, let's just go ahead and download the gcc RPM and get your printer drivers installed and come back to this later. Sorry this is giving you trouble, but I can tell by your tenacity and determination you have what it takes to be a Linux user! Most would have given up at this point. smile
0

#16 User is offline   hollywood63 

  • journeyman
  • Group: Members
  • Posts: 67
  • Joined: 08-February 03

Posted 22 January 2004 - 10:40 PM

Your going to love this one ;( I logged in has root because nothing was making sense so here is what I came up with.

root@01flht root]# chmod 644 /var/lib/rpm /packages
chmod: failed to get attributes of `/packages': No such file or directory
[root@01flht root]# chown rpm /var/lib/rpm/packages
chown: failed to get attributes of `/var/lib/rpm/packages': No such file or directory
[root@01flht root]#

I also downloaded the rpm and then double clicked on the rpm icon for gcc. A box pops up and reads that it is preparing for system update / processing headers then reading package dependecies. The box then disappears and nothing happens. I also tried synaptic again but when I type in gcc and hit enter it shows nothing. I went into red carpet and checked for updates on installed and availabe software the only thing that comes up in red carpet is a package called libgcc 3.2.2-5 I then tried to install the driver again as above thinking that I had the correct dependecies. and it stopped as before stating thjat no compiler was in the path.
I really apprecaited the help. Because I am more determined to get this now more then ever


8)
0

#17 User is offline   hollywood63 

  • journeyman
  • Group: Members
  • Posts: 67
  • Joined: 08-February 03

Posted 22 January 2004 - 10:43 PM

I also cd /var/lib/rpm/packages when changing permissions to no avail. I also went into the directory manually and checked the permissions and they were set at 644 I tried again nothing I then changed to777 and still zip. :x
0

#18 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 23 January 2004 - 03:22 AM

Oh, no! I didn't know you were running red carpet! I guess I should have asked! There can be issues when running RC and apt-get rpm on the same box! Please tell me you're not running Ximian desktop 2 ??

At any rate, you can install the gcc rpm from the command line.

cd to the directory where the gcc rpm is and type:

rpm -Uvh gcc-yadaydawhatever.rpm [enter]

That should install it. I hope it doesn't complain of any depends..

As for Synaptic/apt-get...let me think on it a little..
0

#19 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 23 January 2004 - 05:14 AM

Dang it! Just looking back over everything, I noticed I screwed up, and told you the commands with a small 'p' in Packages! Sorry, I was in a hurry to get to the grocery store. That's why it kept telling you there was no file or directory. Unlike Windows, Linux is case sensitive. Double check to make sure you have the right case in case I do that again.... frown

So, /var/lib/rpm/Packages is there but when you try to update apt as root, you get:

error: cannot get exclusive lock on /var/lib/rpm/Packages


It may have something to do with rc, but it's got me stumped! Any luck installing the gcc rpm?
0

#20 User is offline   hollywood63 

  • journeyman
  • Group: Members
  • Posts: 67
  • Joined: 08-February 03

Posted 23 January 2004 - 05:45 AM

[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... no
checking for GTK+ - version >= 2.0.0... no
*** A new enough version of pkg-config was not found.
*** See http://pkgconfig.sourceforge.net
configure: error: Cannot find GTK: Is gtk-config in path?
[root@01flht z42tool]# n
bash: n: command not found
[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]# cd /home/hollywood/Software
[root@01flht Software]# rpm-Uvh gtkhtml2-2.2.0-5.i386.rpm
bash: rpm-Uvh: command not found
[root@01flht Software]# rpm -Uvh gtkhtml2-2.2.0-5.i386.rpm
warning: gtkhtml2-2.2.0-5.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
package gtkhtml2-2.2.0-5 is already installed
[root@01flht Software]# rpm -Uvh gtk2-2.2.1-4.i386.rpm
warning: gtk2-2.2.1-4.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
package gtk2-2.2.1-4 is already installed
[root@01flht Software]#

As you can see I'm getting there. This is just the last bit of what I ahve been doing.
But quess what it needs something else

laugh
Should I get rid of the red carpet deal??? I have to tell you I have learned more about linux in the last 2-3 days then in the last year I can not tell you how much I apprecaite your patience with me on this. When reading in a manual or getting other advise it has never been explained the way you have
Thank you
I would think from what we have done so far I'm one step from getting this driver installed
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users