Git Mailing List Archive mirror
 help / color / mirror / Atom feed
* build issues on AIX - aka non-GNU environment, no gnu grep, no gcc
@ 2016-09-12 19:28 Michael Felt
  2016-09-12 20:24 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Felt @ 2016-09-12 19:28 UTC (permalink / raw
  To: git

I had a couple of issues when packaging git for AIX
a) option -Wall by default - works fine with gcc I am sure, but not so
well when gcc is not your compiler
b) needs a special (GNU) grep argument (-a from memory). This I
resolved by downloading and packaging GNU grep. However, I hope this
has not introduced a new dependency.

FYI: as I recall, the last time I build git (2.6.4 I believe) I had
neither of these problems (although I did later find I had once upon a
time packaged, just never published grep-2.22)

Also, if you wish to add my aixtools as a place to get git packaged
for AIX - just get in touch and we can exchange details.

Michael

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: build issues on AIX - aka non-GNU environment, no gnu grep, no gcc
  2016-09-12 19:28 build issues on AIX - aka non-GNU environment, no gnu grep, no gcc Michael Felt
@ 2016-09-12 20:24 ` Junio C Hamano
  2016-09-12 22:44   ` Michael Felt
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2016-09-12 20:24 UTC (permalink / raw
  To: Michael Felt; +Cc: git

Michael Felt <aixtools@gmail.com> writes:

> I had a couple of issues when packaging git for AIX
> a) option -Wall by default - works fine with gcc I am sure, but not so
> well when gcc is not your compiler

That is expected.  As you said, it is merely "by default" and there
are mechanisms like config.mak provided for people to override them.

> b) needs a special (GNU) grep argument (-a from memory). This I
> resolved by downloading and packaging GNU grep. However, I hope this
> has not introduced a new dependency.

Read the Makefile and find SANE_TEXT_GREP, perhaps?

Thanks for helping to spread Git to minority platforms.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: build issues on AIX - aka non-GNU environment, no gnu grep, no gcc
  2016-09-12 20:24 ` Junio C Hamano
@ 2016-09-12 22:44   ` Michael Felt
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Felt @ 2016-09-12 22:44 UTC (permalink / raw
  To: Junio C Hamano; +Cc: git

Try again, reply all this time...


On 12-Sep-16 22:24, Junio C Hamano wrote:
> Michael Felt <aixtools@gmail.com> writes:
>
>> I had a couple of issues when packaging git for AIX
>> a) option -Wall by default - works fine with gcc I am sure, but not so
>> well when gcc is not your compiler
> That is expected.  As you said, it is merely "by default" and there
> are mechanisms like config.mak provided for people to override them.
>
>> b) needs a special (GNU) grep argument (-a from memory). This I
>> resolved by downloading and packaging GNU grep. However, I hope this
>> has not introduced a new dependency.
> Read the Makefile and find SANE_TEXT_GREP, perhaps?
Ah - read the manual heh?. Generally, I just download, unpack, and run 
configure.
I do not mind needing an extra tool - as long as it is only for the build.

And, since you have something about it in your (still unread) install 
Notes - it has not slipped in by accident.
>
> Thanks for helping to spread Git to minority platforms.
The link is: http://www.aixtools.net/index.php/git
I do not use it much (I prefer to package "distributed" src tarballs, 
but when testing a potential fix - git can be extremely useful!

All in all, thanks for an easy to port to a "minority" platform!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-12 22:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-12 19:28 build issues on AIX - aka non-GNU environment, no gnu grep, no gcc Michael Felt
2016-09-12 20:24 ` Junio C Hamano
2016-09-12 22:44   ` Michael Felt

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 read-only IMAP folder(s) and NNTP newsgroup(s).