Como instalar o bnetd no Lubuntu a partir da linha de comando?

1

Estou tentando instalar o bnetd no lubuntu e recebi um erro ao compilá-lo (nunca compilei nada ainda) Eu executo isso no terminal:

loading cache ./config.cache
checking host system type... Invalid configuration 'x86_64-pc-linux-gnuoldld': machine 'x86_64-pc' not recognized

checking target system type... Invalid configuration 'x86_64-pc-linux-gnuoldld': machine 'x86_64-pc' not recognized

checking build system type... Invalid configuration 'x86_64-pc-linux-gnuoldld': machine 'x86_64-pc' not recognized

checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

E a partir do comando:

ls -l /home/andrey/Desktop/bnetd-0.4.25/

Eu entendo isso:

total 132
-rw-r--r--  1 andrey andrey 50287 яну 21  2002 CHANGELOG
drwxr-xr-x  2 andrey andrey  4096 май 24 23:04 conf
-rw-r--r--  1 andrey andrey 17992 апр 26  2001 COPYING
-rw-r--r--  1 andrey andrey  6326 яну 15  2002 CREDITS
drwxr-xr-x  2 andrey andrey  4096 май 24 23:04 docs
drwxr-xr-x  2 andrey andrey  4096 май 24 23:04 files
-rw-r--r--  1 andrey andrey  4723 апр 26  2001 INSTALL
drwxr-xr-x  2 andrey andrey  4096 май 24 23:04 man
drwxr-xr-x  3 andrey andrey  4096 май 24 23:04 packaging
-rw-r--r--  1 andrey andrey  4997 ное 29  2001 README
drwxr-xr-x  2 andrey andrey  4096 май 24 23:04 scripts
drwxr-xr-x 15 andrey andrey  4096 май 24 23:04 src
-rw-r--r--  1 andrey andrey  5696 яну 17  2002 TODO

E no tutorial estou lendo está tudo bem. Eu não consigo entender onde está o meu erro. Também não posso executar comando make porque eu ainda não tenho o arquivo make ... Eu estou usando o LXTerminal

    
por Andrey 24.05.2013 / 22:32

1 resposta

0

O arquivo configure é colocado na pasta src . Para instalá-lo:

  1. Do terminal, vá para a pasta src :

    cd /home/andrey/Desktop/bnetd-0.4.25/src/

  2. Configure a instalação:

    ./configure

  3. Compile:

    make

  4. Instale:

    sudo make install

Agora você deve ter instalado o aplicativo corretamente

Para ter em mente: dentro do pacote compactado, você pode ver o arquivo INSTALL , ele contém instruções para a instalação desse software específico. Então, da próxima vez, abra-o;)

    
por Lucio 24.05.2013 / 23:45