Kolab 2.1 on x86_64?
Steffen Hansen
steffen at klaralvdalens-datakonsult.se
Tue Oct 17 14:32:01 CEST 2006
On Saturday 14 October 2006 00:53, Franz Skale wrote:
> Hi Steffen,
> i managed to run all on pure 64.
> But now i am porting to the openpkg cvs tree.
> My way was very hard. My dist is debian etch pure 64.
> First of all the problem is, that some configure options has to be
> patched. But the main thing is on the pthread support for db4 and
> openldap. What's your dist ?
> If it's debian, i can upload the complete rpms on your server to try
> out.
Thank you for your reply.
My box has Suse 10.0 for x86_64. Why was is very hard to get running on
Debian? Besides wasting some time figuring out which devel packages I
needed on the host OS for gcc to build, the only thing I did was to
patch the db4 openpkg rpm as described.
It looks very much like I got a full 64bit build:
$ file /kolab/libexec/openldap/slapd
/kolab/libexec/openldap/slapd: ELF 64-bit LSB executable, AMD x86-64,
version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared
libs), stripped
$ file /kolab/libexec/postfix/qmgr
/kolab/libexec/postfix/qmgr: ELF 64-bit LSB executable, AMD x86-64,
version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared
libs), stripped
...
OpenPKG and kolab matching the kolab 2.1 obmtool.conf from CVS.
> kind regards.
>
> franz
>
> Steffen Hansen schrieb:
> > Hi guys.
> >
> > Have any of you run Kolab on an Opteron box? I finally have one to
> > try this out on, and it did of course not work right away.
> >
> > The problem is the db-4.3.29.0-2.5.0. It doesn't detect x86_64 as
> > an x86 machine, so the locking code is broken. I have attached a
> > small patch that lets x86_64 use the same locking code as 32bit
> > x86. So far it seems to work, and I believe that the LOCK
> > instruction should be just as fine on 64bit as on 32bit.
> >
> > Can anyone with sufficient assembler skillz confirm this :-)
> >
> > thanks.
> >
> > -------------------------------------------------------------------
> >-----
> >
> > --- 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" ;;
> >
> > -------------------------------------------------------------------
> >-----
> >
> > _______________________________________________
> > Kolab-users mailing list
> > Kolab-users at kolab.org
> > https://kolab.org/mailman/listinfo/kolab-users
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
--
Steffen Hansen | Klarälvdalens Datakonsult AB
Senior Software Engineer| http://www.klaralvdalens-datakonsult.se
|
| Platform-independent
| software solutions
More information about the users
mailing list