Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: [OPGELOST] probleem met tar.gz programma te installeren  (gelezen 688 keer)

Offline poj

  • Lid
    • Xubuntu Vraagstukken
[OPGELOST] probleem met tar.gz programma te installeren
« Gepost op: 2012/06/03, 13:21:25 »
Hoi,

Ik probeer een *.tar.gz programma te installeren op een ubuntu 10.04 machine

Hiervoor gebruik ik de beschrijving op http://www.alleslinux.com/artikels/softwareinstalleren.php

Aan het eind van make install krijg ik de volgende foutmelding.
Citaat
install gpsbabel  //usr/local/bin/
install: kan het normale bestand ‘//usr/local/bin/gpsbabel’ niet aanmaken: Toegang geweigerd
make: *** [install] Fout 1
Wat houdt deze melding in en wat heb ik fout gedaan?

Jop
« Laatst bewerkt op: 2012/06/04, 10:33:26 door poj »
gebruiker en fan van XubuntU 18.04 en 20.04. -  voor handige tips en trucs: Xubuntuvraagstukken, tips en trucs.

Re: probleem met tar.gz programma te installeren
« Reactie #1 Gepost op: 2012/06/03, 13:34:53 »
Heb je sudo voor make install gezet?

Offline Timo

  • Forumteam
    • timo.diedering
Re: probleem met tar.gz programma te installeren
« Reactie #2 Gepost op: 2012/06/03, 13:42:16 »
probeer eens sudo make install?


EDIT: Erik was voor mij

Re: probleem met tar.gz programma te installeren
« Reactie #3 Gepost op: 2012/06/03, 13:42:24 »
Probeer het eens aan de hand van mijn guide: http://sites.google.com/site/ubukuntu/werken-met-kubuntu/compileren

En sudo make install

Edit: Erik en Timo waren me voor lol.

Offline Robertos

  • Lid
Re: probleem met tar.gz programma te installeren
« Reactie #4 Gepost op: 2012/06/03, 19:02:42 »
Alleen zou ik dan sudo checkinstall gebruiken.
Zie ook: https://help.ubuntu.com/community/CheckInstall & https://help.ubuntu.com/community/CompilingSoftware#Installing_the_Package

Citaat
Use CheckInstall instead of just running "sudo make install", as that will likely put files all over the filesystem, with no easy way of removing them if things go wrong. If in the future you try to install a package that contains the same file as the software you are compiling, you will receive errors and the software you compiled may stop working.

(In fact, checkinstall can keep track of files modified by any command line, not just a "make install", so you can use it for any type of installation task outside of apt, and it will keep track of the installation in the package manager.)

Het pakket is dan ook weer eenvoudig met synaptic of het Software Centre te verwijderen.
« Laatst bewerkt op: 2012/06/03, 19:25:05 door Robertos »

Offline poj

  • Lid
    • Xubuntu Vraagstukken
Re: probleem met tar.gz programma te installeren
« Reactie #5 Gepost op: 2012/06/04, 10:33:09 »
Dank voor alle reacties:
Mijn conclusie:
- er zijn meerdere methoden om een tar.gz te installeren
- de beschrijving op  http://www.alleslinux.com/artikels/softwareinstalleren.php is verre van compleet
- ik weet nog steeds niet waarom genoemde methode niet werkt, behalve dat een pad met "//" in //usr/enz. mij niet kloppend lijkt.

PS. Ik had ingelogd als su, dus sudo er voor was niet nodig.

gebruiker en fan van XubuntU 18.04 en 20.04. -  voor handige tips en trucs: Xubuntuvraagstukken, tips en trucs.