Hi, I have been using ports in the past without any issue.. I tried to install gnupg from ports today and got this error: PowerBookG4667:~/Downloads/macports/MacPorts-1.4.0 tcrawley$ sudo port install gnupg Password: Error: Unable to execute port: invalid command name "configure.cppflags" PowerBookG4667:~/Downloads/macports/MacPorts-1.4.0 tcrawley$ I tried to perform the command "port selfupdate" to update my port installation with the latest version. This failed to compile with error sha1cmd.c: In function 'SHA1Cmd': sha1cmd.c:79: error: 'SHA_DIGEST_LENGTH' undeclared (first use in this function) sha1cmd.c:79: error: (Each undeclared identifier is reported only once sha1cmd.c:79: error: for each function it appears in.) sha1cmd.c:100: warning: implicit declaration of function 'SHA1_File' sha1cmd.c:79: warning: unused variable 'buf' make[2]: *** [sha1cmd.o] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 I examined the source of SHA1Cmd.c and it seems that the compile flag HAVE_LIBCRYPTO is not set and so the configure script uses /usr/include/sha.h which does not define SHA_DIGEST_LENGTH rather than /usr/include/openssl/sha.h which does define SHA_DIGEST_LENGTH.... I tried adding SHA_DIGEST_LENGTH to /usr/include/sha.h to get around this problem but port selfupdate dies with rmd160cmd.c:66:20: error: ripemd.h: No such file or directory rmd160cmd.c: In function 'RMD160Cmd': rmd160cmd.c:75: error: 'RIPEMD160_DIGEST_LENGTH' undeclared (first use in this function) rmd160cmd.c:75: error: (Each undeclared identifier is reported only once rmd160cmd.c:75: error: for each function it appears in.) rmd160cmd.c:96: warning: implicit declaration of function 'RIPEMD160_File' rmd160cmd.c:75: warning: unused variable 'buf' make[2]: *** [rmd160cmd.o] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 Please help me to resolve these problems... Thanks Tom