Build problems

Ben Engbers <[email protected]> Mon, 28 Jun 2010 23:16:57 +0200
Newsgroups gmane.comp.openoffice.devel.tools
Message-ID <[email protected]>
--=-LKweweKtqJ23hA2h6p/p
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

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

--=-LKweweKtqJ23hA2h6p/p
Content-Disposition: attachment; filename="Build OpenOffice.txt"
Content-Type: text/plain; name="Build OpenOffice.txt"; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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 =3D> yum install tcsh
configure: error: cups/cups.h could not be found. libcupsys2-dev or cups???=
-devel missing? =3D> yum install cups-devel
configure: error: gperf not found but needed. Install it. =3D> yum install =
gperf
checking for freetype2 >=3D 2.0 ... Package freetype2 was not found in the =
pkg-config search path. Perhaps you should add the directory containing `fr=
eetype2.pc' to the PKG_CONFIG_PATH environment variable No package 'freetyp=
e2' found
configure: error: Library requirements (freetype2 >=3D 2.0 ) not met; consi=
der adjusting the PKG_CONFIG_PATH environment variable if your libraries ar=
e in a nonstandard prefix so pkg-config can find them. =3D>=20
Download Freetype2 van http://sourceforge.net/projects/freetype/files/freet=
ype2/2.3.12/freetype-2.3.12.tar.bz2/download

It show that you don't have to download Freetype. Instead =3D> yum install =
freetype-devel

configure: error: Xaw include headers not found =3D> yum install libXaw-dev=
el
configure: error: fontconfig/fontconfig.h could not be found. libfontconfig=
1-dev or fontconfig???-devel missing? =3D> yum install fontconfig-devel
configure: error: X11/extensions/Xrandr.h could not be found. X11 dev missi=
ng? =3D> yum install libXrandr-devel
configure: error: Library requirements (gconf-2.0 ) not met; consider adjus=
ting the PKG_CONFIG_PATH environment variable if your libraries are in a no=
nstandard prefix so pkg-config can find them. =3D> yum install GConf2-devel
configure: error: Library requirements (gnome-vfs-2.0 >=3D 2.6.0 ) not met;=
 consider adjusting the PKG_CONFIG_PATH environment variable if your librar=
ies are in a nonstandard prefix so pkg-config can find them. =3D> yum insta=
ll gnome-vfs2-devel
checking for gtk+-2.0 >=3D 2.4 gdk-pixbuf-xlib-2.0 >=3D 2.2 ... configure: =
error: requirements to build the gtk-plugin not met. Use --disable-gtk or i=
nstall the missing packages =3D> yum install gtk+-devel gdk-pixbuf-devel gt=
k2-devel
configure: error: for rebuilding unowinreg.dll you need the mingw32 C++ com=
piler.
         Specify mingw32 g++ executable name with --with-mingwin.
         Or use prebuilt one from http://tools.openoffice.org/unowinreg_pre=
build/680/ and
         put it into external/unowinreg =3D> yum install mingw32-gcc-c++ mi=
ngw32-gcc
configure: error: for rebuilding unowinreg.dll you need the mingw32 C++ com=
piler.
         Specify mingw32 g++ executable name with --with-mingwin.
         Or use prebuilt one from http://tools.openoffice.org/unowinreg_pre=
build/680/ and
         put it into external/unowinreg =3D> (I forgot to copy what I did)

The next evening I saw that the following command configured with as much l=
ibrarys as possible.

./configure --with-use-shell=3Dbash --with-system-libs --without-system-jar=
s  --without-system-icu --without-system-agg --without-system-lpsolve --wit=
hout-system-mspack --disable-mozilla --with-mingwin=3D/usr/bin/i686-pc-ming=
w32-g++
configure: error: jpeg.h not found. install libjpeg =3D> yum install libjpe=
g-devel
checking for libwpd-0.8 ... Package libwpd-0.8 was not found in the pkg-con=
fig 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' f=
ound
configure: error: Library requirements (libwpd-0.8 ) not met; consider adju=
sting the PKG_CONFIG_PATH environment variable if your libraries are in a n=
onstandard prefix so pkg-config can find them. =3D> yum install libwpd =3D>=
 yum install libwpd-devel
checking for libxslt... Package libxslt was not found in the pkg-config sea=
rch path. Perhaps you should add the directory containing `libxslt.pc' to t=
he PKG_CONFIG_PATH environment variable No package 'libxslt' found
configure: error: Library requirements (libxslt) not met; consider adjustin=
g the PKG_CONFIG_PATH environment variable if your libraries are in a nonst=
andard prefix so pkg-config can find them. =3D> yum install libxslt-devel
checking for silgraphite ... Package silgraphite was not found in the pkg-c=
onfig search path. Perhaps you should add the directory containing `silgrap=
hite.pc' to the PKG_CONFIG_PATH environment variable No package 'silgraphit=
e' found
configure: error: Library requirements (silgraphite ) not met; consider adj=
usting the PKG_CONFIG_PATH environment variable if your libraries are in a =
nonstandard prefix so pkg-config can find them. =3D> yum install sil-padauk=
-fonts.noarch

I couldn't solve the errors. The following configure ptions where copied fr=
om configure.cmd

./configure --with-system-openssl --without-system-icu --with-system-libxml=
 --with-system-libxslt --disable-werror --with-use-shell=3Dbash --disable-m=
ozilla --disable-epm --disable-odk --disable-qadevooo --with-x=3Dno --disab=
le-fontconfig --disable-gnome-vfs --disable-gtk --with-java=3Dyes --disable=
-gcjaot --without-nas --without-fonts

./bootstrap =3D> exits without errors
source LinuxX86Env.Set.sh =3D> exits without errors
cd instsetoo_native && build --all =3D> 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-function=
s -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-sty=
le=3Dboth -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/jav=
a-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_b=
asic.o ../../../../../unxlngi6.pro/slo/ne_compress.o ../../../../../unxlngi=
6.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 ../../../../../unxl=
ngi6.pro/slo/ne_session.o ../../../../../unxlngi6.pro/slo/ne_socket.o ../..=
/../../../unxlngi6.pro/slo/ne_string.o ../../../../../unxlngi6.pro/slo/ne_u=
ri.o ../../../../../unxlngi6.pro/slo/ne_utils.o ../../../../../unxlngi6.pro=
/slo/ne_xml.o ../../../../../unxlngi6.pro/slo/ne_xmlreq.o ../../../../../un=
xlngi6.pro/slo/ne_openssl.o ../../../../../unxlngi6.pro/slo/ne_ntlm.o ../..=
/../../../unxlngi6.pro/slo/neon_version.o -o ../../../../../unxlngi6.pro/li=
b/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_ss=
l':
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/ne=
on/


--=-LKweweKtqJ23hA2h6p/p
Content-Type: text/plain; charset=us-ascii

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--=-LKweweKtqJ23hA2h6p/p--