redhawk icon indicating copy to clipboard operation
redhawk copied to clipboard

Build From Source Issue

Open monty11ez opened this issue 4 years ago • 2 comments

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.

monty11ez avatar Oct 13 '20 19:10 monty11ez

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:

  1. You're missing the cppunit core or development package. Like in a centos-like distro these packages would be called cppunit and cppunit-devel.
  2. 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.
  3. Your Linux distro uses a version of make or autoconf 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.

timcardenuto avatar Oct 13 '20 22:10 timcardenuto

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.

monty11ez avatar Oct 14 '20 20:10 monty11ez