* Building 1.6.2-rc2 in Cygwin
@ 2009-02-26 15:23 Tim Visher
2009-02-26 15:44 ` Jeff King
2009-02-27 12:37 ` Tay Ray Chuan
0 siblings, 2 replies; 3+ messages in thread
From: Tim Visher @ 2009-02-26 15:23 UTC (permalink / raw)
To: git
Hello Everyone,
This is somewhat related to my previous question about `configure`
ignoring `--XXdir=` options but it's different enough that I think it
warrants a new thread.
The reason I'm using `configure` at all is that when I simply do a
`make` without a `make configure; ./configure` first, it fails with a
message like:
$ make
CC fast-import.o
In file included from builtin.h:4,
from fast-import.c:142:
git-compat-util.h:100:19: iconv.h: No such file or directory
make: *** [fast-import.o] Error 1
Once I configure, even without any options, it builds fine and I can
get my man pages (although I have to install them by hand). I assume
this has something to do with cygwin's locations for header files and
such, but I have no real idea. The first part of my question, then
would be what the issue is that I'm encountering when attempting to
build git in Cygwin?
My eventual goal is to have git installed with man, info, and html
pages, into my (and my fellow developers') personal bin, man, info,
and html directories at ~/x. It appeared that I could do that with
./configure but per the response I got earlier, this doesn't seem to
be the case.
Second, I built and installed 1.6.2-rc2 and it still is claiming a
--version rc1. I'm not sure if this is systemic or not, and obviously
it would be bad if it was just me as it means I'm doing something
wrong.
Thoughts?
--
In Christ,
Timmy V.
http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Building 1.6.2-rc2 in Cygwin
2009-02-26 15:23 Building 1.6.2-rc2 in Cygwin Tim Visher
@ 2009-02-26 15:44 ` Jeff King
2009-02-27 12:37 ` Tay Ray Chuan
1 sibling, 0 replies; 3+ messages in thread
From: Jeff King @ 2009-02-26 15:44 UTC (permalink / raw)
To: Tim Visher; +Cc: git
On Thu, Feb 26, 2009 at 10:23:54AM -0500, Tim Visher wrote:
> The reason I'm using `configure` at all is that when I simply do a
> `make` without a `make configure; ./configure` first, it fails with a
> message like:
>
> $ make
> CC fast-import.o
> In file included from builtin.h:4,
> from fast-import.c:142:
> git-compat-util.h:100:19: iconv.h: No such file or directory
> make: *** [fast-import.o] Error 1
>
> Once I configure, even without any options, it builds fine and I can
It sounds like you don't have iconv. You can build with:
make NO_ICONV=1
on such a platform, which is more or less what the configure script is
doing. Try running './configure' and investigating the
config.mak.autogen it generates; this gets pulled directly into the
Makefile. You can correlate the variables it is setting with the
descriptions in the Makefile.
> My eventual goal is to have git installed with man, info, and html
> pages, into my (and my fellow developers') personal bin, man, info,
> and html directories at ~/x. It appeared that I could do that with
> ./configure but per the response I got earlier, this doesn't seem to
> be the case.
I think the right thing to do is to fix the broken autoconf support, as
per my other message. But you can workaround it with:
./configure
make htmldir=~/man bindir=~/bin mandir=~/man infodir=~/info
The latter command is simply overriding what's in the Makefile with
what you provide on the command line (so any defaults, or anything
provided by ./configure is ignored).
-Peff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Building 1.6.2-rc2 in Cygwin
2009-02-26 15:23 Building 1.6.2-rc2 in Cygwin Tim Visher
2009-02-26 15:44 ` Jeff King
@ 2009-02-27 12:37 ` Tay Ray Chuan
1 sibling, 0 replies; 3+ messages in thread
From: Tay Ray Chuan @ 2009-02-27 12:37 UTC (permalink / raw)
To: Tim Visher; +Cc: git
Hi,
On Thu, Feb 26, 2009 at 11:23 PM, Tim Visher <tim.visher@gmail.com> wrote:
> $ make
> CC fast-import.o
> In file included from builtin.h:4,
> from fast-import.c:142:
> git-compat-util.h:100:19: iconv.h: No such file or directory
> make: *** [fast-import.o] Error 1
Did you try installing libiconv library? It contains that particular
header file.
Whenever I make on cygwin and it chokes, I try searching cygwin's
package contents:
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=file.h
You might find this handy too.
> Second, I built and installed 1.6.2-rc2 and it still is claiming a
> --version rc1. I'm not sure if this is systemic or not, and obviously
> it would be bad if it was just me as it means I'm doing something
> wrong.
Hmm, you could try
$ make install prefix=/usr
By default, git installs into your home directory.
--
Cheers,
Ray Chuan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-02-27 12:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-26 15:23 Building 1.6.2-rc2 in Cygwin Tim Visher
2009-02-26 15:44 ` Jeff King
2009-02-27 12:37 ` Tay Ray Chuan
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).