instalowanie pluginu dds do gimpa

Tutaj można zadać pytanie, jeśli Linuksa widzi się pierwszy raz w życiu ;)
attyla
Sędziwy Jeż
Sędziwy Jeż
Posty: 98
Rejestracja: 26 sty 2009, 20:26
Płeć: Mężczyzna
Wersja Ubuntu: 8.10
Środowisko graficzne: GNOME

instalowanie pluginu dds do gimpa

Post autor: attyla »

Witam
Niestety, nigdy nie umiałem zainstalować niczego z przez komendy make i make install a teraz potrzebuję zainstalować właśnie ten plugin.
Ściągnąłem toto i zgodnie z instrukcją dałem komendę make. Niestety, od razu wywaliło mi jakieś błędy a ja nie mam zielonego pojęcia jak sobie z tym poradzić. Czy ktoś mógłby mi pomóc w tym?
Poniżej zamieszczam komunikat po komendzie make:

Kod: Zaznacz cały

Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package gimp-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gimp-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gimp-2.0' found
gcc -c -pipe -g -O2 -Wall  dds.c
dds.c:27:21: error: gtk/gtk.h: No such file or directory
dds.c:29:26: error: libgimp/gimp.h: No such file or directory
dds.c:30:28: error: libgimp/gimpui.h: No such file or directory
In file included from dds.c:32:
ddsplugin.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘read_dds’
ddsplugin.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘write_dds’
ddsplugin.h:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘interactive_dds’
ddsplugin.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
ddsplugin.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from dds.c:34:
misc.h:26: error: expected ‘)’ before ‘drawableID’
misc.h:27: error: expected ‘)’ before ‘drawableID’
misc.h:28: error: expected ‘)’ before ‘drawableID’
dds.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dds.c:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dds.c:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘interactive_dds’
dds.c:42: warning: type defaults to ‘int’ in declaration of ‘gchar’
dds.c:42: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
dds.c:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PLUG_IN_INFO’
dds.c:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘load_args’
dds.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘load_return_vals’
dds.c:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘save_args’
dds.c:93: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘decode_args’
dds.c:102: warning: return type defaults to ‘int’
dds.c: In function ‘MAIN’:
dds.c:103: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
dds.c:178: warning: type defaults to ‘int’ in declaration of ‘gchar’
dds.c:178: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
dds.c:354: error: expected ‘{’ at end of input
make: *** [dds.o] Błąd 1
attyla@attyla-laptop:~/programy/gimp-dds-2.0.9$ sudo make install
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package gimp-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gimp-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gimp-2.0' found
gcc -c -pipe -g -O2 -Wall  dds.c
dds.c:27:21: error: gtk/gtk.h: No such file or directory
dds.c:29:26: error: libgimp/gimp.h: No such file or directory
dds.c:30:28: error: libgimp/gimpui.h: No such file or directory
In file included from dds.c:32:
ddsplugin.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘read_dds’
ddsplugin.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘write_dds’
ddsplugin.h:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘interactive_dds’
ddsplugin.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
ddsplugin.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from dds.c:34:
misc.h:26: error: expected ‘)’ before ‘drawableID’
misc.h:27: error: expected ‘)’ before ‘drawableID’
misc.h:28: error: expected ‘)’ before ‘drawableID’
dds.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dds.c:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dds.c:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘interactive_dds’
dds.c:42: warning: type defaults to ‘int’ in declaration of ‘gchar’
dds.c:42: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
dds.c:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PLUG_IN_INFO’
dds.c:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘load_args’
dds.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘load_return_vals’
dds.c:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘save_args’
dds.c:93: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘decode_args’
dds.c:102: warning: return type defaults to ‘int’
dds.c: In function ‘MAIN’:
dds.c:103: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
dds.c:178: warning: type defaults to ‘int’ in declaration of ‘gchar’
dds.c:178: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
dds.c:354: error: expected ‘{’ at end of input
make: *** [dds.o] Błąd 1
programista12
Piegowaty Guziec
Piegowaty Guziec
Posty: 8
Rejestracja: 24 wrz 2010, 16:42
Płeć: Mężczyzna
Wersja Ubuntu: 11.04
Środowisko graficzne: GNOME
Architektura: x86

Odp: instalowanie luginu dds do gimpa

Post autor: programista12 »

A zainstalowałeś pakiet do kompilacji?

Kod: Zaznacz cały

sudo apt-get install build-essential
Awatar użytkownika
wm-
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 118
Rejestracja: 13 lis 2007, 15:39
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: GNOME
Architektura: x86_64

Odp: instalowanie pluginu dds do gimpa

Post autor: wm- »

A nie lepiej w sposób bardziej typowy dla Ubuntu?

Kod: Zaznacz cały

 sudo apt-get install gimp-dds  
ODPOWIEDZ

Wróć do „Przedszkole Linuksa”

Kto jest online

Użytkownicy przeglądający to forum: Amazon [Bot] i 22 gości