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 troublesquoted
-----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 compilationquestions, but Iquoted
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'squoted
probably just some simple library path I'm not setting upright. Butquoted
I'd appreciate your suggestions, and perhaps we can add theanswer toquoted
the INSTALL file. UBUNTU 5.04 I used synaptics to install openssl, zlib, and curl, butcogito can'tquoted
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 -oread-cache.oquoted
read-cache.c In file included from read-cache.c:6: cache.h:21:21: openssl/sha.h: No such file or directoryI 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