From owner-freebsd-questions@FreeBSD.ORG Wed Nov 10 10:13:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5323E106564A; Wed, 10 Nov 2010 10:13:40 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 0BBD88FC15; Wed, 10 Nov 2010 10:13:39 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1PG7NO-00052n-1V>; Wed, 10 Nov 2010 10:53:58 +0100 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1PG7NN-00059Q-QX>; Wed, 10 Nov 2010 10:53:57 +0100 Message-ID: <4CDA6BB7.80604@zedat.fu-berlin.de> Date: Wed, 10 Nov 2010 10:53:59 +0100 From: "O. Hartmann" Organization: Freie =?ISO-8859-1?Q?Universit=E4t_Berlin?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101029 Thunderbird/3.1.6 MIME-Version: 1.0 To: gljennjohn@googlemail.com References: <4CD9A258.3080309@mail.zedat.fu-berlin.de> <20101109215247.0ecac268@ernst.jennejohn.org> <4CD9B7D6.6040405@mail.zedat.fu-berlin.de> In-Reply-To: <4CD9B7D6.6040405@mail.zedat.fu-berlin.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: cvs-src@yandex.ru, freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: USGS ISIS 3.2.1: build failure on FBSD 8.1/9.0 due to oudated xerxec-c2 ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 10:13:40 -0000 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. Hartmann" 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