Hi All,
I tried building sphinxbase on OSX Snow Leopard, and it gives the following
error when I do 'make install' :
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/local/lib/python2.6/site-packages/
This directory does not currently exist. Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).
The first time I just ran ./configure, make, and make install. This time I
tried changing the install directory through ./configure --prefix= ... but
again, this gives the same error. This time it looked for <install directory="">/lib/python2.6/site-packages/ as opposed to /usr/local/lib/... </install>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Sorry maybe I wasn't clear, but my problem is that it is not installing. It
complains about the python path not existing with those error messages that I
detailed in the first message, and then it doesn't install. I just want it to
install so I can start playing around with language models and such cool
things instead of beating my head against a wall because it won't install.
Help will be appreciated, thanks!
-MT
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried configuring using the --without-python flag and that worked! what does
sphinx use python for? Will i be missing anything? Thanks for your help!
FTR, I did try manually creating the path earlier but then I ran into this
message:
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/local/lib/python2.6/site-packages/
and your PYTHONPATH environment variable currently contains:
''
My PYTHONPATH variable was undefined so I added the path using '# export
PYTHONPATH=/usr/local/lib/python2.6/site-packages/'
...but that didn't change this error message.
I then tried installing the latest version of python (3.1 I think), but I
didn't make much progress with this.
Again this is just ftr since I managed to get it installed (but if something
strikes you as being the cause of this I'd be happy to hear it). Thanks!
-MT
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I tried building sphinxbase on OSX Snow Leopard, and it gives the following
error when I do 'make install' :
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/local/lib/python2.6/site-packages/
This directory does not currently exist. Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).
make: *** Error 1
make: *** Error 2
make: *** Error 1
Any idea what the problem may be? I do have python installed, but the path at
/usr/local/lib/Python2.4 doesn't exist.
Any help will be appreciated! Thanks!
-MT
**Please create it and try again, orchoose a different installation directory **
What do you miss here? It never was less straightforward
The first time I just ran ./configure, make, and make install. This time I
tried changing the install directory through ./configure --prefix= ... but
again, this gives the same error. This time it looked for <install directory="">/lib/python2.6/site-packages/ as opposed to /usr/local/lib/... </install>
Yes, it's expected behaviour. I don't quite get what is your problem here.
Hi,
Sorry maybe I wasn't clear, but my problem is that it is not installing. It
complains about the python path not existing with those error messages that I
detailed in the first message, and then it doesn't install. I just want it to
install so I can start playing around with language models and such cool
things instead of beating my head against a wall because it won't install.
Help will be appreciated, thanks!
-MT
Either configure it without python:
./configure --without-python
or create this dir:
mkdir -p /usr/local/lib/python2.6/site-packages/
I tried configuring using the --without-python flag and that worked! what does
sphinx use python for? Will i be missing anything? Thanks for your help!
FTR, I did try manually creating the path earlier but then I ran into this
message:
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/local/lib/python2.6/site-packages/
and your PYTHONPATH environment variable currently contains:
''
My PYTHONPATH variable was undefined so I added the path using '# export
PYTHONPATH=/usr/local/lib/python2.6/site-packages/'
...but that didn't change this error message.
I then tried installing the latest version of python (3.1 I think), but I
didn't make much progress with this.
Again this is just ftr since I managed to get it installed (but if something
strikes you as being the cause of this I'd be happy to hear it). Thanks!
-MT
pocketsphinx use python to provide python bindings to API
If you don't need bindings, you probably don't miss anything
You probably made small typo during this or exported path in wrong place, it
should work normally.