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
automake based build fails on OSX with brew installed tools #19
Comments
With some hacks it work a little: bash-3.2$ ls -lrta l* bash-3.2$ git diff build.sh *.ac
diff --git a/redhawk/src/build.sh b/redhawk/src/build.sh
index 5700b383..4c7ea205 100755
--- a/redhawk/src/build.sh
+++ b/redhawk/src/build.sh
@@ -22,13 +22,16 @@
config_ac='configure.ac'
make_am='Makefile.am'
makefile='Makefile'
+export XSD=`which xsd`
if [ "$1" == "clean" ]; then
make clean
else
if [[ $config_ac -nt $makefile || $make_am -nt $makefile ]]; then
+ set -x
./reconf
- ./configure
+ ./configure -with-expat=/usr/local/Cellar/expat/2.4.1 --disable-java
+ # -with-expat-inc=`pkg-config expat --cflags` -with-expat-lib=`pkg-config expat --libs`
fi
make -j
exit 0
diff --git a/redhawk/src/configure.ac b/redhawk/src/configure.ac
index 989cbb3f..47d409a0 100644
--- a/redhawk/src/configure.ac
+++ b/redhawk/src/configure.ac
@@ -113,14 +113,14 @@ if test x"$XSD" = xno ; then
AC_MSG_ERROR([Required program 'xsdcxx' is missing.])
fi
# Get the XSD version
-AC_MSG_CHECKING([xsd version])
-xsd_version=`${XSD} version 2>&1 | head -n 1 | awk '{print $8}'`
-oldest_version=`echo -e "${xsd_version}\n3.3.0" | sort -t '.' -k 1,1 -k 2,2 -k 3,3 -k 4,4 -g | head -n 1`
-if test "x$oldest_version" != "x3.3.0"; then
- AC_MSG_FAILURE([XSD version 3.3.0 required])
-else
- AC_MSG_RESULT([$xsd_version])
-fi
+### AC_MSG_CHECKING([xsd version])
+### xsd_version=`${XSD} version 2>&1 | head -n 1 | awk '{print $8}'`
+### oldest_version=`echo -e "${xsd_version}\n3.3.0" | sort -t '.' -k 1,1 -k 2,2 -k 3,3 -k 4,4 -g | head -n 1`
+### if test "x$oldest_version" != "x3.3.0"; then
+### AC_MSG_FAILURE([XSD version 3.3.0 required])
+### else
+### AC_MSG_RESULT([$xsd_version])
+### fi
AC_CHECK_HEADER([xsd/cxx/config.hxx], [], [AC_MSG_ERROR([missing XSD headers])])
AC_CHECK_PROG([XMLCATALOG], [xmlcatalog], [xmlcatalog], [no])
AM_CONDITIONAL(HAVE_XMLCATALOG, test $XMLCATALOG != "no")
@@ -268,7 +268,8 @@ if test "$HAVE_JAVASUPPORT" = yes; then
fi
# C++ unit testing support. May want to conditionally enable/disable this.
-AM_PATH_CPPUNIT(1.12.1)
+#XXX AM_PATH_CPPUNIT(1.12.1)
+
AS_IF([test "x$HAVE_JAVASUPPORT" == "xyes"], [
dnl Use RPM location hard-coded for now
AC_SUBST([JUNIT_CLASSPATH], "/usr/share/java/junit4.jar")
(END) |
But than i got this: checking for Expat XML Parser headers in /usr/local/Cellar/expat/2.4.1/include... found
checking for Expat XML Parser libraries... found
checking for Expat XML Parser... yes
checking if Expat XML Parser version is >= 1.95.8... yes
checking for OMNIORB... yes
checking for OMNITHREAD... yes
checking for OMNIDYNAMIC... yes
checking for COS library... yes
checking for OMNICOS... yes
checking for omniidl... omniidl
checking for default IDL path... /usr/local/Cellar/omniorb/4.2.4_1/share/idl/omniORB
checking for xsdcxx... /usr/local/bin/xsd
checking for xsd/cxx/config.hxx... yes
checking for xmlcatalog... xmlcatalog
checking Enabling support for numa affinity processing... yes
checking for numa_available in -lnuma... no
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for python install scheme... home
checking for LOG4CXX... yes
checking to see if tracing should be enabled... no
checking to see if domain persistence should be enabled... sqlite
checking for sqlite3.h... yes
checking for sqlite3_open in -lsqlite3... yes
checking whether make supports nested variables... (cached) yes
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/local/opt/python/libexec/bin/python
checking for python version... 3.9
checking for python platform... darwin
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.9/site-packages
checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.9/site-packages
checking for python module logging ... yes
checking for python module subprocess... yes
checking for python module omniORB... yes
checking for python module omniidl... no
configure: error: the python omniidl module is required
+ make -j
make: *** No targets specified and no makefile found. Stop.
+ exit 0 |
The text was updated successfully, but these errors were encountered: