ubuntu-12.04

Storm workers not starting

自闭症网瘾萝莉.ら 提交于 2020-01-15 23:45:30
问题 My Nimbus host and supervisor run properly. When I submit a wordcount topology to the Nimbus host it successfully upload. After uploading topology supervisor giving error kill: No such process When I check the worker-6001.log and 6002.log I found a following error: 2014-02-09 17:20:05 b.s.m.TransportFactory [INFO] Storm peer transport plugin:backtype.storm.messaging.zmq 2014-02-09 17:20:05 b.s.d.worker [ERROR] Error on initialization of server mk-worker java.lang.UnsatisfiedLinkError: no jzmq

undefined reference to `x264_encoder_open_125'

为君一笑 提交于 2020-01-12 15:35:08
问题 While installing ffmpeg on Ubuntu 12.04 I am getting following error libavcodec/libavcodec.a(libx264.o): In function `X264_init': /root/ffmpeg/libavcodec/libx264.c:492: undefined reference to `x264_encoder_open_125' collect2: ld returned 1 exit status make: *** [ffmpeg_g] Error 1 I am following the instructions given at http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide Do anyone have idea about this error? 回答1: This is a typical problem for people who already have x264 installed

undefined reference to `x264_encoder_open_125'

被刻印的时光 ゝ 提交于 2020-01-12 15:29:51
问题 While installing ffmpeg on Ubuntu 12.04 I am getting following error libavcodec/libavcodec.a(libx264.o): In function `X264_init': /root/ffmpeg/libavcodec/libx264.c:492: undefined reference to `x264_encoder_open_125' collect2: ld returned 1 exit status make: *** [ffmpeg_g] Error 1 I am following the instructions given at http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide Do anyone have idea about this error? 回答1: This is a typical problem for people who already have x264 installed

undefined reference to `x264_encoder_open_125'

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-12 15:29:11
问题 While installing ffmpeg on Ubuntu 12.04 I am getting following error libavcodec/libavcodec.a(libx264.o): In function `X264_init': /root/ffmpeg/libavcodec/libx264.c:492: undefined reference to `x264_encoder_open_125' collect2: ld returned 1 exit status make: *** [ffmpeg_g] Error 1 I am following the instructions given at http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide Do anyone have idea about this error? 回答1: This is a typical problem for people who already have x264 installed

php fatal error: class sqlite3 is not found in

百般思念 提交于 2020-01-11 08:20:28
问题 Im using ubuntu 12.04, and php 5.x I need to use sqlite3 in it but Im getting an error of php fatal error: class sqlite3 not found I done all the installation processes, like $ sudo apt-get install php5-cli php5-dev make $ sudo apt-get install libsqlite3-0 libsqlite3-dev $ sudo apt-get install php5-sqlite3 $ sudo apt-get remove php5-sqlite3 $ cd ~ $ wget http://pecl.php.net/get/sqlite3-0.6.tgz $ tar -zxf sqlite3-0.6.tgz $ cd sqlite3-0.6/ $ sudo phpize $ sudo ./configure $ sudo make $ sudo

php fatal error: class sqlite3 is not found in

寵の児 提交于 2020-01-11 08:19:24
问题 Im using ubuntu 12.04, and php 5.x I need to use sqlite3 in it but Im getting an error of php fatal error: class sqlite3 not found I done all the installation processes, like $ sudo apt-get install php5-cli php5-dev make $ sudo apt-get install libsqlite3-0 libsqlite3-dev $ sudo apt-get install php5-sqlite3 $ sudo apt-get remove php5-sqlite3 $ cd ~ $ wget http://pecl.php.net/get/sqlite3-0.6.tgz $ tar -zxf sqlite3-0.6.tgz $ cd sqlite3-0.6/ $ sudo phpize $ sudo ./configure $ sudo make $ sudo

Can't run adb commands in bash script

被刻印的时光 ゝ 提交于 2020-01-11 07:11:09
问题 I'm trying to launch Android tethering settings from adb shell. The main purpose of doing so is to enable USB tethering mode by running a shell script. I'm using the following set of commands on my Ubuntu Terminal (12.04): adb shell am start -n com.android.settings/.TetherSettings sleep 7 input tap 162 159 input tap 385 607 This method works fine when the commands are executed one by one, but I'm not able to run them as normal shell script. Please help! Here is the complete script: #!/bin/sh

Netbeans C/C++ 7.2 -std=C++11 not recognized by gcc v4.6 or lower

北战南征 提交于 2020-01-10 05:34:05
问题 I left Eclipse to NetBeans for C/C++ development right after release v7 and it all seems a wise choice except that -std=C++11 flag in the current latest release, namely 7.2, is not recognized by gcc 4.6 ( -std=C++0x ) or the previous. Since Ubuntu 12.04 ships with gcc 4.6 (which should be fair enough to use for my jobs in term of 11 features) and a fresh installation of gcc 4.7 might bring about complexity in maintenance of the system (well...I'm a person extremely simple, neat and clean), is

python pyglet and opengl

心不动则不痛 提交于 2020-01-07 05:49:30
问题 I am trying to get 3D capabilities through python and have download pyglet. While going through the first example in this tutorial I got a bunch of strange errors that I cannot discern. The following is the script I am trying to run: import pyglet win = pyglet.window.Window() @win.event def on_draw(): win.clear() pyglet.app.run() 2 The following is the output I received from the python interpreter after I imported my script: >>> import test as t Traceback (most recent call last): File "<stdin

VAGRANT SHARED FOLDERS DO NOT MOUNT - Windows 7 - Vagrant 1.7.4 - Ubuntu 12.04 precise64 - VirtualBox 5.0.10 with Guest Additions

柔情痞子 提交于 2020-01-07 03:08:30
问题 I'm following the old tutorials off of gettingstartedwithdjango.com . This series is quite old and I'm new to Django which is why I hit that site in the first place. It became my first introduction to Vagrant. Because the series is old and there are now new versions of Django, Vagrant, etc, I've found just getting through the first tutorial was quite difficult. This was mainly just the gap between Django v1.4 and the current version 1.9 which is what I'm running, including some syntax