I had a similar problem but figured it out. My reason for tessarct and hence leptonica was to compile pdfocr (
https://github.com/gkovacs/pdfocr).
Downloaded source for Leptonica 1.69. Untared and since I don't have root permissions ran in leptonica directory.
$ ./configure --prefix=/home/albert/usr/ && make && make install;
This succesfully put the leptonica bin,lib, and include dirs in my ~/usr folder.
I have the bin directory in the PATH, the lib directory in the LD_LIBRARY_PATH, and the include directory in C_INCLUDE_PATH however this is not enough, nor neccessary, to configure tessaract.
In fact, tessaract has flags for finding leptonica. Here is what I used in tcsh:
$ ( setenv LIBLEPT_HEADERSDIR /home/albert/usr/include/leptonica ; setenv LDFLAGS -L/home/albert/usr/lib ; ./configure --prefix=/home/albert/usr )
The brackets set up a subshell in which I temporarily set the leptonica header dir, and location of library, before calling configure. After just run
$ make && make install
And it should work. Now I will continue compiling pdfocr and see if there are more requirments ;)
Cheers,
Josh