Hi

I have been building moz module from the source. TO build the module,
I installed the fink. Doing fink self-update and fink update-all,
this is a normal operaton, then, OOo's configure failed like:
------------------------------------------------------------
checking which mozilla to use... internal
checking which mozilla version to build... 1.7.5
checking for toolkit mozilla should use... gtk2
checking whether to build Mozilla... yes
checking for mozilla-source-1.7.5.tar.gz... found
checking for mozilla-source-1.7.5.tar.bz2... found
configure: checking whether mozilla can be built...
checking for pkg-config... /sw/bin/pkg-config
checking for gtk+-2.0 >= 2.4 libIDL-2.0 >= 0.8... configure: error: Prerequisite
s to build mozilla not met. Either use the precompiled mozilla binaries or insta
ll the missing packages
------------------------------------------------------------
This is recently introduced change in the fink.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg28213.html
> Until a few weeks ago, fink had several different and completely
> incompatible pango libraries available
http://www.mail-archive.com/[EMAIL PROTECTED]/msg28210.html
.

This is due to some dependency like pangoft ... are now located at the
different directory. 

I set 
setenv PKG_CONFIG_PATH 
/usr/lib/pkgconfig:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/pango-ft219/lib/pkgconfig
 and build, then, configure passes without errors 
but fails at moz module,
like http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=19611
.

rm -f libgfx_gtk.dylib
ccache g++-4.0 -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall 
-Wconversion -Wpointer-arith -Wcast-
align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor 
-Wno-long-long -fpascal-
strings -no-cpp-precomp -fno-common -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O  
-I/sw/lib/freetype219/in
clude/freetype2 -I/sw/lib/freetype219/include 
-I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/include/pixm
an-1 -I/sw/include/libpng12 -I/sw/include -I/sw/include/glib-2.0 
-I/sw/lib/glib-2.0/include -I/sw/includ
e/cairo -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include 
-I/usr/X11R6/include -fPIC
 -arch ppc -o libgfx_gtk.dylib  nsPrintdGTK.o gtk2drawing.o 
nsDeviceContextGTK.o nsDeviceContextSpecFact
oryG.o nsDeviceContextSpecG.o nsDrawingSurfaceGTK.o nsGfxFactoryGTK.o 
nsGraphicsStateGTK.o nsImageGTK.o 
nsGCCache.o nsRenderingContextGTK.o nsScreenGtk.o nsScreenManagerGtk.o 
nsPrintOptionsGTK.o nsFontMetrics
Utils.o nsAntiAliasedGlyph.o nsFontFreeType.o nsFT2FontNode.o 
nsFT2FontCatalog.o nsX11AlphaBlend.o nsXFo
ntAAScaledBitmap.o nsXFontNormal.o nsFontMetricsGTK.o nsGdkUtils.o 
nsRegionGTK2.o nsNativeThemeGTK.o    
    -bundle -L../../../dist/bin -lxpcom -L../../../dist/bin 
-L/Volumes/ooo-dev/Tiger/work.OOO300_m10.AQU
A/OOO300_m10/moz/unxmacxp.pro/misc/build/mozilla/dist/lib -lplds4 -lplc4 
-lnspr4 -lpthread  -lgkgfx -lgf
xshared_s  -L../../../dist/bin -lmozjs ../../../dist/lib/libunicharutil_s.a    
-L/sw/lib/freetype219/lib
 -L/sw/lib/pango-ft219/lib -L/sw/lib -L/usr/X11R6/lib 
-Wl,-framework,CoreServices -Wl,-framework,Applica
tionServices -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXrender -lXinerama -lXext 
-lX11 -latk-1.0 -lgdk_pixb
uf-2.0 -lpangocairo-1.0 -lXcursor -lcairo -lpangoft2-1.0 -lpango-1.0 -lm 
-lfreetype -lz -lfontconfig -lg
object-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -L/usr/X11R6/lib -lX11  -lm  
  
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_pango_x_font_map_for_display
_pango_x_font_subfont_xlfd
_pango_x_list_subfonts
collect2: ld returned 1 exit status
make[4]: *** [libgfx_gtk.dylib] Error 1
make[3]: *** [libs] Error 2
make[2]: *** [libs] Error 2
make[1]: *** [tier_9] Error 2
make: *** [default] Error 2
dmake:  Error code 2, while making 
'./unxmacxp.pro/misc/build/so_built_ooo_mozab'
Running processes: 0
---------------
I cannot solve by myself.

So I've decied to go with "--with-mozilla-toolkit=xlib".

Thank you,
-- Nakata Maho http://accc.riken.jp/maho/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to