When I tried building the CURRENT version of quagga on a SuSE Linux Enterprise 10 system this morning, it failed to link because the readline library was ``-lncurses -lreadline'' instead of ``-lreadline -lncurses'' causing undefined symbols.
I looked at the configure and configure.ac files to see if there was a clean way to hack them before running configure, and didn't see anything reasonable. I then did a Crude Hack(tm) in the build process by modifying the config.status file after configure is complete which seems to work. The attached patch should work now. I don't think this should break other systems. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Systems, Inc. UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Bagdikian's Observation: Trying to be a first-rate reporter on the average American newspaper is like trying to play Bach's "St. Matthew Passion" on a ukelele.
--- quagga.spec.orig 2006-09-26 11:17:27.914119750 -0700 +++ idiff.out 2006-09-26 11:17:44.819176250 -0700 @@ -33,7 +33,7 @@ Group: Routing License: GPL Version: 0.99.5 -Release: 20060924 +Release: 20060926 # list of sources Source0: http://www.quagga.net/download/quagga-%{version}.tar.gz @@ -100,6 +100,12 @@ --disable-shared \ $ISISD + # kludge to correct configure error as -lncurses has to be + # after -lreadline + %{l_shtool} subst \ + -e 's/-lncurses -lreadline/-lreadline -lncurses/' \ + config.status + sh config.status # build package %{l_make} %{l_mflags -O}