* Compiling git-snapshot-20069831
@ 2006-08-31 12:03 Jorma Karvonen
2006-08-31 12:09 ` Johannes Schindelin
0 siblings, 1 reply; 14+ messages in thread
From: Jorma Karvonen @ 2006-08-31 12:03 UTC (permalink / raw)
To: git
[-- Attachment #1: Type: text/plain, Size: 125 bytes --]
Hello,
I enclose here the file that includes error messages.
Best regards,
Jorma Karvonen
karvjorm@users.sourceforge.net
[-- Attachment #2: error1.txt --]
[-- Type: text/plain, Size: 6551 bytes --]
Hello,
I tried to compile (with gcc 4.0.3) git-snapshot-20060831 and got the following error messges:
make --prefix=/usr/local
mailinfo.o: In funtion 'convert_to_utf8':
git-snapshot-20060831/mailinfo.c:482: undefined reference to 'libiconv_open'
git-snapshot-20060831/mailinfo.c:503: undefined reference to 'libiconv'
git-snapshot-20060831/mailinfo.c:504: undefined reference to 'libiconv_close'
collect2: ld returned 1 exit status
then I tried make --prefix=/usr/local NEEDS_LIBICONV=1 and got the following error messsages:
In file included from http.c:1:
http.h:6:23: error: curl/curl.h: Tiedostoa tai hakemistoa ei ole
http.h:7:23: error: curl/easy.h: Tiedostoa tai hakemistoa ei ole
In file included from http.c:1:
http.h:27: error: syntax error before 'CURLcode'
http.h:27: warning: no semicolon at end of struct or union
http.h:29: error: syntax error before '}' token
http.h:33: error: syntax error before 'CURL'
http.h:33: warning: no semicolon at end of struct or union
http.h:36: error: syntax error before 'curl_result'
http.h:36: warning: type defaults to 'int' in declaration of 'curl_result'
http.h:36: warning: data definition has no type or storage class
http.h:43: error: syntax error before '}' token
http.h:85: error: 'CURL_ERROR_SIZE' undeclared here (not in a function)
http.c:163: error: syntax error before '*' token
http.c:164: warning: return type defaults to 'int'
http.c: In function 'get_curl_handle':
http.c:165: error: 'CURL' undeclared (first use in this function)
http.c:165: error: (Each undeclared identifier is reported only once
http.c:165: error: for each function it appears in.)
http.c:165: error: 'result' undeclared (first use in this function)
http.c:165: warning: implicit declaration of function 'curl_easy_init'
http.c:167: warning: implicit declaration of function 'curl_easy_setopt'
http.c:167: error: 'CURLOPT_SSL_VERIFYPEER' undeclared (first use in this function)
http.c:173: error: 'CURLOPT_SSLCERT' undeclared (first use in this function)
http.c:183: error: 'CURLOPT_CAINFO' undeclared (first use in this function)
http.c:184: error: 'CURLOPT_FAILONERROR' undeclared (first use in this function)
http.c:187: error: 'CURLOPT_LOW_SPEED_LIMIT' undeclared (first use in this function)
http.c:189: error: 'CURLOPT_LOW_SPEED_TIME' undeclared (first use in this function)
http.c:193: error: 'CURLOPT_FOLLOWLOCATION' undeclared (first use in this function)
http.c:196: error: 'CURLOPT_VERBOSE' undeclared (first use in this function)
http.c:198: error: 'CURLOPT_USERAGENT' undeclared (first use in this function)
http.c: In function 'http_init':
http.c:210: warning: implicit declaration of function 'curl_slist_append'
http.c:210: warning: assignment makes pointer from integer without a cast
http.c:211: warning: assignment makes pointer from integer without a cast
http.c: In function 'http_cleanup':
http.c:278: error: dereferencing pointer to incomplete type
http.c:279: warning: implicit declaration of function 'curl_easy_cleanup'
http.c:279: error: dereferencing pointer to incomplete type
http.c:280: error: dereferencing pointer to incomplete type
http.c: In function 'get_active_slot':
http.c:311: error: dereferencing pointer to incomplete type
http.c:312: error: dereferencing pointer to incomplete type
http.c:315: error: dereferencing pointer to incomplete type
http.c:316: error: dereferencing pointer to incomplete type
http.c:317: error: dereferencing pointer to incomplete type
http.c:318: error: dereferencing pointer to incomplete type
http.c:324: error: dereferencing pointer to incomplete type
http.c:325: error: dereferencing pointer to incomplete type
http.c:327: error: dereferencing pointer to incomplete type
http.c:332: error: dereferencing pointer to incomplete type
http.c:334: error: dereferencing pointer to incomplete type
http.c:341: error: dereferencing pointer to incomplete type
http.c:342: error: dereferencing pointer to incomplete type
http.c:343: error: dereferencing pointer to incomplete type
http.c:344: error: dereferencing pointer to incomplete type
http.c:345: error: dereferencing pointer to incomplete type
http.c:346: error: dereferencing pointer to incomplete type
http.c:347: error: dereferencing pointer to incomplete type
http.c:347: error: 'CURLOPT_HTTPHEADER' undeclared (first use in this function)
http.c:348: error: dereferencing pointer to incomplete type
http.c:349: error: dereferencing pointer to incomplete type
http.c:349: error: 'CURLOPT_ERRORBUFFER' undeclared (first use in this function)
http.c: In function 'run_active_slot':
http.c:421: error: dereferencing pointer to incomplete type
http.c:422: error: dereferencing pointer to incomplete type
http.c:422: warning: implicit declaration of function 'curl_easy_perform'
http.c:422: error: dereferencing pointer to incomplete type
http.c: In function 'closedown_active_slot':
http.c:431: error: dereferencing pointer to incomplete type
http.c: In function 'release_active_slot':
http.c:437: error: dereferencing pointer to incomplete type
http.c:438: warning: implicit declaration of function 'curl_multi_remove_handle'
http.c:438: error: 'curlm' undeclared (first use in this function)
http.c:438: error: dereferencing pointer to incomplete type
http.c:439: error: dereferencing pointer to incomplete type
http.c:440: error: dereferencing pointer to incomplete type
http.c:442: warning: implicit declaration of function 'fill_active_slots'
http.c: In function 'finish_active_slot':
http.c:448: warning: implicit declaration of function 'curl_easy_getinfo'
http.c:448: error: dereferencing pointer to incomplete type
http.c:448: error: 'CURLINFO_HTTP_CODE' undeclared (first use in this function)
http.c:448: error: dereferencing pointer to incomplete type
http.c:450: error: dereferencing pointer to incomplete type
http.c:451: error: dereferencing pointer to incomplete type
http.c:454: error: dereferencing pointer to incomplete type
http.c:455: error: dereferencing pointer to incomplete type
http.c:455: error: dereferencing pointer to incomplete type
http.c:456: error: dereferencing pointer to incomplete type
http.c:456: error: dereferencing pointer to incomplete type
http.c:460: error: dereferencing pointer to incomplete type
http.c:461: error: dereferencing pointer to incomplete type
http.c:461: error: dereferencing pointer to incomplete type
http.c: In function 'finish_all_active_slots':
http.c:470: error: dereferencing pointer to incomplete type
http.c:474: error: dereferencing pointer to incomplete type
make: *** [http.o] Error 1
Best regards,
Jorma Karvonen
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Compiling git-snapshot-20069831
2006-08-31 12:03 Compiling git-snapshot-20069831 Jorma Karvonen
@ 2006-08-31 12:09 ` Johannes Schindelin
2006-08-31 12:24 ` Jakub Narebski
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: Johannes Schindelin @ 2006-08-31 12:09 UTC (permalink / raw)
To: Jorma Karvonen; +Cc: git
Hi,
since you do have a recent snapshot, why not try ./configure, as Pasky
suggested?
BTW I cannot read Finnish, but it probably says that you do not have curl
installed. configure would detect that, and automatically set NO_CURL=1.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Compiling git-snapshot-20069831
2006-08-31 12:09 ` Johannes Schindelin
@ 2006-08-31 12:24 ` Jakub Narebski
2006-08-31 14:38 ` Jorma Karvonen
2006-08-31 21:37 ` Linus Torvalds
2 siblings, 0 replies; 14+ messages in thread
From: Jakub Narebski @ 2006-08-31 12:24 UTC (permalink / raw)
To: git
Johannes Schindelin wrote:
> since you do have a recent snapshot, why not try ./configure, as Pasky
> suggested?
>
> BTW I cannot read Finnish, but (...)
So when sending error codes it would be better to set LC_ALL=C (or
equivalent) before producing and sending error message.
> (...) it probably says that you do not have curl
> installed. configure would detect that, and automatically set NO_CURL=1.
Without curl http:// and https:// transports won't work. So you perhaps want
to install curl instead.
>From INSTALL:
Alternatively you can use autoconf generated ./configure script to
set up install paths (via config.mak.autogen), so you can write instead
$ make configure ;# as yourself, if configure does not exist
$ ./configure --prefix=/usr ;# as yourself
$ make all doc ;# as yourself
# make install install-doc ;# as root
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Compiling git-snapshot-20069831
2006-08-31 12:09 ` Johannes Schindelin
2006-08-31 12:24 ` Jakub Narebski
@ 2006-08-31 14:38 ` Jorma Karvonen
2006-08-31 14:59 ` Jakub Narebski
2006-08-31 15:28 ` Johannes Schindelin
2006-08-31 21:37 ` Linus Torvalds
2 siblings, 2 replies; 14+ messages in thread
From: Jorma Karvonen @ 2006-08-31 14:38 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git
[-- Attachment #1: Type: text/plain, Size: 785 bytes --]
Johannes Schindelin wrote:
> Hi,
>
> since you do have a recent snapshot, why not try ./configure, as Pasky
> suggested?
>
> BTW I cannot read Finnish, but it probably says that you do not have curl
> installed. configure would detect that, and automatically set NO_CURL=1.
>
> Ciao,
> Dscho
>
>
>
Sorry,
but I have not any git installed and there is no configure file in
installing directory. It was the first thing I checked after extracting
the git-snapshot-20060831.bz2 file. The INSTALL file does not mention
the ./configure command, either.
When I tested
make NEEDS_LIBICONV=1 NO_CURL=1
the make succeeded but when trying make install I got error messages
shown in the enclosed file.
Best regards,
Jorma Karvonen
karvjorm (at) users (dot) sourceforge (dot) net
[-- Attachment #2: error2.txt --]
[-- Type: text/plain, Size: 6257 bytes --]
make install;
/bin/sh: curl-config: command not found
gcc -o http.o -c -g -O2 -Wall -DSHA1_HEADER='<openssl/sha.h>' -DDEFAULT_GIT_TEMPLATE_DIR='"/root/share/git-core/templates/"' -DGIT_USER_AGENT='"git/1.3.GIT"' http.c
In file included from http.c:1:
http.h:6:23: error: curl/curl.h: Tiedostoa tai hakemistoa ei ole (no file or directory)
http.h:7:23: error: curl/easy.h: Tiedostoa tai hakemistoa ei ole (no file or directory)
In file included from http.c:1:
http.h:27: error: syntax error before 'CURLcode'
http.h:27: warning: no semicolon at end of struct or union
http.h:29: error: syntax error before '}' token
http.h:33: error: syntax error before 'CURL'
http.h:33: warning: no semicolon at end of struct or union
http.h:36: error: syntax error before 'curl_result'
http.h:36: warning: type defaults to 'int' in declaration of 'curl_result'
http.h:36: warning: data definition has no type or storage class
http.h:43: error: syntax error before '}' token
http.h:85: error: 'CURL_ERROR_SIZE' undeclared here (not in a function)
http.c:163: error: syntax error before '*' token
http.c:164: warning: return type defaults to 'int'
http.c: In function 'get_curl_handle':
http.c:165: error: 'CURL' undeclared (first use in this function)
http.c:165: error: (Each undeclared identifier is reported only once
http.c:165: error: for each function it appears in.)
http.c:165: error: 'result' undeclared (first use in this function)
http.c:165: warning: implicit declaration of function 'curl_easy_init'
http.c:167: warning: implicit declaration of function 'curl_easy_setopt'
http.c:167: error: 'CURLOPT_SSL_VERIFYPEER' undeclared (first use in this function)
http.c:173: error: 'CURLOPT_SSLCERT' undeclared (first use in this function)
http.c:183: error: 'CURLOPT_CAINFO' undeclared (first use in this function)
http.c:184: error: 'CURLOPT_FAILONERROR' undeclared (first use in this function)
http.c:187: error: 'CURLOPT_LOW_SPEED_LIMIT' undeclared (first use in this function)
http.c:189: error: 'CURLOPT_LOW_SPEED_TIME' undeclared (first use in this function)
http.c:193: error: 'CURLOPT_FOLLOWLOCATION' undeclared (first use in this function)
http.c:196: error: 'CURLOPT_VERBOSE' undeclared (first use in this function)
http.c:198: error: 'CURLOPT_USERAGENT' undeclared (first use in this function)
http.c: In function 'http_init':
http.c:210: warning: implicit declaration of function 'curl_slist_append'
http.c:210: warning: assignment makes pointer from integer without a cast
http.c:211: warning: assignment makes pointer from integer without a cast
http.c: In function 'http_cleanup':
http.c:278: error: dereferencing pointer to incomplete type
http.c:279: warning: implicit declaration of function 'curl_easy_cleanup'
http.c:279: error: dereferencing pointer to incomplete type
http.c:280: error: dereferencing pointer to incomplete type
http.c: In function 'get_active_slot':
http.c:311: error: dereferencing pointer to incomplete type
http.c:312: error: dereferencing pointer to incomplete type
http.c:315: error: dereferencing pointer to incomplete type
http.c:316: error: dereferencing pointer to incomplete type
http.c:317: error: dereferencing pointer to incomplete type
http.c:318: error: dereferencing pointer to incomplete type
http.c:324: error: dereferencing pointer to incomplete type
http.c:325: error: dereferencing pointer to incomplete type
http.c:327: error: dereferencing pointer to incomplete type
http.c:332: error: dereferencing pointer to incomplete type
http.c:334: error: dereferencing pointer to incomplete type
http.c:341: error: dereferencing pointer to incomplete type
http.c:342: error: dereferencing pointer to incomplete type
http.c:343: error: dereferencing pointer to incomplete type
http.c:344: error: dereferencing pointer to incomplete type
http.c:345: error: dereferencing pointer to incomplete type
http.c:346: error: dereferencing pointer to incomplete type
http.c:347: error: dereferencing pointer to incomplete type
http.c:347: error: 'CURLOPT_HTTPHEADER' undeclared (first use in this function)
http.c:348: error: dereferencing pointer to incomplete type
http.c:349: error: dereferencing pointer to incomplete type
http.c:349: error: 'CURLOPT_ERRORBUFFER' undeclared (first use in this function)
http.c: In function 'run_active_slot':
http.c:421: error: dereferencing pointer to incomplete type
http.c:422: error: dereferencing pointer to incomplete type
http.c:422: warning: implicit declaration of function 'curl_easy_perform'
http.c:422: error: dereferencing pointer to incomplete type
http.c: In function 'closedown_active_slot':
http.c:431: error: dereferencing pointer to incomplete type
http.c: In function 'release_active_slot':
http.c:437: error: dereferencing pointer to incomplete type
http.c:438: warning: implicit declaration of function 'curl_multi_remove_handle'
http.c:438: error: 'curlm' undeclared (first use in this function)
http.c:438: error: dereferencing pointer to incomplete type
http.c:439: error: dereferencing pointer to incomplete type
http.c:440: error: dereferencing pointer to incomplete type
http.c:442: warning: implicit declaration of function 'fill_active_slots'
http.c: In function 'finish_active_slot':
http.c:448: warning: implicit declaration of function 'curl_easy_getinfo'
http.c:448: error: dereferencing pointer to incomplete type
http.c:448: error: 'CURLINFO_HTTP_CODE' undeclared (first use in this function)
http.c:448: error: dereferencing pointer to incomplete type
http.c:450: error: dereferencing pointer to incomplete type
http.c:451: error: dereferencing pointer to incomplete type
http.c:454: error: dereferencing pointer to incomplete type
http.c:455: error: dereferencing pointer to incomplete type
http.c:455: error: dereferencing pointer to incomplete type
http.c:456: error: dereferencing pointer to incomplete type
http.c:456: error: dereferencing pointer to incomplete type
http.c:460: error: dereferencing pointer to incomplete type
http.c:461: error: dereferencing pointer to incomplete type
http.c:461: error: dereferencing pointer to incomplete type
http.c: In function 'finish_all_active_slots':
http.c:470: error: dereferencing pointer to incomplete type
http.c:474: error: dereferencing pointer to incomplete type
make: *** [http.o] Error 1
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Compiling git-snapshot-20069831
2006-08-31 14:38 ` Jorma Karvonen
@ 2006-08-31 14:59 ` Jakub Narebski
2006-08-31 15:19 ` Andreas Ericsson
2006-08-31 15:28 ` Johannes Schindelin
1 sibling, 1 reply; 14+ messages in thread
From: Jakub Narebski @ 2006-08-31 14:59 UTC (permalink / raw)
To: git
Jorma Karvonen wrote:
> Johannes Schindelin wrote:
>> since you do have a recent snapshot, why not try ./configure, as Pasky
>> suggested?
>>
>> BTW I cannot read Finnish, but it probably says that you do not have curl
>> installed. configure would detect that, and automatically set NO_CURL=1.
>
> Sorry,
>
> but I have not any git installed and there is no configure file in
> installing directory. It was the first thing I checked after extracting
> the git-snapshot-20060831.bz2 file. The INSTALL file does not mention
> the ./configure command, either.
>From INSTALL file, 'maint' branch:
Alternatively you can use autoconf generated ./configure script to
set up install paths (via config.mak.autogen), so you can write instead
$ autoconf ;# as yourself if ./configure doesn't exist yet
$ ./configure --prefix=/usr ;# as yourself
$ make all doc ;# as yourself
# make install install-doc ;# as root
>From INSTALL file, 'next' and 'master' branches (here since 2006-08-08):
Alternatively you can use autoconf generated ./configure script to
set up install paths (via config.mak.autogen), so you can write instead
$ make configure ;# as yourself
$ ./configure --prefix=/usr ;# as yourself
$ make all doc ;# as yourself
# make install install-doc ;# as root
> When I tested
>
> make NEEDS_LIBICONV=1 NO_CURL=1
>
> the make succeeded but when trying make install I got error messages
> shown in the enclosed file.
Try then
$ NEEDS_LIBICONV=YesPlease NO_CURL=YesPlease make
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Compiling git-snapshot-20069831
2006-08-31 14:59 ` Jakub Narebski
@ 2006-08-31 15:19 ` Andreas Ericsson
0 siblings, 0 replies; 14+ messages in thread
From: Andreas Ericsson @ 2006-08-31 15:19 UTC (permalink / raw)
To: Jakub Narebski; +Cc: git
Jakub Narebski wrote:
> Jorma Karvonen wrote:
>
>> When I tested
>>
>> make NEEDS_LIBICONV=1 NO_CURL=1
>>
>> the make succeeded but when trying make install I got error messages
>> shown in the enclosed file.
>
> Try then
> $ NEEDS_LIBICONV=YesPlease NO_CURL=YesPlease make
>
I think you meant
$ make NEEDS_LIBICONV=YesPlease NO_CURL=YesPlease install
there, Jakub.
Jorma, since the Makefile has no ideas on state, it only notices that
some files it needs to make a complete install with the parameters
you're passing it when also passing 'install' are missing, it tries to
build them, but without the NEEDS_LIBICONV and NO_CURL flags. Pass them
both when doing normal 'make' and when doing 'make install' and you'll
be fine. You might also want to check if your distribution provides a
pre-compiled package. If that's the case, you should be able to get away
with something easy such as
$ apt-get install git
or
$ yum install git
Good luck
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Compiling git-snapshot-20069831
2006-08-31 14:38 ` Jorma Karvonen
2006-08-31 14:59 ` Jakub Narebski
@ 2006-08-31 15:28 ` Johannes Schindelin
2006-08-31 16:59 ` Jorma Karvonen
1 sibling, 1 reply; 14+ messages in thread
From: Johannes Schindelin @ 2006-08-31 15:28 UTC (permalink / raw)
To: Jorma Karvonen; +Cc: git
Hi,
On Thu, 31 Aug 2006, Jorma Karvonen wrote:
> Johannes Schindelin wrote:
> > Hi,
> >
> > since you do have a recent snapshot, why not try ./configure, as Pasky
> > suggested?
> >
> > BTW I cannot read Finnish, but it probably says that you do not have curl
> > installed. configure would detect that, and automatically set NO_CURL=1.
> >
> > Ciao,
> > Dscho
> >
> >
> >
> Sorry,
>
> but I have not any git installed and there is no configure file in installing
> directory.
Ooops. As mentioned elsewhere, try "make configure" first.
> When I tested
> make NEEDS_LIBICONV=1 NO_CURL=1
>
> the make succeeded but when trying make install I got error messages shown in
> the enclosed file.
You forgot to say "NEEDS_LIBICONV=1 NO_CURL=1" with the "make install":
make NEEDS_LIBICONV=1 NO_CURL=1 install
This would not be necessary with ./configure, since it writes these
settings into a file, which is read by "make".
Ciao,
Dscho
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Compiling git-snapshot-20069831
2006-08-31 15:28 ` Johannes Schindelin
@ 2006-08-31 16:59 ` Jorma Karvonen
2006-08-31 17:06 ` Johannes Schindelin
0 siblings, 1 reply; 14+ messages in thread
From: Jorma Karvonen @ 2006-08-31 16:59 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git
Johannes Schindelin wrote:
> Hi,
>
> On Thu, 31 Aug 2006, Jorma Karvonen wrote:
>
>
>> Johannes Schindelin wrote:
>>
>>> Hi,
>>>
>>> since you do have a recent snapshot, why not try ./configure, as Pasky
>>> suggested?
>>>
>>> BTW I cannot read Finnish, but it probably says that you do not have curl
>>> installed. configure would detect that, and automatically set NO_CURL=1.
>>>
>>> Ciao,
>>> Dscho
>>>
>>>
>>>
>>>
>> Sorry,
>>
>> but I have not any git installed and there is no configure file in installing
>> directory.
>>
>
> Ooops. As mentioned elsewhere, try "make configure" first.
>
>
I tried
make configure
and got an error message:
/bin/sh: curl-config: command not found
make: **** No rule to make target `configure'. Stop.
Then I tried
make NEEDS_LIBICONV=1 NO_CURL=1 configure
and error message was: make: **** No rule to make target `configure'. Stop.
> This would not be necessary with ./configure, since it writes these
> settings into a file, which is read by "make".
>
> Ciao,
> Dscho
>
>
>
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Compiling git-snapshot-20069831
2006-08-31 16:59 ` Jorma Karvonen
@ 2006-08-31 17:06 ` Johannes Schindelin
2006-08-31 17:25 ` Jorma Karvonen
2006-09-01 13:30 ` Jorma Karvonen
0 siblings, 2 replies; 14+ messages in thread
From: Johannes Schindelin @ 2006-08-31 17:06 UTC (permalink / raw)
To: Jorma Karvonen; +Cc: git
Hi,
On Thu, 31 Aug 2006, Jorma Karvonen wrote:
> I tried
>
> make configure
>
> and got an error message:
>
> /bin/sh: curl-config: command not found
> make: **** No rule to make target `configure'. Stop.
Okay. I deem this a bug in our Makefile.
Could you please try "autoconf" and _then_ "./configure"?
Hth,
Dscho
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Compiling git-snapshot-20069831
2006-08-31 17:06 ` Johannes Schindelin
@ 2006-08-31 17:25 ` Jorma Karvonen
2006-08-31 19:30 ` Jakub Narebski
2006-09-01 13:30 ` Jorma Karvonen
1 sibling, 1 reply; 14+ messages in thread
From: Jorma Karvonen @ 2006-08-31 17:25 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git
Johannes Schindelin wrote:
> Hi,
>
> On Thu, 31 Aug 2006, Jorma Karvonen wrote:
>
>
>> I tried
>>
>> make configure
>>
>> and got an error message:
>>
>> /bin/sh: curl-config: command not found
>> make: **** No rule to make target `configure'. Stop.
>>
>
> Okay. I deem this a bug in our Makefile.
>
> Could you please try "autoconf" and _then_ "./configure"?
>
> Hth,
> Dscho
>
>
Hi,
I tried autoconf and result was:
autoconf: no input file
Best regards,
Jorma Karvonen
karvjorm (at) users (dot) sourceforge (dot) net
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Compiling git-snapshot-20069831
2006-08-31 17:25 ` Jorma Karvonen
@ 2006-08-31 19:30 ` Jakub Narebski
0 siblings, 0 replies; 14+ messages in thread
From: Jakub Narebski @ 2006-08-31 19:30 UTC (permalink / raw)
To: git
Jorma Karvonen wrote:
> Johannes Schindelin wrote:
>
>> On Thu, 31 Aug 2006, Jorma Karvonen wrote:
>>
>>> I tried
>>>
>>> make configure
>>>
>>> and got an error message:
>>>
>>> /bin/sh: curl-config: command not found
>>> make: **** No rule to make target `configure'. Stop.
The offending line seems to be
curl_check := $(shell (echo 070908; curl-config --vernum) | sort -r | sed -ne 2p)
and it is turned off if you always run make with NO_CURL=1.
Or write NO_CURL=1 (or NO_CURL=YesPlease) in the config.mak file
>> Okay. I deem this a bug in our Makefile.
>>
>> Could you please try "autoconf" and _then_ "./configure"?
>>
> I tried autoconf and result was:
>
> autoconf: no input file
"autoconf -o configure configure.ac" then
By the way, from what directory you try to run make from?
autoconf default input file is configure.ac, and AFAIK it is
present in 'master' from quite some time, and perhaps in 'maint'
as well.
What is in GIT-VERSION-FILE aftre running GIT-VERSION-GEN?
Below my results of running make configure in git/ working directory:
1047:jnareb@roke:~/git> make configure
GIT_VERSION = 1.4.2.gf713
rm -f configure configure.ac+
sed -e 's/@@GIT_VERSION@@/1.4.2.gf713/g' \
configure.ac > configure.ac+
autoconf -o configure configure.ac+
rm -f configure.ac+
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Compiling git-snapshot-20069831
2006-08-31 17:06 ` Johannes Schindelin
2006-08-31 17:25 ` Jorma Karvonen
@ 2006-09-01 13:30 ` Jorma Karvonen
1 sibling, 0 replies; 14+ messages in thread
From: Jorma Karvonen @ 2006-09-01 13:30 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git
Johannes Schindelin wrote:
> Hi,
>
> On Thu, 31 Aug 2006, Jorma Karvonen wrote:
>
>
>> I tried
>>
>> make configure
>>
>> and got an error message:
>>
>> /bin/sh: curl-config: command not found
>> make: **** No rule to make target `configure'. Stop.
>>
>
> Okay. I deem this a bug in our Makefile.
>
> Could you please try "autoconf" and _then_ "./configure"?
>
> Hth,
> Dscho
>
>
Hi,
I tried git-snapshot-20060901 and everything is now OK.
make prefix=/usr/local NEEDS_LIBICONV=1 NO_CURL=1
and
make prefix=/usr/local NEEDS_LIBICONV=1 NO_CURL=1 install
were the correct commands and git is now installed.
Thank you very much,
Jorma Karvonen
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Compiling git-snapshot-20069831
2006-08-31 12:09 ` Johannes Schindelin
2006-08-31 12:24 ` Jakub Narebski
2006-08-31 14:38 ` Jorma Karvonen
@ 2006-08-31 21:37 ` Linus Torvalds
2006-08-31 22:07 ` Johannes Schindelin
2 siblings, 1 reply; 14+ messages in thread
From: Linus Torvalds @ 2006-08-31 21:37 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Jorma Karvonen, git
[-- Attachment #1: Type: TEXT/PLAIN, Size: 441 bytes --]
On Thu, 31 Aug 2006, Johannes Schindelin wrote:
>
> BTW I cannot read Finnish
Tssk, tssk. Bad Dscho.
"Tiedostoa tai hakemistoa ei ole" just means "No such file or directory".
EVERYBODY knows that.
It's not like there's even a single ä or ö in the whole sentence, so you
can't even blame the strange letters (and that's unusual, since in
Finnish, usually every other letter is 'ä' if only just to confuse the
uninitiated).
Linus
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Compiling git-snapshot-20069831
2006-08-31 21:37 ` Linus Torvalds
@ 2006-08-31 22:07 ` Johannes Schindelin
0 siblings, 0 replies; 14+ messages in thread
From: Johannes Schindelin @ 2006-08-31 22:07 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Jorma Karvonen, git
Hi,
On Thu, 31 Aug 2006, Linus Torvalds wrote:
> On Thu, 31 Aug 2006, Johannes Schindelin wrote:
> >
> > BTW I cannot read Finnish
>
> Tssk, tssk. Bad Dscho.
>
> "Tiedostoa tai hakemistoa ei ole" just means "No such file or directory".
>
> EVERYBODY knows that.
Ouch.
Well, I lied. I could _read_ it. But I did not _understand_ it.
If I had read something along the lines of "Des is owwer ned douh!", I'd
stand a chance to understand it.
Honestly, give me something like German, French, Italian, even Swedish or
Franconian, I'll happily read and understand it. And you only understand
it because you happened to live there, and besides drinks and sauna, there
is nothing more interesting than this language consisting of
multi-syllable words ;-)
Ciao,
Dscho
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2006-09-01 13:30 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-31 12:03 Compiling git-snapshot-20069831 Jorma Karvonen
2006-08-31 12:09 ` Johannes Schindelin
2006-08-31 12:24 ` Jakub Narebski
2006-08-31 14:38 ` Jorma Karvonen
2006-08-31 14:59 ` Jakub Narebski
2006-08-31 15:19 ` Andreas Ericsson
2006-08-31 15:28 ` Johannes Schindelin
2006-08-31 16:59 ` Jorma Karvonen
2006-08-31 17:06 ` Johannes Schindelin
2006-08-31 17:25 ` Jorma Karvonen
2006-08-31 19:30 ` Jakub Narebski
2006-09-01 13:30 ` Jorma Karvonen
2006-08-31 21:37 ` Linus Torvalds
2006-08-31 22:07 ` Johannes Schindelin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).