git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: Compilation troubles

From
JSJerry Seutter <jerry.seutter@pason.com>
Date
Jul 12, 2005, 19:00 UTC
Message-ID
<5EDB10423795F248B2A4C4957409ED680280D603@exch-calgary.int.pason.com>
Show 27 quoted lines
> -----Original Message-----
> From: git-owner@vger.kernel.org 
> [mailto:git-owner@vger.kernel.org] On Behalf Of Dan Kohn
> Sent: Tuesday, July 12, 2005 12:34 PM
> To: git@vger.kernel.org
> Subject: Compilation troubles
> 
> I apologize for what are probably obvious compilation questions, but I
> suspect other newbies are encountering them as well.  I'm 
> having trouble
> installing cogito 0.12.1 on both a vanilla Ubuntu box and on 
> my account
> on a FreeBSD machine.  I'm used to autoconf-built programs, so there's
> probably just some simple library path I'm not setting up right.  But
> I'd appreciate your suggestions, and perhaps we can add the answer to
> the INSTALL file.
> 
> UBUNTU 5.04
> 
> I used synaptics to install openssl, zlib, and curl, but cogito can't
> seem to see them.
> 
> root@ubuntu-dan-kohn:/usr/local/src/cogito-0.12.1 # make
> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o read-cache.o
> read-cache.c
> In file included from read-cache.c:6:
> cache.h:21:21: openssl/sha.h: No such file or directory

I tried this last night with Ubuntu (Warty). The openssl package doesn't include header files so presumably you would need to install openssl-dev, only that package doesn't seem to exist in Ubuntu-land. I gave up at this point and installed on a different system.

The README file for cogito/git mentions that there is an ssl library included in the source which you can use if you don't have openssl. It doesn't give any directions on how to use it, however. You could try looking into using that.

Jerry Seutter
Next: Linus Torvalds
Message 1 of 2 in “RE: Compilation troubles”
  1. Jerry SeutterJul 12, 2005
  2. Linus TorvaldsJul 12, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.