Survex 1.1.6 development snapshot uploaded
Andy Waddington
andrew at pennine.demon.co.uk
Tue Oct 11 09:25:29 BST 2005
On Tuesday 2005-10-11 00:51, Wookey wrote:
> You can download pre-built binaries for the dev version from here:
> http://survex.com/download.html?platform=debian
Only for i86. I'm trying to build for Sparc :-) (Later, I'll be trying to
build for Solaris 10, but we'll cross that bridge when we come to it...)
Sorry, forgot to mention a change of architecture ... it would just
have been too easy to download a prebuilt for one of my i86 machines -
I'm replacing all those with shiny 64-bit boxes - an x86_64 PC and an
Ultra 10 (which is actually my new firewall, but if the Ultra seems
amenable, there's some very cheap Sun Blade 2000 workstations
on ebay at the moment ;-)
> You are on a Debian machine: whilst building with plain configure etc can no
> doubt be made to work it's not the 'debian way'.
There's nothing in the INSTALL file that suggests that - as I suggest, this
seems to be a documentation thing ... other software that I have built
from source seems to work the way I'm used to. Every user must be
new to Debian sometime, so if there's a "Debian way" of building things,
a pointer to a manual that outlines the "Debian Way" would be useful,
or at least a mention that perhaps ./configure;make;make install might
not be the best way to go on a Debian system ? Obviously you can't
document the build process variations for every platform out there,
but pointers to documents that I should have read as a prerequisite
to trying this would make the process much more approachable. Since
I downloaded my Debian CD's, I didn't get any paper documentation,
and that's going to be an increasingly common way for people to
try new distros - especially when the "trade press" has been raving
about how much easier Debian is to install nowadays (which it
certainly was, I'll admit).
> Try changing to the dir containing survex 1.1.6 and do debuild
> (possibly installing debuild first).
"which debuild" says I don't have it. apt-get install debuild says it
couldn't find it. Ah, it's called "debian-builder" -
> That will download needed dependencies for you and do the right building
> runes.
Ah, it says "unmet dependencies debhelper, xlibs-dev, libwxgtk2.4-dev",
which is useful information. Then it says ""Build dependencies/conflicts
unsatisfied; aborting".
Installing those manually (along with the thirty odd packages they add
and another dozen or so they upgrade) ...
Very early, I get
make[1]: Entering directory '/usr/local/src/survex-1.1.6'
make[1]: *** No rule to make target 'distclean'. Stop.
Then seems to run through OK for a long while, until in survex-1.1.6/src,
in remove_subnets.c I start getting a string of warnings "cast increases
required alignment of target type", which doesn't seem to stop anything.
There are quite a few similar warnings in later files.
Later still, "In file included from /usr/include/wx/glcanvas.h:26,
from wx.h:18,
from aven.h:42,
from aven.cc:28:
/usr/include/wx/gtk/glcanvas.h:23:19: GL/gl.h: No such file or directory
and similarly for GL/glx.h and GL/glu.h
After this, compilation descends into the expected torrent of errors
in the gtk/glcanvas code so I'm not really expecting a successful
outcome here. But clearly a needed dependency has been omitted
somewhere, possibly nothing to do with the survex package - maybe
this is a wxWin problem ?
Later again:
quaternion.h:32: error: 'Double' is used as a type, but is not defined as
a type.
followed by two screens full of errors in this one file - I'll capture this
lot and email it off-list.
There are several more screensful of errors, but they look to be related
to the missing openGL stuff from above. All in all, looks a long way off
building on this platform...
> > 1) checking for X ... no
> >
> > despite the fact that I am running the script in a Konsole window
> > on a KDE desktop - looks to me that I have X ! xcaverot and aven from
> > 1.0.34 also seem to believe I have X :) XFRee86 -version says I have
> > XFree86 v 4.3.0.1
>
> hmm odd. No reasons to think that building in the proper debian way will
> help much here, but give it a go.
Ah, Olly suggests that it is looking for what I would have though of as
XFree86-devel - ie. the header files to build against the libraries. Quite
logical really, but not immediately obvious from the error message.
And, of course, doing it the "Debian Way" did indeed fix this.
Andy
More information about the Survex
mailing list