Re: [q-lang-users] q 7.11 build fails on Mac OS X 10.3.9
Brought to you by:
agraef
From: Ryan S. <rya...@us...> - 2008-06-09 11:07:47
|
On Jun 9, 2008, at 04:09, Albert Graef wrote: > So you need to patch clib.c on OSX 10.3.9 to work around this. AFAICT > from the manpage, the following edit should make clib compile on this > OSX version, and glob should still give the intended results in > case of > matching failure: > > Replace lines 6077-6079 in clib.c: > > if (res == GLOB_NOMATCH) > return mknil; > else if (res) > > with just: > > if (res) Thanks, that fixes clib. Now I have this: /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc-3.3 - DHAVE_CONFIG_H -I. -I../.. -I../../libq -I/mp/include -O2 -MT system.lo -MD -MP -MF .deps/system.Tpo -c -o system.lo system.c /usr/bin/gcc-3.3 -DHAVE_CONFIG_H -I. -I../.. -I../../libq -I/mp/ include -O2 -MT system.lo -MD -MP -MF .deps/system.Tpo -c system.c - fno-common -DPIC -o .libs/system.o system.c: In function `ictowcs': system.c:766: warning: passing arg 2 of `libiconv' from incompatible pointer type system.c: In function `icfromwcs': system.c:787: warning: passing arg 2 of `libiconv' from incompatible pointer type system.c: In function `__F__system_setpgrp': system.c:4860: error: too few arguments to function `setpgrp' system.c: In function `__F__system_iconv': system.c:6208: warning: passing arg 2 of `libiconv' from incompatible pointer type make[4]: *** [system.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 |