LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   How do I enable C compier in SUSE 10.3? (https://www.linuxquestions.org/questions/suse-opensuse-60/how-do-i-enable-c-compier-in-suse-10-3-a-682009/)

sjpiv44 11-08-2008 02:41 PM

How do I enable C compier in SUSE 10.3?
 
I am setting up a project in SUSE 10.3 to utilize 5 printer. I have them set up SUSE and CUPS. I am trying to update CUPS. I can not see a compiler.

Can anybody shed some light on this problem.

Thanks,

sjpiv44

MensaWater 11-09-2008 07:51 AM

You need to have the "gcc" package installed to get "cc" compiler command. I was under the impression most Linux distros installed this by default so it may be a path issue.

Run a "find / -name cc" as root to see if you have the cc command in one of your directories (usually in /usr/bin). Type "file <pathtto>/cc" to verify what you found is the cc executable. Then add that path to your PATH variable (e.g. by typing "export PATH=$PATH:<pathto>" where <pathto> is the directory you found cc in (e.g. export PATH=$PATH:/usr/bin).

If the find command reveals no cc you likely don't have the gcc package installed and will need to install it. I don't use Suse so can't give you information on how to do that but it should be easy to figure out by doing a Google search for "installing packages on Suse".

pixellany 11-09-2008 08:35 AM

I'm not sure why you would need a version of CUPS more recent than what is available with the SUSE package manager.

colucix 11-09-2008 11:30 AM

Quote:

Originally Posted by jlightner (Post 3336082)
I was under the impression most Linux distros installed this by default so it may be a path issue.

Unless the system was been installed by a Desktop CD (be either GNOME or KDE). It does not provide any compiler at all and the system administrator must install the development tools from the OpenSuSE repository.

Using Yast it is as simple as open the Yast Software Manager, wait for the rpm cache to update (on 10.3 it still takes a long time) and finally select the Pattern view and choose Base Development.

To setup installation sources, that is to add repositories (if needed) this web page is the starting point.

sjpiv44 11-09-2008 03:59 PM

Quote:

Originally Posted by pixellany (Post 3336104)
I'm not sure why you would need a version of CUPS more recent than what is available with the SUSE package manager.

The reason I want to reinstall CUPS is now when I 'http://localhost:631' I get a 404 error, so I add /printers and I get /printers and get that screen, but I do not get all the graphics.

Now as to the problem. When start a printer, I get open device failed: will try again in 10 seconds.

When I go to YaST, System information, I do not see USB or printers.

I have tested both USB ports with my USB mouse and both work.

Thanks for the information.

sjpiv44


All times are GMT -5. The time now is 02:04 AM.