Hi Yousef,
Thanks for the feedback, and... welcome in Carob's contributors club ! :)
Did you finallly achieve getting PHP working with libmysequoia ?
Just a note about that: in carob code, you can find a contrib/PHP directory that might be helpfull. Please don't hesitate to send us feedback or to complete the HOWTO...
Thank you

Gilles.

Yousef Ourabi a écrit :
I posted this on the wrong mailing this...sorry about the spam...


Sorry to follow up on my own post. I think there might be a typo in the deb package

I usually use the mysql binaries from dev.mysql.com, so I tried intalling libmysqlclient14-dev which put the libmysql.so in /usr/lib, I think symlinked libmysequoia to libmysql

ls -l /usr/lib/libmysequoia.so
lrwxrwxrwx  1 root root 17 2006-04-27 20:18 /usr/lib/libmysequoia.so -> libmysequoia.so.0 (which ofcourse doesn't exist)

I unlinked /usr/lib/libmysequoia.so and relinked it to ->
ln -s /usr/lib/libmysequoia.so.15.0.0 /usr/lib/libmysequoia.so

*** (Different than previous) ***
This allows make to run fine, however make install gives an error:

industrious:/home/yourabi/packages/php-5.1.2# make install
Installing PHP SAPI module:       cgi
Installing PHP CGI into: /usr/local/php/bin/
Installing build environment:     /usr/local/php/lib/php/build/
Installing header files:          /usr/local/php/include/php/
Installing helper programs:       /usr/local/php/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/local/php/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /usr/local/php/lib/php/
WARN:   (src/StringCodecs.cpp:trylocale()) attempt to create locale from unknown name, locale name was: en_US.utf8
WARN:   (src/Common.cpp:tryUTF8locale()) please install the en_US.utf8 locale
WARN:   (src/Common.cpp:tryUTF8locale()) en_US does not seem to be an utf8 locale either
WARN:   (src/StringCodecs.cpp:trylocale()) attempt to create locale from unknown name, locale name was: en_US.UTF-8
WARN:   (src/Common.cpp:tryUTF8locale()) or please install locale en_US.UTF-8
WARN:   (src/StringCodecs.cpp:trylocale()) attempt to create locale from unknown name, locale name was: en_US.utf8
WARN:   (src/Common.cpp:tryUTF8locale()) or please install locale en_US.utf8
FATAL:  (src/Common.cpp:tryUTF8locale()) Please install one of the following locales: en_US.utf8, en_US, en_US.utf8
make[1]: *** [install-pear-installer] Aborted
make: *** [install-pear] Error 2




---------- Forwarded message ----------
From: Yousef Ourabi < [EMAIL PROTECTED]>
Date: Apr 27, 2006 8:42 PM
Subject: Oak + PHP / libmysequoia
To: [email protected]

Hell All:

The documentation mentions Oak an eclipse plugin, yet http://oak.continuent.org redirects to the main site, and there doesn't seem to be anything under the sequoia downloads section??? Am I missing something here? Did the project die?

Also I'm a wee bit confused on how to get PHP working with libmysequoia. I installed the libmysequoia package via apt (debian 3.1), I ran find / -name "*sequoia*" and found the *.so under /usr/lib... Now what? Am I supposed to compile php with --mysql=/usr/local/mysql --enable-shared and then copy the libmysequoia.so....or something else? The carob documentation isnt' very clear on this.

Thanks for your time in advance.

Best,
Yousef

_______________________________________________ Carob mailing list [email protected] https://forge.continuent.org/mailman/listinfo/carob



_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to