ubuntu-10.10

Error while building OpenCV examples on ubuntu

ⅰ亾dé卋堺 提交于 2020-07-09 11:44:10
问题 I've used this tutorial to build OpenCV on ubuntu. Everything goes well until I try to build the examples. when I do this: sh build_all.sh many of the same error occurs: compiling tree_engine.cpp /usr/bin/ld: warning: libavutil.so.49, needed by /usr/local/lib/libopencv_highgui.so, not found (try using -rpath or -rpath-link) for each example the same error occurs. The code compiles but trying to run the compiled code will fail with error: ./tree_engine: error while loading shared libraries:

Installing git-flow on Ubuntu 10.10 fails silently

走远了吗. 提交于 2020-01-14 10:22:49
问题 I'm trying to install gitflow using the directions on the github readme a la : wget -q -O - https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | sudo sh And it's failing silently...just back to the prompt. Any ideas? 回答1: Hey, it is a problem with github certificate and wget ERROR: certificate common name `*.github.com' doesn't match requested host name `github.com'. To connect to github.com insecurely, use `--no-check-certificate'. just override wget checks wget --no

gvim: Easy copying into system clipboard

白昼怎懂夜的黑 提交于 2019-12-31 11:42:28
问题 I am using gVim on Ubuntu 10.10. I want to copy (yank) text to the system clipboard, so that the copied text is available in other applications. This works with "+y . But I want to have it working with y . I have tried to map y to "+y but then yy doesn't work anymore (since it produces "+y"+y ). I have also tried :set clipboard=unnamed but this works only the other direction: Text in the system clipboard I can paste with p . 回答1: Did you try to map with this command: noremap y "+y ? This

PHP PDO with SqlServer Stored Procedure doesn't return all the data

淺唱寂寞╮ 提交于 2019-12-24 16:43:14
问题 I've been given an stored procedure that is called like this: SP_REPORT_HOME 'param1','param2',1 It executes a bunch of code i'm not aware of, although it return a bunch of data I need to use. It contains some fields with null values, while others are fully filled (note that the entire row is not null, only some fields) Well I'm using PDO and PHP on an Ubuntu 10.10 machine to get that information, my getReport method is: public function getReport($empresa1, $empresa2, $num) { $ds = $this-

PHP PDO with SqlServer Stored Procedure doesn't return all the data

大憨熊 提交于 2019-12-24 16:43:01
问题 I've been given an stored procedure that is called like this: SP_REPORT_HOME 'param1','param2',1 It executes a bunch of code i'm not aware of, although it return a bunch of data I need to use. It contains some fields with null values, while others are fully filled (note that the entire row is not null, only some fields) Well I'm using PDO and PHP on an Ubuntu 10.10 machine to get that information, my getReport method is: public function getReport($empresa1, $empresa2, $num) { $ds = $this-

Export runnable program from python eclipse project on ubuntu

半世苍凉 提交于 2019-12-24 08:28:28
问题 It is my first time to use python, so i doing a simple program with a simple UI. I am using eclipse with PyDev as an IDE. I know in JAVA a to export a runnable program we use .jar files, but what works for python and how to do it in eclipse on ubuntu ? So if any explanation with some details or a useful link, i will be grateful. Thanks, Samer 回答1: Easiest way on windows is py2exe. If you're using Mac, check out py2app. If you're in a Linux/Unix environment, I'm a bit less familiar with how to

How can I force Eclipse to use Sun Java?

与世无争的帅哥 提交于 2019-12-22 09:01:24
问题 Before installing Eclipse, I had OpenJDK as the default JVM. Recently I changed it to Sun Java. I did this because Eclipse Helios was running really slow. Unfortunately, it is still slow... Do you have any ideas how to force it to use Sun Java? I could reinstall Eclipse, however I have already installed the Android SDK, so I would have to install that again. After all, I don't think that's the correct way of solving the problem. I'm using Ubuntu 10.10. $ java -version java version "1.6.0_22"

How do I install SQlite3 for Ruby on Rails while using RVM

只谈情不闲聊 提交于 2019-12-22 04:10:44
问题 I am new to programming and Ruby on Rails. Setting up my dev environment has been hell. My present issue is installing Sqlite 3. When I do $ bundle install I get Fetching source index for http://rubygems.org/ Using rake (0.8.7) Using abstract (1.0.0) Using activesupport (3.0.1) Using builder (2.1.2) Using i18n (0.4.2) Using activemodel (3.0.1) Using erubis (2.6.6) Using rack (1.2.1) Using rack-mount (0.6.13) Using rack-test (0.5.7) Using tzinfo (0.3.24) Using actionpack (3.0.1) Using mime

How do I install SQlite3 for Ruby on Rails while using RVM

a 夏天 提交于 2019-12-22 04:10:02
问题 I am new to programming and Ruby on Rails. Setting up my dev environment has been hell. My present issue is installing Sqlite 3. When I do $ bundle install I get Fetching source index for http://rubygems.org/ Using rake (0.8.7) Using abstract (1.0.0) Using activesupport (3.0.1) Using builder (2.1.2) Using i18n (0.4.2) Using activemodel (3.0.1) Using erubis (2.6.6) Using rack (1.2.1) Using rack-mount (0.6.13) Using rack-test (0.5.7) Using tzinfo (0.3.24) Using actionpack (3.0.1) Using mime

PHP errors NOT being displayed in the browser [Ubuntu 10.10]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-17 06:29:47
问题 I'm new to PHP and the whole LAMP stack but I've managed to get it up and running on my Ubuntu 10.10 system. Everything seems to be working with the exception of error reposting in the browser which I just can't seem to get working (and which I can't work without!). I've read a number of article and other threads which indicate that the following values should be applied in the file /etc/php5/apache2/php.ini : display_errors = On display_startup_errors = On I've restarted apache2 and even