[Open Office] ooo2 m129 configure issues for detection db (maybe distro specific)

Christian Hamar krics at linuxforum.hu
Wed Sep 28 10:03:07 EDT 2005


Hi. I'm new on this list :) First a short about me.

I'm from Hungary and working on the frugalware linux distribution. I'm
the maintainer of the x86_64 tree (of frugalware) 

I tried many attempts to build ooo2 on a frugalware 64bit version. I got
succees and fails. 

So. The thing about i wrote to this list.

I found that there is a patch named config_office-system-db-4.3.diff in
m129 patches/src680. This patch is for correct the DB detection in
configure script (add support for db 4.3) . But at me on frugalware it
fails, and could not detect db 4.3. 

I did a little correction for that patch.

The original like this:
--- config_office/configure.in.ark      2005-07-22 12:12:41.000000000
+0200
+++ config_office/configure.in  2005-07-22 12:13:31.000000000 +0200
@@ -2535,8 +2535,7 @@
         ], []
     )
     AC_MSG_CHECKING([whether db is at least 4.1])
-    # FIXME: Will db 4.3 work? Can't test it since the 4.3 java
bindings are not packaged :/
-    for v in 1 2; do
+    for v in 1 2 3; do
        AC_TRY_RUN([
 #include <db.h>

And the small hack (the patch for config_office-system-db-4.3) :

---
ooo-build-1.9.129.orig/patches/src680/config_office-system-db-4.3.diff
2005-09-27 13:05:36.000000000 +0200
+++ ooo-build-1.9.129/patches/src680/config_office-system-db-4.3.diff
2005-09-27 13:17:28.000000000 +0200
@@ -6,7 +6,7 @@
      AC_MSG_CHECKING([whether db is at least 4.1])
 -    # FIXME: Will db 4.3 work? Can't test it since the 4.3 java
bindings are not packaged :/
 -    for v in 1 2; do
-+    for v in 1 2 3; do
++    for v in 1 2 3; do LIBS="${LIBS} -lpthread"
         AC_TRY_RUN([
  #include <db.h>

As you can see, i did only put LIBS="${LIBS} -lpthread" after the do.

I don't know why it is needed or what is wrong on my system. But this
patch solves DB detection at frugalware linux.

I think it is a distro specific bug. 

Where can i report this or how can i fill a bugreport about a distro
specific bug ?

Regards

--
Christian Hamar alias krix <krics at linuxforum.hu>
Frugalware Development Team / LinuxForum.hu
Hungary




More information about the Openoffice mailing list