RE: Compilation troubles

From: Jerry Seutter <hidden>
Date: 2016-06-15 22:42:02

 
-----Original Message-----
From: git-owner@vger.kernel.org 
[mailto:git-owner@vger.kernel.org] On Behalf Of Jerry Seutter
Sent: Tuesday, July 12, 2005 1:01 PM
To: Dan Kohn; git@vger.kernel.org
Subject: RE: Compilation troubles

 
quoted
-----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
quoted
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
quoted
probably just some simple library path I'm not setting up 
right.  But
quoted
I'd appreciate your suggestions, and perhaps we can add the 
answer to
quoted
the INSTALL file.

UBUNTU 5.04

I used synaptics to install openssl, zlib, and curl, but 
cogito can't
quoted
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
quoted
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.
If you build the openssl package from source, it builds a libssl-dev
package that you can install on your system.  Do something like:

mkdir -p /tmp/tmp && cd /tmp/tmp
apt-get source openssl
sudo ./openssl-0.9.7d/debian/rules binary
sudo dpkg -i libssl-dev_0.9.7d-3ubuntu0.1_i386.deb

then you should be able to build past the openssl part.  Presumably
you'll have to do something similar for libcurl, but I haven't tried it.

Jerry Seutter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help