Hi,
I think the issue in MacPorts is different, nothing to do with libpng ?
cheers Chris
On 24 Jul 2011, at 5:32pm, Fons Rademakers wrote:
> Hi Chris,
>
> this has been fixed the 21st ;-), see:
>
> http://root.cern.ch/viewvc/trunk/graf2d/asimage/src/libAfterImage/export.c?view=log
>
> take the ROOT trunk and it should be ok.
>
> Cheers, Fons.
>
>
> On 24/07/2011 16:45, Chris Jones wrote:
>> Hi, >> >> A similar issue was reported against the MacPorts version of root. See >> >> https://trac.macports.org/ticket/30321 >> >> I guess the issue here is ROOT needs some work to be compatible with the llvm compiler, which is now the default in OS X 10.7 (compared to gcc 4.2 in SL) ? A work around with the MacPorts version is to use the gcc44 (or gcc45) variants of the port, which then build using macports gcc compilers. >> >> Chris >> >> On 21 Jul 2011, at 7:34pm, Mario Kadastik wrote: >> >>> Hi, >>> >>> as the old installation of ROOT didn't work with Lion I checked out the latest version from SVN and tried to configure and compile however the result is: >>> >>> *** Building libAfterImage ... >>> clang -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -Wall -mmmx -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include -c export.c -o export.o >>> export.c:500:22: error: incomplete definition of type 'struct png_struct_def' >>> if( setjmp(png_ptr->jmpbuf) ) >>> ~~~~~~~^ >>> /usr/X11/include/png.h:795:16: note: forward declaration of 'struct png_struct_def' >>> typedef struct png_struct_def png_struct; >>> ^ >>> 1 error generated. >>> make[1]: *** [export.o] Error 1 >>> make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Error 2 >>> >>> Ideas? >>> >>> Mario Kadastik, PhD >>> Researcher >>> >>> --- >>> "Physics is like sex, sure it may have practical reasons, but that's not why we do it" >>> -- Richard P. Feynman >>>
This archive was generated by hypermail 2.2.0 : Sun Jul 24 2011 - 23:50:01 CEST