survex build probs on MacOSX

Michael Lake mikel@speleonics.com.au
Sun, 07 Sep 2003 14:54:59 +1000


Olly Betts wrote:
 > The problem is that mouse and keyboard input apparently don't work!

Your right :-)

 > I only have remote access to a Mac OS X box, so it's rather hard for
 > me to work out what's wrong.
....
 > So if you have access to a Mac OS X box and some knowledge of
 > programming we should be able to get it working.  Alternatively if
 > you're in the UK somewhere I can easily get to and have a Mac OS X
 > box, that'd help too.

I have just installed wxMac.

./configure detects the wxMac and configures for building aven.
make builds aven fine.

aven runs but as you said above it does not respond properly to the
mouse or keyboard. When the mouse is clicked on aven the OSX menu bar at
the top does not change context to the application. The aven window does
not respond to the mouse click to raise the window. But the close button
works. So it looks like I now have my system in a state similar to yours :-)

Now here is an off-topic bit about wxWindows. I will post this here but
am looking for a solution on google. There are several hits for this 
prob on Linux. had best get
wxMac working faultlessly if I want to be of assistance to you in
getting aven to work under OSX.

--------- wxWindows question --------------------
I am in the demos directory of the wxMac distribution.

[casteret:share/wxMac-2.4.1/demos] admin% ls
Makefile       config.cache   configure      forty          makefile.b32
    poem
Makefile.in    config.log     configure.in   fractal        makefile.g95
bombs          config.status  dbbrowse       life           makefile.vc

The Makefile just changes into each directory make makes each demo.

[casteret:share/wxMac-2.4.1/demos] admin% make
Makefile:22: ../../src/makeprog.env: No such file or directory
make[1]: *** No rule to make target `../../src/makeprog.env'.  Stop.
Makefile:24: ../../src/makeprog.env: No such file or directory
make[1]: *** No rule to make target `../../src/makeprog.env'.  Stop.

So it seems that the Makefile in the bombs dir cant find the file
makeprog.env
cd bombs directory...

[casteret:wxMac-2.4.1/demos/bombs] admin% ls
Makefile     bombs.def    bombs.rc     descrip.mms  makefile.dos
makefile.wat
Makefile.in  bombs.h      bombs.xpm    game.cpp     makefile.g95 readme.txt
bombs.bmp    bombs.ico    bombs1.cpp   game.h       makefile.unx
bombs.cpp    bombs.pro    bombsM5.xml  makefile.b32 makefile.vc
[casteret:wxMac-2.4.1/demos/bombs] admin% ls ../../src/makeprog.env.in

The Makefile has this line:
include ../../src/makeprog.env
That file is not there. What is in the ../../src/ directory is a
makeprog.env.in
file.

I would have thought that the makeprog.env.in was turned into an
appropriate make prog.env file during the ./configure stage
-------------------------------------

Regards
Mike

-- 
Mike Lake
Caver, Linux enthusiast and interested in anything technical.