Re: Trouble with Leopard

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Fri, 02 Nov 2007 09:50:38 +0100


Also already fixed in the svn trunk. For the diff see:

http://root.cern.ch/viewvc/trunk/cint/cintdlls.mk?r1=20279&r2=20535

Cheers, Fons.

Mario Kadastik wrote:

> Well, that fixed this error :P However now I hit the next one further 
> down the line:
> 
> (cd cint/lib/posix/ && \
>     ./mktypes)
> cp -f cint/include/systypes.h cint/include/sys/types.h
> cint/main/cint_tmp -K -w1 -zposix -ncint/lib/G__c_posix.c -D__MAKECINT__ 
> -DG__MAKECINT \
>         -c-2 -Z0 cint/lib/posix/exten.h cint/include/sys/types.h 
> cint/lib/posix/posix.h
> Note: File "cint/lib/posix/posix.h" already loaded
> Note: Link requested for undefined class __dirstream (ignore this 
> message) :0:
> bin/rmkdepend -R -fcint/lib/G__c_posix.d -Y -w 1000 -- -pipe -W -Wall 
> -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG  -DG__REGEXP 
> -DG__UNIX -DG__SHAREDLIB -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL 
> -DG__STD_EXCEPTION  -I. -DG__SYSTYPES_H -- cint/lib/G__c_posix.c
> gcc -O2 -pipe -W -Wall -fsigned-char -fno-common -Iinclude 
> -DR__HAVE_CONFIG  -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__ROOT 
> -DG__REDIRECTIO -DG__OSFDLL -DG__STD_EXCEPTION  -I. -DG__SYSTYPES_H -o 
> cint/lib/G__c_posix.o -c cint/lib/G__c_posix.c
> cint/lib/G__c_posix.c: In function 'G__posix__0_30':
> cint/lib/G__c_posix.c:203: warning: passing argument 1 of 'putenv' 
> discards qualifiers from pointer target type
> cint/lib/G__c_posix.c: In function 'G__posix__0_54':
> cint/lib/G__c_posix.c:348: error: too many arguments to function 'setpgrp'
> make: *** [cint/lib/G__c_posix.o] Error 1
> 
> 
> Mario
> 
> On Nov 2, 2007, at 8:48 AM, Fons Rademakers wrote:
> 

>> This issue has already been fixed in the ROOT svn trunk. For the
>> workaround to be applied see:
>>
>> http://root.cern.ch/viewvc/trunk/configure?r1=20491&r2=20520
>>
>> Cheers, Fons.
>>
>>
>> PS: we hope Apple will fix this with the next upgrade
>>
>>
>>
>> Mario Kadastik wrote:
>>> Hello,
>>> downloaded the latest source tarball (v5.17.04.source.tar), extracted
>>> it, ran with
>>> ./configure macosx --prefix=/Applications/root
>>> which ran through just fine, however during the compilation I ran
>>> into the following error:
>>> g++ -O2 -dynamiclib -single_module -undefined dynamic_lookup
>>> -install_name /Applications/root/lib/root/libFTGL.dylib -o
>>> lib/libFTGL.dylib ftgl/src/FTBitmapGlyph.o ftgl/src/FTCharmap.o
>>> ftgl/src/FTContour.o ftgl/src/FTExtrdGlyph.o ftgl/src/FTFace.o
>>> ftgl/src/FTFont.o ftgl/src/FTGLBitmapFont.o ftgl/src/FTGLExtrdFont.o
>>> ftgl/src/FTGLOutlineFont.o ftgl/src/FTGLPixmapFont.o
>>> ftgl/src/FTGLPolygonFont.o ftgl/src/FTGLTextureFont.o
>>> ftgl/src/FTGlyph.o ftgl/src/FTGlyphContainer.o ftgl/src/FTLibrary.o
>>> ftgl/src/FTOutlineGlyph.o ftgl/src/FTPixmapGlyph.o ftgl/src/FTPoint.o
>>> ftgl/src/FTPolyGlyph.o ftgl/src/FTSize.o ftgl/src/FTTextureGlyph.o
>>> ftgl/src/FTVectoriser.o -ldl lib/libfreetype.a -L/usr/X11R6/lib -lXpm
>>> -L/usr/X11R6/lib -lXext -lX11 -L/usr/X11R6/lib -lXft -L/usr/X11R6/lib
>>> -lGLU -lGL -L/usr/X11R6/lib -lX11 -lm
>>> ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib
>>> collect2: ld returned 1 exit status
>>> make: *** [lib/libFTGL.dylib] Error 1
>>> the full log is available at:
>>> http://hep.kbfi.ee/dbg/complog
>>> I'm using a iBook G4, which is PowerPC 1.4Ghz running the latest Mac
>>> OS X Leopard (10.5).
>>> Anything specific I have to do to get it working?
>>> Mario
>>> PS! if you look at the full log you notice that make tries to run g77
>>> and fails to do so, if it actually needs g77, then it should probably
>>> check for it in configure as Leopard does not have g77 bundled in
>>> developer tools (at least not to my knowledge) and I was unable to
>>> get the one from Fink to compile either.... I did clean up fink area
>>> and tried a vanilla root source tree where I got this error...
>>
>> --
>> Org: CERN, European Laboratory for Particle Physics.
>> Mail: 1211 Geneve 23, Switzerland
>> E-Mail: Fons.Rademakers_at_cern.ch Phone: +41 22 7679248
>> WWW: http://fons.rademakers.org Fax: +41 22 7669640
>
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Fri Nov 02 2007 - 09:50:56 CET

This archive was generated by hypermail 2.2.0 : Fri Nov 02 2007 - 11:50:02 CET