Results 21 to 30 of 31
Thanks...
- 10-31-2009 #21Just Joined!
- Join Date
- Oct 2009
- Posts
- 16
Thanks
- 10-31-2009 #22
So far everything looks fine. Does the following show any wireless networks?
Code:sudo iwlist wlan0 scan
- 10-31-2009 #23Just 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
!
- 10-31-2009 #24
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 thisshould be thisCode:# 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
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
- 11-01-2009 #25Just 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
.
- 11-01-2009 #26
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
Where /path/to/apache/bin and /path/to/ANT_HOME are the actually paths to these locations.Code:EXPORT PATH=$PATH:/path/to/apache/bin EXPORT ANT_HOME=/path/to/ANT_HOME
You would need to restart the shell, or for the current session dofor it to read the new settings.Code:source ~/.bashrc
- 11-01-2009 #27Just 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!
- 11-05-2009 #28Just 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.
- 11-05-2009 #29Just 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
?
- 11-05-2009 #30
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


Reply With Quote
