Compilation error on Mac OSX 10.6

I am trying to compile root 5.27 and 5.26 on mac OSX 10.6

I’m having a problem when compiling libAfterImage:

*** Building libAfterImage …
make[1]: *** No rule to make target libjpeg/jcapimin.o', needed bylibAfterImage.a’. Stop.
make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Error 2
rm core/utils/src/rootcint_tmp.cxx core/utils/src/RStl_tmp.cxx

Please, anyone knows how to solve that?

Thanks

I do not see a such problem on my Mac. To force the rebuilt of libAfterImage I did:

rm $ROOTSYS/graf2d/asimage/src/libAfterImage/.o
rm $ROOTSYS/graf2d/asimage/src/libAfterImage/
.a
rm $ROOTSYS/graf2d/asimage/src/libAfterImage//.o

Then I did:

make

And all is fine.

I cannot reproduce this. Do:

make distclean-asimage
make

You should see the lines:

*** Building libAfterImage …
gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -Wall -mmmx --param inline-unit-growth=10000 --param large-function-growth=10000 -I/usr/X11/include/freetype2 -I/usr/X11/include -c libjpeg/jcapimin.c -o libjpeg/jcapimin.o

Cheers, Fons.