redhawk
redhawk copied to clipboard
Build From Source Issue
I'm getting this issue when running the redhawk-install.sh file.
checking for uuid_generate in -luuid... yes
./configure: line 16817: syntax error near unexpected token `1.12.1'
./configure: line 16817: `AM_PATH_CPPUNIT(1.12.1)'
I've tried version 2.2.5 and 2.2.6 with the same error. AM_PATH_CPPUNIT(1.12.1) is on line 21244 in the /src/configure, and I don't really know where to begin. I'm compiling on Manjaro with OmniORB installed from source.
With the huge caveat of having never used Manjaro or Arch Linux, and noting that Redhawk is not officially tested/supported in either of those, I would guess that error is one of the following:
- You're missing the cppunit core or development package. Like in a centos-like distro these packages would be called cppunit and cppunit-devel.
- You have those packages but the autoconf process is not finding them. You'll need to learn out how Mankato/Arch handles autotools/autoconf projects and how it searches for dependencies, then configure your system or the build process to find them.
- Your Linux distro uses a version of
make
orautoconf
that has some different syntax rules than the centos equivalent and that doesn't like the way that line is specified. That would require a patch to the Redhawk build files.
Looks like newer versions of cppunit do not include a cppunit.m4 file. So I copied one from an older version into the /usr/share/aclocal folder, and that has solved that issue.
Now I just need to figure out how to build the program using Python2 as the default.