Thierry Nuttens wrote:
[...]
If somebody have an idea, I would be very happy, otherwise I will have
to stay with 2.0.4
By the way I could compile without problems version 2.0.3 then later 2.0.4
Ain't it funny that I couldn't compile 2.0.3 or 2.0.4 for the life of
me? Now I tried again with 2.1.0 and finally succeeded ... Just the
opposite of you!
I've attached my build description file. (I apologize for using yet
another package manager - but: my distribution, my package manager!)
You should have no trouble guessing what it does.
My LFS is rather new with gcc-4.1.1, glibc-2.5.
Hope this helps,
Hans-Joachim
#!/bin/bash
JIM_ARCHIVE="OOo_${JIM_VERSION}_src_"
PATH=$PATH:/opt/jdk/jdk/bin:/opt/ant/bin
umask 0022
unset LANG LC_ALL
jimUnpack()
{
cd $JIM_BUILDBASE &&
for component in core binfilter l10n sdk system ; do
unpack $JIM_ARCHIVE$component
done
}
jimPreConfigure()
{
cd "$JIM_SOURCEDIR" &&
logCmd cp $JIM_ARCHIVEDIR/unowinreg.dll external/unowinreg &&
logCmd sed -i '/^ARCH_FLAGS\*=/d' solenv/inc/unx{lngi{4,5,6},fbsdi}.mk &&
cd config_office &&
logCmd autoreconf
}
jimConfigure()
{
cd "$JIM_WORKDIR"/config_office &&
logCmd ./configure --prefix=/opt/$JIM_VNAME \
--enable-libart --disable-fontooo --disable-gnome-vfs \
--without-fonts --with-system-stdlibs --with-system-freetype \
--with-system-expat --with-system-libxml --with-system-zlib \
--with-system-nas --with-system-neon \
--with-build-version=BLFS --with-lang="de" \
--with-system-python --with-system-jpeg --with-cups \
--with-package-format=native --disable-binfilter \
--with-epm=internal --enable-cups \
--with-system-mozilla --with-firefox
}
jimMake()
{
cd "$JIM_WORKDIR" &&
logCmd ./bootstrap &&
logCmd sed -i s/-lxml2/-lxml2\ -lexpat/ LinuxIntelEnv.Set.sh &&
. LinuxIntelEnv.Set.sh &&
logCmd dmake
}
remove_action jimCheck
jimInstall()
{
cd
"$JIM_WORKDIR"/instsetoo_native/unxlngi6.pro/OpenOffice/native/install/en-US/linux-2.6-intel/buildroot/opt
&&
logCmd install -d -v 755 "$JIM_ROOTDIR"/opt &&
logCmd cp -a -v openoffice.org?.? "$JIM_ROOTDIR"/opt/$JIM_VNAME &&
for appl in sbase scalc sdraw simpress smath soffice spadmin swriter ; do
logCmd ln -s -v -f /opt/$JIM_VNAME/program/$appl
"$JIM_ROOTDIR"/usr/bin/$appl
done &&
cd "$JIM_WORKDIR"/sysui/desktop/icons &&
logCmd install -v -d
"$JIM_ROOTDIR"/usr/share/icons/{HighContrast,hicolor,locolor} -m755 &&
logCmd cp -a -v HighContrast/*x* "$JIM_ROOTDIR"/usr/share/icons/HighContrast
&&
logCmd cp -a -v hicolor/*x* "$JIM_ROOTDIR"/usr/share/icons/hicolor &&
logCmd cp -a -v locolor/*x* "$JIM_ROOTDIR"/usr/share/icons/locolor &&
logCmd install -v -d "$JIM_ROOTDIR"/usr/share/applications -m 755 &&
cd "$JIM_ROOTDIR"/opt/$JIM_VNAME/share/xdg/ &&
for appl in *.desktop
do
logCmd chmod -v u+w $appl &&
logCmd sed -i '/Exec/d' $appl &&
echo "Exec=/usr/bin/s`echo $appl | sed 's/.desktop//'`" >> $appl &&
logCmd sed -i '/Icon/d' $appl &&
echo "Icon=`echo $appl | sed 's/.desktop//'`" >> $appl
done &&
logCmd sed -i '[EMAIL PROTECTED]/[EMAIL PROTECTED]/spadmin@'
printeradmin.desktop &&
logCmd cp -v *.desktop "$JIM_ROOTDIR"/usr/share/applications
}
JIM_OPT_KEEP=true
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page