Težave s configure, make ter install

cd mapa/v/kateri/je/datoteka
tar xvfz ime_datoteke.tar.gz
cd ime/ustvarjene/mape
./configure
make
sudo make install

Tole zgoraj je vrstni red za .tar.gz. V kolikor bi ime arhivsko datoteko drugega tipa, bi bila 2. vrstica drugačna.

Na https://www.racunalniske-novice.com/forum/topic/68266-ubuntu-904-rocno-namescanje-programov/ je nekdo omenil, dao so za delovanje ukazov ./configure, make in sudo install potrebne nekatere knjižice (gcc, g++, ...) ter morebiti tudi dodatki.

Kaj je potrebno predhodno imeti nameščeno, da bodo ti ukazi delovali?
Imam 64-bit Ubuntu 14.10.

Hvala.

Komentarji

  • Nič. Je že vse nameščeno za te ukaze, seveda je pa sedaj odvisno kaj vsebujta configure in make skripti, odvisno za kateri program gre, le ta pa lahko vsebuje odvisnosti od ostalih ukazov, knjižnic itd.. to pa izpiše configure kar je tudi namen te skripte.
  • Tako je, configure ti pove kaj manjka in to kasneje ročno namestiš. Razvojnih paketov/knjižnic je v skladišču na stotine in nameščati vsakega/vsako, da pokriješ vse možne odvisnosti, je nesmiselno.
  • slitkx Član
    uredil/-a 23. November, 2014
    Sem ugotovil, da se configure in checkinstall da namestiti v upravljalniku paketov Synaptic.

    Za Pidgin mi je po ./configure izpisalo tole:
    tomaz@hp-kista ~/Prejemi/pidgin-2.10.10 $ ./configure
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    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
    checking whether make supports nested variables... yes
    checking whether make supports nested variables... (cached) yes
    checking for sed... /bin/sed
    checking for gcc... gcc
    checking whether the C compiler works... no
    configure: error: in `/home/tomaz/Prejemi/pidgin-2.10.10':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    tomaz@hp-kista ~/Prejemi/pidgin-2.10.10 $
    Zakaj 'C compiler' ne deluje, ne vem. Iz šrota v config.log se pa niti pod razno ne znajdem.

    Enako se zgodi tudi, če zalaufam 'auto-apt', ki sem ga pred tem namestil.
    tomaz@hp-kista ~/Prejemi/pidgin-2.10.10 $ auto-apt run ./configure
    Program 'auto-apt' trenutno ni nameščen. Namestite ga lahko z vnosom:
    sudo apt-get install auto-apt
    tomaz@hp-kista ~/Prejemi/pidgin-2.10.10 $ sudo apt-get install auto-apt
    Branje seznama paketov ... Narejeno
    Gradnja drevesa odvisnosti
    Branje podatkov o stanju ... Narejeno
    Predlagani paketi:
    libgtk-perl build-essential
    Priporočeni paketi:
    devscripts
    Naslednji NOVI paketi bodo nameščeni:
    auto-apt
    0 nadgrajenih, 1 na novo nameščenih, 0 bo odstranjenih in 28 ne nadgrajenih.
    Potrebno je dobiti 43,1 kB arhivov.
    Po tem opravilu bo porabljenega 215 kB dodatnega prostora.
    Dobi:1 http://gd.tuwien.ac.at/opsys/linux/ubuntu/archive/ trusty-updates/universe auto-apt amd64 0.3.23ubuntu0.14.04.1 [43,1 kB]
    Pridobljenih 43,1 kB v 0s (730 kB/s)
    Selecting previously unselected package auto-apt.
    (Reading database ... 177618 files and directories currently installed.)
    Preparing to unpack .../auto-apt_0.3.23ubuntu0.14.04.1_amd64.deb ...
    Unpacking auto-apt (0.3.23ubuntu0.14.04.1) ...
    Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
    Setting up auto-apt (0.3.23ubuntu0.14.04.1) ...
    tomaz@hp-kista ~/Prejemi/pidgin-2.10.10 $ auto-apt run ./configure
    Entering auto-apt mode: ./configure
    Exit the command to leave auto-apt mode.
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    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
    checking whether make supports nested variables... yes
    checking whether make supports nested variables... (cached) yes
    checking for sed... /bin/sed
    checking for gcc... gcc
    checking whether the C compiler works... no
    configure: error: in `/home/tomaz/Prejemi/pidgin-2.10.10':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    tomaz@hp-kista ~/Prejemi/pidgin-2.10.10 $
  • Nihče na forumu ti niti pod razno ne more pomagati, dokler ne prilepiš vsebino config.log!
  • slitkx Član
    uredil/-a 23. November, 2014
    Zdaj, ko sem imel nameščeno verzijo 2.10.9 in čez iz mape 2.10.10 spustil najprej ./configure in potlej še make, mi te napake ni javilo. Če bom imel še kdaj podobno napako, bom skopiral vsebino loga.

    Potlej sem zaprl Pidgin (klik na Izhod), izvedel še sudo make install in sedaj mi pod 'About' izpiše 'Pidgin 2.10.10 (libpurple 2.10.9)
    unknown'.
    Kul.

    // No, čist kul bo, ko bo tudi libpurple 2.10.10.
Za komentiranje se prijavite ali pa se vpišite.