You are not logged in.
Hi, I've been trying to use ttm (tint task manager). I just downloaded both PKGBUILD and ttm.install files from AUR, but when I run makepkg, weird output shows up:
$ makepkg
==> Determining latest svn revision...
-> Version found: 37
==> Making package: ttm-svn 37-1 (Sun Mar 16 13:49:56 EDT 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Validating source files with md5sums...
==> Extracting Sources...
==> Entering fakeroot environment...
==> Starting build()...
A ttm/config_sample
A ttm/src
A ttm/src/tint.c
A ttm/src/event.c
A ttm/src/task.c
A ttm/src/visual.c
A ttm/src/config.c
A ttm/src/event.h
A ttm/src/server.c
A ttm/src/task.h
A ttm/src/window.c
A ttm/src/visual.h
A ttm/src/config.h
A ttm/src/server.h
A ttm/src/Makefile
A ttm/src/window.h
A ttm/README
Checked out revision 37.
==> SVN checkout done or server timeout
==> Starting make...
cc -march=i686 -mtune=generic -O2 -pipe -Wall -g `pkg-config --cflags --libs cairo pangocairo x11 imlib2 glib-2.0` -o tint tint.c server.c window.c task.c visual.c event.c config.c
/bin/sh: pkg-config: command not found
server.c: In function 'server_get_current_desktop':
server.c:110: warning: 'desk' may be used uninitialized in this function
task.c:33:18: error: glib.h: No such file or directory
visual.c:28:19: error: cairo.h: No such file or directory
visual.c:29:24: error: cairo-xlib.h: No such file or directory
visual.c:33:30: error: pango/pangocairo.h: No such file or directory
visual.c:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
visual.c:132: error: expected ')' before '*' token
visual.c:148: error: expected ')' before '*' token
visual.c:175: error: expected ')' before '*' token
visual.c: In function 'draw_panel_background':
visual.c:198: error: 'cairo_surface_t' undeclared (first use in this function)
visual.c:198: error: (Each undeclared identifier is reported only once
visual.c:198: error: for each function it appears in.)
visual.c:198: error: 'cs' undeclared (first use in this function)
visual.c:199: error: 'cairo_t' undeclared (first use in this function)
visual.c:199: error: 'c' undeclared (first use in this function)
visual.c:202: warning: implicit declaration of function 'cairo_xlib_surface_create'
visual.c:204: warning: implicit declaration of function 'cairo_create'
visual.c:214: warning: implicit declaration of function 'cairo_rectangle'
visual.c:215: warning: implicit declaration of function 'cairo_set_source_rgba'
visual.c:219: warning: implicit declaration of function 'cairo_fill'
visual.c:221: warning: implicit declaration of function 'cairo_destroy'
visual.c:222: warning: implicit declaration of function 'cairo_surface_destroy'
visual.c: In function 'refresh_task':
visual.c:263: error: 'cairo_surface_t' undeclared (first use in this function)
visual.c:263: error: 'cs' undeclared (first use in this function)
visual.c:264: error: 'cairo_t' undeclared (first use in this function)
visual.c:264: error: 'c' undeclared (first use in this function)
visual.c:296: warning: implicit declaration of function 'draw_task_background'
visual.c:298: warning: implicit declaration of function 'draw_task_shadow'
visual.c:300: warning: implicit declaration of function 'draw_task_title'
config.c:35:18: error: glib.h: No such file or directory
config.c: In function 'config_read':
config.c:235: warning: implicit declaration of function 'g_build_filename'
config.c:235: warning: implicit declaration of function 'g_get_home_dir'
config.c:235: warning: assignment makes pointer from integer without a cast
config.c:265: warning: implicit declaration of function 'g_strstrip'
make: *** [tint] Error 1
==> ERROR: Build Failed.
Aborting...I have got all the dependencies already (cairo, imlib2, pango, glib), however still cant compile it.
If someone has it installed please tell me how.
Thanks!
Last edited by MarinvHs (2008-03-16 20:44:57)
Offline
Hi.
cc -march=i686 -mtune=generic -O2 -pipe -Wall -g `pkg-config --cflags --libs cairo pangocairo x11 imlib2 glib-2.0` -o tint tint.c server.c window.c task.c visual.c event.c config.c
/bin/sh: pkg-config: command not found
pkg-config is what makepkg is barfing on.
I tried makepkg for this on my system. (I see what you mean about satisfying all the dependencies!) It ran just fine for me. Try reinstalling gcc. If that's not enough, reinstall base-devel.
Offline
installing the 'base-devel' package group will take care of it.
thayer williams ~ cinderwick.ca
Offline
Thanks a lot it worked just fine now!
Offline