There is some suggestion about installing maxent toolkit on AMD64 at http://homepages.inf.ed.ac.uk/s0450736/maxent_toolkit.html. However I took quite long time for modifying Maxent toolkit 20061005 following the suggest. Thus here is the patch:

 

diff -Nuar maxent-20061005.orig/Jamrules.in maxent-20061005.2/Jamrules.in
--- maxent-20061005.orig/Jamrules.in 2006-10-05 18:37:21.000000000 +0700
+++ maxent-20061005.2/Jamrules.in 2007-11-08 16:01:03.000000000 +0700
@@ -1,10 +1,10 @@

CC = @CCDV@ @CC@ ;
-CCFLAGS = @CFLAGS@ -DBOOST_DISABLE_THREADS ; # no need to link pthread lib
+CCFLAGS = @CFLAGS@ -DBOOST_DISABLE_THREADS -fPIC ; # no need to link pthread lib
C++ = @CCDV@ @CXX@ ;
-C++FLAGS = @CXXFLAGS@ -DBOOST_DISABLE_THREADS ;
+C++FLAGS = @CXXFLAGS@ -DBOOST_DISABLE_THREADS -fPIC ;
FORTRAN = @CCDV@ @FC@ ;
-FORTRANFLAGS = @FCFLAGS@ ;
+FORTRANFLAGS = @FCFLAGS@ -fPIC ;
HAVE_FORTRAN = @FC@ ;
HAVE_GETOPT_LONG = @ac_cv_func_getopt_long@ ;
OPTIM = @OPTIM@ ;

edit @ 17 Feb 2008 20:19:05 by veer

WTF !! ??? O_O''!! อะไรหว่า

#1 By Shuu Exteen on 2008-01-11 23:15