On Jan 28, 2010, at 10:32 AM, mikel king wrote:
> I am trying to install on Centos 5.2 and received the following error;
>
>
> No package 'glib-2.0' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables LIBGLIB_CFLAGS
> and LIBGLIB_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> So using yum I installed glib2 which ended up in /lib as;
>
> libglib-2.0.so.0@
> libglib-2.0.so.0.1200.3*
>
> rlib's ./configure still does not see this lib. I am not certain how
> to nudge it in the right direction.
Ok riddled out that the app needs both glib2 and glib2-devel in order
to build. Unfortunately, make stops here;
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsrc -D_GNU_SOURCE -
Wall -Wchar-subscripts -I/usr/include/libxml2 -I/usr/include/glib-2.0 -
I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/
include -I/usr/include/mysql -g -I/usr/include -I/usr/local/include/
php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/
local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/
include/php/ext/date/lib -g -O2 -c environment.c -MT environment.lo -
MD -MP -MF .deps/environment.TPlo -fPIC -DPIC -o .libs/environment.o
environment.c: In function 'rlib_php_resolve_memory_variable':
environment.c:30: error: 'tsrm_ls' undeclared (first use in this
function)
environment.c:30: error: (Each undeclared identifier is reported only
once
environment.c:30: error: for each function it appears in.)
environment.c: In function 'rlib_php_write_output':
environment.c:65: error: 'tsrm_ls' undeclared (first use in this
function)
make[3]: *** [environment.lo] Error 1
make[3]: Leaving directory `/root/rlib-1.3.7/bindings/php'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/rlib-1.3.7/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rlib-1.3.7'
make: *** [all] Error 2
|