Ad Widget

Collapse

Собрать не могу блин

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MASiK
    Member
    • Aug 2010
    • 48

    #1

    Собрать не могу блин

    Первый раз такое вижу, логов нет, ошибка странная, я ваще в ступор впал, помогайте ребят вот такая штука

    Code:
    # ./configure --with-openipmi --with-ssh2 --with-net-snmp --with-libcurl --with-jabber --with-mysql --enable-server --enable-agent --prefix=/usr
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    configure: Configuring
    checking whether make sets $(MAKE)... (cached) yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... configure: error: in `/root/work/zabbix-1.8.10':
    configure: error: cannot run C compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details
    Пробовал уже и ваще без параметров компилить один фиг вот это не понимаю чё за фигня

    Code:
    # uname -a
    Linux stage.weclever.ru 2.6.32-35-server #78-Ubuntu SMP Tue Oct 11 16:26:12 UTC 2011 x86_64 GNU/Linux
    
    # cat /etc/issue
    Ubuntu 10.04.3 LTS \n \l
    
    # arch
    x86_64
    
    # gcc -v
    Using built-in specs.
    Target: x86_64-linux-gnu
    Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
    Thread model: posix
    gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
    Не навижу Убунту...
  • SergeniuS
    Member
    • Jan 2012
    • 68

    #2
    Попробуйте доустановить метапакет build-essential:
    Code:
    sudo aptitude install build-essential

    Comment

    • MASiK
      Member
      • Aug 2010
      • 48

      #3
      Пакет был это я знаю что такой нужен... я ваще в шоке короче

      Comment

      • MASiK
        Member
        • Aug 2010
        • 48

        #4
        Ну ребят помогайте а...

        Comment

        • MASiK
          Member
          • Aug 2010
          • 48

          #5
          Оп ЛЯЛЯ

          Code:
          aptitude reinstall libc6-dev

          Comment

          • SergeniuS
            Member
            • Jan 2012
            • 68

            #6
            Ppa же есть, зачем эти извращения со сборкой?

            Comment

            • inform11
              Senior Member
              • Aug 2010
              • 176

              #7
              Originally posted by MASiK
              Первый раз такое вижу, логов нет, ошибка странная, я ваще в ступор впал, помогайте ребят вот такая штука

              Code:
              # ./configure --with-openipmi --with-ssh2 --with-net-snmp --with-libcurl --with-jabber --with-mysql --enable-server --enable-agent --prefix=/usr
              checking for a BSD-compatible install... /usr/bin/install -c
              checking whether build environment is sane... yes
              checking for a thread-safe mkdir -p... /bin/mkdir -p
              checking for gawk... gawk
              checking whether make sets $(MAKE)... yes
              configure: Configuring
              checking whether make sets $(MAKE)... (cached) yes
              checking build system type... x86_64-unknown-linux-gnu
              checking host system type... x86_64-unknown-linux-gnu
              checking for gcc... gcc
              checking whether the C compiler works... yes
              checking for C compiler default output file name... a.out
              checking for suffix of executables...
              checking whether we are cross compiling... configure: error: in `/root/work/zabbix-1.8.10':
              configure: error: cannot run C compiled programs.
              If you meant to cross compile, use `--host'.
              See `config.log' for more details
              Пробовал уже и ваще без параметров компилить один фиг вот это не понимаю чё за фигня

              Code:
              # uname -a
              Linux stage.weclever.ru 2.6.32-35-server #78-Ubuntu SMP Tue Oct 11 16:26:12 UTC 2011 x86_64 GNU/Linux
              
              # cat /etc/issue
              Ubuntu 10.04.3 LTS \n \l
              
              # arch
              x86_64
              
              # gcc -v
              Using built-in specs.
              Target: x86_64-linux-gnu
              Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
              Thread model: posix
              gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
              Не навижу Убунту...
              FreeBSD welcome!
              2 команды и заббих стоит как х..

              Comment

              • 4te
                Junior Member
                • Dec 2011
                • 25

                #8
                Учитывая что проблемы у вас уже с момента проверки Си компилятора, то дальше вообще темный лес, когда начнете искать либы для опций которые указали при конфигурации.

                Скачайте deb-архивы и не мучайтесь

                Comment

                Working...