Ok, I have updated XCode to version 3.1.4 (the latest for my OS X 10.5) and
reinstalled fink. The error message is
--------------------------------------------------------------------------
...
g++ -DHAVE_CONFIG_H -I. -I. -I../Vector -I.. -I/sw/include -O -ansi
-pedantic -Wall -D_GNU_SOURCE -g -O2 -c -o shared/Boost.o Boost.cc
/usr/include/c++/4.0.0/bits/streambuf_iterator.h: In member function
'typename _Traits::int_type std::istreambuf_iterator<_CharT,
_Traits>::_M_get() const':
/usr/include/c++/4.0.0/bits/streambuf_iterator.h:156: error: expected `('
before '-=' token
make[2]: *** [shared/Boost.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-clhep2-2.0.4.3-51
(Lese Datenbank ... 68592 Dateien und Verzeichnisse sind derzeit
installiert.)
Entferne fink-buildlock-clhep2-2.0.4.3-51 ...
Failed: phase compiling: clhep2-2.0.4.3-51 failed
--------------------------------------------------------------------------
Also, I tried to install 'clhep' instead of 'clhep2' which causes a similar
error message...
Sven
2009/11/14 monipol <[email protected]>
> Hello, Sven. I'm not sure why clhep2 doesn't build on your box. Could you
> please update Xcode to the latest version and see if it works?
>
>
> On 14/11/2009, at 17:37, [email protected] wrote:
>
> thanks for the fast answer,
>>
>> 'xcodebuild -version' gives
>>
>> ------------------------
>> Xcode 3.1.2
>> Component versions: DevToolsCore-1148.0; DevToolsSupport-1102.0
>> BuildVersion: 9M2621
>> ------------------------
>>
>>
>> Am 14.11.2009 um 14:11 schrieb monipol:
>>
>> On 14/11/2009, at 16:19, [email protected] wrote:
>>>
>>>> Hello!
>>>>
>>>> I have problems in bulding clhep2. A selfupdate of fink does not solve
>>>> the problem. The OS X version is 10.5.8...
>>>>
>>> What's your Xcode version? I've been able to build both clhep2-2.0.3.3-51
>>> (stable) and clhep2-2.0.4.3-51 (unstable) on my Intel OS 10.5.8 box with
>>> Xcode 3.1.4.
>>>
>>> Run the following command to find out your Xcode version:
>>>
>>> xcodebuild -version
>>>
>>> (...)
>>>
>>>> g++ -DHAVE_CONFIG_H -I. -I. -I../Vector -I.. -I/sw/include -O -ansi -
>>>> pedantic -Wall -D_GNU_SOURCE -g -O2 -c -o Rotation.o Rotation.cc
>>>> g++ -DHAVE_CONFIG_H -I. -I. -I../Vector -I.. -I/sw/include -O -ansi -
>>>> pedantic -Wall -D_GNU_SOURCE -g -O2 -c -o RotationA.o RotationA.cc
>>>> /usr/include/c++/4.0.0/bits/stl_iterator_base_funcs.h:121: error:
>>>> expected nested-name-specifier before '_InputIterator'
>>>> /usr/include/c++/4.0.0/bits/stl_iterator_base_funcs.h:121: error:
>>>> expected `>' before '+=' token
>>>> /usr/include/c++/4.0.0/bits/stl_iterator_base_funcs.h:123: error:
>>>> variable or field '__advance' declared void
>>>> /usr/include/c++/4.0.0/bits/stl_iterator_base_funcs.h:123: error:
>>>> 'std::__advance' declared as an 'inline' variable
>>>> /usr/include/c++/4.0.0/bits/stl_iterator_base_funcs.h:123: error:
>>>> template declaration of 'int std::__advance'
>>>> /usr/include/c++/4.0.0/bits/stl_iterator_base_funcs.h:123: error:
>>>> '__i' was not declared in this scope
>>>> /usr/include/c++/4.0.0/bits/stl_iterator_base_funcs.h:123: error:
>>>> '_Distance' was not declared in this scope
>>>> /usr/include/c++/4.0.0/bits/stl_iterator_base_funcs.h:123: error:
>>>> expected primary-expression before ')' token
>>>> make[2]: *** [RotationA.o] Error 1
>>>> make[1]: *** [all-recursive] Error 1
>>>> make: *** [all-recursive] Error 1
>>>> ### execution of make failed, exit code 2
>>>> Removing runtime build-lock...
>>>> Removing build-lock package...
>>>> /sw/bin/dpkg-lockwait -r fink-buildlock-clhep2-2.0.3.3-51
>>>> (Reading database ... 29468 files and directories currently installed.)
>>>> Removing fink-buildlock-clhep2-2.0.3.3-51 ...
>>>> Failed: phase compiling: clhep2-2.0.3.3-51 failed
>>>>
>>>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners