ubuntu-12.04

RGDAL won't install

余生长醉 提交于 2019-12-05 03:06:43
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 'yes' when prompted, but afterwards the same original error. It doesn't resolve it. I wonder whether I

How to install the latest version of Eclipse Classic on Ubuntu 12.04 using the terminal?

走远了吗. 提交于 2019-12-05 02:46:43
Please how to install the latest Eclipse Classic (4.2) on Ubuntu 12.04 using the terminal? if you can direct me step-by-step, I would be grateful. Mark Hillick See this blog post here , for step-by-step instructions. The process is documented step-by-step and in the comments the author has included a script - #!/bin/sh ECLIPSE=/usr/lib/eclipse/eclipse inject_update_site(){ if [ ! -e "$1" ] ; then echo "W: Cannot find $1" 2>&1 return 1 fi cat - >>"$1" <<EOF repositories/http\:__download.eclipse.org_releases_indigo/enabled=true repositories/http\:__download.eclipse.org_releases_indigo/isSystem

Installing MariaDB: unmet dependencies, mariadb-server-10.0

ぃ、小莉子 提交于 2019-12-05 02:27:06
问题 ubuntu:~$ sudo apt-get install mariadb-server Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mariadb-server :

Why did matrix multiplication using python's numpy become so slow after upgrading ubuntu from 12.04 to 14.04?

百般思念 提交于 2019-12-05 00:53:05
问题 I used to have Ubuntu 12.04 and recently did a fresh installation of Ubuntu 14.04. The stuff I'm working on involves multiplications of big matrices (~2000 X 2000), for which I'm using numpy. The problem I'm having is that now the calculations are taking 10-15 times longer. Going from Ubuntu 12.04 to 14.04 implied going from Python 2.7.3 to 2.7.6 and from numpy 1.6.1 to 1.8.1. However, I think that the issue might have to do with the linear algebra libraries that numpy is linked to. Instead

Link error: “Cannot find -ltinfo” on Ubuntu 12.04 on a 32-bit arm processor

人走茶凉 提交于 2019-12-05 00:51:59
I get the following link error when I'm compiling a small function using ncurses for an Ubuntu 12.04 running on arm. The error is arm-linux-gnueabihf/bin/ld: cannot find -ltinfo A lot of hints are floating around on what to install, but I can't seem to find any packages that does the trick for my arm box. I have done sudo apt-get install libncurses5-dev And this does not contain the tinfo library. Other suggestions usually result in the library is "not available but referred by another package" or "has no installation candidate". All help is appreciated /Henrik As mentioned by lucasg sudo apt

Is there a way to change the font in the status bar Sublime Text 3?

痴心易碎 提交于 2019-12-04 23:59:21
问题 I am searching for a method to change the font of status bar of Sublime Text 3.. Is there a way to do it? I tried changing system fonts (I am on Ubuntu 12.04), searching through Google gave me no hints.. Thanks 回答1: It's only possible to do in the .sublime-theme file: // Status bar label { "class": "label_control", "parents": [{"class": "status_bar"}], "color": [140,140,140], "font.size": 11, "font.face": "Droid Sans Mono" }, 回答2: If you can't find any .sublime-theme , mentioned in accepted

Meteor app deployed to Digital Ocean stuck at 100% CPU and OOM

大城市里の小女人 提交于 2019-12-04 23:57:48
I have a Meteor (0.8.0) app deployed using Meteor Up to Digital Ocean that's been stuck at 100% CPU, only to crash with out of memory, and start up again at 100% CPU. It's been stuck like this for the past 24 hours. The weird part is nobody is using the server and meteor.log isn't showing much clues. I've got MongoHQ with oplog for the database. Digital Ocean specs: 1GB Ram 30GB SSD Disk New York 2 Ubuntu 12.04.3 x64 Screenshot showing issue: Note that the screenshot was captured yesterday and it has stayed pegged at 100% cpu until it crashes with out of memory. The log shows: FATAL ERROR:

Monitor and restart Dart process on server

六眼飞鱼酱① 提交于 2019-12-04 20:37:01
My lightweight dart:io based web server pretty much looks like this: import 'dart:io'; void main() { HttpServer.bind(InternetAddress.ANY_IP_V4, 80).then((server) { server.listen((HttpRequest request) { // ... do stuff... request.response.write('Alright, here is your response...'); request.response.close(); }); }); print("listing...."); } Let's launch it (on Ubuntu Server 1.04): $ nohup dart myServer.dart & Listening... Everything looking good so far. I can exit my shell and it keeps serving. However, if something goes terribly wrong - e.g. an unhandled exception is thrown - the Dart process

Can't get elasticsearch to run as a service on Ubuntu 12.0.4 (Natty) - ElasticSearch may have failed to start

╄→尐↘猪︶ㄣ 提交于 2019-12-04 17:21:38
I've read three of the solutions provided here and here and here . Followed those three however it doesn't work. Whenever I tried running elasticsearch as a service: /etc/init.d/elasticsearch start it always gives me: Waiting for ElasticSearch................................ WARNING: ElasticSearch may have failed to start. Now when I try to find the error log (/var/log/elasticsearch), it's never there. ANy idea? Make sure that you have the JDK and you have specified the JAVA_HOME and the ES_HOME vars. The following snippet works for me: sudo apt-get install openjdk-6-jdk # if you haven't sudo

Gitlab6.0 and Apache2

爷,独闯天下 提交于 2019-12-04 16:12:27
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://127.0.0.1:8080/ <Location /> ProxyPassReverse / Order deny,allow Allow from all </Location> </VirtualHost