Comments (27)
I don't understand what is the question.
Y.
On Sep 19, 2015 5:41 PM, "posophe" [email protected] wrote:
All is in the title.
—
Reply to this email directly or view it on GitHub
#155.
from kaldi.
It's not a question, it's an issue. Even with the option --static-fst=no, the configure script verifies the presence of libfst.a. In fact, the script, during all the configuration process, verifies twice the existence of each dependencies.
from kaldi.
He might be talking about the configuration process on Darwin (i.e., mac).
The script says
if [ "uname
" == "Darwin" ]; then
...
if [ ! -f $FSTROOT/lib/libfst.a ]; then
failure "Static OpenFST library not found: See ../tools/INSTALL"
fi
.. which does seem wrong. I assume we do support dynamic OpenFst on Darwin.
On Sun, Sep 20, 2015 at 5:14 AM, posophe [email protected] wrote:
It's not a question, it's an issue. Even with the option --static-fst=no,
the configure script verifies the presence of libfst.a. In fact, the
script, during all the configuration process, verifies twice the existence
of each dependencies.—
Reply to this email directly or view it on GitHub
#155 (comment).
from kaldi.
You're right but the verification happens during a build on OBS i.e openSUSE tumbleweed
from kaldi.
Try to figure out which lines in the configure script are getting called.
What does uname
output on your OS? 'Linux'?
Dan
On Sun, Sep 20, 2015 at 1:51 PM, posophe [email protected] wrote:
You're right but the verification happens during a build on OBS i.e
openSUSE tumbleweed—
Reply to this email directly or view it on GitHub
#155 (comment).
from kaldi.
I know exactly which one. I have patched the configure script to be able to build kaldi.
@@ -449,10 +449,6 @@
else
spx_type=so
fi
- if [ ! -f "$SPEEXROOT/lib/libspeex.${spx_type}" ];then
- echo "Static=[$static_speex] Speex library not found: You can still build Kaldi without Speex."
- return
- fi
if [ -f $SPEEXROOT/include/speex/speex.h ]; then
echo >> kaldi.mk
@@ -768,13 +764,6 @@
failure "Could not find file $FSTROOT/include/fst/fst.h:
you may not have installed OpenFst. See ../tools/INSTALL"
fi
-echo Checking OpenFst library was patched.
-if ! grep "multiple repeated" $FSTROOT/include/fst/minimize.h >/dev/null; then
- echo "** ERROR **"
- echo "** $FSTROOT/include/fst/minimize.h seems not to be patched:"
- echo "patch not applied? FST tools will not work in our recipe."
- exit 1;
-fi
back up the old one in case we modified it
if [ -f kaldi.mk ]; then
@@ -815,9 +804,6 @@
if [ ! -e /System/Library/Frameworks/Accelerate.framework ]; then
failure "Need the Accelerate.framework to compile on Darwin."
fi
- if [ ! -f $FSTROOT/lib/libfst.a ]; then
- failure "Static OpenFST library not found: See ../tools/INSTALL"
- fi
posix_memalign and gcc -rdynamic options not present on OS X 10.5.*
osx_ver=sw_vers | grep ProductVersion | awk '{print $2}' | awk '{split($0,a,"\."); print a[1] "." a[2]; }'
echo "Configuring for OS X version $osx_ver ..."
@@ -868,9 +854,6 @@
OPENFSTLDFLAGS="-Wl,-rpath=${FSTROOT}/lib"
fst_type='so'
fi
- if [ ! -f "$FSTROOT/lib/libfst.${fst_type}" ]; then
- failure "Static=[$static_fst] OpenFST library not found: See ../tools/INSTALL"
- fi
echo OPENFSTLIBS = $OPENFSTLIBS >> kaldi.mk
echo OPENFSTLDFLAGS = $OPENFSTLDFLAGS >> kaldi.mk
from kaldi.
OK, thanks. Yenda usually deals with build issues, so I'll wait for him to
get to it.
Dan
On Sun, Sep 20, 2015 at 2:00 PM, posophe [email protected] wrote:
I know exactly which one. I have patched the configure script to be able
to build kaldi.
@@ -449,10 +449,6 @@
else
spx_type=so
fi
if [ ! -f "$SPEEXROOT/lib/libspeex.${spx_type}" ];then
echo "Static=[$static_speex] Speex library not found: You can still
build Kaldi without Speex."return
fi
if [ -f $SPEEXROOT/include/speex/speex.h ]; then
echo >> kaldi.mk
@@ -768,13 +764,6 @@
failure "Could not find file $FSTROOT/include/fst/fst.h:
you may not have installed OpenFst. See ../tools/INSTALL"
fi
-echo Checking OpenFst library was patched.
-if ! grep "multiple repeated" $FSTROOT/include/fst/minimize.h/dev/null; then
echo "** ERROR **"
echo "** $FSTROOT/include/fst/minimize.h seems not to be patched:"
echo "patch not applied? FST tools will not work in our recipe."
exit 1;
-fi
back up the old one in case we modified itif [ -f kaldi.mk ]; then
@@ -815,9 +804,6 @@
if [ ! -e /System/Library/Frameworks/Accelerate.framework ]; then
failure "Need the Accelerate.framework to compile on Darwin."
fiif [ ! -f $FSTROOT/lib/libfst.a ]; then
failure "Static OpenFST library not found: See ../tools/INSTALL"
fi # posix_memalign and gcc -rdynamic options not present on OS X
10.5.* osx_ver=sw_vers | grep ProductVersion | awk '{print $2}' | awk
'{split($0,a,"."); print a[1] "." a[2]; }' echo "Configuring for OS X
version $osx_ver ..." @@ -868,9 +854,6 @@
OPENFSTLDFLAGS="-Wl,-rpath=${FSTROOT}/lib" fst_type='so' fiif [ ! -f "$FSTROOT/lib/libfst.${fst_type}" ]; then
failure "Static=[$static_fst] OpenFST library not found: See
../tools/INSTALL"fi echo OPENFSTLIBS = $OPENFSTLIBS >> kaldi.mk echo OPENFSTLDFLAGS =
$OPENFSTLDFLAGS >> kaldi.mk—
Reply to this email directly or view it on GitHub
#155 (comment).
from kaldi.
Can you please send the diff as a attachment? The inline diff got
reformatted as it looked as markup, probably. Or better yet, open pull
request at github.
Thanks, y.
On Sun, Sep 20, 2015 at 8:02 PM, Daniel Povey [email protected]
wrote:
OK, thanks. Yenda usually deals with build issues, so I'll wait for him to
get to it.
DanOn Sun, Sep 20, 2015 at 2:00 PM, posophe [email protected] wrote:
I know exactly which one. I have patched the configure script to be able
to build kaldi.
@@ -449,10 +449,6 @@
else
spx_type=so
fi
- if [ ! -f "$SPEEXROOT/lib/libspeex.${spx_type}" ];then
- echo "Static=[$static_speex] Speex library not found: You can still
build Kaldi without Speex."- return
fi
if [ -f $SPEEXROOT/include/speex/speex.h ]; then
echo >> kaldi.mk
@@ -768,13 +764,6 @@
failure "Could not find file $FSTROOT/include/fst/fst.h:
you may not have installed OpenFst. See ../tools/INSTALL"
fi
-echo Checking OpenFst library was patched.
-if ! grep "multiple repeated" $FSTROOT/include/fst/minimize.h/dev/null; then
- echo "** ERROR **"
- echo "** $FSTROOT/include/fst/minimize.h seems not to be patched:"
- echo "patch not applied? FST tools will not work in our recipe."
exit 1;
-fi
back up the old one in case we modified itif [ -f kaldi.mk ]; then
@@ -815,9 +804,6 @@
if [ ! -e /System/Library/Frameworks/Accelerate.framework ]; then
failure "Need the Accelerate.framework to compile on Darwin."
fi
- if [ ! -f $FSTROOT/lib/libfst.a ]; then
- failure "Static OpenFST library not found: See ../tools/INSTALL"
- fi # posix_memalign and gcc -rdynamic options not present on OS X
10.5.* osx_ver=sw_vers | grep ProductVersion | awk '{print $2}' | awk
'{split($0,a,"."); print a[1] "." a[2]; }' echo "Configuring for OS X
version $osx_ver ..." @@ -868,9 +854,6 @@
OPENFSTLDFLAGS="-Wl,-rpath=${FSTROOT}/lib" fst_type='so' fi- if [ ! -f "$FSTROOT/lib/libfst.${fst_type}" ]; then
- failure "Static=[$static_fst] OpenFST library not found: See
../tools/INSTALL"- fi echo OPENFSTLIBS = $OPENFSTLIBS >> kaldi.mk echo OPENFSTLDFLAGS =
$OPENFSTLDFLAGS >> kaldi.mk—
Reply to this email directly or view it on GitHub
#155 (comment).—
Reply to this email directly or view it on GitHub
#155 (comment).
from kaldi.
BTW, the 'message text garbled?' link in gmail fixes this.
On Sun, Sep 20, 2015 at 2:19 PM, jtrmal [email protected] wrote:
Can you please send the diff as a attachment? The inline diff got
reformatted as it looked as markup, probably. Or better yet, open pull
request at github.
Thanks, y.On Sun, Sep 20, 2015 at 8:02 PM, Daniel Povey [email protected]
wrote:OK, thanks. Yenda usually deals with build issues, so I'll wait for him
to
get to it.
DanOn Sun, Sep 20, 2015 at 2:00 PM, posophe [email protected]
wrote:I know exactly which one. I have patched the configure script to be
able
to build kaldi.
@@ -449,10 +449,6 @@
else
spx_type=so
fi
- if [ ! -f "$SPEEXROOT/lib/libspeex.${spx_type}" ];then
- echo "Static=[$static_speex] Speex library not found: You can still
build Kaldi without Speex."- return
fi
if [ -f $SPEEXROOT/include/speex/speex.h ]; then
echo >> kaldi.mk
@@ -768,13 +764,6 @@
failure "Could not find file $FSTROOT/include/fst/fst.h:
you may not have installed OpenFst. See ../tools/INSTALL"
fi
-echo Checking OpenFst library was patched.
-if ! grep "multiple repeated" $FSTROOT/include/fst/minimize.h/dev/null; then
- echo "** ERROR **"
- echo "** $FSTROOT/include/fst/minimize.h seems not to be patched:"
- echo "patch not applied? FST tools will not work in our recipe."
exit 1;
-fi
back up the old one in case we modified itif [ -f kaldi.mk ]; then
@@ -815,9 +804,6 @@
if [ ! -e /System/Library/Frameworks/Accelerate.framework ]; then
failure "Need the Accelerate.framework to compile on Darwin."
fi
- if [ ! -f $FSTROOT/lib/libfst.a ]; then
- failure "Static OpenFST library not found: See ../tools/INSTALL"
- fi # posix_memalign and gcc -rdynamic options not present on OS X
10.5.* osx_ver=sw_vers | grep ProductVersion | awk '{print $2}' | awk
'{split($0,a,"."); print a[1] "." a[2]; }' echo "Configuring for OS X
version $osx_ver ..." @@ -868,9 +854,6 @@
OPENFSTLDFLAGS="-Wl,-rpath=${FSTROOT}/lib" fst_type='so' fi- if [ ! -f "$FSTROOT/lib/libfst.${fst_type}" ]; then
- failure "Static=[$static_fst] OpenFST library not found: See
../tools/INSTALL"- fi echo OPENFSTLIBS = $OPENFSTLIBS >> kaldi.mk echo OPENFSTLDFLAGS =
$OPENFSTLDFLAGS >> kaldi.mk—
Reply to this email directly or view it on GitHub
<#155 (comment)
.—
Reply to this email directly or view it on GitHub
#155 (comment).—
Reply to this email directly or view it on GitHub
#155 (comment).
from kaldi.
Oh yep sorry you're totally right. But I wouldn't open a pull request, as my patch does things I need but not in a good way.
http://paste.opensuse.org/71621692
from kaldi.
Thanks -- but this is definitely really weird, your system (OpenSUSE gets
identified as OSX). What is the output from "uname" on your system?
y.
On Sun, Sep 20, 2015 at 8:22 PM, posophe [email protected] wrote:
Oh yep sorry you're totally right. But I wouldn't open a pull request, as
my patch does things I need but not in a good way.
http://paste.opensuse.org/71621692—
Reply to this email directly or view it on GitHub
#155 (comment).
from kaldi.
Also, try to run the configure script using "bash -x" and send me the
output (feel free to contact me directly -- [email protected]).
y.
On Sun, Sep 20, 2015 at 8:52 PM, Jan Trmal [email protected] wrote:
Thanks -- but this is definitely really weird, your system (OpenSUSE gets
identified as OSX). What is the output from "uname" on your system?
y.On Sun, Sep 20, 2015 at 8:22 PM, posophe [email protected] wrote:
Oh yep sorry you're totally right. But I wouldn't open a pull request, as
my patch does things I need but not in a good way.
http://paste.opensuse.org/71621692—
Reply to this email directly or view it on GitHub
#155 (comment).
from kaldi.
I can't clearly identify the system, as I use the OpenSUSE Build Service but it shouldn't differ that much than my own system, excepted for the kernel version :
linux-cqwx.site 3.16.7-24-desktop #1 SMP PREEMPT
from kaldi.
Can you send me the output from the command uname ?
y.
On Sun, Sep 20, 2015 at 8:55 PM, posophe [email protected] wrote:
I can't clearly identify the system, as I use the OpenSUSE Build Service
but it shouldn't differ that much than my own system, excepted for the
kernel version :
linux-cqwx.site 3.16.7-24-desktop #1
#1 SMP PREEMPT—
Reply to this email directly or view it on GitHub
#155 (comment).
from kaldi.
Linux cloud106 4.1.6-3-default #1 SMP Fri Aug 28 10:59:34 UTC 2015 (d867e86) i686 i686 i386 GNU/Linux.
from kaldi.
Thanks,
can you also send me the output from running something like
bash -x ./configure >configure.log 2>&1
Thanks
y.
On Sun, Sep 20, 2015 at 9:08 PM, posophe [email protected] wrote:
Linux cloud106 4.1.6-3-default #1
#1 SMP Fri Aug 28 10:59:34 UTC
2015 (d867e86) i686 i686 i386 GNU/Linux.—
Reply to this email directly or view it on GitHub
#155 (comment).
from kaldi.
Here is my output : http://paste.opensuse.org/88333945
Please notice two things
- Because of my patch, I have to add OPENFST_VER, OPENFST_GE_10400 and EXTRA_CXXFLAGS manually.
- The configure script looks at /usr/Makefile when --fst-root is setted up as /usr
from kaldi.
Sorry, I meant the original configure script, not that one with your
modifications. It will fail, but I will see what's going on -- I reviewed
the script yesterday and I couldn't find any reason why it should behave
how you describe. Thanks
y.
On Mon, Sep 21, 2015 at 11:32 AM, posophe [email protected] wrote:
Here is my output : http://paste.opensuse.org/88333945
Please notice two things
- Because of my patch, I have to add OPENFST_VER, OPENFST_GE_10400 and
EXTRA_CXXFLAGS manually.- The configure script looks at /usr/Makefile when --fst-root is
setted up as /usr—
Reply to this email directly or view it on GitHub
#155 (comment).
from kaldi.
Ok the API of OBS is down for the moment. I'll post it as soon as possible. I would like to open a forum thread. I need more infos to ensure Kaldi runs correctly.
from kaldi.
Unbelievable... I can't perform a print of the configure script, whereas nothing changed.
I think a part of the problem comes from the configure script verifies twice the presence of the dependencies. There should verify the presence of headers files and the libraries in the same process.
from kaldi.
I need your help for a last thing. Do you know the name of all the binaries and their places where there are build ? I can easily use a hack for the libraries but not for the binaries without knowing their names.
from kaldi.
I'd love to help, but I don't understand what you are doing or what you are
asking :(
y.
On Mon, Sep 21, 2015 at 2:15 PM, posophe [email protected] wrote:
I need your help for a last thing. Do you know the name of all the
binaries and their places where there are build ? I can easily use a hack
for the libraries but not for the binaries without knowing their names.—
Reply to this email directly or view it on GitHub
#155 (comment).
from kaldi.
Well, I'm packaging kaldi for openSUSE (to provide a rpm, if you prefer). I'll find a way, no worries.
http://kaldi-asr.org/doc/tools.html would help me very much
from kaldi.
I have just a question about portaudio. I've seen kaldi depends on portaudio but doesn't build against portaudio. Why that ?
from kaldi.
IIRC, portaudio was used for the first generation of the online decoder --
the later online decoder is not tied to it.
It gets build when you call make ext, I believe.
y.
On Mon, Sep 21, 2015 at 3:17 PM, posophe [email protected] wrote:
I have just a question about portaudio. I've seen kaldi depends on
portaudio but doesn't build against portaudio. Why that ?—
Reply to this email directly or view it on GitHub
#155 (comment).
from kaldi.
Thanks you. But shouldn't it been changed according to these changes ?
from kaldi.
@posophe , I lost track of your issue/issues.
Could you please verify these issues still persist in the latest github kaldi version?
Thanks, y.
from kaldi.
Related Issues (20)
- When the following situations occur, the memory will increase HOT 3
- Request for prebuilt Android APK demonstrating capabilities HOT 2
- Is that OK to use Openfst 1.8.1 in Kaldi's latest version? HOT 3
- Chain alignments used for training HOT 1
- Error when build docker GPU image ubuntu22.04-cuda12.2.0
- ReadDecodeGraph():onlinebin-util.cc:52) Error reading FST (after reading header).
- kaldi uses the C++17 feature while compiling in the C++14 mode
- Please tag the repository with the version
- AMI download manifest and license, files do not exist HOT 2
- Error while building docker image: install_mkl.sh
- Seeking Guidance on Custom Urdu ASR Training Data and Vocabulary Expansion
- KaldiFatalError
- NO_PUBKEY on intell error HOT 1
- The `Resize` function doesn't change `stride_` if resize_type == kSetZero and `rows == MatrixBase<Real>::num_rows_ && cols == MatrixBase<Real>::num_cols_`.
- Integrate ZLUDA for AMD CUDA HOT 1
- issue with install_klm.sh HOT 2
- utils/validate_data_dir.sh: Error: in data/train_shorter, recording-ids extracted from wav.scp and reco2dur file
- ./install_mkl.sh error: HOT 1
- windows cuda 12.1 nvtools are no longer part of cuda installer HOT 4
- sh extras/check_dependencies.sh HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kaldi.