Hi, I have grabbed the "stable" version of cinelerra from svn (revision 836)
but I am having trouble compiling it (I also had the same problem with the
source in the latest gentoo package, supposedly from 19 June 2006).
I get the following error:
make[3]: Entering directory
`/home/michael/code/cinelerra-svn/hvirtual/cinelerra'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../quicktime -I../guicast -I../libmpeg3
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-DHAVE_FIREWIRE -DHAVE_ESOUND -DHAVE_ALSA -DHAVE_OSS
-I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc
-I/usr/include/mjpegtools/mplex -I/usr/include/OpenEXR
-DPLUGIN_DIR=\"/usr/local/lib/cinelerra\" -g -O2 -MT aattachmentpoint.o -MD
-MP -MF ".deps/aattachmentpoint.Tpo" -c -o aattachmentpoint.o
aattachmentpoint.C; \
then mv -f ".deps/aattachmentpoint.Tpo" ".deps/aattachmentpoint.Po"; else rm
-f ".deps/aattachmentpoint.Tpo"; exit 1; fi
In file included from ../guicast/bcsubwindow.h:5,
from ../guicast/bcbar.h:5,
from ../guicast/guicast.h:4,
from plugin.h:4,
from aattachmentpoint.C:6:
../guicast/bcwindowbase.h:61:23: X11/Xatom.h: No such file or directory
../guicast/bcwindowbase.h:65:22: X11/Xlib.h: No such file or directory
../guicast/bcwindowbase.h:66:23: X11/Xutil.h: No such file or directory
../guicast/bcwindowbase.h:67:24: X11/keysym.h: No such file or directory
../guicast/bcwindowbase.h:68:28: X11/cursorfont.h: No such file or directory
../guicast/bcwindowbase.h:70:38: X11/extensions/xf86vmode.h: No such file or
directory
Obviously, the makefile was not using the -I/usr/X11R6/include option when
compiling aattachmentpoint.C. I fixed this by adding an extra line
containing:
$(X_CFLAGS) \
to the following:
AM_CXXFLAGS = \
$(LARGEFILE_CFLAGS) \
$(FIREWIRE_CFLAGS) \
$(SOUND_CFLAGS) \
$(XIPH_CFLAGS) \
$(MJPEG_CFLAGS) \
$(OPENEXR_CFLAGS) \
$(LIBDV_CFLAGS) \
-DPLUGIN_DIR=\"$(plugindir)\"
This fixed the problem, but the same thing happened again in other
directories, including the plugin directories. I could modify the makefile
in each of the plugin directories, but I get the feeling that this is the
wrong way to go about fixing this error. I know nothing about automake
(Makefile.am, Makefile.in etc) -- I have only ever used plain make, but I
suspect that I need to fix something there, since the Makefiles are
autogenerated from them, right? Or is it something to do with configure (I
don't know anything about that either). The other option is that
perhaps /usr/X11R6/include should be somehow a default include directory that
is automatically seen by all invocations of gcc, and somehow my system is not
setup correctly... ?
Can anyone with knowledge of automake (or even without :-) ) help me out of
this mess? Let me know if you need any other diagnostic output (at this
stage I don't know enough about the problem to know what to provide)
Thanks heaps.
Michael.
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra