Building from the Google CodeMy primary build computers are Macintoshes, so the Makefile is somewhat Mac-centric. You will have to figure out how to change the Makefile yourself for Linux builds. Building on OS XYou need the Apple Developer Tools installed. After checking out the code, just create an empty file, "Make.dep" in the top directory and then run 'make.' It should just work. Building on UbuntuYou will need 'g++' and 'tcl-dev' packages installed. $ sudo apt-get install tcl8.5-dev
$ sudo apt-get install g++ Edit the Makefile so that it includes Make.ubuntu file. Create an empty file, Make.dep. If you installed another version of Tcl (say, 8.3) change the line in Make.ubuntu to read: TCL_VERSION=8.3 Building on WindowsYou are on your own here, sorry.
|
i ahve apple tools installed + Deal installed I have created a new file "Make.dep"
Now what how do I run "make" ? Many thanks for your help
Paul
Building on Windows under cygwin
I'm trying to install Deal 317 on my iBookG4 (PPC) running OSX 10.5.7.
I first tried the .dmg file, but running Deal from that gives me the following error:
Downloaded the source and tried to build it per your instructions. Created empty Makefile.dep, then ran make. Got the following error:
I have current tools, so I took a look at the Makefile. Found the following lines:
Uncommented include for mac-osx and commented out the include for ubuntu. Did 'make clean', then ran make again. This time with the following results:
g++ -fast -ansi -Wall -I/usr/local/include random.o additive.o hand.o deal.o formats.o tcl_deal.o maindeal.o stat.o counttable.o vector.o dist.o stringbox.o dealtypes.o keywords.o holdings.o tcl_dds.o dds.o ddsLookup.o -o deal -L/usr/lib -ltcl -lm Undefined symbols: "_counttable", referenced from: _counttable$non_lazy_ptr in hand.o _counttable$non_lazy_ptr in deal.o _counttable$non_lazy_ptr in dist.o _counttable$non_lazy_ptr in dealtypes.o _counttable$non_lazy_ptr in holdings.o _counttable$non_lazy_ptr in tcl_dds.o _counttable$non_lazy_ptr in dds.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [deal] Error 1I'm now at a loss as to what to do next. Any help would be appreciated.
Jerry