I recently tried to rebuild ingres from src on Gentoo 2006.1, only to
discover that it does not! The issue is relatively simple - later
versions of 'sort' not accept the +n arg and expect -k(n+1) instead.
So anyway for those of you who want to build from src (not that many I
suspect...but anyway), this patch will make the build system work again.
I don't know Jam at all, so didn't try to be clever and do something
that figured out which sort of 'sort' you had...
regards
Mark
*** src/tools/port/shell_unix/mkfecat.sh.orig Wed Dec 6 18:34:59 2006
--- src/tools/port/shell_unix/mkfecat.sh Wed Dec 6 18:35:24 2006
***************
*** 111,122 ****
done \
) | \
sed -e "s:^$ING_SRC/::" -e "s:[^/]*.msg: &:" | \
! sort -u -t' ' +1 | sed "s: ::"`
else
MSGFILES=`find $ING_SRC/front $gwdirs $follow -name '*.msg' -print | \
grep "/$V" | \
sed -e "s:^$ING_SRC/::" -e "s:[^/]*.msg: &:" | \
! sort -u -t' ' +1 | sed "s: ::"`
fi
# Build $catfile
--- 111,122 ----
done \
) | \
sed -e "s:^$ING_SRC/::" -e "s:[^/]*.msg: &:" | \
! sort -u -t' ' -k2 | sed "s: ::"`
else
MSGFILES=`find $ING_SRC/front $gwdirs $follow -name '*.msg' -print | \
grep "/$V" | \
sed -e "s:^$ING_SRC/::" -e "s:[^/]*.msg: &:" | \
! sort -u -t' ' -k2 | sed "s: ::"`
fi
# Build $catfile
_______________________________________________
Users mailing list
[email protected]
http://lists.ingres.com/mailman/listinfo/users