Hi,
depending on the shell you're using you might try the following (assuming bash):
export CFLAGS="-des -Duse64bitall"
export CPPFLAGS=$CFLAGS
export CXXFLAGS=$CPPFLAGS
export LDFLAGS="-mcpu=v9 -m64"
export LDDLFLAGS="-mcpu=v9 -m64 -G"
./configure ....
make
make install
You might need to use e.g.
setenv CFLAGS "-des -Duse64bitall" etc. with other shells.
But be aware that every library used when compiling has to be compiled as 64 Bit library (MySQL, openssl etc.).