List Info

Thread: kolab2 on 64bit machine




kolab2 on 64bit machine
country flaguser name
Lithuania
2007-09-04 04:53:20
Hello Kolab users,

I'm trying to start kolab on my amd64 machine with
Mandriva2007
I installed openpkg as described in kolab installation
readme, then I 
run /kolab/etc/kolab_bootstrap -b I get an error, that
openldap could not be 
conntacted, this is on the line which is:
/kolab/libexec/openldap/slapd 7 -h 
ldap://127.0.0.1:389/ -f /kolab/etc/openldap/slapd.conf -u
kolab -g kolab

Running it with -d 7, gives me the following among other
output:
architecture lacks fast mutexes: applications cannot be
threaded
bdb_db_open: Database cannot be opened, err 22. Restore from
backup!

On the google I found 
http://marc.info/?l=kolab-users&m=1173472536126
97&w=2
which says:
> What I make out of your post is that there are two
packages that need
> different flags:
> - gcc (with --disable-multilib)
> - openldap (with --with-threads)
> - db4 (with --with-threads)
>
> Now, where do you added this options? Did you unpacked
the .src.rpm
> files, modify the .specs file and the repacked it? In
order to run
> obmtool? Or is there an easier way to do this?
I followed http://www.openpkg.org/documentation/quickref/openp
kg-usr.php link 
about repackaging these packages, but it was first time I
did it, so I'm not 
sure about that.
I got new rpms in the /kolab/RPM/ folder, and installed
those 3 packages with 
command
/kolab/bin/openpkg rpm -ihv --nodeps --force package-name

but no luck, still the same problem

Does anybody has any Idea what is wrong?

Thanks a lot
Liutauras

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

Re: kolab2 on 64bit machine
country flaguser name
Lithuania
2007-09-05 06:25:29
Hello,

I will try to reply to myself, since I have passed this
problem myself. I did 
some ( two nights  ) googling
and find a patch file to be executed on 
db.spec file. Here it is:
--- db.spec.orig        2006-10-12 21:38:59.000000000 +0200
+++ db.spec     2006-10-12 23:02:42.000000000 +0200
 -24,7
+24,7 

 #   package version
 %define       V_version  4.3.29
-%define       V_revision 0
+%define       V_revision 0kolab

 #   package information
 Name:         db
 -89,6
+89,7  AutoReqProv:  no
     mutex="no"
     case "%{l_platform -p}" in
         ix86-*   ) mutex="x86/gcc-assembly"   ;;
+        amd64-*  ) mutex="x86/gcc-assembly"   ;;
         ia64-*   ) mutex="ia64/gcc-assembly"  ;;
         sparc*-* ) mutex="Sparc/gcc-assembly" ;;
         ppc*-*   ) mutex="PPC/gcc-assembly"   ;;

I don't remember who have made this file and there I found
it, but I think 
this helped me. I did every thing as I described in my
previous post and 
apllied this patch.to db4. I don't know why (maybe because
one eye was on the 
European basketball championship), but at first it didn't
work. This morning 
i tried the same steps once more ( you know .... just in
case) and it 
worked !!
As you can see this doesn't add --enable-pthreadsmutexes
Franz Skale said in 
previous post, but it worked. Maybe i will try with this
option some day.

To shorten somebodies googling time I think
- unpack gcc, openldap, db4 src.rpm with command / package
-modify package.spec files
> - gcc (with --disable-multilib)
> - openldap (with --with-threads)
-apply patch to db.spec file
-repackage all packages /kolab/bin/openpkg rpm -bb
package.spec
-reinstall packages with /kolab/bin/openpkg rpm -ihv
package.rpm (not source)


Liutauras

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )