ubuntu-13.10

Error building : fatal error: pcre.h: No such file or directory

99封情书 提交于 2019-12-17 08:54:21
问题 I'm just finished installing Ubuntu 13.10. I want try Phalcon, and when I build the source (phalcon.so), I have this error : from /home/fabrice/Downloads/cphalcon/build/32bits/phalcon.c:204: /usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory #include "pcre.h" ^ compilation terminated. make: *** [phalcon.lo] Erreur 1 My installation of lamp is : sudo apt-get install -y apache2 php5 mysql-server libapache2-mod-php5 php5-mysql php5-curl php5-imagick php5

How to setup PHPUnit for Intellij IDEA 13.1 on Ubuntu 13.10?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 04:35:46
问题 I'm developing a PHP5 program using IDEA 13.1. Of course I want to cover my code using some Unit tests. I installed phpunit via aptitude and upgraded it to 4.0.11 using pear. Somehow IDEA seems unable to detect the installed PHPUnit... The class PHPUnit_Framework_TestCase is marked as undefined. The documentation on https://www.jetbrains.com/idea/webhelp/enabling-phpunit-support.html wants me to include either the pear directory (which does not exist) or the phpunit.phar (which does not exist

Eclipse Menu distorted in Ubuntu-13.10

℡╲_俬逩灬. 提交于 2019-12-13 02:09:29
问题 I have recently installed Ubuntu 13.10 on my Lenovo intel core2 duo 32 bit laptop with 15'' screen. Some days back I downloaded eclipse-standard-kepler-SR1-linux-gtk.tar.gz from the eclipse web site. But after starting eclipse I see the menu distorted. You can refer the video here : http://youtu.be/fcBHLAlFj4Y 回答1: You can try the following command: UBUNTU_MENUPROXY= eclipse (Where eclipse is the path to your eclipse) For more details check out this link 回答2: This is a bug in Eclipse 4.3.1.

Fresh MYSQL install, Access denied for user 'root'

限于喜欢 提交于 2019-12-12 12:33:30
问题 I had an old lamp server that I wanted to move to a new machine, so I did a mysqldump, installed Ubuntu Server 13.10 on a new machine, installed lamp during installation, then imported my old mysql databases from the old lamp server. Everything seemed to work perfect right after the mysql import, to my surprise. Then I tried setting up a cron job to mysqldump all databases every hour to a backup server. Just to make sure it worked, I tried manually running mysqldump on the new server just to

Apache 2.4 not using the new DocumentRoot, not serving the static content

…衆ロ難τιáo~ 提交于 2019-12-11 13:47:36
问题 This is in connection with this question: Apache doesn't use DocumentRoot after upgrading to Ubuntu 13.10 (Uses default page that says "It works!") I ma working with 2.4.6 version. After changing the DocumentRoot, when I run apache2 -S, I get the values of Default virtual host, i.e. the DocumentRoot is "/var/www/. VirtualHost configuration: *:80 is a NameVirtualHost default server 127.0.1.1 (/etc/apache2/sites-enabled/000-default.conf:1) port 80 namevhost 127.0.1.1 (/etc/apache2/sites-enabled

Can I convince PyCharm to watch project files on an EncFS mount?

ぐ巨炮叔叔 提交于 2019-12-10 12:53:36
问题 I recently started using EncFS to secure my employer's code (in the event that my laptop is stolen). However, when I start PyCharm I now get the following warning (every time): External file changes sync may be slow Project files cannot be watched (are they under network mount?) The files are on a local mount. I imagine there is some overhead introduced by EncFS, but I would hope it is negligible. How can I convince PyCharm to stop worrying about it and treat them as local files? (As a last

Precision qualifier throws an error for OpenGL 3.0 under Mesa 9.2.1

久未见 提交于 2019-12-08 01:20:43
问题 A strange issue with OpenGL 3.0 under Mesa 9.2.1 on Ubuntu 13.10 (64-bit) is observed. Variable definition with explicit precision (like this: highp vec2 v; ) produces an error: syntax error, unexpected VEC2, expecting ',' or ';' It seems like precision qualifier is disabled there for some reasons. Mesa Release Notes doesn't clear the situation -- not bugs, nor notifications are relative to the topic. P.S. with OpenGL ES 3.0 precision qualifier works correctly. 回答1: Make sure you specify

Adding a new SSL certificate to solve Verify return code: 20 (unable to get local issuer certificate)?

北城余情 提交于 2019-12-07 16:51:46
问题 UPDATE: If I let the API call hang and keyboard interrupt it, here is what it shows it was stuck on: File "/usr/lib/python2.7/ssl.py", line 405, in do_handshake self._sslobj.do_handshake() Are you guys sure it is not an SSL related issue? I have been getting an error that seems to be somewhat common, that of "Verify return code: 20 (unable to get local issuer certificate)". With the help of this thread I found a certificate that eliminates the error when I pass the path to a file as an arg,

Hadoop Nodemanager and Resourcemanager not starting

时光毁灭记忆、已成空白 提交于 2019-12-07 08:05:48
问题 I am trying to setup the latest Hadoop 2.2 single node cluster on Ubuntu 13.10 64 bit. the OS is a fresh installation, and I have tried using both java-6 64 bit and java-7 64 bit. After following the steps from this and after failing, from this link, I am not able to start nodemanager and resourcemanager with the command: sbin/yarn-daemon.sh start nodemanager sudo sbin/yarn-daemon.sh start nodemanager and resource manager with sbin/yarn-daemon.sh start resourcemanager sudo sbin/yarn-daemon.sh

Precision qualifier throws an error for OpenGL 3.0 under Mesa 9.2.1

南楼画角 提交于 2019-12-06 11:06:55
A strange issue with OpenGL 3.0 under Mesa 9.2.1 on Ubuntu 13.10 (64-bit) is observed. Variable definition with explicit precision (like this: highp vec2 v; ) produces an error: syntax error, unexpected VEC2, expecting ',' or ';' It seems like precision qualifier is disabled there for some reasons. Mesa Release Notes doesn't clear the situation -- not bugs, nor notifications are relative to the topic. P.S. with OpenGL ES 3.0 precision qualifier works correctly. Make sure you specify #version 130 . Without a #version directive OpenGL will default to #version 110 where precision qualifiers are