On May 2, 2014 at 9:04:46 AM, Jack Howarth (howarth.at.f...@gmail.com) wrote:

Kevin,
     The following change solves the build issue here outside of fink using the 
same configure options…

--- sylpheed-3.4.1/src/Makefile.in.orig 2014-05-02 08:58:42.000000000 -0400
+++ sylpheed-3.4.1/src/Makefile.in 2014-05-02 09:00:12.000000000 -0400
@@ -434,7 +434,7 @@
 @NATIVE_WIN32_TRUE@ ../libsylph/libsylph-0.la sylpheed.res
 @NATIVE_WIN32_FALSE@sylpheed_DEPENDENCIES = libsylpheed-plugin-0.la \
 @NATIVE_WIN32_FALSE@ ../libsylph/libsylph-0.la
-sylpheed_LDFLAGS =
+sylpheed_LDFLAGS = -F/System/Library/Frameworks/Foundation.framework 
-framework Foundation
 
 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
 depcomp = $(SHELL) $(top_srcdir)/depcomp

               Jack


 
On May 2, 2014 at 9:16:11 AM, Martin Costabel 
(costa...@wanadoo.fr(mailto:costa...@wanadoo.fr)) wrote:
> On 2/05/14 13:23, khorto...@rogers.com wrote:
> >
> >
> > I’m trying to update my sylpheed package to sylpheed 3.4.1, and I’m running 
> > into a problem with undefined symbols. This is way outside my area of 
> > expertise, so I’m hoping that someone can give me a clue.
> >
> > The relevant parts of the info file are:
> >
> > SetCPPFLAGS: -I%p/lib/system-openssl/include
> > SetLDFLAGS: -L%p/lib/system-openssl/lib -lenchant -lresolv
> > ConfigureParams: --enable-ipv6 --disable-jpilot --enable-ssl --enable-ldap 
> > --disable-gpgme --enable-gtkspell --disable-compface --disable-oniguruma 
> > --disable-shared --with-libs=%p/lib/system-openssl
> []/.libs/libsylph-0.a ../libsylph/.libs/libsylph-0.a -lresolv -lssl
> -lcrypto -lz /sw/lib/libgtkspell.dylib /sw/lib/libgtk-x11-2.0.dylib
> /sw/lib/libgdk-x11-2.0.dylib /sw/lib/libatk-1.0.dylib
> /sw/lib/libgio-2.0.dylib /sw/lib/pango-ft219/lib/libpangoft2-1.0.dylib
> /sw/lib/libgdk_pixbuf-2.0.dylib
> /sw/lib/pango-ft219/lib/libpangocairo-1.0.dylib /sw/lib/libcairo.dylib
> /sw/lib/pango-ft219/lib/libpango-1.0.dylib
> /sw/lib/freetype219/lib/libfreetype.dylib
> /sw/lib/fontconfig2/lib/libfontconfig.dylib /sw/lib/libenchant.dylib
> /sw/lib/libgmodule-2.0.dylib /sw/lib/libdbus-glib-1.dylib
> /sw/lib/libdbus-1.dylib -lpthread /sw/lib/libgobject-2.0.dylib
> /sw/lib/libgthread-2.0.dylib /sw/lib/libglib-2.0.dylib /sw/lib/libintl.dylib
> > Undefined symbols for architecture x86_64:
> > "_OBJC_CLASS_$_NSAutoreleasePool", referenced from:
> > objc-class-ref in libsylph-0.a(utils.o)
> > "_OBJC_CLASS_$_NSBundle", referenced from:
> > objc-class-ref in libsylph-0.a(utils.o)
> > "_objc_msgSend", referenced from:
> > _set_startup_dir in libsylph-0.a(utils.o)
>  
> Maybe adding -Wl,-framework,Foundation to SetLDFLAGS will resolve these.
>  


Thanks Jack and Martin - both your solutions worked. I’ll use the option to do 
it in the .info file, rather than via a patch, as that is probably more robust 
for future sylpheed updates.  

Best regards,  

Kevin

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to