[mdrk8.2]Make lukt niet :(

Pagina: 1
Acties:

  • AkroBatik
  • Registratie: Oktober 2001
  • Laatst online: 11-08 00:28

AkroBatik

Bad Cars Can Be Briliant

Topicstarter
Ik heb gtkmsn gedownload. En ik dacht ik ga hem es installen (zit weeres geen readme bij ;( ) dus ik voer het commando make in. (leek mij het meest gepast) maar ik kreeg dit:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[akrobatik@AkroBatik gtkmsn]$ make
Making all in src
make[1]: Entering directory `/home/akrobatik/gtkmsn/src'
gcc -DPACKAGE=\"gtkmsn\" -DVERSION=\"0.1\"  -I. -I.  -DG_DISABLE_DEPRECATED    -DGDK_DISABLE_DEPRECATED              -DGDK_PIXBUF_DISABLE_DEPRECATED-DGTK_DISABLE_DEPRECATED                        -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -c client.c
In file included from msn.h:19,
             from client.h:19,
             from client.c:16:
str_util.h:14:6: warning: no newline at end of file
str_util.h:14:6: warning: no newline at end of file
In file included from msn_contact.h:4,
             from msn.h:20,
             from client.h:19,
             from client.c:16:
global.h:9:21: gtk/gtk.h: No such file or directory
global.h:65:7: warning: no newline at end of file
global.h:65:7: warning: no newline at end of file
In file included from msn.h:20,
             from client.h:19,
             from client.c:16:
msn_contact.h:26:6: warning: no newline at end of file
msn_contact.h:26:6: warning: no newline at end of file
In file included from msn.h:21,
             from client.h:19,
             from client.c:16:
net.h:18:6: warning: no newline at end of file
net.h:18:6: warning: no newline at end of file
In file included from gui.h:20,
             from msn.h:22,
             from client.h:19,
             from client.c:16:
msn.h:51:6: warning: no newline at end of file
msn.h:51:6: warning: no newline at end of file
In file included from gtk_spec.h:4,
             from gui.h:21,
             from msn.h:22,
             from client.h:19,
             from client.c:16:
global.h:65:7: warning: no newline at end of file
global.h:65:7: warning: no newline at end of file
In file included from gui.h:21,
             from msn.h:22,
             from client.h:19,
             from client.c:16:
gtk_spec.h:32:6: warning: no newline at end of file
gtk_spec.h:32:6: warning: no newline at end of file
In file included from msn.h:22,
             from client.h:19,
             from client.c:16:
gui.h:44:6: warning: no newline at end of file
gui.h:44:6: warning: no newline at end of file
In file included from client.h:19,
             from client.c:16:
msn.h:51:6: warning: no newline at end of file
msn.h:51:6: warning: no newline at end of file
In file included from client.h:22,
             from client.c:16:
global.h:65:7: warning: no newline at end of file
global.h:65:7: warning: no newline at end of file
In file included from client.c:16:
client.h:26:6: warning: no newline at end of file
client.h:26:6: warning: no newline at end of file
make[1]: *** [client.o] Error 1
make[1]: Leaving directory `/home/akrobatik/gtkmsn/src'
make: *** [all-recursive] Error 1

Wat is er fout?

.


  • Slaiter
  • Registratie: Juni 2001
  • Niet online

Slaiter

Firesnake

1 Je moet root zijn.
2 de normale volgorde is (meestal)

./configure
make
make install

[edit]note de punt voor /configure)

btw what voor een pakket is het :?

enne is kmerlin niet handiger (staat ook gewoon op de cd namelijk deel2 als ik het goed heb :) )

  • Niek
  • Registratie: Februari 2001
  • Laatst online: 14-07 11:42

Niek

f.k.a. The_Surfer

Van http://gtkmsn.sourceforge.net/ :

The BETA has been released so go fetch it and run : ./configure & make & make install

À vaincre sans péril, on triomphe sans gloire - Pierre Corneille


  • _Squatt_
  • Registratie: Oktober 2000
  • Niet online
Op dinsdag 09 april 2002 17:31 schreef AkroBatik het volgende:
code:
1
global.h:9:21: gtk/gtk.h: No such file or directory
Dat is de fout, de andere meldingen zijn alleen maar warnings omdat de header files geen newline op het eind hebben.

Je moet waarschijnlijk het gtk-devel pakketje installeren.

edit:
Je moet inderdaad wel eerst configure gedraaid hebben, maar meestal heb je geen Makefile totdat je dat gedaan hebt (en runt 'make' dus niet tot je ./configure hebt gedaan).

"He took a duck in the face at two hundred and fifty knots."


  • AkroBatik
  • Registratie: Oktober 2001
  • Laatst online: 11-08 00:28

AkroBatik

Bad Cars Can Be Briliant

Topicstarter
ik heb nu ./configure gedaan maar nu krijg ik dit [code]./configure: pkg-config: command not found
aclocal.m4 AUTHORS ChangeLog client.prj confdefs.h config.cache config.h.in config.log config.status configure configure.in COPYING gtkmsn.prj gtkmsn.prj.bak gtkmsn.pws img INSTALL install-sh Makefile Makefile.am Makefile.in missing mkinstalldirs mmm NEWS README smileys.cfg src stamp-h stamp-h.in pkg-config too old
./configure: version: command not found
checking for GTK+ - version >= 2.0.0... no
*** A new enough version of pkg-config was not found.
*** See http://pkgconfig.sourceforge.net
configure: error: client needs GTK 2.0.0[/code[

Toen heb ik pkgconfig gedownload ./configure geen probleem. Ook met make geen probleem. Doe ik vervolgens weer ./configure in de dir van gtkmsn krijg ik nogsteeds de zelfde error. :(

.


  • _Squatt_
  • Registratie: Oktober 2000
  • Niet online
Op dinsdag 09 april 2002 18:07 schreef AkroBatik het volgende:
code:
1
2
3
4
checking for GTK+ - version >= 2.0.0... no
*** A new enough version of pkg-config was not found.
*** See [url="http://pkgconfig.sourceforge.net"]http://pkgconfig.sourceforge.net[/url]
configure: error: client needs GTK 2.0.0

Toen heb ik pkgconfig gedownload ./configure geen probleem. Ook met make geen probleem. Doe ik vervolgens weer ./configure in de dir van gtkmsn krijg ik nogsteeds de zelfde error. :(
Je moet na './configure' en 'make' ook nog 'make install' doen om alles te installeren.

Maar met pkg-config alleen ben je er niet, je hebt ook GTK 2.0.0 nodig.

"He took a duck in the face at two hundred and fifty knots."


  • Niek
  • Registratie: Februari 2001
  • Laatst online: 14-07 11:42

Niek

f.k.a. The_Surfer

Op dinsdag 09 april 2002 18:07 schreef AkroBatik het volgende:
ik heb nu ./configure gedaan maar nu krijg ik dit [code]./configure: pkg-config: command not found
aclocal.m4 AUTHORS ChangeLog client.prj confdefs.h config.cache config.h.in config.log config.status configure configure.in COPYING gtkmsn.prj gtkmsn.prj.bak gtkmsn.pws img INSTALL install-sh Makefile Makefile.am Makefile.in missing mkinstalldirs mmm NEWS README smileys.cfg src stamp-h stamp-h.in pkg-config too old
./configure: version: command not found
checking for GTK+ - version >= 2.0.0... no
*** A new enough version of pkg-config was not found.
*** See http://pkgconfig.sourceforge.net
configure: error: client needs GTK 2.0.0[/code[

Toen heb ik pkgconfig gedownload ./configure geen probleem. Ook met make geen probleem. Doe ik vervolgens weer ./configure in de dir van gtkmsn krijg ik nogsteeds de zelfde error. :(
Je moet als root nog make install doen bij pkgconfig :)

À vaincre sans péril, on triomphe sans gloire - Pierre Corneille


Verwijderd

Je komt denk ik glib-2.0 ook nog wel tegen als dependency. :)

  • AkroBatik
  • Registratie: Oktober 2001
  • Laatst online: 11-08 00:28

AkroBatik

Bad Cars Can Be Briliant

Topicstarter
Op dinsdag 09 april 2002 18:18 schreef _Squatt_ het volgende:

[..]

Je moet na './configure' en 'make' ook nog 'make install' doen om alles te installeren.

Maar met pkg-config alleen ben je er niet, je hebt ook GTK 2.0.0 nodig.
k ik heb make install gedaan geen errors GTK gedownload. ./configure no probs. maar make geeft ie:no targets specified no make files found. stop. Make install bijna hetzelfde.

.


Verwijderd

Het probleem is dat je gtk+ 2.0 nodig hebt.
De meeste distro's installeren die niet standaard, dus zal je hem zelf van cdrom, of wat dan ook moeten installeren.

Pkg-config heb je misschien niet echt nodig (?). Volgens mij loopt het ./configure script pkg-config af omdat hij zo kan nagaan of er bijv. gtk+2.0 is geinstalleerd. Hij vindt geen pkg-config, dus controleert hij op gtk+ 2.0. En die vindt hij ook niet.

Je kunt hem in mdk 8.2 installeren met:
urpmi libgtk+2.0_0-devel
Pagina: 1