Monic Polynomial wrote: > (detected via Todai’s build logs) > > amiwm-0.20pl48-2 fails to build on Intel OS 10.5.6 > > $ fink -V | head -n 2 > Package manager version: 0.29.2 > Distribution version: selfupdate-rsync Tue Apr 21 06:40:03 2009, 10.5, > i386 > > $ which flex > /usr/bin/flex > > $ flex --version > flex 2.5.33 [] > flex -t lex.l > lex.c > gcc -c -I/sw/include -I. -I./libami -DSTDC_HEADERS=1 - > DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 - > DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 - > DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_STAT_H=1 - > DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DTIME_WITH_SYS_TIME=1 - > DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_WAIT3=1 - > DHAVE_SELECT=1 -DHAVE_STRDUP=1 -DHAVE_WAITPID=1 -DHAVE_XSHAPE=1 - > DBSD_STYLE_GETTIMEOFDAY=1 -DLAME_ENDIAN=1 -g -O2 -I/usr/X11/include > lex.c > <stdout>:500:25: error: macro "yywrap" passed 1 arguments, but takes > just 0 [] > This build error has been reproduced on my box. If you want to check > Todai’s full build log, it’s available at > http://fink.sodan.ecc.u-tokyo.ac.jp/build-10.5-i386/2009-04-16/amiwm.err.gz
I fixed this in CVS: bdep on Fink's flex, which is version 2.5.4 like Tiger's /usr/bin/flex. Leopard's /usr/bin/flex is too modern (or too POSIX-compliant) for a package whose last "Newsflash" dates from 1998-03-15 :-) I added the usual --x-includes etc for finding X11 w/o xmkmf. -- Martin ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Fink-devel mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.devel
