ubuntu-12.04

Vim 7.3 on Ubuntu 12.10 doesn't have 'ftplugin' directory anywhere

霸气de小男生 提交于 2020-01-03 06:03:27
问题 Vim 7.3 on Ubuntu 12.10 I recently installed vim from the Ubuntu software center. So far, I've installed the following vim plugins: NERDTree, rails and ack. I'm taking a course on python and another one on Ruby on Rails. I was surprised that vim didn't recognize the languages as far as indenting goes. Checking various questions and answers on this forum, as well as checking vim help, I see that there should be a directory named 'ftplugin' in the $VIMRUNTIME directory. My $VIMRUNTIME is just

rxtxSerial librxtx-java Ubuntu

戏子无情 提交于 2020-01-03 02:49:07
问题 I am getting the following error when I try to run my Java application: java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver Exception in thread "main" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1878) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1087) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:123)

How to setup Vagrant ssh agent forwarding?

我的梦境 提交于 2020-01-02 10:29:09
问题 My goal is to connect from a VirtualBox VM to another machine using the ssh key authentication. I have created the VM with Vagrant (1.0.5). I have also enabled config.ssh.forward_agent = true (as suggested in this post). Sadly, the ssh forwarding does not seem to be working. These are the steps (on fresh ubuntu with vagrant and virtualbox): Log from the host machine to VM (when I use --debug, I see that the forwarding is enabled) vagrant ssh Log from VM (ubuntu 12.04 with injected vagrant ssh

pocketsphinx_continuous failed to open audio device

拥有回忆 提交于 2020-01-02 02:50:10
问题 After installing pocketsphinx , when I tried to run the pocketsphinx_continuous program then I got this error.. _oss.c(103): Failed to open audio device(/dev/dsp): No such file or directory FATAL_ERROR: "continuous.c", line 242: Failed top open audio device How to solve this problem? 回答1: Install the following from the terminal : sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r`

Eclipse is saying “Update Android Developer Toolkit”

二次信任 提交于 2020-01-02 01:55:09
问题 I've somehow managed to mess up my Eclipse and Android set-up and I'm not sure how to fix it. The symptoms of the problem are as follows: In Preferences > Android, I try to select the location of android-sdk-linux, when select the error appears "This Android SDK requires Android Developer Toolkit version 20.0.0 or above. Current version is 18.0.0.v201203301601-306762. Please update ADT to the latest version." Going to Help > Check for Updates in Eclipse, returns no updates found Going to Help

RGDAL won't install

别说谁变了你拦得住时间么 提交于 2020-01-02 01:43:08
问题 I can't get RGDAL to install in R. I'm using Ubuntu 12.04. configure: error: gdal-config not found or not executable. ERROR: configuration failed for package ‘rgdal’ * removing ‘/home/james/R/x86_64-pc-linux-gnu-library/3.2/rgdal’ Warning in install.packages : installation of package ‘rgdal’ had non-zero exit status I found some solutions which said to do this: sudo apt-get install aptitude sudo aptitude install libgdal-dev sudo aptitude install libproj-dev I follow these through, accepting

Gitlab6.0 and Apache2

孤者浪人 提交于 2020-01-01 18:58:35
问题 please how to set Github 6.0 with Apache2? Gitlab is installed according to the original instructions Adjustment in Unicorn.rb ... #listen "/home/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 64 #listen "127.0.0.1:8080", :tcp_nopush => true listen "127.0.0.1:8080" ... My Apache2 conf is : <VirtualHost *:80> ServerName git.domain.com ErrorLog /var/log/apache2/gitlab_error.log CustomLog /var/log/apache2/gitlab_access.log combined ProxyRequests Off ProxyPreserveHost On ProxyPass / http:/

gccgo on Precise

我与影子孤独终老i 提交于 2020-01-01 09:03:25
问题 When trying to link with gccgo on Precise, I get this linking error: matt@matt-1005P:~/src/gopath/src/meme$ gccgo cmd/meme/main.go -o meme /usr/bin/ld: cannot find -lgcc_s collect2: error: ld returned 1 exit status There are reports of this error, but no clean solutions. How do I fix it? gccgo (Ubuntu/Linaro 4.7.0-0ubuntu4) 4.7.0 Linux matt-1005P 3.2.0-24-generic-pae #38-Ubuntu SMP Tue May 1 16:40:26 UTC 2012 i686 i686 i386 GNU/Linux 回答1: This was recently brought up on the golang-nuts group:

Error running google app engine: unrecognized arguments: admin_console_server

廉价感情. 提交于 2019-12-31 00:20:47
问题 I'm following the 'Getting Started with Python App Engine' tutorial and I can't seem to connect to the development server. I keep getting the following error from the log console when I try running it. 2013-08-23 09:46:43 PM Running command: "[u'/usr/bin/python', '/home/mathee/google_appengine/dev_appserver.py', '--admin_console_server=', '--port=8080', '/home/mathee/app']" usage: dev_appserver.py [-h] [--host HOST] [--port PORT] [--admin_host ADMIN_HOST] [--admin_port ADMIN_PORT] [--auth

Using MPICH with Boost.MPI on Ubuntu

≡放荡痞女 提交于 2019-12-30 11:34:06
问题 I was trying to use boost.mpi under Ubuntu 12.04. apt-get will install openmpi, but some other software (involving torque) I run expect mpich2/mpich, and complain that "mpdstartup: Command not found" I certainly don't want to mess with changing the software to use openmpi and worry about migration issues when the software is upgraded. My question is, is there a user-friendly way to install boost.mpi + mpich2 in Ubuntu (12.04 LTS)? (e.g. an unofficial repository). In the worst-case, if I have