On 10-Jan-08, at 10:12 , Pierre-Henri Lavigne wrote:
>
> Just trying to compile sylpheed, same error with sylpheed ssl :
> http://paste.lisp.org/display/53951
>
> I googled but didn't find a solution or a clue.
> I'm on 10.4.11 PPC, latest Fink

I just finished building sylpheed on 10.4 PPC.  It built without  
error.  I do note two differences between the gcc command in your log,  
and the same command in mine.

The command that failed for you was:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Sylpheed\"    - 
DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DXNO_MTSAFE_UNISTDAPI -I/sw/ 
include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0 -I/ 
usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/include/gtk-2.0  
-I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include            -I/sw/ 
include -I/sw/include     -I/sw/include   -I../libsylph -DLOCALEDIR= 
\""/sw/share/locale"\"        -DMANUALDIR=\""/sw/share/sylpheed/ 
manual"\"     -DFAQDIR=\""/sw/share/sylpheed/faq"\"   -DTARGET_ALIAS= 
\""powerpc-apple-darwin8.11.0"\"         -DSYSCONFDIR=\""/sw/etc"\" -I/ 
sw/lib/pilot-link10/include -I/sw/include  -g -O2 -no-cpp-precomp -fno- 
common -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include   -I/sw/ 
include   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API - 
DXNO_MTSAFE_UNISTDAPI -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/ 
include -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/ 
include/freetype2 -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0 -I/sw/ 
lib/gtk-2.0/include -I/sw/include/gtkspell-2.0   -I/sw/include -c  
folderview.c

The same command, that built for me, was:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Sylpheed\"    -I/sw/ 
include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0 -I/ 
usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/include/gtk-2.0  
-I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include                 -I/sw/include 
-I/ 
sw/include      -I/sw/include   -I../libsylph -DLOCALEDIR=\""/sw/share/ 
locale"\"       -DMANUALDIR=\""/sw/share/sylpheed/manual"\"     -DFAQDIR=\""/ 
sw/share/sylpheed/faq"\"        -DTARGET_ALIAS=\""powerpc-apple- 
darwin8.11.0"\"         -DSYSCONFDIR=\""/sw/etc"\" -I/sw/lib/pilot-link10/ 
include -I/sw/include  -g -O2 -no-cpp-precomp -fno-common -I/sw/ 
include/glib-2.0 -I/sw/lib/glib-2.0/include   -I/sw/include   -I/sw/ 
include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0 -I/ 
usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/include/gtk-2.0  
-I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/ 
gtkspell-2.0  -I/sw/include -c folderview.c

Your command has the following flags, missing from mine:

-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DXNO_MTSAFE_UNISTDAPI

I don't know if these additional flags are relevant, as I have not yet  
found them in the gcc docs.

It might be worthwhile trying to start with a fresh Terminal session,  
and to also study the environment, i.e. the result of: "printenv" to  
see if any unusual flags are set.  For me, the result of "printenv |  
grep FLAG" was:

CFLAGS=-I/sw/include
LDFLAGS=-L/sw/lib
CXXFLAGS=-I/sw/include
CPPFLAGS=-I/sw/include
ACLOCAL_FLAGS=-I /sw/share/aclocal

If your flags are different, it might be worthwhile to find out why,  
and to temporarily disable the cause.

--
Kevin Horton
Ottawa, Canada







-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to