After following the instructions on the Wiki I get errors when compiling. Here is a copy from my Terminal
mycaves:therion daveclucas$ sudo mkdir /usr/X11/include Password: mkdir: /usr/X11/include: File exists mycaves:therion daveclucas$ sudo ln -s /System/Library/Frameworks/OpenGL.framework/Headers /usr/X11/include/GL mycaves:therion daveclucas$ cd ~/Downloads/therion mycaves:therion daveclucas$ make config-macosx perl makeconfig.pl PLATFORM MACOSX make -C ./loch config-macosx perl makeconfig.pl PLATFORM MACOSX mycaves:therion daveclucas$ make clean make -C ./xtherion clean perl ../makefile.pl rm -q *~ perl ../makefile.pl rm -q ../../bin/xtherion perl ../makefile.pl rm -q lang/*~ perl ../makefile.pl rm -q svxedit perl ../makefile.pl rm -q xtherion.tar.gz perl ../makefile.pl rm -q svxedit.tar.gz make -C ./loch clean perl makefile.pl rm -q *~ perl makefile.pl rm -q help/*/*~ perl makefile.pl rm -q loch.exe perl makefile.pl rm -q loch perl makefile.pl rm -q loch.app/Contents/MacOS/loch perl makefile.pl rm -q *.o perl makefile.pl rm -q *.log perl makefile.pl rm -q core perl makefile.pl rmdir -q .xvpics perl makefile.pl rm -q *.bmp perl makefile.pl rm -q *.ppm perl makefile.pl rm -q *.zip perl makefile.pl rm -q *.pdf perl makefile.pl rm -q *.png make -C ./samples clean tclsh samples.tcl clean Scanning directory: areas/thTMPDIR Scanning directory: areas types.th2 thconfig Scanning directory: basics rabbit.th rabbit.th2 thconfig Scanning directory: cave-list thconfig Scanning directory: langs Scanning directory: map-offset cave.th cave.th2 thconfig.1 thconfig.2 thconfig.3 thconfig.4 thconfig.layout Scanning directory: morphing/sample1 cave1.th cave1.th2 cave2.th2 thconfig.1 thconfig.2 Scanning directory: morphing/sample2 cave.th cave1.th2 cave2.th2 cave3.th2 thconfig.1 thconfig.2 thconfig.3 Scanning directory: morphing thconfig.layout Scanning directory: pocket-topo demo.th demo.th2 thconfig Scanning directory: q-marks centerline.th map.th2 thconfig.1 thconfig.1.layout thconfig.2 Scanning directory: survex/create create.th create.th2 thconfig Scanning directory: survex/ignore ignore.th ignore.th2 thconfig Scanning directory: survex/use use.th use-in.th2 use-out.th2 thconfig Scanning directory: survex cave1.th cave2.th thconfig.1 thconfig.2 thconfig.layout Scanning directory: sym-colors thconfig Scanning directory: u-symbols map.th2 thconfig.1 thconfig.2 Scanning directory: xelevation cave1.th cave2.th cave3.th cave1.th2 cave3.th2 thconfig.1 thconfig.2 thconfig.3 thconfig.4 thconfig.5 thconfig.6 thconfig.7 thconfig.layout Scanning directory: Deleting files: samples.log [OK] areas/types.pdf [OK] basics/rabbit.lox [OK] basics/rabbit-plan.pdf [OK] basics/rabbit-xelev.pdf [OK] cave-list/caves.html [OK] map-offset/map1.pdf [OK] map-offset/map2.pdf [OK] map-offset/map3.pdf [OK] map-offset/map4.pdf [OK] morphing/sample1/cave1.pdf [OK] morphing/sample1/cave2.pdf [OK] morphing/sample2/cave1.pdf [OK] morphing/sample2/cave2.pdf [OK] morphing/sample2/cave3.pdf [OK] pocket-topo/cave.3d [OK] pocket-topo/cave.plt [OK] pocket-topo/cave.lox [OK] pocket-topo/cave.xvi [OK] q-marks/map1.pdf [OK] q-marks/map2.pdf [OK] q-marks/map3.pdf [OK] q-marks/map4.pdf [OK] q-marks/questions.html [OK] survex/use/use.err [OK] survex/use/use.pdf [OK] survex/create/create.err [OK] survex/create/create.pdf [OK] survex/ignore/ignore.err [OK] survex/ignore/ignore.pdf [OK] survex/cave1.pdf [OK] survex/cave.err [OK] survex/cave2.pdf [OK] sym-colors/cave.pdf [OK] u-symbols/map1.pdf [OK] u-symbols/map2.pdf [OK] xelevation/map1p.pdf [OK] xelevation/map1x.pdf [OK] xelevation/map2.pdf [OK] xelevation/map3.pdf [OK] xelevation/map6.pdf [OK] xelevation/map7.pdf [OK] xelevation/map4.pdf [OK] xelevation/map5.pdf [OK] make -C ./extern/proj4 clean perl ../../makefile.pl rm *.o perl ../../makefile.pl rm *~ perl ../../makefile.pl rm *.a perl makefile.pl rm -q therion ./xtherion/xtherion ./xtherion/xtherion.tcl therion.exe *~ *.log *.o thchencdata/*~ .xtherion.dat perl makefile.pl rm -q xtherion/*~ .xth_thconfig_xth xtherion/screendump thlang/*~ perl makefile.pl rm -q extern/*.o extern/*~ extern/poly2tri/common/*.o extern/poly2tri/sweep/*.o samples/*~ samples/*.log perl makefile.pl rm -q symbols.html therion.res perl makefile.pl rm -q tri/*.o tri/*~ perl makefile.pl rm -q tex/*~ perl makefile.pl rm -q mpost/*~ examples/*~ examples/therion.log perl makefile.pl rm -q core symbols.xhtml cave.kml perl makefile.pl rm -q data.3d data.svx data.pos data.pts data.err data.plt perl makefile.pl rm -q cave.3d cave.lox cave.thm cave.pdf cave.sql cave.xhtml therion.tcl cave_a.pdf cave_m.pdf cave.vrml cave.wrl cave.3dmf cave.svg cave.tlx perl makefile.pl rm -q ./thbook/*~ ./thbook/thbook.log ./thbook/thbook.pdf ./lib/*~ ./mpost/*~ ./tex/*~ perl makefile.pl rmdir -q doc thTMPDIR samples.doc symbols cave.shp tests/.doc mycaves:therion daveclucas$ cd loch mycaves:loch daveclucas$ make clean perl makefile.pl rm -q *~ perl makefile.pl rm -q help/*/*~ perl makefile.pl rm -q loch.exe perl makefile.pl rm -q loch perl makefile.pl rm -q loch.app/Contents/MacOS/loch perl makefile.pl rm -q *.o perl makefile.pl rm -q *.log perl makefile.pl rm -q core perl makefile.pl rmdir -q .xvpics perl makefile.pl rm -q *.bmp perl makefile.pl rm -q *.ppm perl makefile.pl rm -q *.zip perl makefile.pl rm -q *.pdf perl makefile.pl rm -q *.png mycaves:loch daveclucas$ cd .. mycaves:therion daveclucas$ sudo make install Password: cc -c -DIMG_API_VERSION=1 -Wall -DTHMACOSX -O2 -o extern/getopt.o extern/getopt.c cc -c -DIMG_API_VERSION=1 -Wall -DTHMACOSX -O2 -o extern/getopt1.o extern/getopt1.c c++ -c -Wall -DTHMACOSX -O2 -o thdate.o thdate.cxx cc -c -DIMG_API_VERSION=1 -Wall -DTHMACOSX -O2 -o extern/shpopen.o extern/shpopen.c cc -c -DIMG_API_VERSION=1 -Wall -DTHMACOSX -O2 -o extern/dbfopen.o extern/dbfopen.c c++ -c -Wall -DTHMACOSX -O2 -o thexception.o thexception.cxx c++ -c -Wall -DTHMACOSX -O2 -o thbuffer.o thbuffer.cxx c++ -c -Wall -DTHMACOSX -O2 -o thmbuffer.o thmbuffer.cxx c++ -c -Wall -DTHMACOSX -O2 -o thlogfile.o thlogfile.cxx c++ -c -Wall -DTHMACOSX -O2 -o thtmpdir.o thtmpdir.cxx c++ -c -Wall -DTHMACOSX -O2 -o thlocale.o thlocale.cxx c++ -c -Wall -DTHMACOSX -O2 -o thparse.o thparse.cxx c++ -c -Wall -DTHMACOSX -O2 -o thcmdline.o thcmdline.cxx c++ -c -Wall -DTHMACOSX -O2 -o thconfig.o thconfig.cxx c++ -c -Wall -DTHMACOSX -O2 -o thinput.o thinput.cxx c++ -c -Wall -DTHMACOSX -O2 -o thchenc.o thchenc.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdatabase.o thdatabase.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdataobject.o thdataobject.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdatareader.o thdatareader.cxx c++ -c -Wall -DTHMACOSX -O2 -o thsurvey.o thsurvey.cxx c++ -c -Wall -DTHMACOSX -O2 -o thendsurvey.o thendsurvey.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdata.o thdata.cxx c++ -c -Wall -DTHMACOSX -O2 -o thperson.o thperson.cxx c++ -c -Wall -DTHMACOSX -O2 -o thtf.o thtf.cxx c++ -c -Wall -DTHMACOSX -O2 -o thtfangle.o thtfangle.cxx c++ -c -Wall -DTHMACOSX -O2 -o thtflength.o thtflength.cxx c++ -c -Wall -DTHMACOSX -O2 -o thtfpwf.o thtfpwf.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdataleg.o thdataleg.cxx c++ -c -Wall -DTHMACOSX -O2 -o thobjectname.o thobjectname.cxx c++ -c -Wall -DTHMACOSX -O2 -o thinfnan.o thinfnan.cxx c++ -c -Wall -DTHMACOSX -O2 -o thlayout.o thlayout.cxx c++ -c -Wall -DTHMACOSX -O2 -o thinit.o thinit.cxx thinit.cxx:276:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (buff[0] == '/')) { ~~~~~~~~^~~~~~ thinit.cxx:276:16: note: remove extraneous parentheses around the comparison to silence this warning (buff[0] == '/')) { ~ ^ ~ thinit.cxx:276:16: note: use '=' to turn this equality comparison into an assignment (buff[0] == '/')) { ^~ = 1 warning generated. c++ -c -Wall -DTHMACOSX -O2 -o thdb1d.o thdb1d.cxx thdb1d.cxx:758:16: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if ((tn_legs < 0) || (tn_stations < 0)) ~~~~~~~ ^ ~ thdb1d.cxx:758:37: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if ((tn_legs < 0) || (tn_stations < 0)) ~~~~~~~~~~~ ^ ~ thdb1d.cxx:2883:16: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if ((tn_legs < 0) || (tn_stations < 0)) ~~~~~~~ ^ ~ thdb1d.cxx:2883:37: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if ((tn_legs < 0) || (tn_stations < 0)) ~~~~~~~~~~~ ^ ~ 4 warnings generated. c++ -c -Wall -DTHMACOSX -O2 -o thsvxctrl.o thsvxctrl.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdatastation.o thdatastation.cxx c++ -c -Wall -DTHMACOSX -O2 -o thobjectid.o thobjectid.cxx c++ -c -Wall -DTHMACOSX -O2 -o thobjectsrc.o thobjectsrc.cxx c++ -c -Wall -DTHMACOSX -O2 -o thgrade.o thgrade.cxx c++ -c -Wall -DTHMACOSX -O2 -o thlibrary.o thlibrary.cxx c++ -c -Wall -DTHMACOSX -O2 -o thgeomag.o thgeomag.cxx c++ -c -Wall -DTHMACOSX -O2 -o thbezier.o thbezier.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexport.o thexport.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexporter.o thexporter.cxx c++ -c -Wall -DTHMACOSX -O2 -o thselector.o thselector.cxx cc -c -DIMG_API_VERSION=1 -Wall -DTHMACOSX -O2 -o extern/img.o extern/img.c extern/img.c:664:12: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] fBinary = fBinary; ~~~~~~~ ^ ~~~~~~~ 1 warning generated. c++ -c -Wall -DTHMACOSX -O2 -o thexpmodel.o thexpmodel.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2d00.o thdb2d00.cxx c++ -c -Wall -DTHMACOSX -O2 -o thscrapis.o thscrapis.cxx In file included from thscrapis.cxx:39: In file included from ./extern/poly2tri/poly2tri.h:36: In file included from ./extern/poly2tri/sweep/cdt.h:35: ./extern/poly2tri/sweep/advancing_front.h:51:47: warning: field 'value' will be initialized after field 'next' [-Wreorder] Node(Point& p) : point(&p), triangle(NULL), value(p.x), next(NULL), prev(NULL) ^ ./extern/poly2tri/sweep/advancing_front.h:55:58: warning: field 'value' will be initialized after field 'next' [-Wreorder] Node(Point& p, Triangle& t) : point(&p), triangle(&t), value(p.x), ^ 2 warnings generated. c++ -c -Wall -DTHMACOSX -O2 -o thcs.o thcs.cxx c++ -c -Wall -DTHMACOSX -O2 -o thcsdata.o thcsdata.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexptable.o thexptable.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2d.o thdb2d.cxx c++ -c -Wall -DTHMACOSX -O2 -o thscrap.o thscrap.cxx c++ -c -Wall -DTHMACOSX -O2 -o thendscrap.o thendscrap.cxx c++ -c -Wall -DTHMACOSX -O2 -o th2ddataobject.o th2ddataobject.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dprj.o thdb2dprj.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dpt.o thdb2dpt.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dlp.o thdb2dlp.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dab.o thdb2dab.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dji.o thdb2dji.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dmi.o thdb2dmi.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dcp.o thdb2dcp.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dxm.o thdb2dxm.cxx c++ -c -Wall -DTHMACOSX -O2 -o thdb2dxs.o thdb2dxs.cxx c++ -c -Wall -DTHMACOSX -O2 -o thscraplo.o thscraplo.cxx c++ -c -Wall -DTHMACOSX -O2 -o thscraplp.o thscraplp.cxx c++ -c -Wall -DTHMACOSX -O2 -o thscrapen.o thscrapen.cxx c++ -c -Wall -DTHMACOSX -O2 -o thpoint.o thpoint.cxx thpoint.cxx:654:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ...utf2tex(out->layout->units.format_human_length(this->xsize))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. c++ -c -Wall -DTHMACOSX -O2 -o thline.o thline.cxx c++ -c -Wall -DTHMACOSX -O2 -o tharea.o tharea.cxx c++ -c -Wall -DTHMACOSX -O2 -o thlegenddata.o thlegenddata.cxx c++ -c -Wall -DTHMACOSX -O2 -o thmpost.o thmpost.cxx c++ -c -Wall -DTHMACOSX -O2 -o thsymbolsets.o thsymbolsets.cxx c++ -c -Wall -DTHMACOSX -O2 -o thjoin.o thjoin.cxx c++ -c -Wall -DTHMACOSX -O2 -o thmap.o thmap.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexpmap.o thexpmap.cxx thexpmap.cxx:2372:40: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((((thline*)obj)->outline == TT_LINE_OUTLINE_NONE)) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ thexpmap.cxx:2372:40: note: remove extraneous parentheses around the comparison to silence this warning if ((((thline*)obj)->outline == TT_LINE_OUTLINE_NONE)) { ~ ^ ~ thexpmap.cxx:2372:40: note: use '=' to turn this equality comparison into an assignment if ((((thline*)obj)->outline == TT_LINE_OUTLINE_NONE)) { ^~ = 1 warning generated. c++ -c -Wall -DTHMACOSX -O2 -o thlayoutln.o thlayoutln.cxx c++ -c -Wall -DTHMACOSX -O2 -o thlayoutclr.o thlayoutclr.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexpsys.o thexpsys.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexpuni.o thexpuni.cxx c++ -c -Wall -DTHMACOSX -O2 -o thconvert.o thconvert.cxx c++ -c -Wall -DTHMACOSX -O2 -o thpdf.o thpdf.cxx c++ -c -Wall -DTHMACOSX -O2 -o thpdfdbg.o thpdfdbg.cxx c++ -c -Wall -DTHMACOSX -O2 -o thpdfdata.o thpdfdata.cxx c++ -c -Wall -DTHMACOSX -O2 -o thtexfonts.o thtexfonts.cxx c++ -c -Wall -DTHMACOSX -O2 -o thsymbolset.o thsymbolset.cxx c++ -c -Wall -DTHMACOSX -O2 -o thlang.o thlang.cxx c++ -c -Wall -DTHMACOSX -O2 -o thmapstat.o thmapstat.cxx c++ -c -Wall -DTHMACOSX -O2 -o thexpdb.o thexpdb.cxx c++ -c -Wall -DTHMACOSX -O2 -o thpic.o thpic.cxx c++ -c -Wall -DTHMACOSX -O2 -o thsketch.o thsketch.cxx c++ -c -Wall -DTHMACOSX -O2 -o thproj.o thproj.cxx c++ -c -Wall -DTHMACOSX -O2 -o extern/lxMath.o loch/lxMath.cxx c++ -c -Wall -DTHMACOSX -O2 -o extern/lxFile.o loch/lxFile.cxx In file included from loch/lxFile.cxx:13: loch/getline.h:27:1: error: functions that differ only in their return type cannot be overloaded getline (char **_lineptr, size_t *_n, FILE *_stream); ^ /usr/include/stdio.h:449:9: note: previous declaration is here ssize_t getline(char ** __restrict, size_t * __restrict, FILE * ... ^ In file included from loch/lxFile.cxx:13: loch/getline.h:30:1: error: functions that differ only in their return type cannot be overloaded getdelim (char **_lineptr, size_t *_n, int _delimiter, FILE *_stream); ^ /usr/include/stdio.h:448:9: note: previous declaration is here ssize_t getdelim(char ** __restrict, size_t * __restrict, int, FILE * ... ^ 2 errors generated. make: *** [extern/lxFile.o] Error 1 I've tried it twice and can't see any mistakes that I've made. Dave Clucas email: dave at daveclucas.com http://daveclucas.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20121103/5979cad1/attachment.html>