[redland-dev] Can't install redland php binding on Ubuntu 10.10

lorena lorenae at fing.edu.uy
Wed Jan 25 08:07:18 EST 2012


Hi

After running ./configure --with-php=/usr/bin/php I get the following
message and the config.log file I'm attaching

Redland build summary:
  Redland:              1.0.15
  Language APIs built:

Seems ok, but when I perform make nothing is done!

lorena at lorena-virtual-machine:~/Downloads/redland-bindings-1.0.14.1$ sudo
make
make  all-recursive
make[1]: Entering directory
`/home/lorena/Downloads/redland-bindings-1.0.14.1'
Making all in data
make[2]: Entering directory
`/home/lorena/Downloads/redland-bindings-1.0.14.1/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/lorena/Downloads/redland-bindings-1.0.14.1/data'
make[2]: Entering directory
`/home/lorena/Downloads/redland-bindings-1.0.14.1'
make[2]: Leaving directory
`/home/lorena/Downloads/redland-bindings-1.0.14.1'
make[1]: Leaving directory
`/home/lorena/Downloads/redland-bindings-1.0.14.1'

I've also tried to perform make in the php dir, and I get this error:
lorena at lorena-virtual-machine:~/Downloads/redland-bindings-1.0.14.1/php$
sudo make
swig -v  -I. -DREDLAND_POST_I -DREDLAND_INIT_I -DREDLAND_DECL_I
-DREDLAND_TYPEMAP_I -noproxy -module redland -o redland_wrap.c
/usr/local/share/redland/Redland.i
swig error : Unrecognized option -noproxy
Use 'swig -help' for available options.
make: *** [redland_wrap.c] Error 1
lorena at lorena-virtual-machine:~/Downloads/redland-bindings-1.0.14.1/php$

Instead of compiling the sources I've tried installing the php5-librdf
package via apt-get.
Should librdf or redland appear as a php extension ? If so something is
wrong with this mechanism also since php -me lists the following extensions:

[PHP Modules]
bcmath
bz2
calendar
Core
ctype
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
mbstring
mhash
openssl
pcntl
pcre
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]


Thanks!!
Lorena




-- 
Lorena Etcheverry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.librdf.org/pipermail/redland-dev/attachments/20120125/eab5081d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 25789 bytes
Desc: not available
URL: <http://lists.librdf.org/pipermail/redland-dev/attachments/20120125/eab5081d/attachment-0001.obj>


More information about the redland-dev mailing list