Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Unhappy 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

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Harrow, UK
    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!"

  3. #3
    Join Date
    May 2004
    arch linux
    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:

    Otherwise, installing pre-compiled packages using pacman is usually the easiest way to get what you want installed and running.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts