alcatraz678
April 6th, 2009, 01:49 PM
Hi guys, I'm trying to learn how to install through source code. I want to learn this thing when I'm going to stay in Ubuntu forever right?
Anyway, here's an error that I got from the command line:
emme@emme-desktop:~/Desktop$ tar xfz git-1.6.2.2.tar.gz
emme@emme-desktop:~/Desktop$ cd git-1.6.2.2
emme@emme-desktop:~/Desktop/git-1.6.2.2$ make
/bin/sh: curl-config: not found
GIT_VERSION = 1.6.2.2
/bin/sh: curl-config: not found
* new build flags or prefix
CC fast-import.o
In file included from builtin.h:4,
from fast-import.c:142:
git-compat-util.h:104:25: error: openssl/ssl.h: No such file or directory
git-compat-util.h:105:25: error: openssl/err.h: No such file or directory
In file included from builtin.h:6,
from fast-import.c:142:
cache.h:8:21: error: openssl/sha.h: No such file or directory
cache.h:16:18: error: zlib.h: No such file or directory
In file included from builtin.h:6,
from fast-import.c:142:
cache.h:21: error: expected ‘)’ before ‘strm’
cache.h:22: error: expected ‘)’ before ‘strm’
cache.h:23: error: expected ‘)’ before ‘strm’
In file included from fast-import.c:151:
csum-file.h:10: error: expected specifier-qualifier-list before ‘SHA_CTX’
fast-import.c:279: error: ‘Z_DEFAULT_COMPRESSION’ undeclared here (not in a function)
fast-import.c: In function ‘create_index’:
fast-import.c:849: error: ‘SHA_CTX’ undeclared (first use in this function)
fast-import.c:849: error: (Each undeclared identifier is reported only once
fast-import.c:849: error: for each function it appears in.)
fast-import.c:849: error: expected ‘;’ before ‘ctx’
fast-import.c:885: warning: implicit declaration of function ‘SHA1_Init’
fast-import.c:885: error: ‘ctx’ undeclared (first use in this function)
fast-import.c:890: warning: implicit declaration of function ‘SHA1_Update’
fast-import.c:895: warning: implicit declaration of function ‘SHA1_Final’
fast-import.c: In function ‘store_object’:
fast-import.c:1037: error: ‘SHA_CTX’ undeclared (first use in this function)
fast-import.c:1037: error: expected ‘;’ before ‘c’
fast-import.c:1038: error: ‘z_stream’ undeclared (first use in this function)
fast-import.c:1038: error: expected ‘;’ before ‘s’
fast-import.c:1042: error: ‘c’ undeclared (first use in this function)
fast-import.c:1074: error: ‘s’ undeclared (first use in this function)
fast-import.c:1075: warning: implicit declaration of function ‘deflateInit’
fast-import.c:1085: warning: implicit declaration of function ‘deflate’
fast-import.c:1085: error: ‘Z_FINISH’ undeclared (first use in this function)
fast-import.c:1085: error: ‘Z_OK’ undeclared (first use in this function)
fast-import.c:1087: warning: implicit declaration of function ‘deflateEnd’
fast-import.c: In function ‘parse_progress’:
fast-import.c:2338: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
fast-import.c: In function ‘git_pack_config’:
fast-import.c:2391: error: ‘Z_BEST_COMPRESSION’ undeclared (first use in this function)
make: *** [fast-import.o] Error 1
emme@emme-desktop:~/Desktop/git-1.6.2.2$ make all
/bin/sh: curl-config: not found
CC fast-import.o
In file included from builtin.h:4,
from fast-import.c:142:
git-compat-util.h:104:25: error: openssl/ssl.h: No such file or directory
git-compat-util.h:105:25: error: openssl/err.h: No such file or directory
In file included from builtin.h:6,
from fast-import.c:142:
cache.h:8:21: error: openssl/sha.h: No such file or directory
cache.h:16:18: error: zlib.h: No such file or directory
In file included from builtin.h:6,
from fast-import.c:142:
cache.h:21: error: expected ‘)’ before ‘strm’
cache.h:22: error: expected ‘)’ before ‘strm’
cache.h:23: error: expected ‘)’ before ‘strm’
In file included from fast-import.c:151:
csum-file.h:10: error: expected specifier-qualifier-list before ‘SHA_CTX’
fast-import.c:279: error: ‘Z_DEFAULT_COMPRESSION’ undeclared here (not in a function)
fast-import.c: In function ‘create_index’:
fast-import.c:849: error: ‘SHA_CTX’ undeclared (first use in this function)
fast-import.c:849: error: (Each undeclared identifier is reported only once
fast-import.c:849: error: for each function it appears in.)
fast-import.c:849: error: expected ‘;’ before ‘ctx’
fast-import.c:885: warning: implicit declaration of function ‘SHA1_Init’
fast-import.c:885: error: ‘ctx’ undeclared (first use in this function)
fast-import.c:890: warning: implicit declaration of function ‘SHA1_Update’
fast-import.c:895: warning: implicit declaration of function ‘SHA1_Final’
fast-import.c: In function ‘store_object’:
fast-import.c:1037: error: ‘SHA_CTX’ undeclared (first use in this function)
fast-import.c:1037: error: expected ‘;’ before ‘c’
fast-import.c:1038: error: ‘z_stream’ undeclared (first use in this function)
fast-import.c:1038: error: expected ‘;’ before ‘s’
fast-import.c:1042: error: ‘c’ undeclared (first use in this function)
fast-import.c:1074: error: ‘s’ undeclared (first use in this function)
fast-import.c:1075: warning: implicit declaration of function ‘deflateInit’
fast-import.c:1085: warning: implicit declaration of function ‘deflate’
fast-import.c:1085: error: ‘Z_FINISH’ undeclared (first use in this function)
fast-import.c:1085: error: ‘Z_OK’ undeclared (first use in this function)
fast-import.c:1087: warning: implicit declaration of function ‘deflateEnd’
fast-import.c: In function ‘parse_progress’:
fast-import.c:2338: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
fast-import.c: In function ‘git_pack_config’:
fast-import.c:2391: error: ‘Z_BEST_COMPRESSION’ undeclared (first use in this function)
make: *** [fast-import.o] Error 1
emme@emme-desktop:~/Desktop/git-1.6.2.2$
I don't know what the hell happen, I just follow the INSTALL file. Like make command but the command line spat those errors out..
Anyway, here's an error that I got from the command line:
emme@emme-desktop:~/Desktop$ tar xfz git-1.6.2.2.tar.gz
emme@emme-desktop:~/Desktop$ cd git-1.6.2.2
emme@emme-desktop:~/Desktop/git-1.6.2.2$ make
/bin/sh: curl-config: not found
GIT_VERSION = 1.6.2.2
/bin/sh: curl-config: not found
* new build flags or prefix
CC fast-import.o
In file included from builtin.h:4,
from fast-import.c:142:
git-compat-util.h:104:25: error: openssl/ssl.h: No such file or directory
git-compat-util.h:105:25: error: openssl/err.h: No such file or directory
In file included from builtin.h:6,
from fast-import.c:142:
cache.h:8:21: error: openssl/sha.h: No such file or directory
cache.h:16:18: error: zlib.h: No such file or directory
In file included from builtin.h:6,
from fast-import.c:142:
cache.h:21: error: expected ‘)’ before ‘strm’
cache.h:22: error: expected ‘)’ before ‘strm’
cache.h:23: error: expected ‘)’ before ‘strm’
In file included from fast-import.c:151:
csum-file.h:10: error: expected specifier-qualifier-list before ‘SHA_CTX’
fast-import.c:279: error: ‘Z_DEFAULT_COMPRESSION’ undeclared here (not in a function)
fast-import.c: In function ‘create_index’:
fast-import.c:849: error: ‘SHA_CTX’ undeclared (first use in this function)
fast-import.c:849: error: (Each undeclared identifier is reported only once
fast-import.c:849: error: for each function it appears in.)
fast-import.c:849: error: expected ‘;’ before ‘ctx’
fast-import.c:885: warning: implicit declaration of function ‘SHA1_Init’
fast-import.c:885: error: ‘ctx’ undeclared (first use in this function)
fast-import.c:890: warning: implicit declaration of function ‘SHA1_Update’
fast-import.c:895: warning: implicit declaration of function ‘SHA1_Final’
fast-import.c: In function ‘store_object’:
fast-import.c:1037: error: ‘SHA_CTX’ undeclared (first use in this function)
fast-import.c:1037: error: expected ‘;’ before ‘c’
fast-import.c:1038: error: ‘z_stream’ undeclared (first use in this function)
fast-import.c:1038: error: expected ‘;’ before ‘s’
fast-import.c:1042: error: ‘c’ undeclared (first use in this function)
fast-import.c:1074: error: ‘s’ undeclared (first use in this function)
fast-import.c:1075: warning: implicit declaration of function ‘deflateInit’
fast-import.c:1085: warning: implicit declaration of function ‘deflate’
fast-import.c:1085: error: ‘Z_FINISH’ undeclared (first use in this function)
fast-import.c:1085: error: ‘Z_OK’ undeclared (first use in this function)
fast-import.c:1087: warning: implicit declaration of function ‘deflateEnd’
fast-import.c: In function ‘parse_progress’:
fast-import.c:2338: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
fast-import.c: In function ‘git_pack_config’:
fast-import.c:2391: error: ‘Z_BEST_COMPRESSION’ undeclared (first use in this function)
make: *** [fast-import.o] Error 1
emme@emme-desktop:~/Desktop/git-1.6.2.2$ make all
/bin/sh: curl-config: not found
CC fast-import.o
In file included from builtin.h:4,
from fast-import.c:142:
git-compat-util.h:104:25: error: openssl/ssl.h: No such file or directory
git-compat-util.h:105:25: error: openssl/err.h: No such file or directory
In file included from builtin.h:6,
from fast-import.c:142:
cache.h:8:21: error: openssl/sha.h: No such file or directory
cache.h:16:18: error: zlib.h: No such file or directory
In file included from builtin.h:6,
from fast-import.c:142:
cache.h:21: error: expected ‘)’ before ‘strm’
cache.h:22: error: expected ‘)’ before ‘strm’
cache.h:23: error: expected ‘)’ before ‘strm’
In file included from fast-import.c:151:
csum-file.h:10: error: expected specifier-qualifier-list before ‘SHA_CTX’
fast-import.c:279: error: ‘Z_DEFAULT_COMPRESSION’ undeclared here (not in a function)
fast-import.c: In function ‘create_index’:
fast-import.c:849: error: ‘SHA_CTX’ undeclared (first use in this function)
fast-import.c:849: error: (Each undeclared identifier is reported only once
fast-import.c:849: error: for each function it appears in.)
fast-import.c:849: error: expected ‘;’ before ‘ctx’
fast-import.c:885: warning: implicit declaration of function ‘SHA1_Init’
fast-import.c:885: error: ‘ctx’ undeclared (first use in this function)
fast-import.c:890: warning: implicit declaration of function ‘SHA1_Update’
fast-import.c:895: warning: implicit declaration of function ‘SHA1_Final’
fast-import.c: In function ‘store_object’:
fast-import.c:1037: error: ‘SHA_CTX’ undeclared (first use in this function)
fast-import.c:1037: error: expected ‘;’ before ‘c’
fast-import.c:1038: error: ‘z_stream’ undeclared (first use in this function)
fast-import.c:1038: error: expected ‘;’ before ‘s’
fast-import.c:1042: error: ‘c’ undeclared (first use in this function)
fast-import.c:1074: error: ‘s’ undeclared (first use in this function)
fast-import.c:1075: warning: implicit declaration of function ‘deflateInit’
fast-import.c:1085: warning: implicit declaration of function ‘deflate’
fast-import.c:1085: error: ‘Z_FINISH’ undeclared (first use in this function)
fast-import.c:1085: error: ‘Z_OK’ undeclared (first use in this function)
fast-import.c:1087: warning: implicit declaration of function ‘deflateEnd’
fast-import.c: In function ‘parse_progress’:
fast-import.c:2338: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
fast-import.c: In function ‘git_pack_config’:
fast-import.c:2391: error: ‘Z_BEST_COMPRESSION’ undeclared (first use in this function)
make: *** [fast-import.o] Error 1
emme@emme-desktop:~/Desktop/git-1.6.2.2$
I don't know what the hell happen, I just follow the INSTALL file. Like make command but the command line spat those errors out..