ubuntu-14.04

Unable to clean project in Android Studio

拈花ヽ惹草 提交于 2019-11-30 16:47:50
OS version: Ubuntu 14.04 LTE 64 Bit Java JRE/JDK version: Oracle JDK 1.8.0_11 Project directory is on a NTFS based drive. Whenever I try to clean my project I get something like below. :app:clean FAILED Error:Execution failed for task ':app:clean'. Unable to delete file: /media/DriveA/AndroidStudioWorkspace/DNA/app/build/intermediates/classes/debug/.../mechandising/MerchandizingActivity$3.class When I try to delete the build folder manually I get the following error. Error when getting information for file '/media/DriveA/AndroidStudioWorkspace/DNA/app/build/intermediates/pre-dexed': Input

Android Studio 64-bit ERROR: 32-bit Linux Android emulator binaries are DEPRECATED

前提是你 提交于 2019-11-30 15:50:37
I recently upgraded my ubuntu 13.10 64-bit to 14.04 64-bit. Android Studio always worked well on 13.10. On 14.04 I had a problem with gradle ( this one ), which was a problem with missing libz.so.1. Following this link , I had to install the 32-bit version of this package, and it fixed my problem. Now (I thought it was related), when trying to launch a device emulator, I have this message : ERROR: 32-bit Linux Android emulator binaries are DEPRECATED, to use them you will have to do at least one of the following: - Use the '-force-32bit' option when invoking 'emulator'. - Set ANDROID_EMULATOR

Docker: change folder where to store docker volumes

蓝咒 提交于 2019-11-30 15:44:28
On my Ubuntu EC2 I host an application using docker containers. db data and upload data is being stored in volumes CaseBook-data-db and CaseBook-data-uploads which are being created with this commands: docker volume create --name=CaseBook-data-db docker volume create --name=CaseBook-data-uploads Volumes being attached through docker-compose file: version: '2' services: mongo: container_name: "CaseBook-db" restart: always image: mongo:3.2.7 ports: - "27017" volumes: - data_db:/data/db labels: - "ENVIRONMENT_TYPE=meteor" app: container_name: "CaseBook-app" restart: always image: "meteor/casebook

eclipse crashed on ubuntu 14.04

倖福魔咒の 提交于 2019-11-30 14:55:42
问题 i used google android ide adt-eclipse on ubuntu 13.10.it was fine. when i upgrade the ubuntu 14.04.the eclipse is crashed when it was clued to method or etc.the log is follow: who can help me ? thanks! # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f3d9fbaa685, pid=29310, tid=139905366640384 # # JRE version: 7.0_15-b03 # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops) # Problematic frame: # C

Implementing a custom hypercall in kvm

扶醉桌前 提交于 2019-11-30 10:39:46
I am very new to Virtualization and of late I have been trying to familiarize myself with the way VMMs operate and how hypercalls are made. Talking about which I plan to implement a new hypercall in KVM which is installed on my Ubuntu desktop, and in turn can be callable from the guest environment.With this hypercall I plan to just return a string saying "Hello World". At this point,I am clueless about how to make it happen.It would be really helpful if you could please guide me as to how do I go about implementing such a hypercall.Thank you! You can use vmcall instruction in the user program

sudo service mongodb restart gives “unrecognized service error” in ubuntu 14.0.4

独自空忆成欢 提交于 2019-11-30 10:35:21
问题 I just installed mongoDB on ubuntu 14.0.4. I tried to start the shell but I'm getting a connection refused error. me@medev:/etc/init.d$ mongo MongoDB shell version: 2.6.5 connecting to: test 2014-11-10T15:06:28.084-0500 warning: Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused 2014-11-10T15:06:28.085-0500 Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed at src/mongo/shell/mongo.js:146 exception: connect failed So I decided to

Ambiguous call with overloaded r-value reference function

蓝咒 提交于 2019-11-30 09:56:59
问题 I have a class with the following declarations: class IcoSphere { [...] private: int _addVertex(const glm::vec3 &p); int addVertex(glm::vec3 p); int addVertex(const glm::vec3 &&p); [...] }; Then, I'm calling 'addVertex' like so: IcoSphere sphere; double t = (1.0 +sqrt(5.0)) /2.0; sphere.addVertex(glm::vec3(-1,t,0)); The argument for 'addVertex' is obviously not a reference, and yet the g++-compiler throws the following error: ./network/icosphere.cpp: In static member function ‘static void

ld: unrecognized option '--push-state--no-as-needed'

僤鯓⒐⒋嵵緔 提交于 2019-11-30 09:15:38
My build fails with the following linker error message: FAILED: : && /usr/bin/g++ -Wall -Wextra -Werror -g -fsanitize=undefined,address -Wno-unused-parameter -fsanitize=undefined,address -rdynamic *.o -o SCE -Wl,-rpath,/opt/qt59/lib /opt/qt59/lib/libQt5Widgets.so.5.9.1 /usr/local/lib/libprotobuf.a -lpthread -lutil -lgrpc++ /opt/qt59/lib/libQt5Gui.so.5.9.1 /opt/qt59/lib/libQt5Core.so.5.9.1 && : /usr/bin/x86_64-linux-gnu-ld: unrecognized option '--push-state--no-as-needed' You can see the full build log here . The error is in line 2211 and versions are printed in lines 2104ff. Which tool causes

Phusion passenger-status: what value for passenger_instance_registry_dir?

拜拜、爱过 提交于 2019-11-30 08:34:45
I've done a new install of nginx 1.6.3 and passenger 5.0.15 on Ubuntu 14.04 from source in order to add tracing components from AppNeta for my ROR 4.2 app on one of my servers. Nginx and passenger are running and serving pages. I am getting the trace data for server monitoring. All seems well, However, when I run "passenger-status" (as root), I get the following: ERROR: Phusion Passenger doesn't seem to be running. If you are sure that it is running, then the causes of this problem could be: You customized the instance registry directory using Apache's PassengerInstanceRegistryDir option,

How to install/enable intl and xsl extensions after installing PHP 7

99封情书 提交于 2019-11-30 08:05:53
I installed php7/apache2.4/mysql5.6 via this script , but it turns out that the extensions xsl and intl are missing (need them to run Magento2). I'm using Ubuntu 14.04. If it is for dev purposes only, the easiest way would be use a PPA like ppa:ondrej/php-7.0 and then apt-get install php7.0-intl and apt-get install php7.0-xsl . PPAs should NEVER be used in production. You can run sudo apt-get install php7.0-intl to get it installed. You dont need PPA adding on 16.10 . 1st you need to add ppa repository to server this can be done by : sudo add-apt-repository ppa:ondrej/php when PPA repo