Re: USGS ISIS 3.2.1: build failure on FBSD 8.1/9.0 due to oudated xerxec-c2 ?

2010-11-10 Thread O. Hartmann

On 11/09/10 22:06, O. Hartmann wrote:

On 11/09/10 21:52, Gary Jennejohn wrote:

On Tue, 09 Nov 2010 20:34:48 +0100
O. Hartmannohart...@mail.zedat.fu-berlin.de wrote:


Hello.
Tried to build the newest ISIS 3.2.1 software package for planetary
survey science, but fail. I always get the following error which seems
to be triggered due to an ambiguous overload of a function, but I do not
know how to fix the problem since everything seems clen to me. The USGS
ISIS package uses prebuild libraries, but only for two Linux
distributions and OSX, libxerces is version 3.1 as far as I can see, but
FreeBSD port textproc/xerces-c2 is stuck with 2.7. So far, ISIS 3.2.0
could be build on FreeBSD 8 and 9 with minor problems but working. Is
anybody out here also utilising FreeBSD for scientific purposes and alsi
using ISIS3 3.2.1? Can anybody help or give a hint?

Thanks in advance,



Are you using the standard gcc? You could try installing one of the
gcc versions from ports and see whether that helps. The standard gcc
is a few generations old.

[snip error output]



Hello,

I'm using clang ;-) But I also tried gcc45. After I installed xerces-c
version 3.1.1 from the Apache project in referred ISIS to take libs iand
includes from the new installation path, I had success, but only a
partial one. Xalan-c relies on the older version xerces-c2 2.7..

I also tried with xerces-c2-devel (2.8.0), but it also produces the
error shown prior to this message.

Regards,
Oliver


Some update.

I tried several compilers, all fail due to the wrong xerces-c library. 
The new USGS software package expects version 3.1.1 of xerces-c. Simply 
installing the new xerces-c library by compiling, installing to another 
path and referring to the new lib path etc. doesn't work properly, since 
there are some conflicts with the original installed xerces-c2 2.7 
library. I had to deinstall xerces-c2 package from the ports first, 
compile and install ISIS3, then reinstall xerces-c2 since it is 
neccessary by some other important ports we've installed. Xalan-c is 
also a candidate relying on xerces-c2, and a prerequisite for ISIS3, but 
so far, I did not recognize any conflicts or misbehaviour. But this is 
still a worse situation.


Greetings,
Oliver
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


USGS ISIS 3.2.1: build failure on FBSD 8.1/9.0 due to oudated xerxec-c2 ?

2010-11-09 Thread O. Hartmann

Hello.
Tried to build the newest ISIS 3.2.1 software package for planetary 
survey science, but fail. I always get the following error which seems 
to be triggered due to an ambiguous overload of a function, but I do not 
know how to fix the problem since everything seems clen to me. The USGS 
ISIS package uses prebuild libraries, but only for two Linux 
distributions and OSX, libxerces is version 3.1 as far as I can see, but 
FreeBSD port textproc/xerces-c2 is stuck with 2.7. So far, ISIS 3.2.0 
could be build on FreeBSD 8 and 9 with minor problems but working. Is 
anybody out here also utilising FreeBSD for scientific purposes and alsi 
using ISIS3 3.2.1? Can anybody help or give a hint?


Thanks in advance,

Oliver


Building object [IsisAml] (20:22:34)
In file included from 
/usr/local/include/xercesc/framework/psvi/XSModel.hpp:29,
 from 
/usr/local/include/xercesc/framework/XMLGrammarPool.hpp:27,
 from 
/usr/local/include/xercesc/validators/common/GrammarResolver.hpp:24,
 from 
/usr/local/include/xercesc/internal/XMLScanner.hpp:36,
 from 
/usr/local/include/xercesc/internal/VecAttributesImpl.hpp:28,
 from 
/usr/local/include/xercesc/parsers/SAX2XMLReaderImpl.hpp:27,
 from 
/usr/local/include/xercesc/sax2/XMLReaderFactory.hpp:24,

 from IsisAml.cpp:27:
/usr/local/include/xercesc/validators/schema/SchemaElementDecl.hpp: In 
member function 'virtual bool 
xercesc_2_7::SchemaElementDecl::isGlobalDecl() const':
/usr/local/include/xercesc/validators/schema/SchemaElementDecl.hpp:508: 
warning: comparison between signed and unsigned integer expressions
IsisXMLApplication.cpp: In member function 'virtual void 
IsisXMLApplication::startElement(const XMLCh*, const XMLCh*, const 
XMLCh*, const xercesc_2_7::Attributes)':
IsisXMLApplication.cpp:99: error: call of overloaded 
'getValue(XMLSize_t)' is ambiguous
/usr/local/include/xercesc/sax2/Attributes.hpp:195: note: candidates 
are: virtual const XMLCh* xercesc_2_7::Attributes::getValue(unsigned 
int) const
/usr/local/include/xercesc/sax2/Attributes.hpp:270: note: 
  virtual const XMLCh* xercesc_2_7::Attributes::getValue(const XMLCh*) 
const

gmake[5]: *** [IsisXMLApplication.o] Error 1
gmake[4]: *** [object] Error 2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USGS ISIS 3.2.1: build failure on FBSD 8.1/9.0 due to oudated xerxec-c2 ?

2010-11-09 Thread O. Hartmann

On 11/09/10 21:52, Gary Jennejohn wrote:

On Tue, 09 Nov 2010 20:34:48 +0100
O. Hartmannohart...@mail.zedat.fu-berlin.de  wrote:


Hello.
Tried to build the newest ISIS 3.2.1 software package for planetary
survey science, but fail. I always get the following error which seems
to be triggered due to an ambiguous overload of a function, but I do not
know how to fix the problem since everything seems clen to me. The USGS
ISIS package uses prebuild libraries, but only for two Linux
distributions and OSX, libxerces is version 3.1 as far as I can see, but
FreeBSD port textproc/xerces-c2 is stuck with 2.7. So far, ISIS 3.2.0
could be build on FreeBSD 8 and 9 with minor problems but working. Is
anybody out here also utilising FreeBSD for scientific purposes and alsi
using ISIS3 3.2.1? Can anybody help or give a hint?

Thanks in advance,



Are you using the standard gcc?  You could try installing one of the
gcc versions from ports and see whether that helps.  The standard gcc
is a few generations old.

[snip error output]



Hello,

I'm using clang ;-) But I also tried gcc45. After I installed xerces-c 
version 3.1.1 from the Apache project in referred ISIS to take libs iand 
includes from the new installation path, I had success, but only a 
partial one. Xalan-c relies on the older version xerces-c2 2.7..


I also tried with xerces-c2-devel (2.8.0), but it also produces the 
error shown prior to this message.


Regards,
Oliver
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USGS ISIS 3.2.1: build failure on FBSD 8.1/9.0 due to oudated xerxec-c2 ?

2010-11-09 Thread Ruslan Mahmatkhanov


Good day!

09.11.2010 22:34, O. Hartmann пишет:

Hello.
Tried to build the newest ISIS 3.2.1 software package for planetary
survey science, but fail. I always get the following error which seems
to be triggered due to an ambiguous overload of a function, but I do not
know how to fix the problem since everything seems clen to me. The USGS
ISIS package uses prebuild libraries, but only for two Linux
distributions and OSX, libxerces is version 3.1 as far as I can see, but
FreeBSD port textproc/xerces-c2 is stuck with 2.7. So far, ISIS 3.2.0
could be build on FreeBSD 8 and 9 with minor problems but working. Is
anybody out here also utilising FreeBSD for scientific purposes and alsi
using ISIS3 3.2.1? Can anybody help or give a hint?


Which exact xerces version is needed for successful build? Did you tried 
to install textproc/xerces-c2-devel? (It has 2.8.0 that is last stable 
release in 2.x branch).




Thanks in advance,

Oliver


Building object [IsisAml] (20:22:34)
In file included from
/usr/local/include/xercesc/framework/psvi/XSModel.hpp:29,
from /usr/local/include/xercesc/framework/XMLGrammarPool.hpp:27,
from /usr/local/include/xercesc/validators/common/GrammarResolver.hpp:24,
from /usr/local/include/xercesc/internal/XMLScanner.hpp:36,
from /usr/local/include/xercesc/internal/VecAttributesImpl.hpp:28,
from /usr/local/include/xercesc/parsers/SAX2XMLReaderImpl.hpp:27,
from /usr/local/include/xercesc/sax2/XMLReaderFactory.hpp:24,
from IsisAml.cpp:27:
/usr/local/include/xercesc/validators/schema/SchemaElementDecl.hpp: In
member function 'virtual bool
xercesc_2_7::SchemaElementDecl::isGlobalDecl() const':
/usr/local/include/xercesc/validators/schema/SchemaElementDecl.hpp:508:
warning: comparison between signed and unsigned integer expressions
IsisXMLApplication.cpp: In member function 'virtual void
IsisXMLApplication::startElement(const XMLCh*, const XMLCh*, const
XMLCh*, const xercesc_2_7::Attributes)':
IsisXMLApplication.cpp:99: error: call of overloaded
'getValue(XMLSize_t)' is ambiguous
/usr/local/include/xercesc/sax2/Attributes.hpp:195: note: candidates
are: virtual const XMLCh* xercesc_2_7::Attributes::getValue(unsigned
int) const
/usr/local/include/xercesc/sax2/Attributes.hpp:270: note: virtual const
XMLCh* xercesc_2_7::Attributes::getValue(const XMLCh*) const
gmake[5]: *** [IsisXMLApplication.o] Error 1
gmake[4]: *** [object] Error 2
___
freebsd-po...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org





--
Regards,
Ruslan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USGS ISIS 3.2.1: build failure on FBSD 8.1/9.0 due to oudated xerxec-c2 ?

2010-11-09 Thread Gary Jennejohn
On Tue, 09 Nov 2010 20:34:48 +0100
O. Hartmann ohart...@mail.zedat.fu-berlin.de wrote:

 Hello.
 Tried to build the newest ISIS 3.2.1 software package for planetary 
 survey science, but fail. I always get the following error which seems 
 to be triggered due to an ambiguous overload of a function, but I do not 
 know how to fix the problem since everything seems clen to me. The USGS 
 ISIS package uses prebuild libraries, but only for two Linux 
 distributions and OSX, libxerces is version 3.1 as far as I can see, but 
 FreeBSD port textproc/xerces-c2 is stuck with 2.7. So far, ISIS 3.2.0 
 could be build on FreeBSD 8 and 9 with minor problems but working. Is 
 anybody out here also utilising FreeBSD for scientific purposes and alsi 
 using ISIS3 3.2.1? Can anybody help or give a hint?
 
 Thanks in advance,


Are you using the standard gcc?  You could try installing one of the
gcc versions from ports and see whether that helps.  The standard gcc
is a few generations old.

[snip error output]

-- 
Gary Jennejohn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org