Results 1 to 10 of 21
Where can I find instructions for compiling HPLIP? The script won't run so I have to use the tarball, which is a bunch of Python files that I don't know ...
- 04-10-2008 #1Just Joined!
- Join Date
- Apr 2008
- Location
- Ontario
- Posts
- 76
Hplip
Where can I find instructions for compiling HPLIP? The script won't run so I have to use the tarball, which is a bunch of Python files that I don't know what to do with.
Any help or advice appreciated. This is the latest version of HPLIP.
Peter
- 04-10-2008 #2
Is the file you have a tar.gz? cd to the directory where this file is presently located. Then:
Code:gunzip name_of_file.tar.gz
After this, cd to inside the directory you just untarred:Code:tar xvf name_of_file.tar
Do:Code:cd name_of_untarred_directory
This will show you the contents of the directory. You may see a file called "INSTALL." Open it with your favourite editor and read the instructions on how to compile. The "routine" way to compile packages from source, (but not always) is:Code:ls
Code:./configure
Code:make
The easiest and reccommended way to install packages on Debian is through apt-get. From the command line as su:Code:make install
Code:apt-get install hplip
Last edited by Dapper Dan; 04-10-2008 at 11:21 AM.
- 04-10-2008 #3Just Joined!
- Join Date
- Apr 2008
- Location
- Ontario
- Posts
- 76
Need to try apt
Hello. Thanks for the advice, but I already tried all that and it just says "no such file or directory". I will try apt-get later.
Thanks.
Peter
- 04-10-2008 #4
Then that likely means you are NOT in the same directory where hplip package is located. Firefox will download most files by default to the Desktop, so:
Then:Code:cd Desktop
Is it there?Code:ls
If not, look in your home directory for it:
By default, "cd" by itself will put you back in your home directory. You must be inside the directory where the package is located to unzip, untar it, and inside the newly untarred directory to compile it. Gotta go. Good luck...Code:cd
- 04-10-2008 #5Just Joined!
- Join Date
- Apr 2008
- Location
- Ontario
- Posts
- 76
No Dir problem
I know exactly where I DL'd and extracted it: /root
I cd /root and then cd /HPLIP-X.X.X and then ./configure and I get "No such file or directory".
Peter
- 04-10-2008 #6
Is there an INSTALL file inside that directory? Did you read it? When you are inside the hplip directory, do "ls" and post what's in there please.
EDIT: Better yet, post a link to the package of hplip you are trying to install. I'll download it and then can better advise you on how to install it.
- 04-10-2008 #7Just Joined!
- Join Date
- Apr 2008
- Location
- Ontario
- Posts
- 76
Directory Listing
DebianLinux:/home/pfeigl/Downloads/hplip-2.8.4# ls
aclocal.m4 cherrypy configure.in fab.py hplip-install hpssd.py install.py makecopies.py plugins scan.py toolbox.py
align.py clean.py copier fax hplip-install_Wed-09-Apr-2008_13:43:35.log index.html install-sh Makefile.am ppd sendfax.py ui
base colorcal.py COPYING firmware.py hplip-install_Wed-09-Apr-2008_13:58:47.log index.html.1 io Makefile.in print.py setup.py unload.py
bb_scan.inc config.guess data foomatic_drv.inc hplip-install_Wed-09-Apr-2008_14:05:46.log info.py ip makeuri.py prnt systray.py unreleased.inc
check.py config.sub depcomp hplip.conf.in hplip-install_Wed-09-Apr-2008_14:06:51.log __init__.py levels.py missing probe.py testpage.py
Cheetah configure doc hplip.desktop.in hplip-systray.desktop.in installer ltmain.sh pcard scan timedate.py
DebianLinux:/home/pfeigl/Downloads/hplip-2.8.4#
Sorry about the pathname. That's on my Slackbox. It won't install there either. I got HPLIP from sourceforge.
Here is the URL: SourceForge.net: Files
Thanks.
Peter
- 04-11-2008 #8
It's just like I thought:
As root:Code:gunzip hplip-2.8.4.tar.gz tar xvf hplip-2.8.4.tar cd hplip-2.8.4/
That's all there is to it unless you need to download the Debian build-essential package which you can do with apt-get. You still can install hplip with apt-get though. If it were me, I'd do it with apt-get.Code:./configure make make install
- 04-11-2008 #9Just Joined!
- Join Date
- Apr 2008
- Location
- Ontario
- Posts
- 76
apt-get doesn't seem to work...
Hi. I tried apt-get and got messages that everything was installed so I did this:
DebianLinux:/home/pfeigl/Downloads# ls -l /etc/rc.d/ | grep hplip ; ls -l /etc/rc.d/ | grep cups
ls: /etc/rc.d/: No such file or directory
ls: /etc/rc.d/: No such file or directory
DebianLinux:/home/pfeigl/Downloads#
Do I have to do it the "hard" way or is something else amiss?
Peter
- 04-11-2008 #10Just Joined!
- Join Date
- Apr 2008
- Location
- Ontario
- Posts
- 76
Still no luck.
I tried the gunzip method and when I try to run make i get:
make: *** No targets specified and no makefile found. Stop.
So, here I am. Lost in the Linux Wilderness...
Peter


Reply With Quote
