DJ Lucas wrote:
<snip>
OOo-2.0 is a monster and takes quite a few hours to complete a full
build...but if you have a fast PC, go for it :-) The more eyes on it
Athlon-fx 53. In other words, I get nice quick build failures.. lol
LFS: SVN-20050910
the better...gcc4 _should_ not be an issue at all WRT OOo-2.0 since
they've targeted gcj-4 compatibility for the release. As a matter of
fact, m128 is where a good portion of the 115 gcc4 patch is coming
from...saved quite a bit of time just applying all the forward
declaration patches I found laying around.
I wasn't sure what version I was using, but the Tag files in the CVS
directories (just checked) say m125 so I'll upgrade and see if any of
the following clears up; I haven't found any problems that look
gcc-related yet though.
As an update to my earlier struggles (I've made *some* progress):
Rhino 1_5R4 needs an update (similar to STLport)
- can't really patch it 'cause it's a tar.gz
- there's a new version from mozilla.org (1_6R2) however it would
have to have OOo's custom build patch applied to it (looks ugly)..
- easier just to tweak a couple lines
- 127: new CodeSource(null, (java.security.cert.Certificate[])null);
- 170: CodeSource cs = new CodeSource(url,
(java.security.cert.Certificate[])null);
- a second constructor was added and (...,null) was ambiguous
- besides, I imagine rhino will be updated by OOo themselves
before long and this will become unnecessary.
The pentiumpro sed needs to be changed to a patch unless you can come up
with a fancy one-liner to handle both pentium and pentiumpro entries -
patch attached.
Beanshell-2.0b4
- needed to get over java issues (thanks David)
- added this in by
1) extracting the .jar from www.beanshell.org
2) renaming the folder to BeanShell
3) creating bsh-2.0b4-src.tar.gz from BeanShell
4) copying it to OOo2/rhino/download
5) applying a simple patch (also attached)
Configure:
./configure --enable-libart --enable-libsn --disable-binfilter \
--with-system-mozilla --with-firefox --without-fonts --disable-fontooo \
--with-dict=ENGB,ENUS --with-system-stdlibs --with-system-zlib \
--with-system-jpeg --with-system-expat --with-system-freetype \
--with-system-libxml --with-system-xrender-headers --with-system-curl \
--disable-epm --disable-odk --with-java --with-jdk-home=/opt/jdk/jdk \
--with-ant-home=/opt/ant --disable-cups --disable-gnome-vfs \
--with-nss-libs=/opt/firefox/lib/firefox-1.0.6 \
--with-nspr-libs=/opt/firefox/lib/firefox-1.0.6 \
--with-nss-includes=/opt/firefox/include/firefox-1.0.6/nss \
--with-nspr-includes=/opt/firefox/include/firefox-1.0.6/nspr
After the bootstrap and dmake, I get stuck on libxmlsec. The configure
runs, and bails because it can't find the nss/nspr stuff (or
openssl/gnutls). It's not accepting the original configure command
apparently, and even running it separately I can't get it to accept the
nss/nspr stuff.
The makefile, in ./libxmlsec hardcodes a few options which don't help
much when it's reached by the dmake:
CONFIGURE_FLAGS=--with-libxslt=no --with-openssl=no --with-gnutls=no
Manually editing in --with-openssl=yes, allows it to find openssl but
then it crashes shortly after in the openssl code (perhaps because I
edited it after building most of it with openssl disabled - I'll build
again from scratch in a moment).
In any case, in that same makefile is a comment regarding their screwed
up libxmlsec dependency checking..
# system-mozilla needs pkgconfig to get the information about nss
# FIXME: This also will enable pkg-config usage for libxml2. It *seems*
# that the internal headers still are used when they are there but....
# (and that pkg-config is allowed to fail...)
# I have no real good idea how to get mozilla (nss) pkg-config'ed and
libxml2
# not... We need mozilla-nss pkg-config'ed since we can *not* just use
# --with-nss or parse -pkg-config --libs / cflags mozilla-nss since
# the lib may a) be in /usr/lib (Debian) and be not in $with_nss/include
# $with_nss/lib.
- tried the --with-nss/nspr too.. didn't help
- though now that I think about it, the monkeys are assuming that
--with-nss is passed the root of the browser directory, and my
libs are in ./lib/firefox-1.0.6. heh
Anyhow, I'll keep plugging away at it; if nothing else I'm learning a lot.
Regards,
Jeremy.
diff -Naur OOo_2.0beta2/beanshell/makefile.mk
OOo_2.0beta2-beanshell/beanshell/makefile.mk
--- OOo_2.0beta2/beanshell/makefile.mk 2005-06-06 10:24:38.000000000 -0700
+++ OOo_2.0beta2-beanshell/beanshell/makefile.mk 2005-09-26
00:47:22.000000000 -0700
@@ -72,7 +72,7 @@
# --- Files --------------------------------------------------------
-TARFILE_NAME=bsh-2.0b1-src
+TARFILE_NAME=bsh-2.0b4-src
TARFILE_ROOTDIR=BeanShell
PATCH_FILE_NAME=bsh-2.0b1-src.patch
diff -Naur OOo_2.0beta2/solenv/inc/unxbsdi.mk
OOo_2.0beta2-pentiumpro/solenv/inc/unxbsdi.mk
--- OOo_2.0beta2/solenv/inc/unxbsdi.mk 2005-07-11 08:28:49.000000000 -0700
+++ OOo_2.0beta2-pentiumpro/solenv/inc/unxbsdi.mk 2005-09-25
23:17:25.000000000 -0700
@@ -86,7 +86,7 @@
# architecture dependent flags for the C and C++ compiler that can be changed
by
# exporting the variable ARCH_FLAGS="..." in the shell, which is used to start
build
-ARCH_FLAGS*=-mpentiumpro
+ARCH_FLAGS*=
# name of C++ Compiler
CXX*=g++
diff -Naur OOo_2.0beta2/solenv/inc/unxfbsdi.mk
OOo_2.0beta2-pentiumpro/solenv/inc/unxfbsdi.mk
--- OOo_2.0beta2/solenv/inc/unxfbsdi.mk 2005-08-18 05:04:47.000000000 -0700
+++ OOo_2.0beta2-pentiumpro/solenv/inc/unxfbsdi.mk 2005-09-25
23:18:19.000000000 -0700
@@ -91,7 +91,7 @@
# architecture dependent flags for the C and C++ compiler that can be changed
by
# exporting the variable ARCH_FLAGS="..." in the shell, which is used to start
build
-ARCH_FLAGS*=-mtune=pentiumpro
+ARCH_FLAGS*=
# name of C++ Compiler
CXX*=g++
diff -Naur OOo_2.0beta2/solenv/inc/unxlngi4.mk
OOo_2.0beta2-pentiumpro/solenv/inc/unxlngi4.mk
--- OOo_2.0beta2/solenv/inc/unxlngi4.mk 2005-07-11 08:30:44.000000000 -0700
+++ OOo_2.0beta2-pentiumpro/solenv/inc/unxlngi4.mk 2005-09-25
23:18:35.000000000 -0700
@@ -90,7 +90,7 @@
# architecture dependent flags for the C and C++ compiler that can be changed
by
# exporting the variable ARCH_FLAGS="..." in the shell, which is used to start
build
-ARCH_FLAGS*=-mcpu=pentiumpro
+ARCH_FLAGS*=
# name of C++ Compiler
CXX*=g++
diff -Naur OOo_2.0beta2/solenv/inc/unxlngi5.mk
OOo_2.0beta2-pentiumpro/solenv/inc/unxlngi5.mk
--- OOo_2.0beta2/solenv/inc/unxlngi5.mk 2005-07-11 08:30:57.000000000 -0700
+++ OOo_2.0beta2-pentiumpro/solenv/inc/unxlngi5.mk 2005-09-25
23:18:44.000000000 -0700
@@ -91,7 +91,7 @@
# architecture dependent flags for the C and C++ compiler that can be changed
by
# exporting the variable ARCH_FLAGS="..." in the shell, which is used to start
build
-ARCH_FLAGS*=-mcpu=pentiumpro
+ARCH_FLAGS*=
# name of C++ Compiler
CXX*=g++
diff -Naur OOo_2.0beta2/solenv/inc/unxlngi6.mk
OOo_2.0beta2-pentiumpro/solenv/inc/unxlngi6.mk
--- OOo_2.0beta2/solenv/inc/unxlngi6.mk 2005-07-11 08:31:14.000000000 -0700
+++ OOo_2.0beta2-pentiumpro/solenv/inc/unxlngi6.mk 2005-09-25
23:18:54.000000000 -0700
@@ -91,7 +91,7 @@
# architecture dependent flags for the C and C++ compiler that can be changed
by
# exporting the variable ARCH_FLAGS="..." in the shell, which is used to start
build
-ARCH_FLAGS*=-mtune=pentiumpro
+ARCH_FLAGS*=
# name of C++ Compiler
CXX*=g++
diff -Naur OOo_2.0beta2/solenv/inc/unxlnxi.mk
OOo_2.0beta2-pentiumpro/solenv/inc/unxlnxi.mk
--- OOo_2.0beta2/solenv/inc/unxlnxi.mk 2005-07-11 08:33:07.000000000 -0700
+++ OOo_2.0beta2-pentiumpro/solenv/inc/unxlnxi.mk 2005-09-25
23:18:06.000000000 -0700
@@ -81,7 +81,7 @@
# architecture dependent flags for the C and C++ compiler that can be changed
by
# exporting the variable ARCH_FLAGS="..." in the shell, which is used to start
build
-ARCH_FLAGS*=-mpentium
+ARCH_FLAGS*=
CXX*=g++
CC*=gcc
diff -Naur OOo_2.0beta2/solenv/inc/unxscoi.mk
OOo_2.0beta2-pentiumpro/solenv/inc/unxscoi.mk
--- OOo_2.0beta2/solenv/inc/unxscoi.mk 2005-07-11 08:33:34.000000000 -0700
+++ OOo_2.0beta2-pentiumpro/solenv/inc/unxscoi.mk 2005-09-25
23:17:56.000000000 -0700
@@ -71,7 +71,7 @@
# architecture dependent flags for the C and C++ compiler that can be changed
by
# exporting the variable ARCH_FLAGS="..." in the shell, which is used to start
build
-ARCH_FLAGS*=-mpentium
+ARCH_FLAGS*=
CXX*=/nw386/dev/s/solenv/unxscoi/bin/g++
CC*=/nw386/dev/s/solenv/unxscoi/bin/gcc
diff -Naur OOo_2.0beta2/solenv/inc/wnt.mk
OOo_2.0beta2-pentiumpro/solenv/inc/wnt.mk
--- OOo_2.0beta2/solenv/inc/wnt.mk 2005-07-11 08:35:32.000000000 -0700
+++ OOo_2.0beta2-pentiumpro/solenv/inc/wnt.mk 2005-09-25 23:19:04.000000000
-0700
@@ -434,7 +434,7 @@
# architecture dependent flags for the C and C++ compiler that can be changed
by
# exporting the variable ARCH_FLAGS="..." in the shell, which is used to start
build
-ARCH_FLAGS*=-mpentium
+ARCH_FLAGS*=
CXX*=gcc
### Der gcc vertraegt kein Semikolon im Include-Pfad RT
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page