survex build probs on MacOSX

Michael Lake mikel@speleonics.com.au
Mon, 08 Sep 2003 10:18:06 +1000


Olly Betts wrote:
> On Sun, Sep 07, 2003 at 02:54:59PM +1000, Michael Lake wrote: 
>>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.

>>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 don't have wxWindows 2.4.1 source to hand, but did you run ./configure
> in share/wxMac-2.4.1 first?  I think that would generate src/makeprog.env
> (*not* configure in the demos).

These are my notes written at the time. Yep did a ./configure.
I found makeprog.env, its in another directory, build/src/ instead, so 
wxMax is not correctly setup. The Makefiles point to the wrong location. 
Its something to do with making this build directory and making it all 
in there. How did you install your wxMac ????

Notes ----------
As in all Unix projects, you need to do something like this under MacOS 10.1
with the Apple Developers Tools installed:

1) cd into the base dir
2) mkdir build
3) cd build
4) ../configure

MRL: went OK

creating utils/wxrc/Makefile
creating utils/wxrcedit/Makefile
creating utils/convertrc/Makefile

Configured wxWindows 2.4.1 for `powerpc-apple-darwin6.6'

   Which GUI toolkit should wxWindows use?                 MAC
   Should wxWindows be compiled in debug mode?             no
   Should wxWindows be linked as a shared library?         yes
   Should wxWindows be compiled in Unicode mode?           no
   What level of wxWindows compatibility should be enabled?
                                        wxWindows 2.0      no
                                        wxWindows 2.2      yes
   Which libraries should wxWindows use?
                                        jpeg               builtin
                                        png                builtin
                                        regex              sys
                                        tiff               builtin
                                        zlib               sys


5) make

MRL went OK

---- end Notes -----

-- 

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



UTS CRICOS Provider Code:  00099F

DISCLAIMER
========================================================================
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
========================================================================