GNOME_COMPILE_WARNINGS(maximum) – Syntax Error in configure
I’m still encountering migration issues from Gentoo to Ubuntu. Apperantly, Gentoo is much more user friendly than Ubuntu when it comes to compiling packages. In Gentoo you’ve got almost all the major dependencies you need. In Ubuntu, on the other hand, you need to hunt them down. It’s much easier with the main ones, as they are listed. But there are some small ones which are harder to track. I came across the following error while trying to compile gitg, a GUI for Git, today:
./configure: line 14447: syntax error near unexpected token `maximum' ./configure: line 14447: `GNOME_COMPILE_WARNINGS(maximum)'
After not so short investigation I found out I was missing gnome-common
sudo apt-get install gnome-common
Why can’t be one distribution which is user-friendly like Ubuntu and in the same time developer-friendly like Gentoo?
Actually it is quite simple.
There is an option for apt-get: build-dep downloads build dependencies for a package. So if you can just call
sudo apt-get build-dep gitg
Of course it works for “source packages”
Artyom
10 Dec 11 at 20:40
Thanks, it seems great, I only regret I didn’t know it beforehand, so I wouldn’t waste so much time.
Guy
10 Dec 11 at 21:17