dmort27 / epitran

A tool for transcribing orthographic text as IPA (International Phonetic Alphabet)
MIT License
625 stars 120 forks source link

Could not install lex_lookup on Windows #157

Open ReemxxxOsama opened 1 year ago

ReemxxxOsama commented 1 year ago

Environment: operating system: Windows

i followed these instructions:

        $ tar xjf flite-2.0.5-current.tar.bz2
        $ cd flite-2.0.5-current
        or

        $ git clone git@github.com:festvox/flite.git
        $ cd flite/
        then

        $ ./configure && make
        $ sudo make install
        $ cd testsuite
        $ make lex_lookup
        $ sudo cp lex_lookup /usr/local/bin

steps i have done: 1- first thing i have faced that there is no c compoile on my machine, so i followed the steps here https://code.visualstudio.com/docs/cpp/config-mingw 1.1- installing the [C/C++ extension for VS Code] 1.2- then installing the [Installing the MinGW-w64 toolchain] checking that c compiler installed in the machine: image

2- the second thing i started tofollow the above istructions: i downloaded the flite from the git repo in .zip file and unziped it mannualy and added the directory in my project dorectory

3- change the pd with pR in the main/Makefile directory: image

4- using git bash here in the directory and start running the ./configure: it produced: image

5- running make command: image

could you tell me if there is something wrong in the steps? i spend almost two days trying to solve that out , and in vain.

dmort27 commented 1 year ago

I have not seen this error before, but do not have access to a Windows machine and so cannot replicate it.

ReemxxxOsama commented 1 year ago

I have not seen this error before, but do not have access to a Windows machine and so cannot replicate it.

thanks sir for your reply. okay, do you think there is a step should have done with another way or method ? installing c compiler.. running the commands from git bash..? do you see that the steps i have followed are fine?

another question, is it okay for those checks to be not found?

              checking whether byte ordering is bigendian... no
              checking for mmap... no
              checking sys/soundcard.h usability... no
              checking sys/soundcard.h presence... no
              checking for sys/soundcard.h... no
              checking machine/soundcard.h usability... no
              checking machine/soundcard.h presence... no
              checking for machine/soundcard.h... no
              checking sys/audioio.h usability... no
              checking sys/audioio.h presence... no
              checking for sys/audioio.h... no
              checking alsa/asoundlib.h usability... no
              checking alsa/asoundlib.h presence... no
              checking for alsa/asoundlib.h... no
              checking for mmsystem.h... yes
              configure: creating ./config.status
              config.status: creating config/config
              config.status: creating config/system.mak
dmort27 commented 1 year ago

All the steps look appropriate. The libraries that flite is not finding should not be necessary to compile flite with minimal functionality. They are just necessary if you want to play sound directly from flite. I suggest, though, asking about this on the flite repo. They may have seen this before.

ReemxxxOsama commented 1 year ago

All the steps look appropriate. The libraries that flite is not finding should not be necessary to compile flite with minimal functionality. They are just necessary if you want to play sound directly from flite. I suggest, though, asking about this on the flite repo. They may have seen this before.

I will ask them, Thank you so much.

Another question: I have downloaded the lastest version of flite from here: http://www.festvox.org/flite/download.html

and it produced another error after running make command: have you seen that error before?

image image