LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 06-09-2011, 04:43 AM   #1
sankar0202
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
Please help me for installing printer


Step 1:- Execute Following Command
wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
This command will download Driver

Step 2 :- Unpack the downloaded Drivers.Execute Following Commands
tar zxvf foo2zjs.tar.gz
cd foo2zjs

Step 3:- Now Compile Drivers & Install Drivers (GCC Packages need here now

Read more: Installing HP LaserJet 1020 on Redhat,Fedora 9/10. @ All Linux User's Blog http://blog.ask4itsolutions.com/2009...#ixzz1OltlnfCL
All Linux User's Blog | Ask4 IT Solutions | Ahmedabad | Gujarat | India | www.ask4itsolutions.com
Under Creative Commons License: Attribution Share Alike

Above given steps I am bale to do, when I am trying Make I agetting below error

#
# Dependencies...
#
# ... OK!
#
cc -O2 -Wall -Wno-unused-but-set-variable -c -o foo2zjs.o foo2zjs.c
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
make: *** [foo2zjs.o] Error 1

If know , please help me.
 
Old 06-09-2011, 09:46 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sankar0202 View Post
Step 1:- Execute Following Command
wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
This command will download Driver

Step 2 :- Unpack the downloaded Drivers.Execute Following Commands
tar zxvf foo2zjs.tar.gz
cd foo2zjs

Step 3:- Now Compile Drivers & Install Drivers (GCC Packages need here now

Read more: Installing HP LaserJet 1020 on Redhat,Fedora 9/10. @ All Linux User's Blog http://blog.ask4itsolutions.com/2009...#ixzz1OltlnfCL

Above given steps I am bale to do, when I am trying Make I agetting below error

cc -O2 -Wall -Wno-unused-but-set-variable -c -o foo2zjs.o foo2zjs.c
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
make: *** [foo2zjs.o] Error 1

If know , please help me.
Would help if you told us what version/distro of Linux you're using, and what kind of printer (and how it's connected) you're trying to print to.

From what you've posted, it look like you're trying to install it on RedHat 9/10...which is ANCIENT. Chances are, if you're using a distro that old, the compiler won't recognize those options. Both Foomatic and the HPLIP (recommended), drivers are available via the online repositories, but if you're using a distro that's very old, chances are you're stuck until you upgrade.
 
Old 06-09-2011, 10:00 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
Already answered in a "duplicate" thread yesterday ( Suse 9 )
http://www.linuxquestions.org/questi...9/#post4379704
 
Old 06-09-2011, 10:48 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
If you get a proper distro, you shouldn't have to do anything with an HP printer other than plug in in and run the CUPS installer: that will just recognise it without your needing to do any more.
 
Old 06-09-2011, 09:10 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Get HPLIP. It's should be in the repos.
 
Old 06-10-2011, 02:10 AM   #6
sankar0202
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Please HELP ME

Quote:
Originally Posted by TB0ne View Post
Would help if you told us what version/distro of Linux you're using, and what kind of printer (and how it's connected) you're trying to print to.

From what you've posted, it look like you're trying to install it on RedHat 9/10...which is ANCIENT. Chances are, if you're using a distro that old, the compiler won't recognize those options. Both Foomatic and the HPLIP (recommended), drivers are available via the online repositories, but if you're using a distro that's very old, chances are you're stuck until you upgrade.
Step 1:- Execute Following Command
wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
This command will download Driver

Step 2 :- Unpack the downloaded Drivers.Execute Following Commands
tar zxvf foo2zjs.tar.gz
cd foo2zjs

Step 3:- Now Compile Drivers & Install Drivers (GCC Packages need here now

Read more: Installing HP LaserJet 1020 on Redhat,Fedora 9/10. @ All Linux User's Blog http://blog.ask4itsolutions.com/2009...#ixzz1OltlnfCL

Above given steps I am bale to do, when I am trying Make I agetting below error

cc -O2 -Wall -Wno-unused-but-set-variable -c -o foo2zjs.o foo2zjs.c
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
make: *** [foo2zjs.o] Error 1

i am trying to install on Hp Lasejet 1020 printer with Redhat Linux 5.5 pirated software.
 
Old 06-10-2011, 07:46 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sankar0202 View Post
Step 1:- Execute Following Command
wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
This command will download Driver

Step 2 :- Unpack the downloaded Drivers.Execute Following Commands
tar zxvf foo2zjs.tar.gz
cd foo2zjs

Step 3:- Now Compile Drivers & Install Drivers (GCC Packages need here now

Read more: Installing HP LaserJet 1020 on Redhat,Fedora 9/10. @ All Linux User's Blog http://blog.ask4itsolutions.com/2009...#ixzz1OltlnfCL

Above given steps I am bale to do, when I am trying Make I agetting below error

cc -O2 -Wall -Wno-unused-but-set-variable -c -o foo2zjs.o foo2zjs.c
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
make: *** [foo2zjs.o] Error 1

i am trying to install on Hp Lasejet 1020 printer with Redhat Linux 5.5 pirated software.
Reposting the same question again, doesn't provide ANY follow up information, does it??

Did you even pay attention to what you posted?? You clearly say you're following instructions for FEDORA 9, and you admit you're running RedHat Enterprise 5.5. Are they they same??? If not, then the instructions won't work, will they? HPlip and Foomatic are already available and ready to run for RHEL5. Install them from your DVD. And if you're not going to PAY for RHEL5, then you shouldn't be using it.

Load CentOS instead, which is virtually identical, but free. You'll get access to the online repositories too, and be able to actually install things.
 
Old 06-10-2011, 09:04 AM   #8
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by sankar0202 View Post
i am trying to install on Hp Lasejet 1020 printer with Redhat Linux 5.5 pirated software.
The words "pirated software" together are not allowed here at LinuxQuestions! Since the majority of the Linux distributions are free, I strongly suggest to install another distro and bring yourself within the law. As already suggested, if you like Red Hat, try CentOS which is essentially the same. Any other question related to your pirated copy will be hardly pursued.

This thread closed. If you disagree with what I stated above, feel free to contact me by e-mail and explain your reasons. Nuff' said.
 
  


Closed Thread



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 printer abhattacharya Linux - Hardware 1 07-31-2007 04:03 AM
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 01:23 PM
Installing printer in 10.2 Hondro Slackware 10 03-26-2006 04:59 PM
need help installing printer perlmonger Ubuntu 5 12-07-2005 07:34 AM
installing a printer shanenin Linux - Hardware 5 12-16-2003 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:22 AM.

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
Open Source Consulting | Domain Registration