Compiling issue with xmltooling 1.5.3 on Solaris

Uwe Reh reh at hebis.uni-frankfurt.de
Thu Jul 18 05:53:30 EDT 2013


Hi,

my problem is probably homemade. So I haven't the heart to write a 
bugreport.

In my environment 'configure' seems to generate a buggy 
xmltooling-1.5.3/xmltoolingtest/Makefile

'make' fails with the message:
> make: Fatal error in reader: Makefile, line 915: Extra `:', `::', or `:=' on dependency line

The reason for this can be found at the end of the Makefile
> do-cxxtestgen:
>         if test "$(CPPFILE)" = "xmltoolingtest.cpp"; then \
>                 $(CXXTEST) --error-printer --have-eh --have-std --abort-on-fail -o $(CPPFILE) $(HFILE); \
>         else \
>                 $(CXXTEST) --part --have-eh --have-std --abort-on-fail -o $(CPPFILE) $(HFILE); \
>         fi;
>
> $(nodist_xmltoolingtest_SOURCES): %.cpp: %.h
>         $(MAKE) do-cxxtestgen HFILE=$< CPPFILE=$@
>
> # Tell versions [3.59,3.63) of GNU make to not export all variables.
> # Otherwise a system limit (for SysV at least) may be exceeded.
> .NOEXPORT:

To get a successfully build I had to mask two lines.
> #$(nodist_xmltoolingtest_SOURCES): %.cpp: %.h
> #       $(MAKE) do-cxxtestgen HFILE=$< CPPFILE=$@

Since C isn't my language, I'm not sure what I've done. :-(
Is this workaround allowed, or will this produce instable executables?
Is this a bug or a local issue depending on my environment?
Is perhaps "/usr/xpg4/bin/make" the reason?

Uwe

###########
configure.nice
###
export CC=cc
export CXX=CC
export CFLAGS="-fast -native -xtarget=barcelona"
export CXXFLAGS="-xO2 -library=stlport4"
export LDFLAGS=""
export LIBS=""
export CPPFLAGS=""

./configure \
--with-xerces=/usr/local \
--with-xmlsec=/usr/local \
--with-curl=/usr/local \
--with-boost=/usr/local/boost \
--disable-doxygen-doc

#########
EOF



More information about the users mailing list