extras/check_dependencies.sh Zlib not installed

491 views
Skip to first unread message

Vinod Kumar

unread,
Feb 6, 2018, 9:02:50 AM2/6/18
to kaldi-help
Hi All,

When I run the extras/check_dependencies.sh, i am getting the message that Zlib  is not intalled by running the below.

if ! echo "#include <zlib.h>" | $CXX -E - >&/dev/null; then
  echo "$0: zlib is not installed."
  add_packages zlib-devel zlib1g-dev zlib-devel
fi

Jan Trmal

unread,
Feb 6, 2018, 9:08:58 AM2/6/18
to kaldi-help
OK. What is the question then? If you read the whole message, you will see it's asking you to install it and suggesting how the package might be called for your architecture. If that package name does not exist, the package will be called differently, but I can assure you it's a very standard package, so you should be able to find and install it.
y.

--
Go to http://kaldi-asr.org/forums.html find out how to join
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+unsubscribe@googlegroups.com.
To post to this group, send email to kaldi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/79bb41b4-e50a-4669-a6ef-0c0b3b55608d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vinod Kumar

unread,
Feb 6, 2018, 9:34:50 AM2/6/18
to kaldi-help
Thanks Yenda.

I already have Zlib.h in my C:\Program Files (x86)\GnuWin32\include

and I have also updated the Environment Variable "Path" but still it is not able to find it.



On Tuesday, February 6, 2018 at 7:38:58 PM UTC+5:30, Yenda wrote:
OK. What is the question then? If you read the whole message, you will see it's asking you to install it and suggesting how the package might be called for your architecture. If that package name does not exist, the package will be called differently, but I can assure you it's a very standard package, so you should be able to find and install it.
y.
On Tue, Feb 6, 2018 at 9:02 AM, Vinod Kumar <vinodlu...@gmail.com> wrote:
Hi All,

When I run the extras/check_dependencies.sh, i am getting the message that Zlib  is not intalled by running the below.

if ! echo "#include <zlib.h>" | $CXX -E - >&/dev/null; then
  echo "$0: zlib is not installed."
  add_packages zlib-devel zlib1g-dev zlib-devel
fi

--
Go to http://kaldi-asr.org/forums.html find out how to join
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.

Vinod Kumar

unread,
Feb 6, 2018, 11:07:28 AM2/6/18
to kaldi-help
Hi Yenda,

can you please suggest me where should i keep the Zlib.h file so that check_dependencies.sh finds it.



On Tuesday, February 6, 2018 at 7:38:58 PM UTC+5:30, Yenda wrote:
OK. What is the question then? If you read the whole message, you will see it's asking you to install it and suggesting how the package might be called for your architecture. If that package name does not exist, the package will be called differently, but I can assure you it's a very standard package, so you should be able to find and install it.
y.
On Tue, Feb 6, 2018 at 9:02 AM, Vinod Kumar <vinodlu...@gmail.com> wrote:
Hi All,

When I run the extras/check_dependencies.sh, i am getting the message that Zlib  is not intalled by running the below.

if ! echo "#include <zlib.h>" | $CXX -E - >&/dev/null; then
  echo "$0: zlib is not installed."
  add_packages zlib-devel zlib1g-dev zlib-devel
fi

--
Go to http://kaldi-asr.org/forums.html find out how to join
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.

Jan Trmal

unread,
Feb 6, 2018, 12:52:53 PM2/6/18
to kaldi-help
on cygwin or linux, setting CPATH should work (or setting C_INCLUDE_PATH and CPLUS_INCLUDE_PATH)
also, make sure these variables actually find their way into the environment in which you are running the script
y.

To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+unsubscribe@googlegroups.com.

To post to this group, send email to kaldi...@googlegroups.com.

Daniel Povey

unread,
Feb 6, 2018, 1:57:43 PM2/6/18
to kaldi-help
It looks to me like there is a Windows component to these questions.
The Windows support is recommended only for experts, and you don't seem to be an expert.  We're not going to spend much time helping you to get things working in Windows.


Reply all
Reply to author
Forward
0 new messages