Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiled with python wrappers #16

Open
willvio opened this issue Sep 1, 2018 · 2 comments
Open

compiled with python wrappers #16

willvio opened this issue Sep 1, 2018 · 2 comments

Comments

@willvio
Copy link

willvio commented Sep 1, 2018

I would like to compile with python wrappers and the changes I made (simply by uncommenting) to config/config.in are:

## Uncomment following to enable building of wrappers
INCLUDE_MODULES += WRAPPERS

## Only set this if you *DO* want to run swig (for example to modify
## the wrappers yourself).  If so, the safest bet is to use the same
## version of swig as speech tools developers (download from
## http://www.swig.org/ (SWIG-3.02 last tested))
##
CONFIG_SWIG_COMPILER = /usr/local/bin/swig

# Languages to generate wrappers for. Currently: PYTHON
# PERL5 is no longer supported
CONFIG_WRAPPER_LANGUAGES = PYTHON 

# Language specific includes should be set to correct site paths
CONFIG_PYTHON_INCLUDES= -I/usr/include/python2.7/

and then
./configure
make info
make

and ran into this problem:

Making in directory ./wrappers ...
Making in directory wrappers/interface ...
Making in directory wrappers/interface/python ...
Making new directory wrappers/python
mkdir: python: File exists
make[2]: *** No rule to make target `update'.  Stop.
make[1]: *** [python] Error 2
make: *** [wrappers] Error 2

I'm using speech_tools 2.5, Apple LLVM version 9.1.0 (clang-902.0.39.2)
Does anyone have any advice? Thanks in advance!

@ddavout
Copy link

ddavout commented Nov 8, 2019

May be speech_tools/wrappers/python/ should already exist !
for the version http://www.cstr.ed.ac.uk/downloads/festival/2.4/speech_tools-2.4-with-wrappers.tar.gz there was something to compile ... and a Makefile
" Makefile for python bindings to speech tools "

@lenzo-ka
Copy link
Collaborator

There is a lot of work to be done here. It's not too hard to get the swig wrappers up with modern swig and so on, but there are still issues such as a total crap out when EST tries to allocate big memory under python. The prior python bindings are far out of date and were removed for being more trouble than benefit at the time. It is going to take a concerted and more modern effort to make these bindings viable -- which I think is quite important, but we need someone to take it on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants