Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build From Source Issue #42

Open
monty11ez opened this issue Oct 13, 2020 · 2 comments
Open

Build From Source Issue #42

monty11ez opened this issue Oct 13, 2020 · 2 comments

Comments

@monty11ez
Copy link

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.

@timcardenuto
Copy link

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.

@monty11ez
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants