Kolab 3.2 and php

Christian Hügel christian.huegel at stonebyte.de
Fri Feb 27 18:29:16 CET 2015


Hi Timotheus,

I'm afraid something went wrong while building those src rpms:

libkolab.spec

CMake Error at /usr/lib64/boost/Boost.cmake:19 (ADD_LIBRARY):
  add_library cannot create imported target "boost_date_time-mt-static"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake/Modules/FindBoost.cmake:177 (find_package)
  utils/CMakeLists.txt:2 (find_package)


and a bunch of other similiar errors.

libkolabxml.spec:

[ 65%] Building CXX object
src/CMakeFiles/kolabxml.dir/__/kolabformat-xcal-schema.cxx.o
cd /root/rpmbuild/BUILD/libkolabxml-1.0.1/build/src && /usr/bin/c++
-Dkolabxml_EXPORTS -O2 -g  -Wall -fPIC -Wp,-D_FORTIFY_SOURCE=2 -O2 -fPIC
-I/root/rpmbuild/BUILD/libkolabxml-1.0.1/.
-I/root/rpmbuild/BUILD/libkolabxml-1.0.1/compiled
-I/root/rpmbuild/BUILD/libkolabxml-1.0.1/src/containers
-I/root/rpmbuild/BUILD/libkolabxml-1.0.1/build    -Wall -Wextra
-Wconversion -o CMakeFiles/kolabxml.dir/__/kolabformat-xcal-schema.cxx.o
-c /root/rpmbuild/BUILD/libkolabxml-1.0.1/build/kolabformat-xcal-schema.cxx
make[2]: *** No rule to make target
`/usr/lib64/lib64/libboost_thread-mt.so.5', needed by
`src/libkolabxml.so.1.0.1'.  Stop.
make[2]: Leaving directory `/root/rpmbuild/BUILD/libkolabxml-1.0.1/build'
make[1]: *** [src/CMakeFiles/kolabxml.dir/all] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/libkolabxml-1.0.1/build'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.E21yv3 (%build)


Christian


Am 27.02.2015 um 15:15 schrieb Timotheus Pokorra:
> Hello Christian,
> 
>> just to make things clear on how to update the php version:
>>
>> 1. update php to 5.5 with yum --skip-broken
>> 2. install kolab src rpms you mentioned and build against the new php
>> version
>> 4. update the files with yum --localinstall <kolab-phpxxx>
>> 5. restart kolab/httpd services
>>
>>
>> Is this a do-able approach? Thanks
> 
> I personally would use a different machine for rebuilding the packages.
> And then add them via your own new repository, or try yum install
> php-... kolab-php...rpm etc
> That might work in the cleanest way.
> Test it first on a copy of your machine, as always :)
> 
> Timotheus
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users

-- 
GPG-Key: 1F814CFD

-------------- n?chster Teil --------------
Ein Dateianhang mit Bin?rdaten wurde abgetrennt...
Dateiname   : signature.asc
Dateityp    : application/pgp-signature
Dateigr??e  : 819 bytes
Beschreibung: OpenPGP digital signature
URL         : <http://lists.kolab.org/pipermail/users/attachments/20150227/2d29cc81/attachment.sig>


More information about the users mailing list