[cvsnt] Building on FreeBSD

John David Duncan jdd at greatschools.net
Wed Mar 3 23:57:10 GMT 2004


The "installation on Unix" page for CVSNT states:
   
   Installation on Solaris is currently broken - patches welcome


I haven't tried Solaris, but here are two small changes that are necessary
to build
CVSNT on FreeBSD 4:

1) in cvsdelta/cvsdelta.cpp at line 26, replace #include <netinet/in.h>
with:
  #include <arpa/inet.h>

[ This is the POSIX standard header for htons(), htonl(), etc; it should
work on linux ]

2) in lockservice/LockParse.cpp at line 14,  add the directive:
#include <time.h>

[ required for time() ]


- JD





More information about the cvsnt mailing list