I use MacPorts, not fink, so I had to change Makefile.incl directly.
In addition, you need to change the BOOST_BJAM_EXEC location to work
on snow leopard. One final note is that the CGI/Makefile has an
unsupported flag in one of the copy operations.

Here is how to compile from source in OS X 10.6:

$ unzip TPP_4-3-1-src.zip
$ cd trans_proteomic_pipeline
$ patch -p0 -i /path/to/attached/patch/file/copied/below

Then make and make install as usual to make and install.

Patch file below.

-angel

Index: src/Makefile.incl
===================================================================
--- src/Makefile.incl   (revision 4730)
+++ src/Makefile.incl   (working copy)
@@ -132,10 +132,10 @@
 #
 ARCH= darwin
 OSFLAGS= -D__LINUX__ -DDEFAULT_TPP_INSTALL_ROOT=\"$(TPP_ROOT)\"
-GD_LIB= /sw/lib/libgd.a /sw/lib/libpng.a
-GD_INCL= -I /sw/include/
+GD_LIB= /opt/local/lib/libgd.a /opt/local/lib/libpng.a
+GD_INCL= -I /opt/local/include/
 PTHREAD_LIB= -lpthread
-PERL_LIB_CORE=/sw/lib/perl5-core/5.8.6/darwin-thread-multi-2level/
CORE/
+PERL_LIB_CORE=/opt/local/lib/perl5-core/5.8.6/darwin-thread-
multi-2level/CORE/
 ifeq ($(wildcard $(PERL_LIB_CORE)/*), )
 #probably 5.8.8 on this system
 PERL_LIB_CORE=/System/Library/Perl/5.8.8/darwin-thread-multi-2level/
CORE/
@@ -351,7 +351,7 @@
 endif
 endif
 ifeq ($(ARCH),darwin)
-BOOST_BJAM_EXEC = $(BOOST_BJAM_DIR)bin.macosxx86/bjam
+BOOST_BJAM_EXEC = $(BOOST_BJAM_DIR)bin.macosxx86_64/bjam
 endif
 ifeq ($(ARCH),mingw)
 BOOST_BJAM_EXEC = $(BOOST_BJAM_DIR)bin.ntx86/bjam
Index: CGI/Makefile
===================================================================
--- CGI/Makefile        (revision 4730)
+++ CGI/Makefile        (working copy)
@@ -44,4 +44,4 @@
        cp -f tpp_gui/*.gif ${CGI_DIR}/images
        cp -f ../installer_win32/*.ico ${CGI_DIR}/images
        mkdir -p ${CGI_USERS_DIR}
-       cp -rfu tpp_gui/users/* ${CGI_USERS_DIR}
\ No newline at end of file
+       cp -rf tpp_gui/users/* ${CGI_USERS_DIR}
\ No newline at end of file

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"spctools-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/spctools-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to