[Kolab-devel] kolab 2.2.1beta -- apache+php+mysql+memcached

Thomas Baumann tom at thomasbaumann.com
Sun Feb 1 22:33:15 CET 2009


Thanks, Alain,

I got (as referred in my link on http://inhalt.serviert.de )

checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... yes
checking for MySQLi support... no
checking whether to enable embedded MySQLi support... no
checking for ncurses support... no

So everything looks fine. Even the RPM builds correctly.

But when I install and look after my phpinfo there
is nothing about mysql nor memcache :-(

That's what I cannot understand.

Hope sb can help me further.

Thanks for your reply in advance,

thomas.

Zitat von Alain Spineux <aspineux at gmail.com>:

> On Sat, Jan 31, 2009 at 10:08 PM, Thomas Baumann   
> <tom at thomasbaumann.com> wrote:
>> Hello list,
>>
>> I tried to get PHP5 working with mysql but I didnt succeed.
>>
>> I succeeded in rebuild mysql to   
>> mysql-5.1.30-20090102.ix86-debian4.0-kolab.rpm
>> (taken from openpkg).
>> I succeeded in rebuild libevent-1.4.9-20081222.ix86-debian4.0-kolab.rpm and
>> memcached-1.3.0-20090130.ix86-debian4.0-kolab.rpm to get all dependencies
>> to my php.src.rpm
>>
>> I did a
>>
>> /kolab/bin/openpkg rpm -ivh php-5.2.8-20081209_kolab.src.rpm
>>
>> went to
>>
>> cd /kolab/RPM/SRC/php
>>
>> and tried to recompile with
>>
>>  /kolab/bin/openpkg rpm -ba --define 'with_mysql yes' \
>>        --define 'with_pecl_memcache yes'  php.spec
>
> The command looks correct !
>
> Usually, I skip the rpm -i and use a rpm --build like this :
>
> /kolab/bin/openpkg rpm --rebuild \
>        php-5.2.8-20081209_kolab.src.rpm \
>        --define 'with_mysql yes' \
>        --define 'with_pecl_memcache yes'  php.spec
>
> Did you install mysql first, before to build your php package ?
>
> I tried it myself, with mysql installed, but get this :
>
> # /kolab/bin/openpkg rpm --rebuild
> /s0/emailgency/kolab_src/php-5.2.6-20080514_kolab.src.rpm --define
> 'with_mysql yes' --define 'with_mysql yes'
> ......
> checking for specified location of the MySQL UNIX socket... no
> checking for MySQL UNIX socket location... no
> checking for mysql_close in -lmysqlclient... no
> checking for mysql_error in -lmysqlclient... no
> configure: error: mysql configure failed. Please check config.log for
> more information.
> error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.71712 (%build)
>
> Hope this give you some ideas
>
>
>>
>> But the result was a installable rpm-file, but it lacks on
>> mysql and pecl-memcache support.
>>
>> What is going wrong - or what do i have to type to get
>> a RPM-file with all support as in the original but additional with
>> mysql and memcache support ?
>>
>> The compile log is visible on
>>
>> http://inhalt.serviert.de/ -->
>> http://inhalt.serviert.de/wissen/migration/kolab-2.2-beta-unter-debian-etch  
>>  ->
>> php_recompile
>>
>> Thanks for your reply in advance.
>>
>> Thomas.
>>
>> --
>> Thomas Baumann
>>
>> Bücher und mehr im Internet - meine neue Site: http://www.1-search.de
>> - Viel Spass!
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>> _______________________________________________
>> Kolab-devel mailing list
>> Kolab-devel at kolab.org
>> https://kolab.org/mailman/listinfo/kolab-devel
>>
>
>
>
> --
> Alain Spineux
> aspineux gmail com
> May the sources be with you
>
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://kolab.org/mailman/listinfo/kolab-devel
>
>

-- 
Bücher und mehr im Internet - meine neue Site: http://www.1-search.de  
- Viel Spass!

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the devel mailing list