Is it possible to configure and compile linphonec only? I'm actually trying to cross-compile for ARM, but I guess it applies in general.
./configure --prefix=$PREFIX --host=$HOSTTPL --with-gnu-ld \
--disable-static --disable-glib --enable-gtk_ui=no \
--disable-x11 --disable-libv4l \
--with-osip=$INSTALLDIR/usr/local \
--with-readline=$INSTALLDIR/usr/local \
SPEEX_CFLAGS="-I$INSTALLDIR/usr/local/include" \
SPEEX_LIBS="-L$INSTALLDIR/usr/local/lib -lspeex" \
FFMPEG_CFLAGS="-I$INSTALLDIR/usr/local/include" \
FFMPEG_LIBS="-L$INCLUDEDIR/usr/local/lib -lavcodec" \
SWSCALE_CFLAGS="-I$INSTALLDIR/usr/local/include" \
SWSCALE_LIBS="-L$INCLUDEDIR/usr/local/lib -lswscale"
so I disable glib, disable gtk_ui, and disable x11, but the configure for mediastreamer2 still looks for x11, and gives me the following error message:
checking X11/extensions/Xv.h usability... no
checking X11/extensions/Xv.h presence... no
checking for X11/extensions/Xv.h... no
checking for X11/extensions/Xvlib.h... no
checking for XvCreateImage in -lXv... no
configure: error: No X video output API found. Please install X11+Xv headers.
Can anyone help? Is there a way to configure so that you only compile linphonec? Or to get it to not look for the x11 stuff, since I won't have it? Thanks!
--
haomiao huang | co-founder, product | Kuna Systems | 626.676.3940 | address@hidden