archlinux

Archlinux mysqld won't launch

走远了吗. 提交于 2019-12-11 03:09:33
问题 Cat' launch mysqld on my archlinux x64. Job for mysqld.service failed. See "systemctl status mysqld.service" and "journalctl -xe" for details. after systemctl start mysqld in log mysqld.service - MariaDB database server Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled) Active: activating (auto-restart) (Result: timeout) since Mon 2015-04-06 22:07:24 UTC; 9ms ago Process: 18077 ExecStart=/usr/bin/mysqld --pid-file=/run/mysqld/mysqld.pid (code=exited,

Could not find or load the Qt platform plugin “xcb” on Archlinux (Write! AppImage)

隐身守侯 提交于 2019-12-11 01:31:11
问题 Trying to install the Write! AppImage on Arch Linux with qt5 installed, freetype2 2.9.1 and fontconfig 2:2.13.1+12+g5f5ec56-1 [levi@astize Write!]$ ./write This application failed to start because it could not find or load the Qt platform plugin "xcb" in "". Available platform plugins are: xcb. Reinstalling the application may fix this problem. Aborted (core dumped) While running with QT_DEBUG_PLUGINS=1 [levi@astize Write!]$ ./write QFactoryLoader::QFactoryLoader() checking directory path "

How to get the MVC 3 or 4 template in MonoDevelop?

五迷三道 提交于 2019-12-10 19:08:39
问题 Just started to play around with Mono and MonoDevelop on Archlinux and I can with no problem create a new ASP.NET MVC 2 project and run it. But I can't figure out how could I create an MVC 3 or 4 project. I read on a forum that there is MVC 3 project template in MonoDevelop, but it has some dependencies in order to show it in the New Solution.. dialog. So my question is: How can I get the MVC 3 or 4 solution template on when I run MonoDevelop on Linux? 回答1: To get the the MVC 3 template to

gem install: ERROR: Failed to build gem native extension

我与影子孤独终老i 提交于 2019-12-10 17:22:26
问题 I am using Arch Linux and installed Ruby (this is version 2.0.0). When I installed Ruby it said I should add: $(ruby -rubygems -e "puts Gem.user_dir")/bin to my path, I added it to .bashrc When I try to gem install rails or any other gem it gives the Error: Failed to build gem native extension. this is the full error: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/lib/ruby/gems/2.0.0 directory. [alexander@localhost ~]$ sudo gem install

Unable to find syscall_table_32.S file in linux

人盡茶涼 提交于 2019-12-10 17:11:07
问题 I am using the linux-headers-2.6.32-21 package on Virtual Machine. I am going to write a new system call. I have found the other files to write initials of system calls but I am unable to find this syscall_table_32.S in arch/x86/kernel/ directory. Please help me how and where I can find this file. I am doubted that it might be hidden due to permission issues or others. 回答1: The following commit removes it: commit 303395ac3bf3e2cb488435537d416bc840438fcb Author: H. Peter Anvin <hpa@linux.intel

prlimit64() linux function

允我心安 提交于 2019-12-10 15:29:09
问题 Does anyone know what the prlimit64() C function does? I don't seem to have it on my x86_64 Ubuntu machine but it exists in Arch, and I can't seem to find anyone or thing who knows what it does. 回答1: This is a tricky one; but it's the 64-bit version (whatever that means) of prlimit() ; a Linux-specific function in the getrlimit(2) family. It does not appear to be useful for 64-bit applications, as it relates to emulation of a 64-bit environment when one isn't available. 回答2: prlimit allows

error: no matching function for call to ‘sipqt_gui_cpp_RosPluginlibPluginProvider_ForPlugins::connectNotify(const char*&)’

孤街醉人 提交于 2019-12-10 11:56:36
问题 I'm using ROS Indigo with Arch Linux ARM and i'm trying to install the package ros-indigo-qt-gui-cpp from AUR. But then pops up the following error: [ 85%] Compiling generated code for qt_gui_cpp_sip Python bindings... /home/hiago/packages/qt_gui_core-release-release-indigo-qt_gui_cpp-0.2.30-0/src/build/sip/qt_gui_cpp_sip/siplibqt_gui_cpp_sipqt_gui_cppRosPluginlibPluginProvider_ForPlugins.cpp: In member function ‘void sipqt_gui_cpp_RosPluginlibPluginProvider_ForPlugins::disconnectNotify(const

Gcc versions later than 7 are not supported by CUDA 10 - Qt Error in Arch Linux

烈酒焚心 提交于 2019-12-10 11:29:21
问题 I am running Arch Linux and trying to build a project in Qt however, Qt spits the following error: /opt/cuda/include/crt/host_config.h:129: error: #error -- unsupported GNU version! gcc versions later than 7 are not supported! I have already tried a suggestion from a previous Stack Overflow post found here: CUDA incompatible with my gcc version I did not use the exact command as my cuda is located in /opt/cuda/bin/gcc. I did the same command for g++. However, the terminal outputs that these

Why does spark-shell fail with “SymbolTable.exitingPhase…java.lang.NullPointerException”?

不羁的心 提交于 2019-12-10 11:19:14
问题 Just installed Apache Spark 2.2.0-4 in my arch linux, as well as Scala 2.12.4 and Apache Hadoop 3.0, and I'm facing the following exception once I execute spark-shell . Exception in thread "main" java.lang.NullPointerException at scala.reflect.internal.SymbolTable.exitingPhase(SymbolTable.scala:256) at scala.tools.nsc.interpreter.IMain$Request.x$20$lzycompute(IMain.scala:896) at scala.tools.nsc.interpreter.IMain$Request.x$20(IMain.scala:895) at scala.tools.nsc.interpreter.IMain$Request

Sample SDL program gives an empty window

给你一囗甜甜゛ 提交于 2019-12-09 19:12:16
问题 config: archlinux with awesome desktop environment I just installed sdl2, and tried to run this sample code: https://github.com/xyproto/hello_sdl2/blob/master/c%2B%2B/main.cpp The result is an empty window (I can see my console through it) in the middle of the screen. Even when I hit mod4+Enter, it doesn't tile up nicely with the others. Why is that? (I updated my system, reinstalled sdl2. I also couldn't find any relevant hit browsing google.) 回答1: All windowing systems require you to handle