LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Please help me for installing printer (https://www.linuxquestions.org/questions/linux-newbie-8/please-help-me-for-installing-printer-885363/)

sankar0202 06-09-2011 04:43 AM

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.

TB0ne 06-09-2011 09:46 AM

Quote:

Originally Posted by sankar0202 (Post 4380764)
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.

knudfl 06-09-2011 10:00 AM

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

DavidMcCann 06-09-2011 10:48 AM

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.

frankbell 06-09-2011 09:10 PM

Get HPLIP. It's should be in the repos.

sankar0202 06-10-2011 02:10 AM

Please HELP ME
 
Quote:

Originally Posted by TB0ne (Post 4381019)
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.

TB0ne 06-10-2011 07:46 AM

Quote:

Originally Posted by sankar0202 (Post 4381611)
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.

colucix 06-10-2011 09:04 AM

Quote:

Originally Posted by sankar0202 (Post 4381611)
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.


All times are GMT -5. The time now is 03:04 PM.