Hello,

your best bet for this type of problem is to open
https://packages.debian.org/ and search for the files the compiler is
missing (this time, zlib.h; I bet you will find the package zlib1g-dev).
When you find it, install it with apt: apt-get install zlib1g-dev.

Moving the openssl libs around was also a bad idea, as for that you just
had to install the openssl-dev (or something like that) package.

Best,
Gergely
On 19 Oct 2015 08:20, "Que Trac" <quet...@gmail.com> wrote:

> 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 git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to