Dear All.
I have just downloaded the latest recoemmended version trough
svn co root.cern.ch/svn/root/tags/v5-28-00d root
I’m on a Mac and I’m configuring trough
./configure macosx --enable-roofit
then I make install …
And I get the error:
gcc -m32 -O3 -DNO_DEBUG_OUTPUT -fPIC -Wall -mmmx --param inline-unit-growth=10000 --param large-function-growth=10000 -I/sw/include -I/sw/include -I/sw/include -I/sw/include/freetype2 -I/sw/include -I/usr/X11/include -c export.c -o export.o
export.c: In function ‘ASImage2png_int’:
export.c:499: error: dereferencing pointer to incomplete type
make[1]: *** [export.o] Error 1
make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Error 2
What am I missing?
Previous versions compiled and run without problems.
alessio
couet
June 8, 2011, 9:20am
2
I do not see the problem on my mac:
gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -Wall -mmmx -I/usr/X11/include/freetype2 -I/usr/X11/include -c export.c -o export.o
/bin/rm -f libAfterImage.a
I have OS X 10.6.7
Can you please try with the 32 bit architecture?
Since the problem I am seeing is on a macosx 10.5.8 and I’m using 32bit arch.
alessio
couet
June 8, 2011, 11:17am
4
hmmm … I’ll check … I do not think I have one right here …
asartim
September 14, 2011, 9:52am
5
Dear all.
I am still having this problem,…
Can someone please look at that?
It prevents me to go to root versions>5.28 !!!
It has to do with some missing include or mismatch with libraries already installed on my mac.
how can I debug/proceed?
I cannot compile with asimage!
couet
September 14, 2011, 12:20pm
6
Can you try to take the lastest root, fix export.c and then we put the fix in the SVN trunk ?
As I said I do not have such machine available.
asartim
September 14, 2011, 1:26pm
7
It seems that a simple
fink install libpng14
did the trick…
libpng15 was removed and was the cause of the problem…
now everything compiles.
hoeth
September 29, 2011, 2:12pm
9
No, not good. There is no excuse for not fixing ROOT to work with libpng15. Patch attached.
BTW, can anybody explain to me why I can’t attach a file with the suffix .patch in this forum, but .diff works?
root-libpng15.diff (1.34 KB)
rdm
September 29, 2011, 2:21pm
10
Hi,
btw, these problems were already fixed in 5-30-01.
Cheers, Fons.
hoeth
September 29, 2011, 2:55pm
11
Cool! So why didn’t those changes make it into 5-30-02?
rdm
September 29, 2011, 3:23pm
12
My mistake, because it is actually only in the trunk which has been ported to OSX Lion which ships with libpng15.
Cheers, Fons.