I have a laptop running Fedora 12 and tred to build the latest version of OpenOffice.
The first problem I couldn't solve was a complaint about silgraphite (see line 39 in the attached file). After running configure with other options, I managed to run configure without problems but now the build produces errors. Can anyody help me in building OpenOffice 3.2.1? Thanks, Ben
Download the sourcefiles (OOo_3.2.1_src*, build OOO320_m19) Make a temp-directory ( /var/OOo-development) Unpack the files (tar xvjf) Use ./configure to see which files/library's are missing tcsh is missing => yum install tcsh configure: error: cups/cups.h could not be found. libcupsys2-dev or cups???-devel missing? => yum install cups-devel configure: error: gperf not found but needed. Install it. => yum install gperf checking for freetype2 >= 2.0 ... Package freetype2 was not found in the pkg-config search path. Perhaps you should add the directory containing `freetype2.pc' to the PKG_CONFIG_PATH environment variable No package 'freetype2' found configure: error: Library requirements (freetype2 >= 2.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. => Download Freetype2 van http://sourceforge.net/projects/freetype/files/freetype2/2.3.12/freetype-2.3.12.tar.bz2/download It show that you don't have to download Freetype. Instead => yum install freetype-devel configure: error: Xaw include headers not found => yum install libXaw-devel configure: error: fontconfig/fontconfig.h could not be found. libfontconfig1-dev or fontconfig???-devel missing? => yum install fontconfig-devel configure: error: X11/extensions/Xrandr.h could not be found. X11 dev missing? => yum install libXrandr-devel configure: error: Library requirements (gconf-2.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. => yum install GConf2-devel configure: error: Library requirements (gnome-vfs-2.0 >= 2.6.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. => yum install gnome-vfs2-devel checking for gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 ... configure: error: requirements to build the gtk-plugin not met. Use --disable-gtk or install the missing packages => yum install gtk+-devel gdk-pixbuf-devel gtk2-devel configure: error: for rebuilding unowinreg.dll you need the mingw32 C++ compiler. Specify mingw32 g++ executable name with --with-mingwin. Or use prebuilt one from http://tools.openoffice.org/unowinreg_prebuild/680/ and put it into external/unowinreg => yum install mingw32-gcc-c++ mingw32-gcc configure: error: for rebuilding unowinreg.dll you need the mingw32 C++ compiler. Specify mingw32 g++ executable name with --with-mingwin. Or use prebuilt one from http://tools.openoffice.org/unowinreg_prebuild/680/ and put it into external/unowinreg => (I forgot to copy what I did) The next evening I saw that the following command configured with as much librarys as possible. ./configure --with-use-shell=bash --with-system-libs --without-system-jars --without-system-icu --without-system-agg --without-system-lpsolve --without-system-mspack --disable-mozilla --with-mingwin=/usr/bin/i686-pc-mingw32-g++ configure: error: jpeg.h not found. install libjpeg => yum install libjpeg-devel checking for libwpd-0.8 ... Package libwpd-0.8 was not found in the pkg-config search path. Perhaps you should add the directory containing `libwpd-0.8.pc' to the PKG_CONFIG_PATH environment variable No package 'libwpd-0.8' found configure: error: Library requirements (libwpd-0.8 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. => yum install libwpd => yum install libwpd-devel checking for libxslt... Package libxslt was not found in the pkg-config search path. Perhaps you should add the directory containing `libxslt.pc' to the PKG_CONFIG_PATH environment variable No package 'libxslt' found configure: error: Library requirements (libxslt) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. => yum install libxslt-devel checking for silgraphite ... Package silgraphite was not found in the pkg-config search path. Perhaps you should add the directory containing `silgraphite.pc' to the PKG_CONFIG_PATH environment variable No package 'silgraphite' found configure: error: Library requirements (silgraphite ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. => yum install sil-padauk-fonts.noarch I couldn't solve the errors. The following configure ptions where copied from configure.cmd ./configure --with-system-openssl --without-system-icu --with-system-libxml --with-system-libxslt --disable-werror --with-use-shell=bash --disable-mozilla --disable-epm --disable-odk --disable-qadevooo --with-x=no --disable-fontconfig --disable-gnome-vfs --disable-gtk --with-java=yes --disable-gcjaot --without-nas --without-fonts ./bootstrap => exits without errors source LinuxX86Env.Set.sh => exits without errors cd instsetoo_native && build --all => Build produces a lot of errors and exits with: Making: ../../../../../unxlngi6.pro/lib/libneon.so g++ -Wl,-z,noexecstack -Wl,-z,combreloc -Wl,-z,defs -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-style=both -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -Wl,-O1 -Wl,--version-script ../../../../../unxlngi6.pro/misc/exports_neon.map -L../../../../../unxlngi6.pro/lib -L../lib -L/var/OOo-development/OOO320_m19/solenv/unxlngi6/lib -L/var/OOo-development/OOO320_m19/solver/320/unxlngi6.pro/lib -L/var/OOo-development/OOO320_m19/solenv/unxlngi6/lib -L/usr/lib/jvm/java-1.5.0-gcj/lib -L/usr/lib/jvm/java-1.5.0-gcj/jre/lib/i386 -L/usr/lib/jvm/java-1.5.0-gcj/jre/lib/i386/client -L/usr/lib/jvm/java-1.5.0-gcj/jre/lib/i386/native_threads -LNONE ../../../../../unxlngi6.pro/slo/ne_207.o ../../../../../unxlngi6.pro/slo/ne_acl.o ../../../../../unxlngi6.pro/slo/ne_alloc.o ../../../../../unxlngi6.pro/slo/ne_auth.o ../../../../../unxlngi6.pro/slo/ne_basic.o ../../../../../unxlngi6.pro/slo/ne_compress.o ../../../../../unxlngi6.pro/slo/ne_dates.o ../../../../../unxlngi6.pro/slo/ne_i18n.o ../../../../../unxlngi6.pro/slo/ne_locks.o ../../../../../unxlngi6.pro/slo/ne_md5.o ../../../../../unxlngi6.pro/slo/ne_props.o ../../../../../unxlngi6.pro/slo/ne_redirect.o ../../../../../unxlngi6.pro/slo/ne_request.o ../../../../../unxlngi6.pro/slo/ne_session.o ../../../../../unxlngi6.pro/slo/ne_socket.o ../../../../../unxlngi6.pro/slo/ne_string.o ../../../../../unxlngi6.pro/slo/ne_uri.o ../../../../../unxlngi6.pro/slo/ne_utils.o ../../../../../unxlngi6.pro/slo/ne_xml.o ../../../../../unxlngi6.pro/slo/ne_xmlreq.o ../../../../../unxlngi6.pro/slo/ne_openssl.o ../../../../../unxlngi6.pro/slo/ne_ntlm.o ../../../../../unxlngi6.pro/slo/neon_version.o -o ../../../../../unxlngi6.pro/lib/libneon.so -lxml2 -lssl -lcrypto -ldl -lz -Wl,--as-needed -ldl -lpthread -lm -Wl,--no-as-needed -Wl,-Bdynamic -lstlport_gcc ../../../../../unxlngi6.pro/slo/ne_openssl.o: In function `ne__negotiate_ssl': ne_openssl.c:(.text+0xf92): undefined reference to `SSL_SESSION_cmp' collect2: ld returned 1 exit status dmake: Error code 1, while making '../../../../../unxlngi6.pro/lib/libneon.so' dmake: Error code 255, while making './unxlngi6.pro/misc/build/so_built_so_neon' ERROR: Error 65280 occurred while making /var/OOo-development/OOO320_m19/neon/
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
