[Bf-committers] Autoconf Problem on OS X

Douglas Bischoff bf-committers@blender.org
Tue, 15 Apr 2003 15:05:36 -0400

Hello all:

I've used the NaN makefiles a number of times to compile Blender on OS 
X with success, but wanted to try the autoconf system just to see if 
maybe that works and makes a difference in the executable.

Trying Autoconf on OS X for the first time, ran into two issues:
1) I had to use the --prefix=PATH variable to specify an install 
directory: /usr/local/ is not a good target for OS X as it isn't 
writeable by most users. (Naturally, only an issue when doing "make 
2) During the build, an error popped up:

gcc -DHAVE_CONFIG_H -I. -I../../../../blender/source/blender/avi 
-I../../.. -I../../../../blender/intern/guardedalloc -D_THREAD_SAFE -g 
-O2 -funsigned-char -c 
-Wp,-MD,.deps/mjpeg.TPlo  -fno-common -DPIC -o .libs/mjpeg.lo
../../../../blender/source/blender/avi/intern/mjpeg.c:40: header file 
'jpeglib.h' not found
../../../../blender/source/blender/avi/intern/mjpeg.c:41: header file 
'jerror.h' not found

Now, I do have jpeglib.h from a fink install, it's located in 
/sw/include along with jerror.h and a number of other headers.

Autoconf doesn't seem to be able to locate those files. Is this not the 
right place to have them? Fink put them there, it's not my fault. :-)

Just FYIs,