David Ellis wrote:
Hello,
I am trying to get started working on calc, but am having trouble
configuring the build environment on an Intel Mac. I tried using a
frozen source release "OOo_2.2.0_src_core.tar.bz2", rather than cvs.
After configuring with no errors (using "--with-use-shell=bash
--with-x --disable-systray"), and successfully building dmake, when I
run it in the src root, I get the following errors:
Now I have what seems to be a Darwin-related problem:
/usr/bin/g++ -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 -DXTHREADS -I/opt/local/include/gtk-2.0
-I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0
-I/opt/local/include/cairo -I/opt/local/include/pango-1.0
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/libpng12 -I/usr/X11R6/include -fPIC -o
libgfx_gtk.dylib nsPrintdGTK.o gtk2drawing.o nsDeviceContextGTK.o
nsDeviceContextSpecFactoryG.o nsDeviceContextSpecG.o
nsDrawingSurfaceGTK.o nsGfxFactoryGTK.o nsGraphicsStateGTK.o
nsImageGTK.o nsGCCache.o nsRenderingContextGTK.o nsScreenGtk.o
nsScreenManagerGtk.o nsPrintOptionsGTK.o nsFontMetricsUtils.o
nsAntiAliasedGlyph.o nsFontFreeType.o nsFT2FontNode.o nsFT2FontCatalog.o
nsX11AlphaBlend.o nsXFontAAScaledBitmap.o nsXFontNormal.o
nsFontMetricsGTK.o nsGdkUtils.o nsRegionGTK2.o nsNativeThemeGTK.o
-bundle -L../../../dist/bin -lxpcom -L../../../dist/bin
-L/Users/david/oo/OOF680_m14/moz/unxmacxi.pro/misc/build/mozilla/dist/lib
-lplds4 -lplc4 -lnspr4 -lpthread -lgkgfx -lgfxshared_s
-L../../../dist/bin -lmozjs ../../../dist/lib/libunicharutil_s.a
-L/opt/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -ltiff -ljpeg -lm -lpangocairo-1.0 -lpango-1.0 -lcairo
-lSM -lICE -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
-lfreetype -lz -lfontconfig -lpng12 -lXrender -lX11 -L/usr/X11R6/lib
-lX11 -lm
/usr/bin/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
'./unxmacxi.pro/misc/build/so_built_ooo_mozab
These "_pango_x..." files are mentioned in several Darwin bug reports,
but I haven't found any hints as to how this problem might be fixed or
avoided...
So, I tried using an alternate method, running "build --all" in
instsetoo_native/, but after a while, it complains of missing crypto
libraries:
checking for crypto library... configure: error: At least one crypto
library should exist for xmlsec1
dmake: Error code 1, while making
'./unxmacxi.pro/misc/build/so_configured_so_xmlsec1'
I installed openssl-dev (from Fink), and used the
"--with-system-xmlsec" flag, to no avail.
What I really want to do, though, is compile just sc, checked out from
cvs, using the solver "OOo_2.2.0_LinuxIntel_solver.tar.gz" (no
MacIntel solver found), but that setup complains that one of the tools
(svidl) is missing:
Making: ../unxmacxi.pro/misc/scslots.don
svidl @/tmp/mkTQfaOk
/bin/bash: line 1: svidl: command not found
dmake: Error code 127, while making '../unxmacxi.pro/misc/scslots.don'
'---* tg_merge.mk *---'
Now this is slightly different - it finds svidl in the unxlngi6.pro
build dir (which it can't execute, of course), but not in unxmacxi.pro,
and when I try to build idl directly, I get this:
/Users/david/oo/OOF680_m14/idl/source/cmptools/char.cxx:44:27: error:
tools/table.hxx: No such file or directory
In file included from
/Users/david/oo/OOF680_m14/idl/source/cmptools/char.cxx:47:
../../inc/char.hxx:40:28: error: tools/string.hxx: No such file or directory
../../inc/char.hxx:47: error: 'BOOL' does not name a type
../../inc/char.hxx:48: error: expected ';' before '(' token
/Users/david/oo/OOF680_m14/idl/source/cmptools/char.cxx:88: error:
expected constructor, destructor, or type conversion before '*' token
/Users/david/oo/OOF680_m14/idl/source/cmptools/char.cxx:90: error:
'char* SvChar::GetTable' is not a static member of 'class SvChar'
/Users/david/oo/OOF680_m14/idl/source/cmptools/char.cxx:90: error:
'CharSet' was not declared in this scope
/Users/david/oo/OOF680_m14/idl/source/cmptools/char.cxx:90: error:
'CharSet' was not declared in this scope
/Users/david/oo/OOF680_m14/idl/source/cmptools/char.cxx:90: error:
initializer expression list treated as compound expression
/Users/david/oo/OOF680_m14/idl/source/cmptools/char.cxx:91: error:
expected ',' or ';' before '{' token
/Users/david/oo/OOF680_m14/idl/source/cmptools/char.cxx:127: error:
'BOOL' does not name a type
dmake: Error code 1, while making '../../unxmacxi.pro/obj/char.obj'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making
/Users/david/oo/OOF680_m14/sc/sdi
Sorry for the lengthy message with multiple problems, but hopefully
someone will have advice on one of them, at least, or even an
alternate approach to building sc on Mactel...
Thanks,
David
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]