hi there,
I'm having a problem when trying to install a plugin for gkrellm 2 from this website
http://www.sweb.cz/tripie/gkrellm/gamma/
Let's see if I got this right.
I downloaded the gkrellm-gamma-2.03.tar.gz file to my $HOME dir
I did
tar zxvf gkrellm-gamma-2.03.tar.gz
it created a folder called
gkrellm-gamma-2.03
I went inside the folder and only see these files:
Code:
-rw-r--r-- 1 soldier soldier 84 Jun 24 2003 AUTHORS
-rw-r--r-- 1 soldier soldier 17992 Mar 9 2002 COPYING
drwxr-xr-x 2 soldier soldier 4096 Sep 14 2003 doc
-rw-r--r-- 1 soldier soldier 6887 Jul 5 2003 main.c
-rwxr-x--- 1 soldier soldier 270 Jun 24 2003 makedist.sh
-rw-r--r-- 1 soldier soldier 635 Sep 14 2003 Makefile
-rw-r--r-- 1 soldier soldier 301 Jun 24 2003 README
-rw-rw-r-- 1 soldier soldier 5 Sep 14 2003 VERSION
I tried
cat README but it shows no information on how to "install" this plugin
there was nothing really useful in the doc folder either
when I attempted a
make I got lots of errors
Code:
$ make
cc -O -g -Wall -fPIC `pkg-config gtk+-2.0 --cflags` -I/usr/local/include -c -o main.o main.c
main.c:22:30: gkrellm2/gkrellm.h: No such file or directory
main.c:33: parse error before '*' token
main.c:33: warning: type defaults to `int' in declaration of `monitor'
main.c:33: warning: data definition has no type or storage class
main.c:34: parse error before '*' token
main.c:34: warning: type defaults to `int' in declaration of `panel'
main.c:34: warning: data definition has no type or storage class
main.c:36: parse error before '*' token
main.c:36: warning: type defaults to `int' in declaration of `krell'
main.c:36: warning: data definition has no type or storage class
main.c:37: parse error before '*' token
main.c:37: warning: type defaults to `int' in declaration of `decal'
main.c:37: warning: data definition has no type or storage class
main.c: In function `set_gamma':
main.c:47: warning: implicit declaration of function `gdk_screen_get_default'
main.c:47: warning: passing arg 1 of `gdk_x11_screen_get_screen_number' makes pointer from integer without a cast
main.c: In function `get_gamma':
main.c:55: warning: passing arg 1 of `gdk_x11_screen_get_screen_number' makes pointer from integer without a cast
main.c: At top level:
main.c:63: parse error before '*' token
main.c: In function `panel_expose_event':
main.c:65: `widget' undeclared (first use in this function)
main.c:65: (Each undeclared identifier is reported only once
main.c:65: for each function it appears in.)
main.c:66: warning: implicit declaration of function `GTK_WIDGET_STATE'
main.c:67: request for member `pixmap' in something not a structure or union
main.c:68: `ev' undeclared (first use in this function)
main.c: At top level:
main.c:75: parse error before '*' token
main.c: In function `slider_motion':
main.c:83: `ev' undeclared (first use in this function)
main.c:87: request for member `full_scale' in something not a structure or union
main.c:87: warning: implicit declaration of function `gkrellm_chart_width'
main.c:92: request for member `previous' in something not a structure or union
main.c:94: warning: implicit declaration of function `gkrellm_update_krell'
main.c:102: warning: implicit declaration of function `gkrellm_draw_decal_text'
main.c:105: warning: implicit declaration of function `gkrellm_draw_panel_layers'
main.c: At top level:
main.c:109: parse error before '*' token
main.c: In function `panel_button_press':
main.c:115: `ev' undeclared (first use in this function)
main.c:117: request for member `full_scale' in something not a structure or union
main.c:127: request for member `previous' in something not a structure or union
main.c:135: request for member `previous' in something not a structure or union
main.c: In function `update_plugin':
main.c:154: request for member `previous' in something not a structure or union
main.c: At top level:
main.c:165: parse error before '*' token
main.c: In function `callback_mouse_wheel':
main.c:171: `event' undeclared (first use in this function)
main.c:184: request for member `previous' in something not a structure or union
main.c: At top level:
main.c:198: parse error before '*' token
main.c: In function `create_plugin':
main.c:200: `GkrellmStyle' undeclared (first use in this function)
main.c:200: `style' undeclared (first use in this function)
main.c:201: `GkrellmPiximage' undeclared (first use in this function)
main.c:201: `krell_image' undeclared (first use in this function)
main.c:202: `GkrellmMargin' undeclared (first use in this function)
main.c:202: `m' undeclared (first use in this function)
main.c:206: `first_create' undeclared (first use in this function)
main.c:207: warning: implicit declaration of function `gkrellm_panel_new0'
main.c:207: warning: assignment makes pointer from integer without a cast
main.c:210: warning: implicit declaration of function `gkrellm_krell_slider_style'
main.c:211: warning: implicit declaration of function `gkrellm_krell_slider_piximage'
main.c:212: warning: implicit declaration of function `gkrellm_create_krell'
main.c:212: warning: assignment makes pointer from integer without a cast
main.c:213: request for member `full_scale' in something not a structure or union
main.c:215: warning: implicit declaration of function `gkrellm_meter_style'
main.c:216: warning: implicit declaration of function `gkrellm_get_style_margins'
main.c:218: warning: implicit declaration of function `gkrellm_meter_textstyle'
main.c:218: invalid type argument of `->'
main.c:219: warning: implicit declaration of function `gkrellm_create_decal_text'
main.c:222: warning: assignment makes pointer from integer without a cast
main.c:224: warning: implicit declaration of function `gkrellm_panel_configure'
main.c:225: warning: implicit declaration of function `gkrellm_panel_create'
main.c:225: `vbox' undeclared (first use in this function)
main.c:233: warning: implicit declaration of function `GTK_OBJECT'
main.c:233: request for member `drawing_area' in something not a structure or union
main.c:233: warning: passing arg 1 of `g_signal_connect_data' makes pointer from integer without a cast
main.c:235: request for member `drawing_area' in something not a structure or union
main.c:235: warning: passing arg 1 of `g_signal_connect_data' makes pointer from integer without a cast
main.c:237: request for member `drawing_area' in something not a structure or union
main.c:237: warning: passing arg 1 of `g_signal_connect_data' makes pointer from integer without a cast
main.c:239: request for member `drawing_area' in something not a structure or union
main.c: At top level:
main.c:246: parse error before "plugin_gamma"
main.c:246: warning: type defaults to `int' in declaration of `plugin_gamma'
main.c:247: warning: initialization makes integer from pointer without a cast
main.c:248: warning: excess elements in scalar initializer
main.c:248: warning: (near initialization for `plugin_gamma')
main.c:249: warning: excess elements in scalar initializer
main.c:249: warning: (near initialization for `plugin_gamma')
main.c:250: warning: excess elements in scalar initializer
main.c:250: warning: (near initialization for `plugin_gamma')
main.c:251: warning: excess elements in scalar initializer
main.c:251: warning: (near initialization for `plugin_gamma')
main.c:252: warning: excess elements in scalar initializer
main.c:252: warning: (near initialization for `plugin_gamma')
main.c:254: warning: excess elements in scalar initializer
main.c:254: warning: (near initialization for `plugin_gamma')
main.c:255: warning: excess elements in scalar initializer
main.c:255: warning: (near initialization for `plugin_gamma')
main.c:256: warning: excess elements in scalar initializer
main.c:256: warning: (near initialization for `plugin_gamma')
main.c:258: warning: excess elements in scalar initializer
main.c:258: warning: (near initialization for `plugin_gamma')
main.c:259: warning: excess elements in scalar initializer
main.c:259: warning: (near initialization for `plugin_gamma')
main.c:260: warning: excess elements in scalar initializer
main.c:260: warning: (near initialization for `plugin_gamma')
main.c:262: `MON_UPTIME' undeclared here (not in a function)
main.c:262: warning: excess elements in scalar initializer
main.c:262: warning: (near initialization for `plugin_gamma')
main.c:264: warning: excess elements in scalar initializer
main.c:264: warning: (near initialization for `plugin_gamma')
main.c:266: warning: excess elements in scalar initializer
main.c:266: warning: (near initialization for `plugin_gamma')
main.c:266: warning: data definition has no type or storage class
main.c:269: parse error before '*' token
main.c:270: warning: return type defaults to `int'
main.c: In function `gkrellm_init_plugin':
main.c:271: warning: implicit declaration of function `gkrellm_add_meter_style'
make: *** [main.o] Error 1
Can anyone tell me how I can go ahead and install this plugin? Thank you very much for your time!