ubuntu-12.10

Node.js source code build giving segmentation fault on ARM

天涯浪子 提交于 2019-12-18 04:05:34
问题 tl;dr: I tried to install node.js on my ARMv7-based Cubox running Ubuntu 12.10 (quantal). When compiling node.js from source (see "Second attempt" below), node produces a segmentation fault. What can I do here? First attempt First of all, I tried to install node.js via the package manager, following the instructions for Ubuntu that are given here: Installing Node.js via package manager: Ubuntu, Mint Adding the repository mentioned there using sudo add-apt-repository ppa:chris-lea/node.js

ADB doesn't see device

穿精又带淫゛_ 提交于 2019-12-13 03:08:07
问题 -Lsusb: Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 03f0:231d Hewlett-Packard Bus 001 Device 004: ID 138a:0007 Validity Sensors, Inc. VFS451 Fingerprint Reader Bus 001 Device 005: ID 5986:03b1 Acer, Inc Bus 002 Device 006: ID 1058:07a8 Western

How can I use Stroustrup's graphics libraries (Simple_window.h, Graph.h, …) in Netbeans 7.3 in Ubuntu 12.10?

一笑奈何 提交于 2019-12-12 03:46:11
问题 everyone. I am learning Bjarne Stroustrup's "Programming principle and practice using C++" book. I'm working with Netbeans 7.3 in Ubuntu 12.10. I want to build and run this simple graphics program in this book's chapter 12. The program is like this: #include "Simple_window.h" // get access to our window library #include "Graph.h" // get access to our graphics library facilities int main() { using namespace Graph_lib; // our graphics facilities are in Graph_lib Point tl(100,100); // to become

Not able to install pg gem on Ubuntu 12.10

安稳与你 提交于 2019-12-10 11:13:17
问题 I am using Ubuntu 12.10 64-bit and I have following packages installed : dpkg --get-selections | grep postgre output: postgresql postgresql-9.1 postgresql-client postgresql-client-9.1 postgresql-client-common postgresql-common postgresql-contrib postgresql-contrib-9.1 postgresql-server-dev-9.1 postgresql-server-dev-all libpq-dev libpq5 rvm 1.17.9 ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-linux] I am not able to install pg gem I am getting following error : ERROR: Error installing pg:

“USE statement is not supported to switch between databases” when running query

浪尽此生 提交于 2019-12-07 15:22:41
问题 I get the following error when trying to select a database with php's standard mssql_select_db function: USE statement is not supported to switch between databases. Use a new connection to connect to a different Database. (severity 16) . So i'm stumped as in where to go from here. Connection Code: $link = mssql_connect('dsn', 'user@server', 'password'); if (!$link) { die('Unable to connect!'); } if (!mssql_select_db('db', $link)) { die('Unable to select database!'); } $result = mssql_query(

Not able to install pg gem on Ubuntu 12.10

给你一囗甜甜゛ 提交于 2019-12-06 10:28:43
I am using Ubuntu 12.10 64-bit and I have following packages installed : dpkg --get-selections | grep postgre output: postgresql postgresql-9.1 postgresql-client postgresql-client-9.1 postgresql-client-common postgresql-common postgresql-contrib postgresql-contrib-9.1 postgresql-server-dev-9.1 postgresql-server-dev-all libpq-dev libpq5 rvm 1.17.9 ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-linux] I am not able to install pg gem I am getting following error : ERROR: Error installing pg: ERROR: Failed to build gem native extension. /home/vedarthk/.rvm/rubies/ruby-1.9.3-p362/bin/ruby

“USE statement is not supported to switch between databases” when running query

家住魔仙堡 提交于 2019-12-06 04:14:22
I get the following error when trying to select a database with php's standard mssql_select_db function: USE statement is not supported to switch between databases. Use a new connection to connect to a different Database. (severity 16) . So i'm stumped as in where to go from here. Connection Code: $link = mssql_connect('dsn', 'user@server', 'password'); if (!$link) { die('Unable to connect!'); } if (!mssql_select_db('db', $link)) { die('Unable to select database!'); } $result = mssql_query('SELECT * FROM yourtable'); while ($row = mssql_fetch_array($result)) { var_dump($row); } My system setup

Wordpress Permalinks never work on localhost Ubuntu 12.10

柔情痞子 提交于 2019-12-05 10:33:35
Wordpress permalinks aren't working, except for the default. How do I enable this rewriting? I've tried: sudo a2enmod rewrite sudo service apache2 restart The permalinks are saving to the .htaccess in /localhost/wordpress: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wordpress/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wordpress/index.php [L] </IfModule> # END WordPress and I copy to root /var/www just to try, and it doesn't make any difference. I had also tried the AllowOverwride All, but

I screwed up the system version of Python Pip on Ubuntu 12.10

心不动则不痛 提交于 2019-12-02 14:04:17
I wanted to update pip on my main install of Python, specifically to get the list command. Which also includes the list- updates capability. So I ran: sudo pip install --upgrade pip All looked good on the install but then I went to run pip and got this: (end of install included if it helps) Installing pip script to /usr/local/bin Installing pip-2.7 script to /usr/local/bin Successfully installed pip Cleaning up... tom@tom-sam:~$ pip list -o bash: /usr/bin/pip: No such file or directory tom@tom-sam:~$ pip bash: /usr/bin/pip: No such file or directory Somewhat obviously I'm hosed since this is

Installing Nokogiri (v.1.5.0.) Gem In Ubuntu 12.10

会有一股神秘感。 提交于 2019-12-02 04:27:03
问题 I am trying to install foodcritic gem on Ubuntu 12.10. It could be successfully installed in Ubuntu 12.04. I have installed the requirements: libxslt-dev , libxml2-dev , ruby1.9.3 and make packages. But when now I try sudo gem install foodcritic I get the following error: compiling xml_xpath_context.c xml_xpath_context.c: In function ‘xpath_generic_exception_handler’: xml_xpath_context.c:184:3: error: format not a string literal and no format arguments [-Werror=format-security] cc1: some