Building, with depedencies in non-standard locations [Solved]
I'm trying to compile steghide-0.5.1 from source, which requires mhash and libcrypt. I extracted all three to sibling directories, then ran ./configure (with a --prefix path deeper in the same directory tree), make, and make install on the two dependencies. This produced the proper library files and put a header in a convenient spot, but I'm not sure how to tell steghide's configure script where to look for them.
I saw no option to pass a path directly, although at the end of the help output it lists some influential environmental variables, including CPPFLAGS and LDFLAGS for specifying -I and -L. These have not worked. In fact, I created a dummy source file with #include <mhash.h>, and cannot compile it with gcc test.cpp unless I explicitly specify -I and -L on the command line. The variables listed in the man page for gcc (COMPILER_PATH, LIBRARY_PATH, CPATH, CPP_INCLUDE_PATH) have no effect.
Anyone know what I'm doing wrong?