survex build probs on MacOSX

Michael Lake mikel@speleonics.com.au
Mon, 01 Sep 2003 11:22:14 +1000


This is a multi-part message in MIME format.

--Boundary_(ID_Vqogic6CJX5OnTwcqNIpWg)
Content-type: text/plain
Content-transfer-encoding: 7BIT
X-NAIMIME-Disclaimer: 1
X-NAIMIME-Modified: 1

Hi all,

I am trying to get therion working on PPC (MacOSX and Linux) and of 
course that needs survex working. survex is no prob on Linux but I have 
just tried to compile it this morning on Mac OSX and it barfs. I have 
attached the ./configure and make output.

Machine: Ti PowerBook G4
OS: Mac OSX 10.2.6

I dont have wxWindows installed and configure picks that up and sets it 
to not compile Aven but you will be able to see that the make then goes 
and tries to build aven stuff. I have run make clean and tried a few times.

Whats the status at present on getting survex built on MacOSX? I just 
need cavern for therion but another caver (Phil Maynard) is interested 
in status of Aven too.

Mike
-- 

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.
========================================================================

--Boundary_(ID_Vqogic6CJX5OnTwcqNIpWg)
Content-type: text/plain; name=make_errors
Content-transfer-encoding: 7BIT
Content-disposition: inline; filename=make_errors

Compiling Survex 1.0.25

Machine: Ti PowerBook G4
Running Mac OSX 10.2.6

$ ./configure

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking build system type... powerpc-apple-darwin6.6
checking host system type... powerpc-apple-darwin6.6
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking whether make sets ${MAKE}... (cached) yes
checking whether byte ordering is bigendian... yes
checking for strip... /usr/bin/strip
checking for sqrt in -lm... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for regcomp... found
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XdbeQueryExtension in -lXext... yes
building xcaverot
checking for wxmac-2.4-config... no
checking for wxmac-config... no
checking for wxmac-2.2-config... no
checking for wx-config... no
not building aven (wxWindows not found)
checking for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for string.h... (cached) yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for 32 bit integer type... int
checking for 16 bit integer type... short
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for popen... yes
checking for signal... yes
checking for getpwuid... yes
checking for round... yes
checking for strcasecmp... yes
checking for hypot... yes
checking for difftime... yes
checking how to compare strings ignoring case... 
checking for strcasecmp... (cached) yes
checking for sgmltools v2 or v3... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating lib/icons/Makefile
config.status: creating tests/Makefile
config.status: creating debian/Makefile
config.status: creating survex.iss
config.status: creating doc/index.htm
config.status: creating doc/survex.1
config.status: creating doc/version.ent
config.status: creating debian/copyright
config.status: creating src/borlandc/config.h
config.status: creating src/riscos/config.h
config.status: creating survex.spec
config.status: creating src/svxedit
config.status: creating lib/survex.keys
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands


$ make

make  all-recursive
Making all in .
Making all in lib
make  all-recursive
Making all in icons
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in src
make  all-am
source='aven.cc' object='aven-aven.o' libtool=no \
depfile='.deps/aven-aven.Po' tmpdepfile='.deps/aven-aven.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -DIMG_HOSTED   -DAVEN -g -O2 -c -o aven-aven.o `test -f aven.cc || echo './'`aven.cc
In file included from aven.h:38,
                 from aven.cc:28:
wx.h:1:23: wx/wxprec.h: No such file or directory
wx.h:8:20: wx/wx.h: No such file or directory
wx.h:11:25: wx/splitter.h: No such file or directory
wx.h:12:25: wx/treectrl.h: No such file or directory
wx.h:13:20: wx/dnd.h: No such file or directory
In file included from aven.cc:28:
aven.h:42: parse error before `{' token
aven.h:44: 'wxBitmap' is used as a type, but is not defined as a type.
aven.h:46: parse error before `public'
aven.h:49: virtual outside class declaration
aven.h:51: parse error before `&' token
aven.h:52: syntax error before `&' token
In file included from mainfrm.h:27,
                 from aven.cc:29:
wx.h:1:23: wx/wxprec.h: No such file or directory
wx.h:8:20: wx/wx.h: No such file or directory
wx.h:11:25: wx/splitter.h: No such file or directory
wx.h:12:25: wx/treectrl.h: No such file or directory
wx.h:13:20: wx/dnd.h: No such file or directory
In file included from aven.cc:29:
mainfrm.h:28:24: wx/docview.h: No such file or directory
In file included from gfxcore.h:27,
                 from mainfrm.h:29,
                 from aven.cc:29:
/usr/include/gcc/darwin/3.1/float.h: In function `int DECLARE_APP(Aven)':
/usr/include/gcc/darwin/3.1/float.h:256: `<anonymous>' has incomplete type
aven.h:42: forward declaration of `class Aven'
/usr/include/gcc/darwin/3.1/float.h:256: parse error before string constant
In file included from vector3.h:27,
                 from quaternion.h:25,
                 from gfxcore.h:29,
                 from mainfrm.h:29,
                 from aven.cc:29:
/usr/include/stdio.h:364: cannot declare static function inside another 
   function
In file included from quaternion.h:25,
                 from gfxcore.h:29,
                 from mainfrm.h:29,
                 from aven.cc:29:
vector3.h: In function `long int __signbitl(long double)':
vector3.h:66: can't define friend function `operator-' in a local class 
   definition
vector3.h:66: warning: non-local function `__signbitl(long double)::Vector3 
   operator-(const __signbitl(long double)::Vector3&)' uses local type `
   __signbitl(long double)::Vector3'
vector3.h:77: warning: non-local function `__signbitl(long double)::Vector3 
   operator*(double, const __signbitl(long double)::Vector3&)' uses local type 
   `__signbitl(long double)::Vector3'
vector3.h:78: can't define friend function `operator*' in a local class 
   definition
vector3.h:78: warning: non-local function `__signbitl(long double)::Vector3 
   operator*(const __signbitl(long double)::Vector3&, double)' uses local type 
   `__signbitl(long double)::Vector3'
vector3.h:81: warning: non-local function `__signbitl(long double)::Vector3 
   operator*(const __signbitl(long double)::Vector3&, const __signbitl(long 
   double)::Vector3&)' uses local type `__signbitl(long double)::Vector3'
vector3.h:82: warning: non-local function `__signbitl(long double)::Vector3 
   operator+(const __signbitl(long double)::Vector3&, const __signbitl(long 
   double)::Vector3&)' uses local type `__signbitl(long double)::Vector3'
vector3.h:83: warning: non-local function `__signbitl(long double)::Vector3 
   operator-(const __signbitl(long double)::Vector3&, const __signbitl(long 
   double)::Vector3&)' uses local type `__signbitl(long double)::Vector3'
vector3.h:84: warning: non-local function `double dot(const __signbitl(long 
   double)::Vector3&, const __signbitl(long double)::Vector3&)' uses local type 
   `const __signbitl(long double)::Vector3'
vector3.h:85: confused by earlier errors, bailing out
make[3]: *** [aven-aven.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




--Boundary_(ID_Vqogic6CJX5OnTwcqNIpWg)--