Skip to content

Installation issues with WSL #19

@nafraw

Description

@nafraw

Hi, I have a freshly installed WSL (Ubuntu) on Windows 10, but I am having problems with installations of SRILM and openfst, kaldi.

For SRILM, after running, "make -j8 MAKE_PIC=yes World && make -j8 cleanest", I got the following errors. I do see machine-type and Makefile.machine in the corresponding folders. I am not sure what is causing those errors.

make: /mnt/c/Codes/Brain_to_text/LanguageModelDecoder/srilm-1.7.3/sbin/machine-type: No such file or directory
make: /mnt/c/Codes/Brain_to_text/LanguageModelDecoder/srilm-1.7.3/sbin/machine-type: No such file or directory
/mnt/c/Codes/Brain_to_text/LanguageModelDecoder/srilm-1.7.3/common/Makefile.common.variables:105: /mnt/c/Codes/Brain_to_text/LanguageModelDecoder/srilm-1.7.3/common/Makefile.machine.: No such file or directory
make: *** No rule to make target '/mnt/c/Codes/Brain_to_text/LanguageModelDecoder/srilm-1.7.3/common/Makefile.machine.'.  Stop.

Similarly, by running, "cmake ..", after solving a nameserver issue, I got the following errors.

CMake Deprecation Warning at fc_base/cnpy-src/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Error at /usr/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.11")
Call Stack (most recent call first):
  /usr/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.29/Modules/FindZLIB.cmake:199 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  fc_base/cnpy-src/CMakeLists.txt:12 (find_package)


-- Configuring incomplete, errors occurred!

Is there any guidance regarding those issues with WSL? Otherwise, it would also be nice to have more detailed guidance on building and using them on Windows.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions