Hi,<div><br></div><div>I'm running into the following error on make on the redland bindings:</div><div><br></div><div><div>redland-bindings$ sudo make</div><div><br></div><div>make all-recursive</div><div>Making all in python</div>
<div>Making all in test</div><div>make[3]: Nothing to be done for `all'.</div><div>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</div>
<div>Language subdirectory: python</div><div>Search paths:</div><div> ./</div><div> ./</div><div> ./../</div><div> ./swig_lib/python/</div><div> /opt/local/share/swig/2.0.9/python/</div><div> ./swig_lib/</div>
<div> /opt/local/share/swig/2.0.9/</div><div>Preprocessing...</div><div>:3: Error: Unable to find 'python.swg'</div><div>/opt/local/share/redland/Redland.i:26: Error: Unable to find 'typemaps.i'</div><div>
make[3]: *** [Redland_wrap.c] Error 1</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[1]: *** [all-recursive] Error 1</div><div>make: *** [all] Error 2</div></div><div><br></div><div>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:</div>
<div><br></div><div><div>/Users/apseyed/Documents/rpi/redland-bindings$ sudo pip install swg</div><div>Downloading/unpacking swg</div><div> Downloading swg-1.2.8.1.tar.gz (144kB): 144kB downloaded</div><div> Running setup.py egg_info for package swg</div>
<div><br></div><div>Downloading/unpacking mako>=0.4.1 (from swg)</div><div> Downloading Mako-0.8.1.tar.gz (407kB): 407kB downloaded</div><div> Running setup.py egg_info for package mako</div><div><br></div><div> warning: no files found matching '*.xml' under directory 'examples'</div>
<div> warning: no files found matching '*.mako' under directory 'examples'</div><div> warning: no files found matching 'ez_setup.py'</div><div> no previously-included directories found matching 'doc/build/output'</div>
<div>Downloading/unpacking utidylib (from swg)</div><div> Downloading</div><div> Checking out <a href="http://cctools.svn.sourceforge.net/svnroot/cctools/vendorlibs/utidylib/">http://cctools.svn.sourceforge.net/svnroot/cctools/vendorlibs/utidylib/</a> to /private/tmp/pip-build-root/utidylib</div>
<div> Running setup.py egg_info for package utidylib</div><div><br></div><div> unrecognized .svn/entries format in</div><div>Downloading/unpacking MarkupSafe>=0.9.2 (from mako>=0.4.1->swg)</div><div> Downloading MarkupSafe-0.18.tar.gz</div>
<div> Running setup.py egg_info for package MarkupSafe</div><div><br></div><div>Installing collected packages: swg, mako, utidylib, MarkupSafe</div><div> Running setup.py install for swg</div><div><br></div><div> changing mode of build/scripts-2.7/swg from 644 to 755</div>
<div> changing mode of build/scripts-2.7/swg-wordpress from 644 to 755</div><div> changing mode of /Users/apseyed/Library/Enthought/Canopy_64bit/User/bin/swg to 755</div><div> changing mode of /Users/apseyed/Library/Enthought/Canopy_64bit/User/bin/swg-wordpress to 755</div>
<div> Running setup.py install for mako</div><div> changing mode of build/scripts-2.7/mako-render from 644 to 755</div><div><br></div><div> warning: no files found matching '*.xml' under directory 'examples'</div>
<div> warning: no files found matching '*.mako' under directory 'examples'</div><div> warning: no files found matching 'ez_setup.py'</div><div> no previously-included directories found matching 'doc/build/output'</div>
<div> changing mode of /Users/apseyed/Library/Enthought/Canopy_64bit/User/bin/mako-render to 755</div><div> Running setup.py install for utidylib</div><div> usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]</div>
<div> or: -c --help [cmd1 cmd2 ...]</div><div> or: -c --help-commands</div><div> or: -c cmd --help</div><div><br></div><div> error: option --single-version-externally-managed not recognized</div><div>
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:</div>
<div> usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]</div><div><br></div><div> or: -c --help [cmd1 cmd2 ...]</div><div><br></div><div> or: -c --help-commands</div><div><br></div><div> or: -c cmd --help</div>
<div><br></div><div><br></div><div><br></div><div>error: option --single-version-externally-managed not recognized</div></div><div><br></div><div>since utidy errored out I tried to install it via easy_install:</div><div>
<div>
$ easy_install utidylib</div><div>Searching for utidylib</div><div>Best match: uTidylib 0.2-cvs</div><div>Processing uTidylib-0.2_cvs-py2.7.egg</div><div>uTidylib 0.2-cvs is already the active version in easy-install.pth</div>
<div><br></div><div>Using /Users/apseyed/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/uTidylib-0.2_cvs-py2.7.egg</div><div>Processing dependencies for utidylib</div><div>Finished processing dependencies for utidylib</div>
</div><div><br></div><div><br></div><div>re: the easy_install for swg : </div><div><br></div><div><div>$ sudo easy_install swg</div><div>Searching for swg</div><div>Best match: swg 1.2.8.1</div><div>Adding swg 1.2.8.1 to easy-install.pth file</div>
<div><div>Using /Users/apseyed/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages</div><div>Processing dependencies for swg</div><div>Finished processing dependencies for swg</div></div><div><br></div><div><br>
</div><div>tried the pip install again:</div><div><div>/Users/apseyed/Documents/rpi/redland-bindings$ sudo pip install swg</div><div>Requirement already satisfied (use --upgrade to upgrade): swg in /Users/apseyed/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages</div>
<div>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)</div><div>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)</div>
<div>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)</div>
<div>Cleaning up...</div></div><div><br></div><div>and then the make again, same error:</div></div><div><br></div><div><div>redland-bindings$ make</div><div>make all-recursive</div><div>Making all in python</div><div>Making all in test</div>
<div>make[3]: Nothing to be done for `all'.</div><div>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</div>
<div>Language subdirectory: python</div><div>Search paths:</div><div> ./</div><div> ./</div><div> ./../</div><div> ./swig_lib/python/</div><div> /opt/local/share/swig/2.0.9/python/</div><div> ./swig_lib/</div>
<div> /opt/local/share/swig/2.0.9/</div><div>Preprocessing...</div><div>:3: Error: Unable to find 'python.swg'</div><div>/opt/local/share/redland/Redland.i:26: Error: Unable to find 'typemaps.i'</div><div>
make[3]: *** [Redland_wrap.c] Error 1</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[1]: *** [all-recursive] Error 1</div><div>make: *** [all] Error 2</div><div>/Users/apseyed/Documents/rpi/redland-bindings$</div>
</div><div><br></div><div><br></div><div><br></div><div>Any help appreciated,</div><div>Patrice</div>