Can't make alltray 0.7.3

Asked by Reynaldo Matos Hortensi

I downloaded the source file alltray-0.7.3dev.tar.gz and uncompressed it with "tar xzvf", then:
sudo apt-get build-dep alltray
cd alltray-0.7.3dev/
./configure
make
But I get an error:
In file included from /usr/include/libgtop-2.0/glibtop.h:25,
                 from gtop_glue.c:10:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
make[3]: ** [gtop_glue.o] Erro 1
make[3]: Saindo do diretório `/home/reynaldo/alltray/alltray-0.7.3dev/src'
make[2]: ** [all] Erro 2
make[2]: Saindo do diretório `/home/reynaldo/alltray/alltray-0.7.3dev/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/reynaldo/alltray/alltray-0.7.3dev'
make: ** [all] Erro 2

What's wrong?
Thanks!
Reynaldo

Question information

Language:
Brazilian Portuguese Edit question
Status:
Answered
For:
AllTray Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael B. Trausch (mtrausch) said :
#1

Looks like you're using an older libgtop that doesn't include glib.h, but instead includes headers that are supposed to be only included from glib.h (e.g., cannot be included by libraries or applications using glib). If you are on Ubuntu, there is a bug already filed:

https://bugs.edge.launchpad.net/alltray/+bug/405716

Please go there and click the link that says that you are also affected by the bug. If you are running a version of Ubuntu other than Intrepid, please also note that in a comment on that bug.

Newer versions of libgtop (such as what is found in Ubuntu Jaunty or Karmic) do not have this problem.

If you are comfortable upgrading libgtop from your distribution, you can fix this problem yourself by building a newer libgtop from source and installing it on your system.

If possible, I will try to detect this condition soon when configuring AllTray and put out a better-looking and more useful error message.

Can you help with this problem?

Provide an answer of your own, or ask Reynaldo Matos Hortensi for more information if necessary.

To post a message you must log in.