I run Ubuntu 9.04 and I was able, after installing some packages, to compile and install both 1.11, then remove it and install the latest subversion head, which is what I run.  Unfortunately, I have forgotten exactly what packages I needed to install.

Have you tried installing opengazer and the 1.12 version?  You may have better success.  That would be the first thing I would try.  Modifications to opengazer are imho likely to be less severe than modifications to VXL.

Looking at the output, my first guess is that you need to install the ffmpeg package and its various supporting libraries.

try:
sudo apt-get install ffmpeg ffmpeg-dbg ffmpeg-doc libavcodec-dev libavformat-dev libswscale-dev

then, to install the libmpeg2 libraries:
sudo apt-get install libmpeg2-4-dev

I have libvo.a installed, but I cannot find out where it came from.

Another important caveat: make sure you use the CMAKE system.  If not you are in for a world of hurt trying to compile with just the autoconf tools.  Look at the install directions for the latest version for directions on using the CMAKE system.


--- On Fri, 6/19/09, Simcox, Travis L <tsimcox@student.nmhu.edu> wrote:

From: Simcox, Travis L <tsimcox@student.nmhu.edu>
Subject: [Vxl-users] Can't build VXL under Ubuntu 9.04
To: vxl-users@lists.sourceforge.net
Date: Friday, June 19, 2009, 1:38 AM

Hello list, I'm new to Linux and I've been trying to install VXL under Ubuntu 9.04 to use with Opengazer.  I want VXL version 1.5.1 because I know it works with opengazer, but I've tried several versions and have been unable to install.  I've been working on it for about 20 hours, including a couple of hard disk reformats and clean installs of Ubuntu, no luck.  I've searched far and wide for info, none that I can find helps.  I'm hoping for a fool-proof step-by step method that will work on Ubuntu 9.04.  Any help is appreciated.

Initially I get:

-- DirectShow was not found.
-- Could NOT find MPEG2  (missing:  MPEG2_mpeg2_LIBRARY MPEG2_INCLUDE_DIR)
-- Configuring done
CMake Warning (dev) at vcl/tests/CMakeLists.txt:8 (ADD_EXECUTABLE):
  Policy CMP0003 should be set before this line.

The first warnings that come up during building are:

/home/gazer/vxl-1.5.1/v3p/netlib/camsun.c: In function ‘chscdf_’:
/home/gazer/vxl-1.5.1/v3p/netlib/camsun.c:102: warning: format not a string literal and no format arguments
/home/gazer/vxl-1.5.1/v3p/netlib/camsun.c:108: warning: format not a string literal and no format arguments
/home/gazer/vxl-1.5.1/v3p/netlib/camsun.c: In function ‘dchscdf_’:
/home/gazer/vxl-1.5.1/v3p/netlib/camsun.c:412: warning: format not a string literal and no format arguments
/home/gazer/vxl-1.5.1/v3p/netlib/camsun.c:418: warning: format not a string literal and no format arguments

Soon after I get the errors:

/home/gazer/vxl-1.5.1/core/testlib/testlib_main.cxx: In function ‘void testlib_enter_stealth_mode()’:
/home/gazer/vxl-1.5.1/core/testlib/testlib_main.cxx:69: error: ‘getenv’ was not declared in this scope
/home/gazer/vxl-1.5.1/core/testlib/testlib_main.cxx: In function ‘int testlib_run_test_unit(size_t, int, char**)’:
/home/gazer/vxl-1.5.1/core/testlib/testlib_main.cxx:100: error: ‘getenv’ was not declared in this scope


Later, I'm getting several errors like shown below:

make[2]: *** No rule to make target `lib/libmvl.so', needed by `lib/libgkll.so'.
make[2]: *** No rule to make target `lib/libvgel.so', needed by `lib/libgkll.so'.
make[2]: *** No rule to make target `lib/libvtol.so', needed by `lib/libgkll.so'.
make[2]: *** No rule to make target `lib/libvidl_vil1.so', needed by `lib/libgkll.so'.
make[2]: *** No rule to make target `lib/libvdgl.so', needed by `lib/libgkll.so'.
make[2]: *** No rule to make target `lib/libvsol.so', needed by `lib/libgkll.so'.
make[2]: *** No rule to make target `lib/libvidl.so', needed by `lib/libgkll.so'.
make[2]: *** No rule to make target `lib/libvul.so', needed by `lib/libgkll.so'.
make[2]: *** No rule to make target `lib/libvil.so', needed by `lib/libgkll.so'.