Open sillysloft opened 21 years ago
Logged In: YES user_id=630503
Another workaround would be to edit util/fluxbox-generate_menu, adding /usr/xpg4/bin as the path to id. I believe this is the POSIX version, and does have the -u option.
Original comment by: wdfrank
Original comment by: rathnor
Logged In: YES user_id=603593
fixed in cvs we check for whoami == root now difficult to reliably get UID it seems :-/
Original comment by: rathnor
hi
the make for fluxbox fails on Solaris 8 with:-
$ make make all-recursive make[1]: Entering directory `/opt/src/fluxbox-0.1.13' Making all in data make[2]: Entering directory `/opt/src/fluxbox-0.1.13/data' Making all in styles make[3]: Entering directory `/opt/src/fluxbox-0.1.13/data/styles' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/opt/src/fluxbox-0.1.$ make make all-recursive make[1]: Entering directory `/opt/src/fluxbox-0.1.13' Making all in data make[2]: Entering directory `/opt/src/fluxbox-0.1.13/data' Making all in styles make[3]: Entering directory `/opt/src/fluxbox-0.1.13/data/styles' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/opt/src/fluxbox-0.1.13/data/styles' make[3]: Entering directory `/opt/src/fluxbox-0.1.13/data' ../util/fluxbox-generate_menu -o menu -p /usr/local/share -m "Fluxbox-0.1.13" id: illegal option -- u Usage: id [-ap] [user] ../util/fluxbox-generate_menu: test: argument expected make[3]: *** [menu] Error 1 make[3]: Leaving directory `/opt/src/fluxbox-0.1.13/data' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/src/fluxbox-0.1.13/data' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/src/fluxbox-0.1.13' make: *** [all] Error 2
the problem is , as the error suggests, that solaris 'id' does not take a -u argument. i've edited my generate menu utility to have a test of [ 0 eq 0 ] which causes the make to proceed...
Reported by: *anonymous