{"thread":{"id":"1211","subject":"Compilation troubles","startedAt":"2005-07-12T18:33:36Z","lastAt":"2005-07-13T06:56:55Z","messageCount":3,"participants":["Dan Kohn","Marc Singer","Matthias Urlichs"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"6049","messageId":"B1091462CF5479489B1D8FE818330D2C01371D9F@exchange2003.ad.skymv.com","threadId":"1211","inReplyTo":null,"subject":"Compilation troubles","fromName":"Dan Kohn","fromEmail":"dan@dankohn.com","sentAt":"2005-07-12T18:33:36Z","receivedAt":"2005-07-12T18:33:36Z","isPatch":false,"sender":{"key":"dan@dankohn.com","avatar":null},"body":"I apologize for what are probably obvious compilation questions, but I\nsuspect other newbies are encountering them as well.  I'm having trouble\ninstalling cogito 0.12.1 on both a vanilla Ubuntu box and on my account\non a FreeBSD machine.  I'm used to autoconf-built programs, so there's\nprobably just some simple library path I'm not setting up right.  But\nI'd appreciate your suggestions, and perhaps we can add the answer to\nthe INSTALL file.\n\nUBUNTU 5.04\n\nI used synaptics to install openssl, zlib, and curl, but cogito can't\nseem to see them.\n\nroot@ubuntu-dan-kohn:/usr/local/src/cogito-0.12.1 # make\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o read-cache.o\nread-cache.c\nIn file included from read-cache.c:6:\ncache.h:21:21: openssl/sha.h: No such file or directory\ncache.h:22:18: zlib.h: No such file or directory\nIn file included from read-cache.c:6:\ncache.h:169: error: syntax error before '*' token\nread-cache.c: In function `verify_hdr':\nread-cache.c:339: error: `SHA_CTX' undeclared (first use in this\nfunction)\nread-cache.c:339: error: (Each undeclared identifier is reported only\nonce\nread-cache.c:339: error: for each function it appears in.)\nread-cache.c:339: error: syntax error before \"c\"\nread-cache.c:346: warning: implicit declaration of function `SHA1_Init'\nread-cache.c:346: error: `c' undeclared (first use in this function)\nread-cache.c:347: warning: implicit declaration of function\n`SHA1_Update'\nread-cache.c:348: warning: implicit declaration of function `SHA1_Final'\nread-cache.c: At top level:\nread-cache.c:408: error: syntax error before '*' token\nread-cache.c: In function `ce_write':\nread-cache.c:410: error: `len' undeclared (first use in this function)\nread-cache.c:415: error: `data' undeclared (first use in this function)\nread-cache.c:418: error: `context' undeclared (first use in this\nfunction)\nread-cache.c:419: error: `fd' undeclared (first use in this function)\nread-cache.c: At top level:\nread-cache.c:430: error: syntax error before '*' token\nread-cache.c: In function `ce_flush':\nread-cache.c:436: error: `context' undeclared (first use in this\nfunction)\nread-cache.c:442: error: `fd' undeclared (first use in this function)\nread-cache.c: In function `write_cache':\nread-cache.c:449: error: `SHA_CTX' undeclared (first use in this\nfunction)\nread-cache.c:449: error: syntax error before \"c\"\nread-cache.c:461: error: `c' undeclared (first use in this function)\nmake: *** [read-cache.o] Error 1\nroot@ubuntu-dan-kohn:/usr/local/src/cogito-0.12.1 # locate openssl\n/etc/ssl/openssl.cnf\n[long list of python and docs elided]\n/usr/share/man/man1/openssl.1ssl.gz\n/usr/bin/openssl\n/usr/bin/openssl_fips_fingerprint\n/usr/lib/libgnutls-openssl.so.11.1.16\n/usr/lib/libgnutls-openssl.so.11\n/usr/lib/ssl/openssl.cnf\n/usr/local/ssl/man/man1/openssl.1\n/usr/local/ssl/bin/openssl\n/usr/local/ssl/lib/pkgconfig/openssl.pc\n/usr/local/ssl/include/openssl\n/usr/local/ssl/include/openssl/e_os2.h\n/usr/local/ssl/include/openssl/crypto.h\n/usr/local/ssl/include/openssl/tmdiff.h\n/usr/local/ssl/include/openssl/opensslv.h\n/usr/local/ssl/include/openssl/opensslconf.h\n/usr/local/ssl/include/openssl/ebcdic.h\n/usr/local/ssl/include/openssl/symhacks.h\n/usr/local/ssl/include/openssl/ossl_typ.h\n/usr/local/ssl/include/openssl/objects.h\n/usr/local/ssl/include/openssl/obj_mac.h\n/usr/local/ssl/include/openssl/md2.h\n/usr/local/ssl/include/openssl/md4.h\n/usr/local/ssl/include/openssl/md5.h\n/usr/local/ssl/include/openssl/sha.h\n/usr/local/ssl/include/openssl/hmac.h\n/usr/local/ssl/include/openssl/ripemd.h\n/usr/local/ssl/include/openssl/des.h\n/usr/local/ssl/include/openssl/des_old.h\n/usr/local/ssl/include/openssl/aes.h\n/usr/local/ssl/include/openssl/rc2.h\n/usr/local/ssl/include/openssl/rc4.h\n/usr/local/ssl/include/openssl/idea.h\n/usr/local/ssl/include/openssl/blowfish.h\n/usr/local/ssl/include/openssl/cast.h\n/usr/local/ssl/include/openssl/bn.h\n/usr/local/ssl/include/openssl/ec.h\n/usr/local/ssl/include/openssl/rsa.h\n/usr/local/ssl/include/openssl/dsa.h\n/usr/local/ssl/include/openssl/ecdsa.h\n/usr/local/ssl/include/openssl/dh.h\n/usr/local/ssl/include/openssl/ecdh.h\n/usr/local/ssl/include/openssl/dso.h\n/usr/local/ssl/include/openssl/engine.h\n/usr/local/ssl/include/openssl/buffer.h\n/usr/local/ssl/include/openssl/bio.h\n/usr/local/ssl/include/openssl/stack.h\n/usr/local/ssl/include/openssl/safestack.h\n/usr/local/ssl/include/openssl/lhash.h\n/usr/local/ssl/include/openssl/rand.h\n/usr/local/ssl/include/openssl/err.h\n/usr/local/ssl/include/openssl/evp.h\n/usr/local/ssl/include/openssl/asn1.h\n/usr/local/ssl/include/openssl/asn1_mac.h\n/usr/local/ssl/include/openssl/asn1t.h\n/usr/local/ssl/include/openssl/pem.h\n/usr/local/ssl/include/openssl/pem2.h\n/usr/local/ssl/include/openssl/x509.h\n/usr/local/ssl/include/openssl/x509_vfy.h\n/usr/local/ssl/include/openssl/x509v3.h\n/usr/local/ssl/include/openssl/conf.h\n/usr/local/ssl/include/openssl/conf_api.h\n/usr/local/ssl/include/openssl/txt_db.h\n/usr/local/ssl/include/openssl/pkcs7.h\n/usr/local/ssl/include/openssl/pkcs12.h\n/usr/local/ssl/include/openssl/comp.h\n/usr/local/ssl/include/openssl/ocsp.h\n/usr/local/ssl/include/openssl/ui.h\n/usr/local/ssl/include/openssl/ui_compat.h\n/usr/local/ssl/include/openssl/krb5_asn.h\n/usr/local/ssl/include/openssl/store.h\n/usr/local/ssl/include/openssl/pqueue.h\n/usr/local/ssl/include/openssl/pq_compat.h\n/usr/local/ssl/include/openssl/ssl.h\n/usr/local/ssl/include/openssl/ssl2.h\n/usr/local/ssl/include/openssl/ssl3.h\n/usr/local/ssl/include/openssl/ssl23.h\n/usr/local/ssl/include/openssl/tls1.h\n/usr/local/ssl/include/openssl/dtls1.h\n/usr/local/ssl/include/openssl/kssl.h\n/usr/local/ssl/openssl.cnf\nroot@ubuntu-dan-kohn:/usr/local/src/cogito-0.12.1 # locate zlib\n1.9.79/program/python-core-2.3.4/lib/encodings/zlib_codec.py\n1.9.79/program/python-core-2.3.4/lib/test/test_zlib.py\n/media/windows/Program Files/Trillian/zlib1.dll\n/var/lib/dpkg/info/zlib1g.postinst\n/var/lib/dpkg/info/zlib1g.list\n/var/lib/dpkg/info/zlib1g.preinst\n/var/lib/dpkg/info/zlib1g.shlibs\n/var/lib/dpkg/info/zlib1g.md5sums\n/var/cache/apt/archives/zlib1g_1%3a1.2.2-4ubuntu1.1_i386.deb\n/usr/share/doc/zlib1g\n/usr/share/doc/zlib1g/changelog.gz\n/usr/share/doc/zlib1g/README.gz\n/usr/share/doc/zlib1g/README.Debian\n/usr/share/doc/zlib1g/copyright\n/usr/share/doc/zlib1g/changelog.Debian.gz\n/usr/share/doc/python2.4/examples/Demo/zlib\n/usr/share/doc/python2.4/examples/Demo/zlib/minigzip.py\n/usr/share/doc/python2.4/examples/Demo/zlib/zlibdemo.py\n/usr/include/linux/zlib.h\n/usr/lib/python2.4/lib-dynload/zlib.so\n/usr/lib/python2.4/encodings/zlib_codec.py\n/usr/lib/python2.4/encodings/zlib_codec.pyc\n/usr/lib/python2.4/encodings/zlib_codec.pyo\n/usr/lib/win32/avizlib.dll\n/lib/modules/2.6.10-5-386/kernel/lib/zlib_deflate\n/lib/modules/2.6.10-5-386/kernel/lib/zlib_deflate/zlib_deflate.ko\nroot@ubuntu-dan-kohn:/usr/local/src/cogito-0.12.1 #\n\n\n\n\nFREEBSD\n\nI believe I need to modify the Makefile to find my libcurl, but I don't\nknow how.  Also, it's probably worth mentioning in INSTALL that gmake is\nnecessary, for those machines that have both.\n\n[emlis:~/src/cogito-0.12.1]$ make\n\"Makefile\", line 109: Need an operator\n\"Makefile\", line 112: Need an operator\n\"Makefile\", line 115: Need an operator\n\"Makefile\", line 116: Need an operator\n\"Makefile\", line 119: Need an operator\n\"Makefile\", line 120: Need an operator\n\"Makefile\", line 123: Need an operator\n\"Makefile\", line 126: Need an operator\n\"Makefile\", line 127: Need an operator\n\"Makefile\", line 162: Missing dependency operator\n\"Makefile\", line 165: Need an operator\nmake: fatal errors encountered -- cannot continue\n[emlis:~/src/cogito-0.12.1]$ gmake\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o read-cache.o\nread-cache.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o sha1_file.o\nsha1_file.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o usage.o usage.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o object.o\nobject.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o commit.o\ncommit.c\ncommit.c: In function `add_user_info':\ncommit.c:244: warning: field width is not type int (arg 4)\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o tree.o tree.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o blob.o blob.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o tag.o tag.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o date.o date.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o index.o index.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o diff-delta.o\ndiff-delta.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o patch-delta.o\npatch-delta.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o entry.o entry.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o path.o path.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o epoch.o epoch.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o refs.o refs.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o csum-file.o\ncsum-file.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o pack-check.o\npack-check.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o pkt-line.o\npkt-line.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o connect.o\nconnect.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o strbuf.o\nstrbuf.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o quote.o quote.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o diff.o diff.c\ndiff.c: In function `parse_num':\ndiff.c:702: warning: value computed is not used\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o\ndiffcore-rename.o diffcore-rename.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o\ndiffcore-pickaxe.o diffcore-pickaxe.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o\ndiffcore-pathspec.o diffcore-pathspec.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o\ndiffcore-break.o diffcore-break.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o\ndiffcore-order.o diffcore-order.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o count-delta.o\ncount-delta.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o gitenv.o\ngitenv.c\nar rcs libgit.a read-cache.o sha1_file.o usage.o object.o commit.o\ntree.o blob.o tag.o date.o index.o diff-delta.o patch-delta.o entry.o\npath.o epoch.o refs.o csum-file.o pack-check.o pkt-line.o connect.o\nstrbuf.o quote.o  diff.o diffcore-rename.o diffcore-pickaxe.o\ndiffcore-pathspec.o diffcore-break.o diffcore-order.o count-delta.o\ngitenv.o epoch.o\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o update-cache.o\nupdate-cache.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-update-cache\nupdate-cache.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o diff-files.o\ndiff-files.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-diff-files\ndiff-files.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o init-db.o\ninit-db.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-init-db\ninit-db.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o write-tree.o\nwrite-tree.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-write-tree\nwrite-tree.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o read-tree.o\nread-tree.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-read-tree\nread-tree.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o commit-tree.o\ncommit-tree.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-commit-tree\ncommit-tree.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o cat-file.o\ncat-file.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-cat-file\ncat-file.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o fsck-cache.o\nfsck-cache.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-fsck-cache\nfsck-cache.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o\ncheckout-cache.o checkout-cache.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-checkout-cache\ncheckout-cache.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o diff-tree.o\ndiff-tree.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-diff-tree\ndiff-tree.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o rev-tree.o\nrev-tree.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-rev-tree\nrev-tree.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o ls-files.o\nls-files.c\nls-files.c: In function `show_files':\nls-files.c:270: warning: unsigned int format, u_long arg (arg 3)\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-ls-files\nls-files.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o check-files.o\ncheck-files.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-check-files\ncheck-files.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o ls-tree.o\nls-tree.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-ls-tree\nls-tree.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o merge-base.o\nmerge-base.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-merge-base\nmerge-base.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o merge-cache.o\nmerge-cache.c\nmerge-cache.c: In function `merge_entry':\nmerge-cache.c:62: warning: unsigned int format, long unsigned int arg\n(arg 3)\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-merge-cache\nmerge-cache.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o unpack-file.o\nunpack-file.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-unpack-file\nunpack-file.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o export.o\nexport.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-export export.o\nlibgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o diff-cache.o\ndiff-cache.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-diff-cache\ndiff-cache.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o convert-cache.o\nconvert-cache.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-convert-cache\nconvert-cache.o libgit.a -lz -lcrypto\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o pull.o pull.c\ncc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o http-pull.o\nhttp-pull.c\nhttp-pull.c:6: curl/curl.h: No such file or directory\nhttp-pull.c:7: curl/easy.h: No such file or directory\ngmake: *** [http-pull.o] Error 1\nrm cat-file.o diff-files.o rev-tree.o fsck-cache.o convert-cache.o\nunpack-file.o diff-cache.o checkout-cache.o update-cache.o diff-tree.o\nexport.o read-tree.o write-tree.o merge-base.o ls-tree.o check-files.o\ncommit-tree.o merge-cache.o ls-files.o init-db.o\n[emlis:~/src/cogito-0.12.1]$ which curl\n/usr/local/bin/curl\n[emlis:~/src/cogito-0.12.1]$ locate libcurl\n/usr/local/lib/comprex/scheme/libcurlscm.a\n/usr/local/lib/comprex/scheme/libcurlscm.la\n/usr/local/lib/comprex/scheme/libcurlscm.so\n/usr/local/lib/libcurl.a\n/usr/local/lib/libcurl.la\n/usr/local/lib/libcurl.so\n/usr/local/lib/libcurl.so.2\n/usr/local/man/man3/libcurl-errors.3\n/usr/local/man/man3/libcurl-multi.3\n/usr/local/man/man3/libcurl.3\n/usr/local/share/doc/curl/libcurl\n/usr/local/share/doc/curl/libcurl/Makefile\n/usr/local/share/doc/curl/libcurl/Makefile.am\n/usr/local/share/doc/curl/libcurl/Makefile.in\n/usr/local/share/doc/curl/libcurl/curl_easy_cleanup.3\n/usr/local/share/doc/curl/libcurl/curl_easy_cleanup.html\n/usr/local/share/doc/curl/libcurl/curl_easy_cleanup.pdf\n/usr/local/share/doc/curl/libcurl/curl_easy_duphandle.3\n/usr/local/share/doc/curl/libcurl/curl_easy_duphandle.html\n/usr/local/share/doc/curl/libcurl/curl_easy_duphandle.pdf\n/usr/local/share/doc/curl/libcurl/curl_easy_getinfo.3\n/usr/local/share/doc/curl/libcurl/curl_easy_getinfo.html\n/usr/local/share/doc/curl/libcurl/curl_easy_getinfo.pdf\n/usr/local/share/doc/curl/libcurl/curl_easy_init.3\n/usr/local/share/doc/curl/libcurl/curl_easy_init.html\n/usr/local/share/doc/curl/libcurl/curl_easy_init.pdf\n/usr/local/share/doc/curl/libcurl/curl_easy_perform.3\n/usr/local/share/doc/curl/libcurl/curl_easy_perform.html\n/usr/local/share/doc/curl/libcurl/curl_easy_perform.pdf\n/usr/local/share/doc/curl/libcurl/curl_easy_setopt.3\n/usr/local/share/doc/curl/libcurl/curl_easy_setopt.html\n/usr/local/share/doc/curl/libcurl/curl_easy_setopt.pdf\n/usr/local/share/doc/curl/libcurl/curl_escape.3\n/usr/local/share/doc/curl/libcurl/curl_escape.html\n/usr/local/share/doc/curl/libcurl/curl_escape.pdf\n/usr/local/share/doc/curl/libcurl/curl_formadd.3\n/usr/local/share/doc/curl/libcurl/curl_formadd.html\n/usr/local/share/doc/curl/libcurl/curl_formadd.pdf\n/usr/local/share/doc/curl/libcurl/curl_formfree.3\n/usr/local/share/doc/curl/libcurl/curl_formfree.html\n/usr/local/share/doc/curl/libcurl/curl_formfree.pdf\n/usr/local/share/doc/curl/libcurl/curl_formparse.3\n/usr/local/share/doc/curl/libcurl/curl_formparse.html\n/usr/local/share/doc/curl/libcurl/curl_formparse.pdf\n/usr/local/share/doc/curl/libcurl/curl_free.3\n/usr/local/share/doc/curl/libcurl/curl_free.html\n/usr/local/share/doc/curl/libcurl/curl_free.pdf\n/usr/local/share/doc/curl/libcurl/curl_getdate.3\n/usr/local/share/doc/curl/libcurl/curl_getdate.html\n/usr/local/share/doc/curl/libcurl/curl_getdate.pdf\n/usr/local/share/doc/curl/libcurl/curl_getenv.3\n/usr/local/share/doc/curl/libcurl/curl_getenv.html\n/usr/local/share/doc/curl/libcurl/curl_getenv.pdf\n/usr/local/share/doc/curl/libcurl/curl_global_cleanup.3\n/usr/local/share/doc/curl/libcurl/curl_global_cleanup.html\n/usr/local/share/doc/curl/libcurl/curl_global_cleanup.pdf\n/usr/local/share/doc/curl/libcurl/curl_global_init.3\n/usr/local/share/doc/curl/libcurl/curl_global_init.html\n/usr/local/share/doc/curl/libcurl/curl_global_init.pdf\n/usr/local/share/doc/curl/libcurl/curl_mprintf.3\n/usr/local/share/doc/curl/libcurl/curl_mprintf.html\n/usr/local/share/doc/curl/libcurl/curl_mprintf.pdf\n/usr/local/share/doc/curl/libcurl/curl_multi_add_handle.3\n/usr/local/share/doc/curl/libcurl/curl_multi_add_handle.html\n/usr/local/share/doc/curl/libcurl/curl_multi_add_handle.pdf\n/usr/local/share/doc/curl/libcurl/curl_multi_cleanup.3\n/usr/local/share/doc/curl/libcurl/curl_multi_cleanup.html\n/usr/local/share/doc/curl/libcurl/curl_multi_cleanup.pdf\n/usr/local/share/doc/curl/libcurl/curl_multi_fdset.3\n/usr/local/share/doc/curl/libcurl/curl_multi_fdset.html\n/usr/local/share/doc/curl/libcurl/curl_multi_fdset.pdf\n/usr/local/share/doc/curl/libcurl/curl_multi_info_read.3\n/usr/local/share/doc/curl/libcurl/curl_multi_info_read.html\n/usr/local/share/doc/curl/libcurl/curl_multi_info_read.pdf\n/usr/local/share/doc/curl/libcurl/curl_multi_init.3\n/usr/local/share/doc/curl/libcurl/curl_multi_init.html\n/usr/local/share/doc/curl/libcurl/curl_multi_init.pdf\n/usr/local/share/doc/curl/libcurl/curl_multi_perform.3\n/usr/local/share/doc/curl/libcurl/curl_multi_perform.html\n/usr/local/share/doc/curl/libcurl/curl_multi_perform.pdf\n/usr/local/share/doc/curl/libcurl/curl_multi_remove_handle.3\n/usr/local/share/doc/curl/libcurl/curl_multi_remove_handle.html\n/usr/local/share/doc/curl/libcurl/curl_multi_remove_handle.pdf\n/usr/local/share/doc/curl/libcurl/curl_slist_append.3\n/usr/local/share/doc/curl/libcurl/curl_slist_append.html\n/usr/local/share/doc/curl/libcurl/curl_slist_append.pdf\n/usr/local/share/doc/curl/libcurl/curl_slist_free_all.3\n/usr/local/share/doc/curl/libcurl/curl_slist_free_all.html\n/usr/local/share/doc/curl/libcurl/curl_slist_free_all.pdf\n/usr/local/share/doc/curl/libcurl/curl_strequal.3\n/usr/local/share/doc/curl/libcurl/curl_strequal.html\n/usr/local/share/doc/curl/libcurl/curl_strequal.pdf\n/usr/local/share/doc/curl/libcurl/curl_strnequal.3\n/usr/local/share/doc/curl/libcurl/curl_strnequal.html\n/usr/local/share/doc/curl/libcurl/curl_strnequal.pdf\n/usr/local/share/doc/curl/libcurl/curl_unescape.3\n/usr/local/share/doc/curl/libcurl/curl_unescape.html\n/usr/local/share/doc/curl/libcurl/curl_unescape.pdf\n/usr/local/share/doc/curl/libcurl/curl_version.3\n/usr/local/share/doc/curl/libcurl/curl_version.html\n/usr/local/share/doc/curl/libcurl/curl_version.pdf\n/usr/local/share/doc/curl/libcurl/curl_version_info.3\n/usr/local/share/doc/curl/libcurl/curl_version_info.html\n/usr/local/share/doc/curl/libcurl/curl_version_info.pdf\n/usr/local/share/doc/curl/libcurl/index.html\n/usr/local/share/doc/curl/libcurl/libcurl-errors.3\n/usr/local/share/doc/curl/libcurl/libcurl-errors.html\n/usr/local/share/doc/curl/libcurl/libcurl-errors.pdf\n/usr/local/share/doc/curl/libcurl/libcurl-multi.3\n/usr/local/share/doc/curl/libcurl/libcurl-multi.html\n/usr/local/share/doc/curl/libcurl/libcurl-multi.pdf\n/usr/local/share/doc/curl/libcurl/libcurl.3\n/usr/local/share/doc/curl/libcurl/libcurl.html\n/usr/local/share/doc/curl/libcurl/libcurl.pdf\n/usr/local/share/doc/curl/libcurl-the-guide\n[emlis:~/src/cogito-0.12.1]$ curl-config --version\nlibcurl 7.10.5\n\n          - dan\n--\nDan Kohn <mailto:dan@dankohn.com>\n<http://www.dankohn.com/>  <tel:+1-650-327-2600>\n"},{"id":"6050","messageId":"20050712183652.GA13575@buici.com","threadId":"1211","inReplyTo":"B1091462CF5479489B1D8FE818330D2C01371D9F@exchange2003.ad.skymv.com","subject":"Re: Compilation troubles","fromName":"Marc Singer","fromEmail":"elf@buici.com","sentAt":"2005-07-12T18:36:53Z","receivedAt":"2005-07-12T18:36:53Z","isPatch":false,"sender":{"key":"elf@buici.com","avatar":null},"body":"On Tue, Jul 12, 2005 at 11:33:36AM -0700, Dan Kohn wrote:\n> I apologize for what are probably obvious compilation questions, but I\n> suspect other newbies are encountering them as well.  I'm having trouble\n> installing cogito 0.12.1 on both a vanilla Ubuntu box and on my account\n> on a FreeBSD machine.  I'm used to autoconf-built programs, so there's\n> probably just some simple library path I'm not setting up right.  But\n> I'd appreciate your suggestions, and perhaps we can add the answer to\n> the INSTALL file.\n> \n> UBUNTU 5.04\n> \n> I used synaptics to install openssl, zlib, and curl, but cogito can't\n> seem to see them.\n\nPerhaps you need the openssl-dev and zlib-dev packages.  Just a guess\nsince I don't know ubuntu.\n\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 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> cache.h:22:18: zlib.h: No such file or directory\n> In file included from read-cache.c:6:\n> cache.h:169: error: syntax error before '*' token\n> read-cache.c: In function `verify_hdr':\n> read-cache.c:339: error: `SHA_CTX' undeclared (first use in this\n> function)\n> read-cache.c:339: error: (Each undeclared identifier is reported only\n> once\n> read-cache.c:339: error: for each function it appears in.)\n> read-cache.c:339: error: syntax error before \"c\"\n> read-cache.c:346: warning: implicit declaration of function `SHA1_Init'\n> read-cache.c:346: error: `c' undeclared (first use in this function)\n> read-cache.c:347: warning: implicit declaration of function\n> `SHA1_Update'\n> read-cache.c:348: warning: implicit declaration of function `SHA1_Final'\n> read-cache.c: At top level:\n> read-cache.c:408: error: syntax error before '*' token\n> read-cache.c: In function `ce_write':\n> read-cache.c:410: error: `len' undeclared (first use in this function)\n> read-cache.c:415: error: `data' undeclared (first use in this function)\n> read-cache.c:418: error: `context' undeclared (first use in this\n> function)\n> read-cache.c:419: error: `fd' undeclared (first use in this function)\n> read-cache.c: At top level:\n> read-cache.c:430: error: syntax error before '*' token\n> read-cache.c: In function `ce_flush':\n> read-cache.c:436: error: `context' undeclared (first use in this\n> function)\n> read-cache.c:442: error: `fd' undeclared (first use in this function)\n> read-cache.c: In function `write_cache':\n> read-cache.c:449: error: `SHA_CTX' undeclared (first use in this\n> function)\n> read-cache.c:449: error: syntax error before \"c\"\n> read-cache.c:461: error: `c' undeclared (first use in this function)\n> make: *** [read-cache.o] Error 1\n> root@ubuntu-dan-kohn:/usr/local/src/cogito-0.12.1 # locate openssl\n> /etc/ssl/openssl.cnf\n> [long list of python and docs elided]\n> /usr/share/man/man1/openssl.1ssl.gz\n> /usr/bin/openssl\n> /usr/bin/openssl_fips_fingerprint\n> /usr/lib/libgnutls-openssl.so.11.1.16\n> /usr/lib/libgnutls-openssl.so.11\n> /usr/lib/ssl/openssl.cnf\n> /usr/local/ssl/man/man1/openssl.1\n> /usr/local/ssl/bin/openssl\n> /usr/local/ssl/lib/pkgconfig/openssl.pc\n> /usr/local/ssl/include/openssl\n> /usr/local/ssl/include/openssl/e_os2.h\n> /usr/local/ssl/include/openssl/crypto.h\n> /usr/local/ssl/include/openssl/tmdiff.h\n> /usr/local/ssl/include/openssl/opensslv.h\n> /usr/local/ssl/include/openssl/opensslconf.h\n> /usr/local/ssl/include/openssl/ebcdic.h\n> /usr/local/ssl/include/openssl/symhacks.h\n> /usr/local/ssl/include/openssl/ossl_typ.h\n> /usr/local/ssl/include/openssl/objects.h\n> /usr/local/ssl/include/openssl/obj_mac.h\n> /usr/local/ssl/include/openssl/md2.h\n> /usr/local/ssl/include/openssl/md4.h\n> /usr/local/ssl/include/openssl/md5.h\n> /usr/local/ssl/include/openssl/sha.h\n> /usr/local/ssl/include/openssl/hmac.h\n> /usr/local/ssl/include/openssl/ripemd.h\n> /usr/local/ssl/include/openssl/des.h\n> /usr/local/ssl/include/openssl/des_old.h\n> /usr/local/ssl/include/openssl/aes.h\n> /usr/local/ssl/include/openssl/rc2.h\n> /usr/local/ssl/include/openssl/rc4.h\n> /usr/local/ssl/include/openssl/idea.h\n> /usr/local/ssl/include/openssl/blowfish.h\n> /usr/local/ssl/include/openssl/cast.h\n> /usr/local/ssl/include/openssl/bn.h\n> /usr/local/ssl/include/openssl/ec.h\n> /usr/local/ssl/include/openssl/rsa.h\n> /usr/local/ssl/include/openssl/dsa.h\n> /usr/local/ssl/include/openssl/ecdsa.h\n> /usr/local/ssl/include/openssl/dh.h\n> /usr/local/ssl/include/openssl/ecdh.h\n> /usr/local/ssl/include/openssl/dso.h\n> /usr/local/ssl/include/openssl/engine.h\n> /usr/local/ssl/include/openssl/buffer.h\n> /usr/local/ssl/include/openssl/bio.h\n> /usr/local/ssl/include/openssl/stack.h\n> /usr/local/ssl/include/openssl/safestack.h\n> /usr/local/ssl/include/openssl/lhash.h\n> /usr/local/ssl/include/openssl/rand.h\n> /usr/local/ssl/include/openssl/err.h\n> /usr/local/ssl/include/openssl/evp.h\n> /usr/local/ssl/include/openssl/asn1.h\n> /usr/local/ssl/include/openssl/asn1_mac.h\n> /usr/local/ssl/include/openssl/asn1t.h\n> /usr/local/ssl/include/openssl/pem.h\n> /usr/local/ssl/include/openssl/pem2.h\n> /usr/local/ssl/include/openssl/x509.h\n> /usr/local/ssl/include/openssl/x509_vfy.h\n> /usr/local/ssl/include/openssl/x509v3.h\n> /usr/local/ssl/include/openssl/conf.h\n> /usr/local/ssl/include/openssl/conf_api.h\n> /usr/local/ssl/include/openssl/txt_db.h\n> /usr/local/ssl/include/openssl/pkcs7.h\n> /usr/local/ssl/include/openssl/pkcs12.h\n> /usr/local/ssl/include/openssl/comp.h\n> /usr/local/ssl/include/openssl/ocsp.h\n> /usr/local/ssl/include/openssl/ui.h\n> /usr/local/ssl/include/openssl/ui_compat.h\n> /usr/local/ssl/include/openssl/krb5_asn.h\n> /usr/local/ssl/include/openssl/store.h\n> /usr/local/ssl/include/openssl/pqueue.h\n> /usr/local/ssl/include/openssl/pq_compat.h\n> /usr/local/ssl/include/openssl/ssl.h\n> /usr/local/ssl/include/openssl/ssl2.h\n> /usr/local/ssl/include/openssl/ssl3.h\n> /usr/local/ssl/include/openssl/ssl23.h\n> /usr/local/ssl/include/openssl/tls1.h\n> /usr/local/ssl/include/openssl/dtls1.h\n> /usr/local/ssl/include/openssl/kssl.h\n> /usr/local/ssl/openssl.cnf\n> root@ubuntu-dan-kohn:/usr/local/src/cogito-0.12.1 # locate zlib\n> 1.9.79/program/python-core-2.3.4/lib/encodings/zlib_codec.py\n> 1.9.79/program/python-core-2.3.4/lib/test/test_zlib.py\n> /media/windows/Program Files/Trillian/zlib1.dll\n> /var/lib/dpkg/info/zlib1g.postinst\n> /var/lib/dpkg/info/zlib1g.list\n> /var/lib/dpkg/info/zlib1g.preinst\n> /var/lib/dpkg/info/zlib1g.shlibs\n> /var/lib/dpkg/info/zlib1g.md5sums\n> /var/cache/apt/archives/zlib1g_1%3a1.2.2-4ubuntu1.1_i386.deb\n> /usr/share/doc/zlib1g\n> /usr/share/doc/zlib1g/changelog.gz\n> /usr/share/doc/zlib1g/README.gz\n> /usr/share/doc/zlib1g/README.Debian\n> /usr/share/doc/zlib1g/copyright\n> /usr/share/doc/zlib1g/changelog.Debian.gz\n> /usr/share/doc/python2.4/examples/Demo/zlib\n> /usr/share/doc/python2.4/examples/Demo/zlib/minigzip.py\n> /usr/share/doc/python2.4/examples/Demo/zlib/zlibdemo.py\n> /usr/include/linux/zlib.h\n> /usr/lib/python2.4/lib-dynload/zlib.so\n> /usr/lib/python2.4/encodings/zlib_codec.py\n> /usr/lib/python2.4/encodings/zlib_codec.pyc\n> /usr/lib/python2.4/encodings/zlib_codec.pyo\n> /usr/lib/win32/avizlib.dll\n> /lib/modules/2.6.10-5-386/kernel/lib/zlib_deflate\n> /lib/modules/2.6.10-5-386/kernel/lib/zlib_deflate/zlib_deflate.ko\n> root@ubuntu-dan-kohn:/usr/local/src/cogito-0.12.1 #\n> \n> \n> \n> \n> FREEBSD\n> \n> I believe I need to modify the Makefile to find my libcurl, but I don't\n> know how.  Also, it's probably worth mentioning in INSTALL that gmake is\n> necessary, for those machines that have both.\n> \n> [emlis:~/src/cogito-0.12.1]$ make\n> \"Makefile\", line 109: Need an operator\n> \"Makefile\", line 112: Need an operator\n> \"Makefile\", line 115: Need an operator\n> \"Makefile\", line 116: Need an operator\n> \"Makefile\", line 119: Need an operator\n> \"Makefile\", line 120: Need an operator\n> \"Makefile\", line 123: Need an operator\n> \"Makefile\", line 126: Need an operator\n> \"Makefile\", line 127: Need an operator\n> \"Makefile\", line 162: Missing dependency operator\n> \"Makefile\", line 165: Need an operator\n> make: fatal errors encountered -- cannot continue\n> [emlis:~/src/cogito-0.12.1]$ gmake\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o read-cache.o\n> read-cache.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o sha1_file.o\n> sha1_file.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o usage.o usage.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o object.o\n> object.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o commit.o\n> commit.c\n> commit.c: In function `add_user_info':\n> commit.c:244: warning: field width is not type int (arg 4)\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o tree.o tree.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o blob.o blob.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o tag.o tag.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o date.o date.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o index.o index.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o diff-delta.o\n> diff-delta.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o patch-delta.o\n> patch-delta.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o entry.o entry.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o path.o path.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o epoch.o epoch.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o refs.o refs.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o csum-file.o\n> csum-file.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o pack-check.o\n> pack-check.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o pkt-line.o\n> pkt-line.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o connect.o\n> connect.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o strbuf.o\n> strbuf.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o quote.o quote.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o diff.o diff.c\n> diff.c: In function `parse_num':\n> diff.c:702: warning: value computed is not used\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o\n> diffcore-rename.o diffcore-rename.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o\n> diffcore-pickaxe.o diffcore-pickaxe.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o\n> diffcore-pathspec.o diffcore-pathspec.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o\n> diffcore-break.o diffcore-break.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o\n> diffcore-order.o diffcore-order.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o count-delta.o\n> count-delta.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o gitenv.o\n> gitenv.c\n> ar rcs libgit.a read-cache.o sha1_file.o usage.o object.o commit.o\n> tree.o blob.o tag.o date.o index.o diff-delta.o patch-delta.o entry.o\n> path.o epoch.o refs.o csum-file.o pack-check.o pkt-line.o connect.o\n> strbuf.o quote.o  diff.o diffcore-rename.o diffcore-pickaxe.o\n> diffcore-pathspec.o diffcore-break.o diffcore-order.o count-delta.o\n> gitenv.o epoch.o\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o update-cache.o\n> update-cache.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-update-cache\n> update-cache.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o diff-files.o\n> diff-files.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-diff-files\n> diff-files.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o init-db.o\n> init-db.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-init-db\n> init-db.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o write-tree.o\n> write-tree.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-write-tree\n> write-tree.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o read-tree.o\n> read-tree.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-read-tree\n> read-tree.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o commit-tree.o\n> commit-tree.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-commit-tree\n> commit-tree.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o cat-file.o\n> cat-file.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-cat-file\n> cat-file.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o fsck-cache.o\n> fsck-cache.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-fsck-cache\n> fsck-cache.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o\n> checkout-cache.o checkout-cache.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-checkout-cache\n> checkout-cache.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o diff-tree.o\n> diff-tree.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-diff-tree\n> diff-tree.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o rev-tree.o\n> rev-tree.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-rev-tree\n> rev-tree.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o ls-files.o\n> ls-files.c\n> ls-files.c: In function `show_files':\n> ls-files.c:270: warning: unsigned int format, u_long arg (arg 3)\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-ls-files\n> ls-files.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o check-files.o\n> check-files.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-check-files\n> check-files.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o ls-tree.o\n> ls-tree.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-ls-tree\n> ls-tree.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o merge-base.o\n> merge-base.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-merge-base\n> merge-base.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o merge-cache.o\n> merge-cache.c\n> merge-cache.c: In function `merge_entry':\n> merge-cache.c:62: warning: unsigned int format, long unsigned int arg\n> (arg 3)\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-merge-cache\n> merge-cache.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o unpack-file.o\n> unpack-file.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-unpack-file\n> unpack-file.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o export.o\n> export.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-export export.o\n> libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o diff-cache.o\n> diff-cache.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-diff-cache\n> diff-cache.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o convert-cache.o\n> convert-cache.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>' -o git-convert-cache\n> convert-cache.o libgit.a -lz -lcrypto\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o pull.o pull.c\n> cc -g -O2 -Wall  '-DSHA1_HEADER=<openssl/sha.h>'   -c -o http-pull.o\n> http-pull.c\n> http-pull.c:6: curl/curl.h: No such file or directory\n> http-pull.c:7: curl/easy.h: No such file or directory\n> gmake: *** [http-pull.o] Error 1\n> rm cat-file.o diff-files.o rev-tree.o fsck-cache.o convert-cache.o\n> unpack-file.o diff-cache.o checkout-cache.o update-cache.o diff-tree.o\n> export.o read-tree.o write-tree.o merge-base.o ls-tree.o check-files.o\n> commit-tree.o merge-cache.o ls-files.o init-db.o\n> [emlis:~/src/cogito-0.12.1]$ which curl\n> /usr/local/bin/curl\n> [emlis:~/src/cogito-0.12.1]$ locate libcurl\n> /usr/local/lib/comprex/scheme/libcurlscm.a\n> /usr/local/lib/comprex/scheme/libcurlscm.la\n> /usr/local/lib/comprex/scheme/libcurlscm.so\n> /usr/local/lib/libcurl.a\n> /usr/local/lib/libcurl.la\n> /usr/local/lib/libcurl.so\n> /usr/local/lib/libcurl.so.2\n> /usr/local/man/man3/libcurl-errors.3\n> /usr/local/man/man3/libcurl-multi.3\n> /usr/local/man/man3/libcurl.3\n> /usr/local/share/doc/curl/libcurl\n> /usr/local/share/doc/curl/libcurl/Makefile\n> /usr/local/share/doc/curl/libcurl/Makefile.am\n> /usr/local/share/doc/curl/libcurl/Makefile.in\n> /usr/local/share/doc/curl/libcurl/curl_easy_cleanup.3\n> /usr/local/share/doc/curl/libcurl/curl_easy_cleanup.html\n> /usr/local/share/doc/curl/libcurl/curl_easy_cleanup.pdf\n> /usr/local/share/doc/curl/libcurl/curl_easy_duphandle.3\n> /usr/local/share/doc/curl/libcurl/curl_easy_duphandle.html\n> /usr/local/share/doc/curl/libcurl/curl_easy_duphandle.pdf\n> /usr/local/share/doc/curl/libcurl/curl_easy_getinfo.3\n> /usr/local/share/doc/curl/libcurl/curl_easy_getinfo.html\n> /usr/local/share/doc/curl/libcurl/curl_easy_getinfo.pdf\n> /usr/local/share/doc/curl/libcurl/curl_easy_init.3\n> /usr/local/share/doc/curl/libcurl/curl_easy_init.html\n> /usr/local/share/doc/curl/libcurl/curl_easy_init.pdf\n> /usr/local/share/doc/curl/libcurl/curl_easy_perform.3\n> /usr/local/share/doc/curl/libcurl/curl_easy_perform.html\n> /usr/local/share/doc/curl/libcurl/curl_easy_perform.pdf\n> /usr/local/share/doc/curl/libcurl/curl_easy_setopt.3\n> /usr/local/share/doc/curl/libcurl/curl_easy_setopt.html\n> /usr/local/share/doc/curl/libcurl/curl_easy_setopt.pdf\n> /usr/local/share/doc/curl/libcurl/curl_escape.3\n> /usr/local/share/doc/curl/libcurl/curl_escape.html\n> /usr/local/share/doc/curl/libcurl/curl_escape.pdf\n> /usr/local/share/doc/curl/libcurl/curl_formadd.3\n> /usr/local/share/doc/curl/libcurl/curl_formadd.html\n> /usr/local/share/doc/curl/libcurl/curl_formadd.pdf\n> /usr/local/share/doc/curl/libcurl/curl_formfree.3\n> /usr/local/share/doc/curl/libcurl/curl_formfree.html\n> /usr/local/share/doc/curl/libcurl/curl_formfree.pdf\n> /usr/local/share/doc/curl/libcurl/curl_formparse.3\n> /usr/local/share/doc/curl/libcurl/curl_formparse.html\n> /usr/local/share/doc/curl/libcurl/curl_formparse.pdf\n> /usr/local/share/doc/curl/libcurl/curl_free.3\n> /usr/local/share/doc/curl/libcurl/curl_free.html\n> /usr/local/share/doc/curl/libcurl/curl_free.pdf\n> /usr/local/share/doc/curl/libcurl/curl_getdate.3\n> /usr/local/share/doc/curl/libcurl/curl_getdate.html\n> /usr/local/share/doc/curl/libcurl/curl_getdate.pdf\n> /usr/local/share/doc/curl/libcurl/curl_getenv.3\n> /usr/local/share/doc/curl/libcurl/curl_getenv.html\n> /usr/local/share/doc/curl/libcurl/curl_getenv.pdf\n> /usr/local/share/doc/curl/libcurl/curl_global_cleanup.3\n> /usr/local/share/doc/curl/libcurl/curl_global_cleanup.html\n> /usr/local/share/doc/curl/libcurl/curl_global_cleanup.pdf\n> /usr/local/share/doc/curl/libcurl/curl_global_init.3\n> /usr/local/share/doc/curl/libcurl/curl_global_init.html\n> /usr/local/share/doc/curl/libcurl/curl_global_init.pdf\n> /usr/local/share/doc/curl/libcurl/curl_mprintf.3\n> /usr/local/share/doc/curl/libcurl/curl_mprintf.html\n> /usr/local/share/doc/curl/libcurl/curl_mprintf.pdf\n> /usr/local/share/doc/curl/libcurl/curl_multi_add_handle.3\n> /usr/local/share/doc/curl/libcurl/curl_multi_add_handle.html\n> /usr/local/share/doc/curl/libcurl/curl_multi_add_handle.pdf\n> /usr/local/share/doc/curl/libcurl/curl_multi_cleanup.3\n> /usr/local/share/doc/curl/libcurl/curl_multi_cleanup.html\n> /usr/local/share/doc/curl/libcurl/curl_multi_cleanup.pdf\n> /usr/local/share/doc/curl/libcurl/curl_multi_fdset.3\n> /usr/local/share/doc/curl/libcurl/curl_multi_fdset.html\n> /usr/local/share/doc/curl/libcurl/curl_multi_fdset.pdf\n> /usr/local/share/doc/curl/libcurl/curl_multi_info_read.3\n> /usr/local/share/doc/curl/libcurl/curl_multi_info_read.html\n> /usr/local/share/doc/curl/libcurl/curl_multi_info_read.pdf\n> /usr/local/share/doc/curl/libcurl/curl_multi_init.3\n> /usr/local/share/doc/curl/libcurl/curl_multi_init.html\n> /usr/local/share/doc/curl/libcurl/curl_multi_init.pdf\n> /usr/local/share/doc/curl/libcurl/curl_multi_perform.3\n> /usr/local/share/doc/curl/libcurl/curl_multi_perform.html\n> /usr/local/share/doc/curl/libcurl/curl_multi_perform.pdf\n> /usr/local/share/doc/curl/libcurl/curl_multi_remove_handle.3\n> /usr/local/share/doc/curl/libcurl/curl_multi_remove_handle.html\n> /usr/local/share/doc/curl/libcurl/curl_multi_remove_handle.pdf\n> /usr/local/share/doc/curl/libcurl/curl_slist_append.3\n> /usr/local/share/doc/curl/libcurl/curl_slist_append.html\n> /usr/local/share/doc/curl/libcurl/curl_slist_append.pdf\n> /usr/local/share/doc/curl/libcurl/curl_slist_free_all.3\n> /usr/local/share/doc/curl/libcurl/curl_slist_free_all.html\n> /usr/local/share/doc/curl/libcurl/curl_slist_free_all.pdf\n> /usr/local/share/doc/curl/libcurl/curl_strequal.3\n> /usr/local/share/doc/curl/libcurl/curl_strequal.html\n> /usr/local/share/doc/curl/libcurl/curl_strequal.pdf\n> /usr/local/share/doc/curl/libcurl/curl_strnequal.3\n> /usr/local/share/doc/curl/libcurl/curl_strnequal.html\n> /usr/local/share/doc/curl/libcurl/curl_strnequal.pdf\n> /usr/local/share/doc/curl/libcurl/curl_unescape.3\n> /usr/local/share/doc/curl/libcurl/curl_unescape.html\n> /usr/local/share/doc/curl/libcurl/curl_unescape.pdf\n> /usr/local/share/doc/curl/libcurl/curl_version.3\n> /usr/local/share/doc/curl/libcurl/curl_version.html\n> /usr/local/share/doc/curl/libcurl/curl_version.pdf\n> /usr/local/share/doc/curl/libcurl/curl_version_info.3\n> /usr/local/share/doc/curl/libcurl/curl_version_info.html\n> /usr/local/share/doc/curl/libcurl/curl_version_info.pdf\n> /usr/local/share/doc/curl/libcurl/index.html\n> /usr/local/share/doc/curl/libcurl/libcurl-errors.3\n> /usr/local/share/doc/curl/libcurl/libcurl-errors.html\n> /usr/local/share/doc/curl/libcurl/libcurl-errors.pdf\n> /usr/local/share/doc/curl/libcurl/libcurl-multi.3\n> /usr/local/share/doc/curl/libcurl/libcurl-multi.html\n> /usr/local/share/doc/curl/libcurl/libcurl-multi.pdf\n> /usr/local/share/doc/curl/libcurl/libcurl.3\n> /usr/local/share/doc/curl/libcurl/libcurl.html\n> /usr/local/share/doc/curl/libcurl/libcurl.pdf\n> /usr/local/share/doc/curl/libcurl-the-guide\n> [emlis:~/src/cogito-0.12.1]$ curl-config --version\n> libcurl 7.10.5\n> \n>           - dan\n> --\n> Dan Kohn <mailto:dan@dankohn.com>\n> <http://www.dankohn.com/>  <tel:+1-650-327-2600>\n> -\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n"},{"id":"6069","messageId":"pan.2005.07.13.06.56.52.447219@smurf.noris.de","threadId":"1211","inReplyTo":"B1091462CF5479489B1D8FE818330D2C01371D9F@exchange2003.ad.skymv.com","subject":"Re: Compilation troubles","fromName":"Matthias Urlichs","fromEmail":"smurf@smurf.noris.de","sentAt":"2005-07-13T06:56:55Z","receivedAt":"2005-07-13T06:56:55Z","isPatch":false,"sender":{"key":"matthias@urlichs.de","avatar":"https://gravatar.com/avatar/2708905af227313eba6f2b2ae0f7d0259b5ac5d71baef58fe5a13c699ce0bbf0?d=mp&s=160"},"body":"Hi, Dan Kohn wrote:\n\n> UBUNTU 5.04\n\nYou want zlib1g-dev, libssl-dev, asciidoc, xmlto, libcurl3-dev.\n\nI'll prepare a patch to do a simple set of Debian packages (so that \"make\ndebian\" works) for git(k)/cogito. I already use them locally, but that\nbranch is too unclean. :-/\n\n-- \nMatthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de\nDisclaimer: The quote was selected randomly. Really. | http://smurf.noris.de\n - -\nThe City of Palo Alto, in its official description of parking lot standards,\nspecifies the grade of wheelchair access ramps in terms of centimeters of\nrise per foot of run.  A compromise, I imagine...\n"}]}