Find the answer to your Linux question:
Page 3 of 4 FirstFirst 1 2 3 4 LastLast
Results 21 to 30 of 31
Thanks...
  1. #21
    Just Joined!
    Join Date
    Oct 2009
    Posts
    16


    Thanks
    Attached Files Attached Files

  2. #22
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,653
    So far everything looks fine. Does the following show any wireless networks?
    Code:
    sudo iwlist wlan0 scan

  3. #23
    Just Joined!
    Join Date
    Oct 2009
    Posts
    16
    Thanks for answer! It sees four networks, my wireless network is the third one. (Included in sudo.txt).

    However I installed Linux in order to install CMU Sphinx. There is one problem with executing perl script and I think you may be able to help me. Script make_feats.pl is included with this post. 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!
    Attached Files Attached Files

  4. #24
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,653
    So your wireless is actually working? Is there a problem with it?

    I know very little about programming. I'm just a guy who likes linux, but I don't really do much with computers but watch movies and surf the web.

    If I had to guess, I would say you didn't set up the decoder correctly. I would run back through the installation instructions provided and make sure each step successfully completes.

    I quickly ran through this tutorial here and everything worked fine. There were a couple of instances where the tutorial says configure but you need to run it as ./configure so the shell looks in the correct location for the script.
    Example this
    Code:
    # Compile SPHINX-3
    cd sphinx3
    # If you used svn, you will need to run autogen.sh, commented out
    # here. If you downloaded the tarball, you do not need to run it.
    #
    # ./autogen.sh
    configure --prefix=`pwd`/build --with-sphinxbase=`pwd`/../sphinxbase
    make
    make install
    should be this
    Code:
    # Compile SPHINX-3
    cd sphinx3
    # If you used svn, you will need to run autogen.sh, commented out
    # here. If you downloaded the tarball, you do not need to run it.
    #
    # ./autogen.sh
    ./configure --prefix=`pwd`/build --with-sphinxbase=`pwd`/../sphinxbase
    make
    make install

  5. #25
    Just Joined!
    Join Date
    Oct 2009
    Posts
    16
    Thanks, this ./ was one of four problems, I found all of them and it works.

    Wireless network still doesn't work. I include other file.

    And I'm surprised by one thing. When I type "su" and write password, it says "Authentication failed". So I reinstalled Ubuntu and it asked me during installation only about password for main user account (I gave "mainacc" name to it). What's wrong?

    Greetings !

    PS I'd like to install apache-ant-1.7.1. I found in docs/manual/index.html this instruction:
    * Add the bin directory to your path.
    * Set the ANT_HOME environment variable to the directory where you installed Ant. On some operating systems, Ant's startup scripts can guess ANT_HOME (Unix dialects and Windows NT/2000), but it is better to not rely on this behavior.
    * Optionally, set the JAVA_HOME environment variable (see the Advanced section below). This should be set to the directory where your JDK is installed.
    However it requires some knowledge about how to add directory to the path and so on .
    Attached Files Attached Files

  6. #26
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,653
    The wireless card is recognized and showing networks. When you try to connect, what is happening? Are you using WPA/WPA2 or WEP encryption on your network?

    Ubuntu doesn't enable the root account by default, so su will fail because there is no root password. The user created during install is instead granted full admin rights using sudo.
    https://help.ubuntu.com/community/RootSudo

    $PATH is the variable that sets where the shell looks for executable files. So, for example, with your difficulty above, when you just ran configure, it's looking in your path for a program called configure.

    You can set it globally from /etc/profile, or add an entry to your user's ~/.bashrc file, which is probably preferable. (This assumes you're using bash for your shell, which you probably are, since it's the default.)

    I'm on a little shaky ground with this, since I don't have a need to do it much, but this should work. Open up ~/.bashrc and add
    Code:
    EXPORT PATH=$PATH:/path/to/apache/bin
    EXPORT ANT_HOME=/path/to/ANT_HOME
    Where /path/to/apache/bin and /path/to/ANT_HOME are the actually paths to these locations.

    You would need to restart the shell, or for the current session do
    Code:
    source ~/.bashrc
    for it to read the new settings.

  7. #27
    Just Joined!
    Join Date
    Oct 2009
    Posts
    16
    Thanks !
    In Windows I've got WPA-PSK, TKIP. When I try to connect, it shows what is at the end of the file which I included in the previous post. Simply Mozilla says that server cannot be found.
    Greetings

    PS I tried to install this compat-wireless-2.6.tar.bz2 from the tutorial here ht tp:/ /ww w.downloadatoz.com/driver/articles/how-to-make-atheros-ar5007eg-wireless-cards-work-on-ubuntu-8-10.ht ml (How to make Atheros AR5007EG Wireless cards work on Ubuntu 8.10 - Driver Download) but it didn't help.

    PS2 I tried to add those lines at the beginning of file to /etc/bash.bashrc but gedit didn't allow me to make any changes to this file. Save wasn't available, only Save As:
    # Added by me to enable Apache Ant
    EXPORT PATH=$PATH:/home/mainacc/tutorial/apache-ant-1.7.1/bin
    EXPORT ANT_HOME=/home/mainacc/tutorial/apache-ant-1.7.1

    I follow this tutorial: ht tp:/ /cmusphinx.sourceforge.net/sphinx4/#download_and_install and I tried the following:

    mainacc@mainacc-laptop:~/tutorial/sphinx4-1.0beta3-bin/sphinx4-1.0beta3/bin$ java -mx256m -jar bin/HelloWorld.jar
    The program 'java' can be found in the following packages:
    * gcj-4.4-jre-headless
    * openjdk-6-jre-headless
    * cacao
    * gij-4.3
    * jamvm
    * kaffe
    Try: sudo apt-get install <selected package>
    java: command not found
    mainacc@mainacc-laptop:~/tutorial/sphinx4-1.0beta3-bin/sphinx4-1.0beta3/bin$ sudo apt-get install gcj-4.4-jre-headless
    [sudo] password for mainacc:
    Czytanie list pakietĂłw... Gotowe
    Budowanie drzewa zależności
    Odczyt informacji o stanie... Gotowe
    E: Nie udało się odnaleźć pakietu gcj-4.4-jre-headless
    mainacc@mainacc-laptop:~/tutorial/sphinx4-1.0beta3-bin/sphinx4-1.0beta3/bin$

    In other words I have file HelloWorld.jar and I try to open it with "java -mx256m -jar bin/HelloWorld.jar" (as explained in the tutorial) but it doesn't run it. So I did what it suggested me to do, i.e. "sudo apt-get install gcj-4.4-jre-headless" but it says "Packet gcj-4.4-jre-headless cannot be found".

    Greetings!

  8. #28
    Just Joined!
    Join Date
    Nov 2009
    Posts
    3
    hello
    I am a new user in linux.how i can set the password for login in suse11.1.

  9. #29
    Just Joined!
    Join Date
    Oct 2009
    Posts
    16
    Hello !

    I looked for "suse 11 how to set password" in google and the second found is this: ht tp://ww w.susegeek.com/general/how-to-resetrecover-the-root-password-in-opensuse/ (Remove two spacebars in this URL) Maybe it can help you. However, I guess you rather wanted to create new topic than answering in my topic.

    Greetings !

    PS I still need to run PocketSphinx demos on PC with Ubuntu and phone Sony Ericsson k750i. Can anybody help me ?

  10. #30
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,653
    GCJ is the GNU Java Compiler. Are you looking for this or a Java Runtime Environment?

    The packages are in the Debian repos, but you may need to enable the non-free section.

    Openjdk-6-jre is the open source implementation of the sun jre.

    Debian -- Details of package gcj in lenny
    Debian -- Details of package openjdk-6-jre in lenny
    Debian -- Details of package sun-java6-jre in lenny

Page 3 of 4 FirstFirst 1 2 3 4 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •