From: Guy K. K. <g....@ma...> - 2010-05-25 05:30:20
|
On Tue, 25 May 2010 16:44:34 Bruce Sherwood wrote: > I did a clean install of Ubuntu 10.04 on a Windows machine and tried to > compile Visual. I'm stuck in the configure phase and wonder whether > someone can help me get unstuck. What is a "clean install on a Windows machine"? In my books, when installing Linux on a box, it's not a Windows box anymore ... > gtkglextmm depends on gtkmm-2.4, which the configure machinery finds > okay (/usr/lib/libgtkmm-2.4) despite there being nothing in > /usr/lib/pkgconfig about gtkmm-2.4. > > gtkglextmm also depends on gdkglextmm, which in turn depends on > gdkmm-2.4, which the configure machinery claims doesn't exist despite > the existence of /usr/lib/libgdkmm-2.4 (as with gtkmm, there's nothing > about gdkmm in /usr/lib/pkgconfig). > > So my question is, how does the configure machinery find > /usr/lib/libgtkmm-2.4 but not /usr/lib/libgdkmm-2.4? And what should I > do to compile the latest source? Usually the headers are in specific "-dev" packages on Debian/Ubuntu systems, as they're not strictly needed for execution, but only for building (development). If I search on my system for a libgdkmm header, this is what I get: $ dpkg -S /usr/lib/gdkmm-2.4/include/gdkmmconfig.h libgtkmm-2.4-dev: /usr/lib/gdkmm-2.4/include/gdkmmconfig.h Same with this one: $ dpkg -S /usr/include/gdkmm-2.4/gdkmm.h libgtkmm-2.4-dev: /usr/include/gdkmm-2.4/gdkmm.h So, try installing the package "libgtkmm-2.4-dev". One thing I often found useful in getting the right packages in was to do an "apt-get build-dep <package name>". So in this case "apt-get build-dep python- visual". This resolved the build dependencies of the python-visual packages as it is in the repositories, but as changes were often incremental, most of the -dev packages were pulled in this way already, and I've had a whole lot less to worry about. HTH, Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9266 fax: +64 9 441-8181 G....@ma... http://www.massey.ac.nz/~gkloss |