From: Joao C. <jc...@fe...> - 2002-01-21 19:02:45
|
On Monday 21 January 2002 4:50 pm, Geoffrey Furnish wrote: > Geoffrey Furnish writes: > > 2) I just found that I can't run configure on a slowaris box. That > > seems significant to me, and I'll be looking into it now. > > The problem is near the top: > > with_defaults=3Dyes > for option; do > case "$option" in > -with-defaults | --with-defaults | -with-defaults=3Dyes | > --with-defaults=3Dyes ) > =09=09 with_defaults=3Dyes > =09=09=09;; > =09=09=09-without-defaults | --without-defaults | > -with-defaults=3Dno | --with-defaults=3Dno ) > =09=09 with_defaults=3Dno > =09=09 ;; > esac > done > > Sun sh flips out saying the ; after "option" in the for clause, is > unexpected. Yet Sun man sh says: > > for name [ in word ... ] do list done > Each time a for command is executed, name is set > to the next word taken from the in word list. If > in word ... is omitted, then the for command exe- > cutes the do list once for each positional parame- > ter that is set (see Parameter Substitution sec- > tion below). Execution ends when there are no more > words in the list. > > But, evidently, it doesn't actually work as documented. I'm cahnging > this to: > > for option in $*; do > > which it seems to accept. Sheesh. > > This is a Sunos 5.7 box, fyi. This also happens on an OSF1 alpha. Your solution also works here (but it= is=20 not yet cvs commited, isn't it?). But, after 'make' =2E.. ar: Warning: creating libplplot.a ranlib libplplot.a cc -std -c -O1 -I. plrender.c cc -std plrender.o -L. -lplplot -o plrender -lX11 -lm=20 ld: Unresolved: plD_dispatch_init_xw plD_dispatch_init_xterm plD_dispatch_init_tekt plD_dispatch_init_tek4107t plD_dispatch_init_mskermit =2E.. A plain ./configure was issued, and no dynamic libs was built. Joao |