[redland-dev] swg error on make for redland-bindings
Patrice Seyed
apseyed at gmail.com
Tue Aug 6 13:36:13 EDT 2013
Hi,
I'm running into the following error on make on the redland bindings:
redland-bindings$ sudo make
make all-recursive
Making all in python
Making all in test
make[3]: Nothing to be done for `all'.
swig -v -python -I. -I./.. -DREDLAND_PRE_I -DREDLAND_POST_I
-DREDLAND_DECL_I -DREDLAND_TYPEMAP_I -noproxy -module Redland -o
Redland_wrap.c /opt/local/share/redland/Redland.i
Language subdirectory: python
Search paths:
./
./
./../
./swig_lib/python/
/opt/local/share/swig/2.0.9/python/
./swig_lib/
/opt/local/share/swig/2.0.9/
Preprocessing...
:3: Error: Unable to find 'python.swg'
/opt/local/share/redland/Redland.i:26: Error: Unable to find 'typemaps.i'
make[3]: *** [Redland_wrap.c] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I ran a pip install swg, which had some problems, but then I attempted
easy_install which seems to finish, but I still get the message above:
/Users/apseyed/Documents/rpi/redland-bindings$ sudo pip install swg
Downloading/unpacking swg
Downloading swg-1.2.8.1.tar.gz (144kB): 144kB downloaded
Running setup.py egg_info for package swg
Downloading/unpacking mako>=0.4.1 (from swg)
Downloading Mako-0.8.1.tar.gz (407kB): 407kB downloaded
Running setup.py egg_info for package mako
warning: no files found matching '*.xml' under directory 'examples'
warning: no files found matching '*.mako' under directory 'examples'
warning: no files found matching 'ez_setup.py'
no previously-included directories found matching 'doc/build/output'
Downloading/unpacking utidylib (from swg)
Downloading
Checking out
http://cctools.svn.sourceforge.net/svnroot/cctools/vendorlibs/utidylib/ to
/private/tmp/pip-build-root/utidylib
Running setup.py egg_info for package utidylib
unrecognized .svn/entries format in
Downloading/unpacking MarkupSafe>=0.9.2 (from mako>=0.4.1->swg)
Downloading MarkupSafe-0.18.tar.gz
Running setup.py egg_info for package MarkupSafe
Installing collected packages: swg, mako, utidylib, MarkupSafe
Running setup.py install for swg
changing mode of build/scripts-2.7/swg from 644 to 755
changing mode of build/scripts-2.7/swg-wordpress from 644 to 755
changing mode of
/Users/apseyed/Library/Enthought/Canopy_64bit/User/bin/swg to 755
changing mode of
/Users/apseyed/Library/Enthought/Canopy_64bit/User/bin/swg-wordpress to 755
Running setup.py install for mako
changing mode of build/scripts-2.7/mako-render from 644 to 755
warning: no files found matching '*.xml' under directory 'examples'
warning: no files found matching '*.mako' under directory 'examples'
warning: no files found matching 'ez_setup.py'
no previously-included directories found matching 'doc/build/output'
changing mode of
/Users/apseyed/Library/Enthought/Canopy_64bit/User/bin/mako-render to 755
Running setup.py install for utidylib
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: option --single-version-externally-managed not recognized
Complete output from command
/Users/apseyed/Library/Enthought/Canopy_64bit/User/bin/python -c "import
setuptools;__file__='/private/tmp/pip-build-root/utidylib/setup.py';exec(compile(open(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --record
/tmp/pip-gclVVR-record/install-record.txt
--single-version-externally-managed:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: option --single-version-externally-managed not recognized
since utidy errored out I tried to install it via easy_install:
$ easy_install utidylib
Searching for utidylib
Best match: uTidylib 0.2-cvs
Processing uTidylib-0.2_cvs-py2.7.egg
uTidylib 0.2-cvs is already the active version in easy-install.pth
Using
/Users/apseyed/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/uTidylib-0.2_cvs-py2.7.egg
Processing dependencies for utidylib
Finished processing dependencies for utidylib
re: the easy_install for swg :
$ sudo easy_install swg
Searching for swg
Best match: swg 1.2.8.1
Adding swg 1.2.8.1 to easy-install.pth file
Using
/Users/apseyed/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages
Processing dependencies for swg
Finished processing dependencies for swg
tried the pip install again:
/Users/apseyed/Documents/rpi/redland-bindings$ sudo pip install swg
Requirement already satisfied (use --upgrade to upgrade): swg in
/Users/apseyed/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): mako>=0.4.1 in
/Users/apseyed/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages
(from swg)
Requirement already satisfied (use --upgrade to upgrade): utidylib in
/Users/apseyed/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/uTidylib-0.2_cvs-py2.7.egg
(from swg)
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe>=0.9.2
in
/Users/apseyed/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/MarkupSafe-0.18-py2.7-macosx-10.6-x86_64.egg
(from mako>=0.4.1->swg)
Cleaning up...
and then the make again, same error:
redland-bindings$ make
make all-recursive
Making all in python
Making all in test
make[3]: Nothing to be done for `all'.
swig -v -python -I. -I./.. -DREDLAND_PRE_I -DREDLAND_POST_I
-DREDLAND_DECL_I -DREDLAND_TYPEMAP_I -noproxy -module Redland -o
Redland_wrap.c /opt/local/share/redland/Redland.i
Language subdirectory: python
Search paths:
./
./
./../
./swig_lib/python/
/opt/local/share/swig/2.0.9/python/
./swig_lib/
/opt/local/share/swig/2.0.9/
Preprocessing...
:3: Error: Unable to find 'python.swg'
/opt/local/share/redland/Redland.i:26: Error: Unable to find 'typemaps.i'
make[3]: *** [Redland_wrap.c] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
/Users/apseyed/Documents/rpi/redland-bindings$
Any help appreciated,
Patrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.librdf.org/pipermail/redland-dev/attachments/20130806/381f30e4/attachment.html>
More information about the redland-dev
mailing list