It is my first time compiling a program under a (debian) linux system. I
follow the instruction supplied in the tar file. So I enter the following
command as root:
make prefix=/usr/local install install-doc install-html install-info
And I ran into problems. The first problem is that I don't have CC
compiler. Instead, I have GCC, so I modified Makefile changing CC = cc to
gcc. Repeat the same command and got stuck for missing openssl header
files. I do a search starting from the root directory and found then at
another directory called /volume1/opt/bin/openssl and other various
directories, so the files are there, but the compiler was looking in the
wrong path. I look to see if I can modify Makefile for this as well. Since
I don't understand the syntax of a Makefile well, I wasn't able to figure
it out. So I moved and copied openssl directory around and eventually, I
somehow fix that problem, but now the next problem comes up, which I am
stuck again with the next dependency:
* new build flags
CC credential-store.o
In file included from credential-store.c:1:
cache.h:19:18: warning: zlib.h: No such file or directory
In file included from credential-store.c:1:
cache.h:21: error: parse error before "z_stream"
cache.h:21: warning: no semicolon at end of struct or union
cache.h:28: error: parse error before '}' token
cache.h:28: warning: data definition has no type or storage class
cache.h:30: error: parse error before '*' token
cache.h:31: error: parse error before '*' token
cache.h:32: error: parse error before '*' token
cache.h:33: error: parse error before '*' token
cache.h:35: error: parse error before '*' token
cache.h:36: error: parse error before '*' token
cache.h:37: error: parse error before '*' token
cache.h:38: error: parse error before '*' token
cache.h:39: error: parse error before '*' token
cache.h:40: error: parse error before '*' token
cache.h:41: error: parse error before '*' token
cache.h:42: error: parse error before '*' token
cache.h:814: error: parse error before '*' token
make: *** [credential-store.o] Error 1
Again, I search for the file starting at the root directory and I do have
the header in /volume1/opt/include, but again, the compiler doesn't look in
the right spot.
Therefore, my question is...how do I specify where the dependency can be
found for the compiler?
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.