On Tue, Sep 06, 2005 at 12:49:14AM +0100, Owen Synge wrote:
Very odd
i would run autogen.sh (programers pre-distribution script) if thier is one and see if it worked, have you tried
It was some sort of corruption of the configure script, with some extra confusion caused by my CDPATH!
I had the original code for the utility stored in a directory away from $HOME which happened to have the same name as I was using for my modified code in my $HOME. I had my CDPATH set up without '.' at the front so every time I thought I was navigating to the original code my final 'cd' took me back to my modified code!
When I sorted this out and went and built the original code it worked OK so I copied the configure script from there to the directory with my changed code and that built OK as well.
I've just looked at what I *think* are the differences between the good and bad configure scripts and - I'm still totally in the dark, the differences are:-
borg$ diff configure configure.good 69,76d68 < #if [ -f HPUX.Install ] < #then < # # HP-UX overrides < # prefix=/opt/astime; RANLIB="/bin/true" < # with_xpm_includes="/opt/xpm/include" < # with_xpm_library="/opt/xpm/lib/X11" < #fi <
Huh? :-)
I must admit it brings home the difficulties and risks of trying to to program development on two different platforms. I've been doing this on Linux at home and Solaris at work, transferring the changed source back and forth as I went.