On systems like FreeBSD you can use ports to build FTimes, but on Windows you'll need to build it yourself.
Building FTimes on Windows is quite a complex tasks, and requires building OpenSSL and PCRE first (if you want SSL / PCRE / XMagic support). Make sure you read the INSTALL file in the FTimes distribution. You'll need the following tools:
- Microsoft Visual Studio (or Visual Studio Express)
- ActiveState Perl
- OpenSSL - download the source code and the headers (unzip devel headers to C:\OpenSSL)
- PCRE libraries - unzip to C:\PCRE (you can skip this step and USE_PCRE=N)
- Unzip the source code (to say c:\build\openssl)
- Fire up CMD Shell (SetEnv.cmd from VisualStudio) and change to that dir (cd c:\build\openssl)
- perl Configure VC-WIN32
- MS\do_ms
- Edit ms\nt.mak and change /MD to /MT
- nmake -f ms\nt.mak (to build a static version - creates the *.lib files)
- Copy libeay32.lib and ssleay32.lib to C:\openssl\lib
Step 2: Build FTimes:
- nmake -f Makefile.vs USE_PCRE=N
- nmake -f Makefile.vs test
- nmake -f Makefile.vs install INSTALL_DIR="C:\Program Files\FTimes"
- Use ftimes: C:\Program Files\FTimes\bin\ftimes.exe
C:\Program Files\FTimes\bin>ftimes
Usage: ftimes --cfgtest file mode [-s]
ftimes --compare mask baseline snapshot [-l level]
ftimes --decoder snapshot [-l level]
ftimes --digauto file [-l level] [list]
ftimes --digfull file [-l level] [list]
ftimes --diglean file [-l level] [list]
ftimes --getmode file [-l level]
ftimes --mapauto mask [-l level] [list]
ftimes --mapfull file [-l level] [list]
ftimes --maplean file [-l level] [list]
ftimes --version
C:\Program Files\FTimes\bin>ftimes --version
ftimes 3.8.0 ssl 32-bit
No comments:
Post a Comment