Results 1 to 3 of 3
Hi there,
Anyone can advice me what can I do to install smartctl to my system? I am getting back error during installation:
[root01231 smartmontools-5.43]# ./configure
checking for a BSD-compatible ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-30-2012 #1Just Joined!
- Join Date
- Aug 2012
- Posts
- 2
Fail to install smartctl on Linux system

Hi there,
Anyone can advice me what can I do to install smartctl to my system? I am getting back error during installation:
[root01231 smartmontools-5.43]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether the C++ compiler works... no
configure: error: in `/root/smartmontools-5.43':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
- 08-30-2012 #2
You are trying to compile a package from source but you don't have the gcc compiler installed. You need to install it first. The simplest way to do that in Arch is to install the base-devel group of packages using pacman.
"I'm just a little old lady; don't try to dazzle me with jargon!"
- 08-30-2012 #3forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
Hello and welcome!
If you are new to Arch and intend to compile your own packages, be sure to check the Arch wiki for lots of info on how to proceed:
https://wiki.archlinux.org/index.php/Creating_Packages
Otherwise, installing pre-compiled packages using pacman is usually the easiest way to get what you want installed and running.oz


Reply With Quote
