{"thread":{"id":"1215","subject":"RE: Compilation troubles","startedAt":"2005-07-12T19:47:40Z","lastAt":"2005-07-12T19:47:40Z","messageCount":1,"participants":["Jerry Seutter"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"6055","messageId":"5EDB10423795F248B2A4C4957409ED680280D62D@exch-calgary.int.pason.com","threadId":"1215","inReplyTo":null,"subject":"RE: Compilation troubles","fromName":"Jerry Seutter","fromEmail":"jerry.seutter@pason.com","sentAt":"2005-07-12T19:47:40Z","receivedAt":"2005-07-12T19:47:40Z","isPatch":false,"sender":{"key":"jerry.seutter@pason.com","avatar":null},"body":" \n\n> -----Original Message-----\n> From: git-owner@vger.kernel.org \n> [mailto:git-owner@vger.kernel.org] On Behalf Of Jerry Seutter\n> Sent: Tuesday, July 12, 2005 1:01 PM\n> To: Dan Kohn; git@vger.kernel.org\n> Subject: RE: Compilation troubles\n> \n>  \n> \n> > -----Original Message-----\n> > From: git-owner@vger.kernel.org \n> > [mailto:git-owner@vger.kernel.org] On Behalf Of Dan Kohn\n> > Sent: Tuesday, July 12, 2005 12:34 PM\n> > To: git@vger.kernel.org\n> > Subject: Compilation troubles\n> > \n> > I apologize for what are probably obvious compilation \n> questions, but I\n> > suspect other newbies are encountering them as well.  I'm \n> > having trouble\n> > installing cogito 0.12.1 on both a vanilla Ubuntu box and on \n> > my account\n> > on a FreeBSD machine.  I'm used to autoconf-built programs, \n> so there's\n> > probably just some simple library path I'm not setting up \n> right.  But\n> > I'd appreciate your suggestions, and perhaps we can add the \n> answer to\n> > the INSTALL file.\n> > \n> > UBUNTU 5.04\n> > \n> > I used synaptics to install openssl, zlib, and curl, but \n> cogito can't\n> > seem to see them.\n> > \n> > root@ubuntu-dan-kohn:/usr/local/src/cogito-0.12.1 # make\n> > cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o \n> read-cache.o\n> > read-cache.c\n> > In file included from read-cache.c:6:\n> > cache.h:21:21: openssl/sha.h: No such file or directory\n> \n> I tried this last night with Ubuntu (Warty).  The openssl package\n> doesn't include header files so presumably you would need to install\n> openssl-dev, only that package doesn't seem to exist in \n> Ubuntu-land.  I\n> gave up at this point and installed on a different system.\n> \n> The README file for cogito/git mentions that there is an ssl library\n> included in the source which you can use if you don't have \n> openssl.  It\n> doesn't give any directions on how to use it, however.  You could try\n> looking into using that.\n> \n\nIf you build the openssl package from source, it builds a libssl-dev\npackage that you can install on your system.  Do something like:\n\nmkdir -p /tmp/tmp && cd /tmp/tmp\napt-get source openssl\nsudo ./openssl-0.9.7d/debian/rules binary\nsudo dpkg -i libssl-dev_0.9.7d-3ubuntu0.1_i386.deb\n\nthen you should be able to build past the openssl part.  Presumably\nyou'll have to do something similar for libcurl, but I haven't tried it.\n\nJerry Seutter\n"}]}