LinuxQuestions.org
Visit Jeremy's Blog.
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


Reply
  Search this Thread
Old 04-23-2006, 10:06 AM   #1
LinLove
Member
 
Registered: Apr 2006
Posts: 30

Rep: Reputation: 15
Compile Files In Linux


hi,
i am new user of linux and i do not have any aknolegment about this.
i have bought a printer-HP Laserjer 1020.
i serach internet to fine the way to use that in linux.
i found this software-foo2zjs.
i follow the istructions in readme file to install this software but
always i have an error:
"cc -O2 -Wall -c -o foo2zjs.o foo2zjs.c
make: cc: Command not found
make: *** [foo2zjs.o] Error 127
"
can someone help me?
thnaks.
 
Old 04-23-2006, 10:26 AM   #2
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
You don't have the C compiler installed. (That's what "cc" is.) You need to go back to your distro installer, and install it (usually it's called "development tools" package or something like that).

If you tell us what distro you have, you're more likely to get help.
 
Old 04-23-2006, 10:26 AM   #3
dannystaple
Member
 
Registered: Apr 2006
Location: London, Uk
Distribution: Ubuntu on Desktop
Posts: 121

Rep: Reputation: 15
Hi LinLove,
Which distro are you using to install it, and have you looked to see if there is a distro package for it? Those are generally easier to use.

With regards to HP printers, they are generally fairly well supported as HP creates drivers for use with linux, which can be used with FooMatic and CUPS. I am using a HP Multi-Function device, and have scanning and printing working with no hassle. It is all done on SuSe using Distro packages and nothing else.

Cheers,
Danny
 
Old 04-23-2006, 10:32 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If you install a package called cups and another called hpijs from your FC install discs or using yum, your printer should work fine without installing any third party packages.
 
Old 04-25-2006, 10:06 AM   #5
LinLove
Member
 
Registered: Apr 2006
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ataraxia
You don't have the C compiler installed. (That's what "cc" is.) You need to go back to your distro installer, and install it (usually it's called "development tools" package or something like that).

If you tell us what distro you have, you're more likely to get help.
hi again!
i am shamed!
can you tell me what is distro installer?
the only hting i know about linux is the way i could install it!
thank!
 
Old 04-25-2006, 10:18 AM   #6
LinLove
Member
 
Registered: Apr 2006
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz
If you install a package called cups and another called hpijs from your FC install discs or using yum, your printer should work fine without installing any third party packages.
hi reddazz ,
can you guide me in installing this pakages?
where should i find them!?
thanx!
 
Old 04-25-2006, 10:43 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by LinLove
hi reddazz ,
can you guide me in installing this pakages?
where should i find them!?
thanx!
I am not sure why I assumed you are using Fedora Core. I can help out if you provide more details about the Linux distribution that you are using.
 
Old 04-25-2006, 01:21 PM   #8
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Quote:
Originally Posted by LinLove
hi again!
i am shamed!
can you tell me what is distro installer?
the only hting i know about linux is the way i could install it!
thank!
You need to tell us what kind of Linux you have.
 
Old 04-26-2006, 03:56 AM   #9
LinLove
Member
 
Registered: Apr 2006
Posts: 30

Original Poster
Rep: Reputation: 15
Smile

Quote:
Originally Posted by reddazz
I am not sure why I assumed you are using Fedora Core. I can help out if you provide more details about the Linux distribution that you are using.
hi reddazz ,
i am using fedora core 3!
thanx.
 
Old 04-26-2006, 03:57 AM   #10
LinLove
Member
 
Registered: Apr 2006
Posts: 30

Original Poster
Rep: Reputation: 15
Smile

Quote:
Originally Posted by ataraxia
You need to tell us what kind of Linux you have.
hi ataraxia ,
i am using fedora core 3.
thanx.
 
Old 04-26-2006, 05:23 AM   #11
dannystaple
Member
 
Registered: Apr 2006
Location: London, Uk
Distribution: Ubuntu on Desktop
Posts: 121

Rep: Reputation: 15
LinLove,

You can actually set up your LQ profile to show which distribution(s) you are using, which helps others at least know which you are in. It saves time faffing around with asking that same question later.

Anyway, you should, as suggested, be able to find the hpijs package in yum, as you should also be able to find gcc - although at this point you might not actually require it. If you find a helpful package on the internet, always take a quick look in your distributions package management system to see if there is a version there. Sure, it may not be the latest and greatest bleeding edge version on the net, but it is likely to be stable and easier to install. Certainly - for a new user, it is sound advice to try finding things in your package manager first.

Danny
 
Old 04-27-2006, 12:53 PM   #12
LinLove
Member
 
Registered: Apr 2006
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz
If you install a package called cups and another called hpijs from your FC install discs or using yum, your printer should work fine without installing any third party packages.
hi reddazz,
i have found the packges you mentioned, and have installed them.
but when i want to install my printer, in the printer product list
there is not my printer model, i mean this doesnot support my printer!
 
Old 04-27-2006, 02:21 PM   #13
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by LinLove
hi reddazz,
i have found the packges you mentioned, and have installed them.
but when i want to install my printer, in the printer product list
there is not my printer model, i mean this doesnot support my printer!
Try installing the hplip package if hpijs does not have the drivers your need.
 
Old 04-28-2006, 03:47 AM   #14
dannystaple
Member
 
Registered: Apr 2006
Location: London, Uk
Distribution: Ubuntu on Desktop
Posts: 121

Rep: Reputation: 15
Quote:
Originally Posted by LinLove
hi reddazz,
i have found the packges you mentioned, and have installed them.
but when i want to install my printer, in the printer product list
there is not my printer model, i mean this doesnot support my printer!
Redazz,

Printers, like many things, tend to be designed in Series or families. My general experience is that sometimes HP printers are supported in families - and choosing a number very similar to yours will generally work. For example, I have a HP 1317 Multi-Function device, and the 1310 Drivers seem to work fine, I can scan and print with them at highest resolution.

Have a look to see if there is anything close that is in the same series as your printer.

Danny
 
  


Reply



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
how to compile .so files from a .h jorian1 Programming 3 03-02-2006 02:17 PM
unable to compile source files Hallowedpoint Linux - Newbie 6 11-19-2005 08:02 AM
What do I add to compile/make files? vinoloco Linux - Newbie 1 04-08-2005 04:30 PM
how to compile .torrent files zameer_india Linux - Newbie 4 01-06-2005 12:22 AM
Compile C files! Hady Linux - General 3 11-08-2003 05:12 PM

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

All times are GMT -5. The time now is 12:53 PM.

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