Hello :-)! I installed Ubuntu in order to install CMU Sphinx (http://www.speech.cs.cmu.edu/sphinx/tutorial.html). There is one problem with executing perl script and I think it is good place to ask for help. Script make_feats.pl is here http://www.linuxforums.org/forum/attachments/debian-linux-help/2267d1256986736-kde-startx-debian-make_feats.pl.txt . When I run "perl scripts_pl/make_feats.pl -ctl etc/an4_train.fileids" I see "Configuration (e.g. etc/sphinx_train.cfg) not defined. Compilation failed in require at make_feats.pl line 43. BEGIN failed--compilation aborted at make_feats.pl line 43". I found sphinx_train.cfg in two directories: /home/mainacc/tutorial/SphinxTrain/etc and /home/mainacc/tutorial/an4/etc. It looks like I simply need to define directory where sphinx_train.cfg is stored in the perl script. However I have never created any perl script, I guess it should be simple thing. How to define this directory in make_feats.pl? Greetings :-)!

In reply to including cfg in perl script by johnyjj2

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.