Re: [Pxlib-devel] Problems compiling pxlib on OS X
Brought to you by:
steinm
From: Robert C. <no...@gm...> - 2011-04-17 19:56:49
|
Thanks for your help and sorry it took so long to get around to testing this. This seems to do the job: $ diff config.h.old config.h 74c74 < #define HAVE_LC_MESSAGES 1 --- > /* #define HAVE_LC_MESSAGES 1 */ 86c86 < #define HAVE_LOCALE_H 1 --- > /* #define HAVE_LOCALE_H 1 */ Outside this mailing list's scope, but however useful, using pecl's package manager to install the PHP Paradox binding also fails. Solution is to download the source from pecl.php.net, phpize, then edit the configure script. $ diff configure.old configure 4404c4404 < SEARCH_PATH="/usr/local /usr" # you might want to change this --- > SEARCH_PATH="/usr/local /usr /opt/local" # you might want to change this That's having used 'configure --prefix=/opt/local' for pxlib. >From initial tests, everything seems to work, but I'm curious to know what exactly the locale header provides for pxlib specifically? Is it just error messages/confirmations in the database manager's language or does it provide some conversion for the database content itself (like regional thousand separators, etc)? And how much do you think pxlib will break without it? Thank you so much for your tips again. Rob On 13 April 2011 15:53, Kenneth Porter <sh...@se...> wrote: > On Thursday, March 31, 2011 10:02 PM +0100 Robert Cambridge > <no...@gm...> wrote: > >> I have no idea what "dereferencing pointer to incomplete type" means, so >> even if you could just spare some time to point me in the right direction >> that would be amazing :) > > It means struct lconv (from locale.h) isn't defined, just forward-declared. > locale.h isn't getting included by your build system. > > The rest of the warnings mean that int, long int, and pointers are all > different sizes. What are the sizes of those on your system? > > The first warnings about printf are legitimate bugs: The %X should be > changed to %lX. > > > |