And "Stefan Pfetzing" writes:
- I've been trying to get git to work on the latest Solaris Express
- release (with the help of NetBSD's pkgsrc).
I've been using it on Solaris 8 and 9 with the GNU tools
in pkgsrc for quite a while, as well as on AIX with the
GNU tools available as modules (but I haven't compiled a
new AIX version for a month or two).
- It mostly miserabely fails because of common "shell commands" being
- used with GNU options. (like xargs, diff, tr and prob. some more) On
- my box (and thats AFAIK the default when you install gnu coreutils on
- Solaris) the commands do have a g prefix.
In your pkgsrc mk.conf, use:
GNU_PROGRAM_PREFIX=
GTAR_PROGRAM_PREFIX=
I tried your first suggestion (patch all the commands) back
in February. It's pretty fragile against future changes, and
I wouldn't recommend it.
- 2. setup a dir which contains symlinks to the "right" binaries and
- put that dir into PATH.
Setting a GIT_COMPAT_PATH in the Makefile and prepending
it to the path in git.c and git-sh-setup.sh might be more
sane. A fragment like the following in git.c before adding
GIT_EXEC_PATH:
#ifdef GIT_COMPAT_PATH
/* Search for sane external utilities */
prepend_to_path(GIT_COMPAT_PATH, strlen(GIT_COMPAT_PATH));
#endif
And maybe in git-sh-setup.sh to help those of us who
use git-foo rather than git foo:
if [ ! -z "@GIT_COMPAT_PATH@" ] ; then
PATH="@GIT_COMPAT_PATH@:${PATH}"
export PATH
fi
Plus Makefile fun.
Jason
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
| Andrew Morton | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| David Miller | Re: [GIT]: Networking |
| Eric Paris | [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
| Natalie Protasevich | [BUG] New Kernel Bugs |
git: | |
| Jakub Narebski | Re: VCS comparison table |
| Ingo Molnar | [OT] Your branch is ahead of the tracked remote branch 'origin/master' by 50 commi... |
| Li Frank-B20596 | why not TortoiseGit |
| Joe Fiorini | Undo git-rm without commit? |
| Arjan van de Ven | Re: [GIT]: Networking |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Glenn Griffin | [PATCH] Add IPv6 support to TCP SYN cookies |
| Marius ROMAN | 1440x900 resolution problem |
| Martin Schröder | Re: Real men don't attack straw men |
| Otto Moerbeek | Re: SCP/SFTP: Couldn't open /dev/null |
| Siju George | Skype on OpenBSD 4.1 using Fedora RPM |
