ubuntu-14.04

How to build a project using Crypto++ library in kdevelop

本秂侑毒 提交于 2019-12-21 21:07:15
问题 I wrote a small program that uses the crypto++ library using kdevelop in Ubuntu . I get the output correctly when I compile it from the terminal using -lcryptopp . I would like to build and execute the program using the cmake from kdevelop itself. How can I include the CRYPTOPP_DIR in the cmake configuration for doing this. Any help will be appreciated. Thankyou. 回答1: Adding the following piece of code to cmake file helped me: FIND_LIBRARY(CRYPTOPP crypto++ /usr/lib) ## location of

TypeError: urlopen() got multiple values for keyword argument 'body' while trying Selenium on Xubuntu 14.04.5

别来无恙 提交于 2019-12-21 20:54:18
问题 Environment # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty GCC gcc --version gcc (Ubuntu 4.8.5-4ubuntu8~14.04.2) 4.8.5 Python python --version Python 2.7.6 Pip pip --version pip 18.1 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7) urllib3 pip list | grep url urllib3 1.7.1 Chromedriver chromedriver --version ChromeDriver 2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4) Chromium chromium

MonoDevelop and libpjsipDll.so library on Ubuntu. System.DllNotFoundException

此生再无相见时 提交于 2019-12-21 19:48:29
问题 i am trying to use a dll for Linux called: libpjsipDll_v44.so I got it from here http://code.google.com/p/sipeksdk/downloads/list It's a port for Linux of the http://www.pjsip.org/ is a VOIP library This site claims that is posible to use the library in Linux https://sites.google.com/site/sipekvoip/Home/documentation/pjsipwrapper/pjsipwrapper-for-linux The code in MonoDevelop 4.0.12 with C# the code is like this: internal const string PJSIP_DLL = "libpjsipDll.so"; [DllImportAttribute(PJSIP

How to install graph-tool for Anaconda Python 3.5 on linux-64?

南笙酒味 提交于 2019-12-21 12:37:33
问题 I'm trying to install graph-tool for Anaconda Python 3.5 on Ubuntu 14.04 (x64), but it turns out that's a real trick. I tried this approach, but run into the problem: The following specifications were found to be in conflict: - graph-tool Use "conda info <package>" to see the dependencies for each package. Digging through the dependencies led to a dead-end at gobject-introspection So I tried another approach: Installed boost with conda, then tried to ./configure, make, and make install graph

How do I install Node and NPM so I don't have to use sudo?

这一生的挚爱 提交于 2019-12-21 12:07:49
问题 I am trying to set up Node.js and NPM on a Ubuntu 14.04 machine but am having some trouble. On my first try I kept getting EACCES errors when trying to install packages(sometimes even with sudo ), so I completely uninstalled node and npm. Now I'm trying to figure out how to install them in a way that won't require me to run everything sudo and won't give me EACCES errors. I'd rather not use NVM, and other than that I've just found a bunch of scattered partial answers, some of which contradict

ZeroMQ with PHP 7 in Ubuntu does not compile (“error: too many arguments to function”)

 ̄綄美尐妖づ 提交于 2019-12-21 06:29:13
问题 I have upgraded php5.6 to php7, but zeromq extension makes a lot of problems. Where can I download the correct zmq.so file for php7? None of the official sites offer a version for php7 that works (I'm using apache2.4). I've followed along the following tutorial: How to install ZeroMQ. The step "Installing ZeroMQ" is working fine, but the second step "Installing the PHP binding" is failing when I execute the command "make" with the following error: "/home/puser/zeromq-4.1.4/php-zmq/zmq.c:2740

ZeroMQ with PHP 7 in Ubuntu does not compile (“error: too many arguments to function”)

寵の児 提交于 2019-12-21 06:29:04
问题 I have upgraded php5.6 to php7, but zeromq extension makes a lot of problems. Where can I download the correct zmq.so file for php7? None of the official sites offer a version for php7 that works (I'm using apache2.4). I've followed along the following tutorial: How to install ZeroMQ. The step "Installing ZeroMQ" is working fine, but the second step "Installing the PHP binding" is failing when I execute the command "make" with the following error: "/home/puser/zeromq-4.1.4/php-zmq/zmq.c:2740

Building Pylucene on ubuntu 14.04(trusty tahr)

青春壹個敷衍的年華 提交于 2019-12-21 05:36:28
问题 As per the installation instructions, JCC is successfully built. Dependencies Installed were: ant, openjdk-7-jdk, python-setuptools, python-dev. Then procedding to make pylucene, in "Makefile" i choose specs corresponding to Ubuntu 11. # Linux (Ubuntu 11.10 64-bit, Python 2.7.2, OpenJDK 1.7, setuptools 0.6.16) # Be sure to also set JDK['linux2'] in jcc's setup.py to the JAVA_HOME value # used below for ANT (and rebuild jcc after changing it). PREFIX_PYTHON=/usr ANT=JAVA_HOME=/usr/lib/jvm/java

nginx critical error with SSL handshaking

孤人 提交于 2019-12-21 02:35:29
问题 I have problem with my nginx on Ubuntu 14.04 LTS. From time to time I get a critical error: 2015/01/18 12:59:44 [crit] 1065#0: *28289 SSL_do_handshake() failed (SSL: error:140A1175:SSL routines:SSL_BYTES_TO_CIPHER_LIST:inappropriate fallback) while SSL handshaking, client: 10.0.2.2, server: 0.0.0.0:443 I've checked version of my OpenSSL: root@www:~# ldd `which nginx` | grep ssl libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f39e236b000) root@www:~# strings /lib/x86_64-linux

Unreadable Notebook: Unsupported JSON nbformat version 4 (supported version: 3)

依然范特西╮ 提交于 2019-12-20 17:26:25
问题 I've just installed IPython 3.0 using pip on my laptop, which is running Ubuntu 14.04: $ pip search ipython ipython-cluster-helper - Simplify IPython cluster start up and use for multiple schedulers. ipython - IPython: Productive Interactive Computing INSTALLED: 3.0.0 (latest) However, when I go to use IPython , the terminal seems to think it's using version 1.2.1: $ ipython Python 2.7.6 (default, Mar 22 2014, 22:59:38) Type "copyright", "credits" or "license" for more information. IPython 1