Compiling Kolab 2.2.1 and php problem

Liutauras Adomaitis liutauras.adomaitis at gmail.com
Wed May 20 09:35:09 CEST 2009


On Tue, May 19, 2009 at 11:58 PM, Liutauras Adomaitis
<liutauras.adomaitis at gmail.com> wrote:
>>
>> Read this
>>
>> http://www.kolab.org/pipermail/kolab-users/2009-April/009678.html
>>
>
> I read all those posts several times.
> It seems to me, that Bernards patch is against tar problem in openpkg
> compilation. Other people reported that downgrading to gcc-4.2 solves
> problems.
> In my situation I get different problems, in addition to problem
> reported in this post, please read my post "Kolab installation problem
> with perl".
> I don't understand openpkg very well, but in my situation openpkg
> compiles ok, because it starts to build src rpm packages for kolab and
> fails on perl (as I understand) and after my patch it fails on build
> php package.
>
> I downgraded to gcc-4.2.3 (installed gcc4.2 package shiped with
> Mandriva 2009.1).
> I hope, that changing symlink for gcc should be enough.
> [root at PBL-kolab src]# ll /etc/alternatives/
> total 0
> lrwxrwxrwx 1 root root 18 May 18 15:03 c++ -> /usr/bin/g++-4.3.2*
> lrwxrwxrwx 1 root root 15 May 19 18:56 cpp -> /usr/bin/cpp4.2*
> lrwxrwxrwx 1 root root  7 Apr 30 17:07 ex -> /bin/vi*
> lrwxrwxrwx 1 root root 18 May 18 15:03 g++ -> /usr/bin/g++-4.3.2*
> lrwxrwxrwx 1 root root 15 May 19 18:57 gcc -> /usr/bin/gcc4.2*
> lrwxrwxrwx 1 root root 20 Apr 30 17:03 gconftool -> /usr/bin/gconftool-2*
> lrwxrwxrwx 1 root root 12 May 18 15:13 gs -> /usr/bin/gsc*
> lrwxrwxrwx 1 root root 18 May 14 13:49 lib_cpp -> /usr/bin/cpp-4.3.2*
> lrwxrwxrwx 1 root root 25 May 18 15:17 qtconfig -> /usr/lib/qt3/bin/qtconfig*
> lrwxrwxrwx 1 root root  7 Apr 30 17:07 rvi -> /bin/vi*
> lrwxrwxrwx 1 root root  7 Apr 30 17:07 rview -> /bin/vi*
> lrwxrwxrwx 1 root root  7 Apr 30 17:07 rvim -> /bin/vi*
> lrwxrwxrwx 1 root root 16 Apr 30 17:07 uvi -> /bin/vim-minimal*
> lrwxrwxrwx 1 root root 16 Apr 30 17:07 vi -> /bin/vim-minimal*
> lrwxrwxrwx 1 root root  7 Apr 30 17:07 view -> /bin/vi*
> lrwxrwxrwx 1 root root 16 Apr 30 17:07 vim -> /bin/vim-minimal*
> lrwxrwxrwx 1 root root 19 May 15 11:01 yacc -> /usr/bin/yacc.bison*
>
> Compiling kolab gives the same error as described in my previous post
> "Kolab installation problem with perl". Patch I posted solves this
> issue.
> But I still have the same problem with compiling php.
> /kolab/RPM/TMP/php-5.2.8/main/reentrancy.c: In function 'php_readdir_r':
> /kolab/RPM/TMP/php-5.2.8/main/reentrancy.c:139: error: too few
> arguments to function 'readdir_r'
>
> I would like to note, that the same thing happens with kolab-2.2.1 and
> kolab-2.2.2
> I tried also on Mandriva 2009.0, totaly the same.
>

http://bugs.php.net/bug.php?id=11275 says it is a POSIX and OLD STYLE
readdir problem. This post is very old.
So the question: may it be the problem with openpkg and how to fix it?
Do i have to patch openpkg php or I should patch other packages to
make sure it works?

Thanks for your time
Liutauras




More information about the users mailing list