Posted in How To..., Linux

How to install C/C++ development libraries on openSUSE 12.2


Insert openSUSE 12.2 installation media which contains various packages and execute following command to install C/C++ development library.

zypper install kernel-source make gcc gcc-c++

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

Verify the installation:

linux-5vhd:/home/nagios # gcc –version

gcc (SUSE Linux) 4.7.1 20120723 [gcc-4_7-branch revision 189773]

Copyright (C) 2012 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

linux-5vhd:/home/nagios # which gcc

/usr/bin/gcc

linux-5vhd:/home/nagios #

 

Advertisements
Posted in How To..., Linux

openSUSE 12.2 – Configure: error: no acceptable C compiler found in $PATH


openSUSE is an operating system built on top of the Linux kernel. It is sponsored by SUSE and a number of other companies and developed by the community-supported openSUSE Project. Novell decided to release the SUSE Linux Professional product as a 100% open source project the current stable release is openSUSE 13.1. It comes in several editions for the x86 and x86-64 architectures such as Download Edition, Retail Edition or Box, FTP, Factory, and Tumbleweed.

Features:

  • YaST Control Center:  installation and administration program
  • AutoYaST: for automatic installation
  • ZYpp package management: Linux software management engine
  • Build Service: tool to compile, release and publish their software
  • Desktop innovation
  • Xgl and Compiz: for graphics
  • KDE Desktop innovations

While installing any package or while installing any product on SUSE operation system, when you get the error

Configure: error: no acceptable C compiler found in $PATH

you need to install C/C++ development libraries to solve the issue.

Solution:

insert openSUSE 12.2 installation media which contains various packages and execute following command to install C/C++ development library.

zypper install kernel-source make gcc gcc-c++

openSUSE
openSUSE