Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hey guys, i've just registered here.. my issue is that when i try to install something from slackbuilds repository i keep getting a error that c compiler is missing and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    10

    C compiler


    Hey guys,

    i've just registered here.. my issue is that when i try to install something from slackbuilds repository i keep getting a error that c compiler is missing and cannot create executables.. i've googled around and tried different gcc packages and nothing happens.
    I managed to install all kinds of stuff to get my Skype working and if i have to do it again i cant do it but the c compiler is my only concern so please any suggestions are welcome

    P.S. im new to slackware so please be more specific thanks in advance

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    i'm not familiar with slackware, but you need to install gcc, which is a c compiler

  3. #3
    Just Joined!
    Join Date
    Apr 2007
    Location
    India
    Posts
    5
    Quote Originally Posted by coopstah13 View Post
    i'm not familiar with slackware, but you need to install gcc, which is a c compiler
    It seems that u don't have the GCC installed so get it install first n then type "gcc -v" in the terminal to confirm ....

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Mar 2010
    Posts
    10
    Quote Originally Posted by tazirul View Post
    It seems that u don't have the GCC installed so get it install first n then type "gcc -v" in the terminal to confirm ....
    here is the output for the gcc -v

    root@slackware:/home/iavor# gcc -v
    Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/specs
    Target: x86_64-slackware-linux
    Configured with: ../gcc-4.3.3/configure --prefix=/usr --libdir=/usr/lib64 --enable-shared --enable-bootstrap --enable-languages=c,c++,ada,fortran,java,objc --enable-threads=posix --enable-checking=release --with-system-zlib --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --with-gnu-ld --verbose --enable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux
    Thread model: posix
    gcc version 4.3.3 (GCC)

  6. #5
    Just Joined!
    Join Date
    Mar 2010
    Posts
    10
    i dont know what else to do
    ill post here what programs and libs etc i've installed since installation of slackware

    bzip2-compat32-1.0.5-x86_64-1.txz
    cups-compat32-1.3.11-x86_64-1.txz
    cxxlibs-compat32-6.0.10-x86_64-1.txz
    dbus-compat32-1.2.14-x86_64-1.txz
    e2fsprogs-compat32-1.41.8-x86_64-1.txz
    openssl-solibs-compat32-0.9.8k-x86_64-2.txz
    compat32-tools-1.0-noarch-20alien.tgz
    gcc-4.3.3_multilib-x86_64-4alien.txz
    gcc-g++-4.3.3_multilib-x86_64-4alien.txz
    gcc-gfortran-4.3.3_multilib-x86_64-4alien.txz
    gcc-gnat-4.3.3_multilib-x86_64-4alien.txz
    gcc-java-4.3.3_multilib-x86_64-4alien.txz
    gcc-objc-4.3.3_multilib-x86_64-4alien.txz
    glibc-2.9_multilib-x86_64-3alien.txz
    glibc-i18n-2.9_multilib-x86_64-3alien.txz
    glibc-profile-2.9_multilib-x86_64-3alien.txz
    glibc-solibs-2.9_multilib-x86_64-3alien.txz
    glibc-zoneinfo-2.9_multilib-noarch-3alien.txz
    gzip-1.4-x86_64-1_slack13.0.tgz
    bind-9.4.3_P4-x86_64-1_slack13.0.txz
    cairo-1.8.8-x86_64-1_slack13.0.txz
    gimp-2.6.8-x86_64-1_slack13.0.txz
    gnutls-2.8.4-x86_64-1_slack13.0.txz
    httpd-2.2.15-x86_64-1_slack13.0.txz
    mesa-7.5-x86_64-2.txz
    mozilla-firefox-3.6-x86_64-1_slack13.0.txz
    ntp-4.2.4p8-x86_64-1_slack13.0.txz
    openssl-0.9.8m-x86_64-2_slack13.0.txz
    openssl-solibs-0.9.8m-x86_64-2_slack13.0.txz
    php-5.2.12-x86_64-1_slack13.0.txz
    pidgin-2.6.6-x86_64-1_slack13.0.txz
    poppler-0.10.7-x86_64-2_slack13.0.txz
    proftpd-1.3.3-x86_64-1_slack13.0.txz
    samba-3.2.15-x86_64-1_slack13.0.txz
    seamonkey-2.0.3-x86_64-1_slack13.0.txz
    seamonkey-solibs-2.0.3-x86_64-1_slack13.0.txz
    xpdf-3.02pl4-x86_64-1_slack13.0.txz
    alsa-lib-compat32-1.0.18-x86_64-2.txz
    alsa-oss-compat32-1.0.17-x86_64-1.txz
    atk-compat32-1.26.0-x86_64-1.txz
    audiofile-compat32-0.2.6-x86_64-2.txz
    cairo-compat32-1.8.6-x86_64-3.txz
    dbus-glib-compat32-0.80-x86_64-1.txz
    esound-compat32-0.2.41-x86_64-1.txz
    expat-compat32-2.0.1-x86_64-1.txz
    freetype-compat32-2.3.9-x86_64-1.txz
    gamin-compat32-0.1.10-x86_64-2.txz
    glib2-compat32-2.18.4-x86_64-1.txz
    gtk+2-compat32-2.14.7-x86_64-4.txz
    hal-compat32-0.5.11-x86_64-6.txz
    jasper-compat32-1.900.1-x86_64-2.txz
    lcms-compat32-1.18-x86_64-1.txz
    libart_lgpl-compat32-2.3.20-x86_64-1.txz
    libexif-compat32-0.6.16-x86_64-1.txz
    libgphoto2-compat32-2.4.6-x86_64-1.txz
    libidn-compat32-1.5-x86_64-1.txz
    libjpeg-compat32-6b-x86_64-5.txz
    libmng-compat32-1.0.10-x86_64-1.txz
    libpng-compat32-1.2.37-x86_64-1.txz
    libtermcap-compat32-1.2.3-x86_64-7.txz
    libtiff-compat32-3.8.2-x86_64-3.txz
    libtool-compat32-1.5.26-x86_64-1.txz
    libxml2-compat32-2.7.3-x86_64-3.txz
    libxslt-compat32-1.1.24-x86_64-2.txz
    mysql-compat32-5.0.84-x86_64-1.txz
    ncurses-compat32-5.7-x86_64-1.txz
    pango-compat32-1.22.4-x86_64-4.txz
    popt-compat32-1.7-x86_64-2.txz
    qt-compat32-r1008952-x86_64-1.txz
    readline-compat32-5.2-x86_64-4.txz
    sdl-compat32-1.2.13-x86_64-4.txz
    seamonkey-solibs-compat32-1.1.17-x86_64-1.txz
    svgalib-compat32-1.9.25-x86_64-2.txz
    zlib-compat32-1.2.3-x86_64-2.txz
    curl-compat32-7.19.6-x86_64-1.txz
    cyrus-sasl-compat32-2.1.23-x86_64-1.txz
    gnutls-compat32-2.6.6-x86_64-1.txz
    libgcrypt-compat32-1.4.4-x86_64-1.txz
    libgpg-error-compat32-1.7-x86_64-1.txz
    openldap-client-compat32-2.3.43-x86_64-1.txz
    openssl-compat32-0.9.8k-x86_64-2.txz
    fontconfig-compat32-2.6.0-x86_64-2.txz
    libFS-compat32-1.0.2-x86_64-1.txz
    libICE-compat32-1.0.5-x86_64-2.txz
    libSM-compat32-1.1.0-x86_64-1.txz
    libX11-compat32-1.2.2-x86_64-1.txz
    libXScrnSaver-compat32-1.1.3-x86_64-2.txz
    libXTrap-compat32-1.0.0-x86_64-2.txz
    libXau-compat32-1.0.4-x86_64-2.txz
    libXaw-compat32-1.0.6-x86_64-1.txz
    libXcomposite-compat32-0.4.0-x86_64-2.txz
    libXcursor-compat32-1.1.9-x86_64-2.txz
    libXdamage-compat32-1.1.1-x86_64-2.txz
    libXdmcp-compat32-1.0.2-x86_64-2.txz
    libXevie-compat32-1.0.2-x86_64-2.txz
    libXext-compat32-1.0.5-x86_64-1.txz
    libXfixes-compat32-4.0.3-x86_64-2.txz
    libXfont-compat32-1.4.0-x86_64-1.txz
    libXfontcache-compat32-1.0.4-x86_64-2.txz
    libXft-compat32-2.1.13-x86_64-2.txz
    libXi-compat32-1.2.1-x86_64-1.txz
    libXinerama-compat32-1.0.3-x86_64-2.txz
    libXmu-compat32-1.0.4-x86_64-2.txz
    libXp-compat32-1.0.0-x86_64-2.txz
    libXpm-compat32-3.5.7-x86_64-2.txz
    libXprintUtil-compat32-1.0.1-x86_64-2.txz
    libXrandr-compat32-1.3.0-x86_64-1.txz
    libXrender-compat32-0.9.4-x86_64-2.txz
    libXres-compat32-1.0.3-x86_64-2.txz
    libXt-compat32-1.0.6-x86_64-1.txz
    libXtst-compat32-1.0.3-x86_64-2.txz
    libXv-compat32-1.0.4-x86_64-2.txz
    libXvMC-compat32-1.0.4-x86_64-2.txz
    libXxf86dga-compat32-1.0.2-x86_64-2.txz
    libXxf86misc-compat32-1.0.1-x86_64-2.txz
    libXxf86vm-compat32-1.0.2-x86_64-2.txz
    libdmx-compat32-1.0.2-x86_64-2.txz
    libdrm-compat32-2.4.12-x86_64-1.txz
    libfontenc-compat32-1.0.4-x86_64-2.txz
    liblbxutil-compat32-1.0.1-x86_64-2.txz
    libxcb-compat32-1.3-x86_64-1.txz
    mesa-compat32-7.5-x86_64-1.txz
    pixman-compat32-0.15.18-x86_64-1.txz
    flashplayer-10.0.45.2-x86_64-1jsc.txz
    openoffice-3.2.0-x86_64-2jsc.txz
    slapt-get-0.10.2c-x86_64-1jsc.txz
    audacity-1.3.11-x86_64-1jsc.txz
    dvdrip-0.98.10-i686-1jsc.tgz

  7. #6
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    can you post exact error messages?

  8. #7
    Just Joined!
    Join Date
    Mar 2010
    Posts
    10
    Quote Originally Posted by coopstah13 View Post
    can you post exact error messages?
    root@slackware:/home/iavor/builds/brutalchess# ./brutalchess.SlackBuild
    brutalchess-0.5.2/
    brutalchess-0.5.2/acinclude.m4
    brutalchess-0.5.2/aclocal.m4
    brutalchess-0.5.2/art/
    brutalchess-0.5.2/art/brutalchesslogo.png
    brutalchess-0.5.2/art/Makefile.am
    brutalchess-0.5.2/art/Makefile.in
    brutalchess-0.5.2/art/marblehugeblack.png
    brutalchess-0.5.2/art/marblehugewhite.png
    brutalchess-0.5.2/AUTHORS
    brutalchess-0.5.2/brutalchess.ico
    brutalchess-0.5.2/brutalchess.nsi
    brutalchess-0.5.2/brutalchess.rc
    brutalchess-0.5.2/brutalchess.sln
    brutalchess-0.5.2/brutalchess.vcproj
    brutalchess-0.5.2/ChangeLog
    brutalchess-0.5.2/config.guess
    brutalchess-0.5.2/config.h.in
    brutalchess-0.5.2/config.sub
    brutalchess-0.5.2/configure
    brutalchess-0.5.2/configure.ac
    brutalchess-0.5.2/COPYING
    brutalchess-0.5.2/depcomp
    brutalchess-0.5.2/Doxyfile
    brutalchess-0.5.2/fonts/
    brutalchess-0.5.2/fonts/!pizzadude.txt
    brutalchess-0.5.2/fonts/COOLVETI.TTF
    brutalchess-0.5.2/fonts/Ghostwri.ttf
    brutalchess-0.5.2/fonts/Makefile.am
    brutalchess-0.5.2/fonts/Makefile.in
    brutalchess-0.5.2/fonts/VeraMono.ttf
    brutalchess-0.5.2/fonts/ZEROES__.TTF
    brutalchess-0.5.2/icon1.ico
    brutalchess-0.5.2/INSTALL
    brutalchess-0.5.2/install-sh
    brutalchess-0.5.2/Makefile.am
    brutalchess-0.5.2/Makefile.in
    brutalchess-0.5.2/missing
    brutalchess-0.5.2/models/
    brutalchess-0.5.2/models/.cvsignore
    brutalchess-0.5.2/models/bishop.obj
    brutalchess-0.5.2/models/debug.obj
    brutalchess-0.5.2/models/king.obj
    brutalchess-0.5.2/models/knight.obj
    brutalchess-0.5.2/models/Makefile.am
    brutalchess-0.5.2/models/Makefile.in
    brutalchess-0.5.2/models/pawn.obj
    brutalchess-0.5.2/models/queen.obj
    brutalchess-0.5.2/models/rook.obj
    brutalchess-0.5.2/NEWS
    brutalchess-0.5.2/README
    brutalchess-0.5.2/resource.h
    brutalchess-0.5.2/small.ico
    brutalchess-0.5.2/src/
    brutalchess-0.5.2/src/basicset.cpp
    brutalchess-0.5.2/src/bitboard.cpp
    brutalchess-0.5.2/src/bitboard.h
    brutalchess-0.5.2/src/board.cpp
    brutalchess-0.5.2/src/board.h
    brutalchess-0.5.2/src/boardmove.cpp
    brutalchess-0.5.2/src/boardmove.h
    brutalchess-0.5.2/src/boardposition.cpp
    brutalchess-0.5.2/src/boardposition.h
    brutalchess-0.5.2/src/boardtheme.cpp
    brutalchess-0.5.2/src/boardtheme.h
    brutalchess-0.5.2/src/boardthemes.h
    brutalchess-0.5.2/src/brutalchess.cpp
    brutalchess-0.5.2/src/brutalplayer.cpp
    brutalchess-0.5.2/src/chessgame.cpp
    brutalchess-0.5.2/src/chessgame.h
    brutalchess-0.5.2/src/chessgamestate.cpp
    brutalchess-0.5.2/src/chessgamestate.h
    brutalchess-0.5.2/src/chessplayer.cpp
    brutalchess-0.5.2/src/chessplayer.h
    brutalchess-0.5.2/src/chessplayers.h
    brutalchess-0.5.2/src/config.h
    brutalchess-0.5.2/src/config.h.in
    brutalchess-0.5.2/src/debugset.cpp
    brutalchess-0.5.2/src/exception.h
    brutalchess-0.5.2/src/faileplayer.cpp
    brutalchess-0.5.2/src/fontloader.cpp
    brutalchess-0.5.2/src/fontloader.h
    brutalchess-0.5.2/src/gamecore.cpp
    brutalchess-0.5.2/src/gamecore.h
    brutalchess-0.5.2/src/granitetheme.cpp
    brutalchess-0.5.2/src/humanplayer.cpp
    brutalchess-0.5.2/src/Makefile.am
    brutalchess-0.5.2/src/Makefile.in
    brutalchess-0.5.2/src/md3model.cpp
    brutalchess-0.5.2/src/md3model.h
    brutalchess-0.5.2/src/md3test.cpp
    brutalchess-0.5.2/src/md3view.cpp
    brutalchess-0.5.2/src/menu.cpp
    brutalchess-0.5.2/src/menu.h
    brutalchess-0.5.2/src/menuitem.cpp
    brutalchess-0.5.2/src/menuitem.h
    brutalchess-0.5.2/src/objfile.cpp
    brutalchess-0.5.2/src/objfile.h
    brutalchess-0.5.2/src/objview.cpp
    brutalchess-0.5.2/src/options.cpp
    brutalchess-0.5.2/src/options.h
    brutalchess-0.5.2/src/piece.cpp
    brutalchess-0.5.2/src/piece.h
    brutalchess-0.5.2/src/pieceset.cpp
    brutalchess-0.5.2/src/pieceset.h
    brutalchess-0.5.2/src/piecesets.h
    brutalchess-0.5.2/src/q3charmodel.cpp
    brutalchess-0.5.2/src/q3charmodel.h
    brutalchess-0.5.2/src/q3set.cpp
    brutalchess-0.5.2/src/randomplayer.cpp
    brutalchess-0.5.2/src/statsnapshot.cpp
    brutalchess-0.5.2/src/statsnapshot.h
    brutalchess-0.5.2/src/texture.cpp
    brutalchess-0.5.2/src/texture.h
    brutalchess-0.5.2/src/timer.cpp
    brutalchess-0.5.2/src/timer.h
    brutalchess-0.5.2/src/todo.txt
    brutalchess-0.5.2/src/utils.cpp
    brutalchess-0.5.2/src/utils.h
    brutalchess-0.5.2/src/vector.cpp
    brutalchess-0.5.2/src/vector.h
    brutalchess-0.5.2/src/xboardplayer.cpp
    patching file src/md3view.cpp
    patching file src/objview.cpp
    patching file src/brutalplayer.cpp
    checking build system type... i486-slackware-linux-gnu
    checking host system type... i486-slackware-linux-gnu
    checking for a BSD-compatible install... /bin/ginstall -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for g++... g++
    checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
    See `config.log' for more details.

    EDIT: i hope this helps cuz i cant figure it out

  9. #8
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    this is c++ program, not c program, you need to install g++ compiler and libstdc++ library

  10. #9
    Just Joined!
    Join Date
    Mar 2010
    Posts
    10
    Quote Originally Posted by coopstah13 View Post
    this is c++ program, not c program, you need to install g++ compiler and libstdc++ library
    Libstdc++ is now part of GCC, as of GCC 3.0. The most
    recent stable version can be downloaded as part of the
    most recent GCC release.

    im installing GCC 4.3.3 from slackware64-current and see what happens

  11. #10
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you need g++ compiler either way, on most distros it is separate from gcc, even though it is c++ compiler for gcc

Page 1 of 2 1 2 LastLast

Posting Permissions

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