openjade issues

Gary Law garylaw at garylaw.net
Thu Mar 27 14:29:55 PDT 2008


Hi

I've run into this bug:
http://trac.macports.org/projects/macports/ticket/14075

There is a suggested fix of manually setting the CXX value in the
build directory.  Which I've done, only to hit another issue:

root at MacBook:~ # port install openjade
--->  Building openjade with target all



Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_openjade/work/openjade-1.3.2"
&& make all " returned error 2
Command output:                  from Expression.cxx:4:
/opt/local/include/OpenSP/config.h:357:1: warning: this is the
location of the previous definition
mv -f Expression.o .libs/Expression.lo
/usr/bin/g++-4.0 -O2 -I/opt/local/include -fno-rtti -I. -I./../include
-I/opt/local/include/OpenSP -I/opt/local/include/OpenSP/..
-I./../grove -I./../spgrove "-DPACKAGE_NAME=\"\""
"-DPACKAGE_TARNAME=\"\"" "-DPACKAGE_VERSION=\"\""
"-DPACKAGE_STRING=\"\"" "-DPACKAGE_BUGREPORT=\"\""
"-DPACKAGE=\"openjade\"" "-DVERSION=\"1.3.2\"" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1
-DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1
-DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSP_HAVE_BOOL=1
-DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1
-DSP_MULTI_BYTE=1
"-DSGML_CATALOG_FILES_DEFAULT=\"/opt/local/share/sgml/catalog\""
-DHAVE_DLFCN_H=1
"-DDEFAULT_SCHEME_BUILTINS=\"/opt/local/share/sgml/openjade/builtins.dsl\""
-c Expression.cxx >/dev/null 2>&1
mv -f .libs/Expression.lo Expression.lo
rm -f .libs/FOTBuilder.lo
/usr/bin/g++-4.0 -O2 -I/opt/local/include -fno-rtti -I. -I./../include
-I/opt/local/include/OpenSP -I/opt/local/include/OpenSP/..
-I./../grove -I./../spgrove "-DPACKAGE_NAME=\"\""
"-DPACKAGE_TARNAME=\"\"" "-DPACKAGE_VERSION=\"\""
"-DPACKAGE_STRING=\"\"" "-DPACKAGE_BUGREPORT=\"\""
"-DPACKAGE=\"openjade\"" "-DVERSION=\"1.3.2\"" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1
-DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1
-DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSP_HAVE_BOOL=1
-DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1
-DSP_MULTI_BYTE=1
"-DSGML_CATALOG_FILES_DEFAULT=\"/opt/local/share/sgml/catalog\""
-DHAVE_DLFCN_H=1
"-DDEFAULT_SCHEME_BUILTINS=\"/opt/local/share/sgml/openjade/builtins.dsl\""
-c FOTBuilder.cxx  -fno-common -DPIC
In file included from stylelib.h:6,
                 from FOTBuilder.cxx:4:
./../include/config.h:39:1: warning: "SP_DEFINE_TEMPLATES" redefined
In file included from ./../include/config.h:10,
                 from stylelib.h:6,
                 from FOTBuilder.cxx:4:
/opt/local/include/OpenSP/config.h:357:1: warning: this is the
location of the previous definition
FOTBuilder.h:167: error: expected class-name before '{' token
/opt/local/include/OpenSP/Ptr.cxx: In destructor
'OpenSP::Ptr<T>::~Ptr() [with T =
OpenJade_DSSSL::FOTBuilder::GlyphSubstTable]':
/opt/local/include/OpenSP/Ptr.h:53:   instantiated from 'T*
OpenSP::Vector<T>::erase(const T*, const T*) [with T =
OpenSP::ConstPtr<OpenJade_DSSSL::FOTBuilder::GlyphSubstTable>]'
/opt/local/include/OpenSP/Vector.cxx:18:   instantiated from
'OpenSP::Vector<T>::~Vector() [with T =
OpenSP::ConstPtr<OpenJade_DSSSL::FOTBuilder::GlyphSubstTable>]'
FOTBuilder.h:1154:   instantiated from here
/opt/local/include/OpenSP/Ptr.cxx:22: error: 'struct
OpenJade_DSSSL::FOTBuilder::GlyphSubstTable' has no member named
'unref'
/opt/local/include/OpenSP/Ptr.cxx: In copy constructor
'OpenSP::Ptr<T>::Ptr(const OpenSP::Ptr<T>&) [with T =
OpenJade_DSSSL::FOTBuilder::GlyphSubstTable]':
/opt/local/include/OpenSP/Ptr.h:58:   instantiated from
'OpenSP::ConstPtr<T>::ConstPtr(const OpenSP::ConstPtr<T>&) [with T =
OpenJade_DSSSL::FOTBuilder::GlyphSubstTable]'
/opt/local/include/OpenSP/Vector.cxx:92:   instantiated from 'void
OpenSP::Vector<T>::insert(const T*, const T*, const T*) [with T =
OpenSP::ConstPtr<OpenJade_DSSSL::FOTBuilder::GlyphSubstTable>]'
/opt/local/include/OpenSP/Vector.cxx:29:   instantiated from
'OpenSP::Vector<T>::Vector(const OpenSP::Vector<T>&) [with T =
OpenSP::ConstPtr<OpenJade_DSSSL::FOTBuilder::GlyphSubstTable>]'
FOTBuilder.h:1154:   instantiated from here
/opt/local/include/OpenSP/Ptr.cxx:33: error: 'struct
OpenJade_DSSSL::FOTBuilder::GlyphSubstTable' has no member named 'ref'
make[2]: *** [FOTBuilder.lo] Error 1
rm InterpreterMessages.cxx
make[1]: *** [style] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.



... can anyone shed any light on the above error?

Cheers

Gary
-- 
Gary Law
Email: garylaw at garylaw.net
Chat googletalk/messenger: gary.law at gmail.com
iChat/jabber/AIM: gary.law at mac.com


More information about the macports-users mailing list