Gå til innhold

Problemer med "make" av torsmo


Anbefalte innlegg

Heisann!

 

Nå har en kamerat av meg fått meg til å installere Ubuntu, og det er som edens hage :D Men jeg har et lite problem når det gjelder torsmo. Jeg vil få installert den, men når jeg skriver make så kommer dette opp i slutten:

 

/home/jonatan/Desktop/torsmo-0.18/x11.c:99: undefined reference to `XFree'

/home/jonatan/Desktop/torsmo-0.18/x11.c:100: undefined reference to `XFree'

x11.o: In function `create_gc':

/home/jonatan/Desktop/torsmo-0.18/x11.c:310: undefined reference to `XCreateGC'

collect2: ld returned 1 exit status

make: *** [torsmo] Error 1

 

Si ifra hvis dere trenger mer av den "kode greien" som kommer opp da jeg skrev make.

 

Spørsmålet er hva som er galt? Skjønner ikke bæret av det der, håper noen kan hjelpe en totalt GNU/Linux-nybegynner :D

Lenke til kommentar
Videoannonse
Annonse
jonatan@jonatan:~/Desktop/torsmo-0.18$ sudo apt-get install torsmo

Leser pakkelister ... Ferdig

Skaper oversikt over avhengighetsforhold ... Ferdig

E: Klarte ikke å finne pakken torsmo

 

Så ikke ut til å finnes i pakkesystemet

Lenke til kommentar

Da må du legge til noen kilder i /etc/apt/sources.list fila di.

 

slik ser min source.list ut(kan sikkert bare kopiere min HVIS du bruker Breezy):

deb-src http://archive.ubuntu.com/ubuntu breezy main restricted

 

## Major bug fix updates produced after the final release of the

## distribution.

deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted

deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted

 

## Uncomment the following two lines to add software from the 'universe'

## repository.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team, and may not be under a free licence. Please satisfy yourself as to

## your rights to use the software. Also, please note that software in

## universe WILL NOT receive any review or updates from the Ubuntu security

## team.

deb-src http://archive.ubuntu.com/ubuntu breezy universe

 

## Uncomment the following two lines to add software from the 'backports'

## repository.

## N.B. software from this repository may not have been tested as

## extensively as that contained in the main release, although it includes

## newer versions of some applications which may provide useful features.

## Also, please note that software in backports WILL NOT receive any review

## or updates from the Ubuntu security team.

## deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

## deb-src http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

 

deb http://security.ubuntu.com/ubuntu breezy-security main restricted

deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

 

deb http://security.ubuntu.com/ubuntu breezy-security universe

deb-src http://security.ubuntu.com/ubuntu breezy-security universe

 

deb http://archive.ubuntu.com/ubuntu/ breezy universe main restricted multiverse

 

deb http://wine.sourceforge.net/apt/ binary/

 

deb ftp://ftp.free.fr/pub/Distributions_Linux/plf/ubuntu/plf/ breezy free non-free

deb-src ftp://ftp.free.fr/pub/Distributions_Linux/plf/ubuntu/plf/ breezy free non-free

 

deb http://deb.opera.com/opera/ etch non-free

 

deb http://kubuntu.org/packages/kde351 breezy main

 

deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

 

deb http://koti.mbnet.fi/~ots/ubuntu/ breezy/

deb-src http://koti.mbnet.fi/~ots/ubuntu/ breezy/

 

deb http://people.ubuntu.com/~doko/OOo2 ./

 

## created by arniesourcewrite

 

Gjør dette i en terminal:

sudo cp /etc/apt/sources.list /etc/apt/sources.list-backup
sudo nano /etc/apt/sources.list

Også fjerner du alt og setter inn min sources.list(og lagrer med ctrl+o, og går ut med ctrl+x)

 

sudo apt-get update
sudo apt-get install torsmo

 

Dette burde funke :)

Lenke til kommentar

Ser ut som torsmo er installert nå. Men ved hver gang jeg kjører apt get nå så kommer det noe ala dette opp:

W: Kunne ikke finne informasjon om ftp://ftp.free.fr breezy/free Packages (/var/lib/apt/lists/ftp.free.fr_pub_Distributions%5fLinux_plf_ubuntu_plf_dists_breezy_free_binary-amd64_Packages) - lista over kildekodepakker - stat (2 Ingen slik fil eller filkatalog)

W: Kunne ikke finne informasjon om ftp://ftp.free.fr breezy/non-free Packages (/var/lib/apt/lists/ftp.free.fr_pub_Distributions%5fLinux_plf_ubuntu_plf_dists_breezy_non-free_binary-amd64_Packages) - lista over kildekodepakker - stat (2 Ingen slik fil eller filkatalog)

W: Kunne ikke finne informasjon om http://deb.opera.com etch/non-free Packages (/var/lib/apt/lists/deb.opera.com_opera_dists_etch_non-free_binary-amd64_Packages) - lista over kildekodepakker - stat (2 Ingen slik fil eller filkatalog)

W: Det kan hende du vil kjøre «apt-get update» for å rette på disse problemene

 

Hva skjer?

Lenke til kommentar

hm.. ok.

 

Fjern alt i source.list'a di igjen, og sett inn dette:

 

# Automatically generated sources.list
# http://www.ubuntulinux.nl/source-o-matic
#
# If you get errors about missing keys, lookup the key in this file
# and run these commands (replace KEY with the key number)
#
# gpg --keyserver subkeys.pgp.net --recv KEY
# gpg --export --armor KEY | sudo apt-key add -

# Ubuntu supported packages (packages, GPG key: 437D05B5)
deb http://no.archive.ubuntu.com/ubuntu breezy main restricted
deb http://no.archive.ubuntu.com/ubuntu breezy-updates main restricted
deb http://security.ubuntu.com/ubuntu breezy-security main restricted

# Ubuntu supported packages (sources, GPG key: 437D05B5)
deb-src http://no.archive.ubuntu.com/ubuntu breezy main restricted
deb-src http://no.archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

# Ubuntu community supported packages (packages, GPG key: 437D05B5)
deb http://no.archive.ubuntu.com/ubuntu breezy universe multiverse
deb http://no.archive.ubuntu.com/ubuntu breezy-updates universe multiverse
deb http://security.ubuntu.com/ubuntu breezy-security universe multiverse

# Ubuntu community supported packages (sources, GPG key: 437D05B5)
deb-src http://no.archive.ubuntu.com/ubuntu breezy universe multiverse
deb-src http://no.archive.ubuntu.com/ubuntu breezy-updates universe multiverse
deb-src http://security.ubuntu.com/ubuntu breezy-security universe multiverse

# Ubuntu backports project (packages, GPG key: 437D05B5)
deb http://no.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

# Ubuntu backports project (sources, GPG key: 437D05B5)
deb-src http://no.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

 

er nok source lista mi som er litt loka :)

 

(husk 'sudo apt-get update' etter du har fiksa sources.list!)

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...