On Mon, 04 Apr 2011 12:03:17 0200, Dominique Dhumieres wrote: On ppc (G5) OSX 10.5.8 updating to kdelibs3-unified-3.5.10-11 failed with > > ... > g -4.2 -DHAVE_CONFIG_H -I. -I../.. -I../../dcop -I../../kdecore -I../../kjs -I../../kdecore/network -I../../kwallet/client -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdecore/network -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/sw/lib/qt3/include -I/usr/X11/include -I/sw/include -I/sw/include -DQT_THREAD_SUPPORT -I/usr/include/gssapi -I/sw/lib/xft2/include -I/sw/lib/system-openssl/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/flex/include -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/sw/include -I/usr/X11R6/include -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Os -Os -fPIC -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kssl.lo -MD -MP -MF .deps/kssl.Tpo -c kssl.cc -fno-common -DPIC -o .libs/kssl.o > In file included from kssl.cc:47: > ./kopenssl.h:453: error: ISO C forbids declaration of 'ASN1_METHOD' with no type [...] Reproduced a similar failure on 10.6/i386. It appears to be picking up a mixture and an unexpected openssl dependency. Earlier in the build process I see: SEARCHDIRS="$PREFIX/lib/xft2 $PREFIX/lib/system-openssl $PREFIX/lib/freetype219 $PREFIX/lib/flex $PREFIX/lib/doxygen1.3" [...] --with-ssl-dir=/usr [...] CPPFLAGS: -I/sw/lib/xft2/include -I/sw/lib/system-openssl/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/flex/include -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/sw/include -I/usr/X11R6/include [...] checking for OpenSSL... libraries /usr/lib, headers /usr/include I have system-openssl-dev installed (SEARCHDIRS and CPPFLAGS and others are using its paths) but it's not a dependency. But then the compiler call here has -I/sw/include earlier. I also have openssl100-dev installed, and confirmed with the .Tpo file that fink's openssl headers are being found. Oops. dan
-- Daniel Macks [email protected] ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
