From: Robert L K. <rl...@al...> - 2002-12-31 15:23:45
|
Date: Tue, 31 Dec 2002 16:06:18 +0100 From: "Kurt Pfeifle" <kpf...@da...> Here is the first one. I tried "gimpprint-config" like this: # gimpprint-config --libs /usr/local/bin/gimpprint-config: syntax error at line 91: `(' unexpected The lines in gimpprint-config read as follows: 89 if test "$echo_libs" = "yes"; then 90 libdirs=-L${exec_prefix}/lib 91 echo $libdirs $gimpprint_libs $(top_builddir)/intl/libintl.a 92 fi I thought we fixed this. It should be ${top_builddir} rather than $(top_builddir). If I change the line just ommitting the brackets, I get this result: # gimpprint-config --libs -L/usr/local/lib -lgimpprint -lm /intl/libintl.a This obviously is not correct. $top_builddir is empty, because it is not defined anywhere before in the gimpprint-config script.... --> Is this " '('unexpected" message a bug in gimpprint-config? Or is it a shortcoming of my version of the Bash? This is a bash-ism; /bin/sh requires braces rather than parentheses. -- Robert Krawitz <rl...@al...> Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2 Member of the League for Programming Freedom -- mail lp...@uu... Project lead for Gimp Print -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |