opensuse

Can QT Creator on linux create .exe files

有些话、适合烂在心里 提交于 2019-12-13 10:33:04
问题 I ve installed QT Creator in OpenSUSE Linux distro, Can i know if it is possible to create ".exe" of QT program which is perfectly executing in Linux. If so kindly mention the procedure to create .exe in Linux. Thank U 回答1: I understand that you have a Qt application, and you are able to compile it on OpenSuse using QtCreator, and you want to create a windows binary of the same application on OpenSuse. The most hassle free method of doing this is to install the Qt SDK (and QtCreator, if need

mod_tile make has error while building from source

戏子无情 提交于 2019-12-13 04:57:56
问题 I want to install mod_tile on opensuse. I am following the link to install it; after #./configure I run make: #make it shows the below error: make[1]: *** [src/gen_tile.o] Error 1 make[1]: Leaving directory `/opt/mod_tiles_src/mod_tile' 回答1: its duplicate of the Other issue i used the code from https://github.com/springmeyer/mod_tile which is working fine.. 来源: https://stackoverflow.com/questions/26773086/mod-tile-make-has-error-while-building-from-source

Python 3.7 install not working on openSUSE Leap 42.3

前提是你 提交于 2019-12-13 00:22:52
问题 When building and installing Python 3.7.0 from source on openSUSE Leap 42.3 there are serious python errors with the default ./configure which installs to /usr/local . (openSUSE Leap 42.3 Python3 package is only up to Python 3.4.6, and virtualenv does not yet have the release version 3.7.) $ python3 Python 3.7.0 (default, Jul 5 2018, 15:55:09) [GCC 4.8.5] on linux Type "help", "copyright", "credits" or "license" for more information. Traceback (most recent call last): File "/etc/pythonstart",

Gensim: “C extension not loaded, training will be slow.”

情到浓时终转凉″ 提交于 2019-12-12 14:45:22
问题 I am running gensim on Linux Suse. I can start my python program but on startup I get: C extension not loaded, training will be slow. Install a C compiler and reinstall gensim for fast training. GCC is installed. Does anyone know what I have to do? 回答1: Try the following: Python 3.x $ pip3 uninstall gensim $ apt-get install python3-dev build-essential $ pip3 install --upgrade gensim Python 2.x $ pip uninstall gensim $ apt-get install python-dev build-essential $ pip install --upgrade gensim

Error when trying to install pip on openSUSE

心不动则不痛 提交于 2019-12-12 11:07:01
问题 I'm trying to deploy pip on my production server, but have an illogical error, where it tries to install without success a composent which is already installed. ~> sudo zypper in python-pip Loading repository data... Reading installed packages... Resolving package dependencies... Problem: python-pip-1.0.2-3.1.2.noarch requires python = 2.7, but this requirement cannot be provided uninstallable providers: python-2.7.2-7.10.1.i586[Updates-for-openSUSE-12.1-12.1-1.4] python-2.7.2-7.17.1.i586

not able to build mod_tile on openSUSE

て烟熏妆下的殇ゞ 提交于 2019-12-12 04:53:34
问题 i tried to build the mod_tile as in the link then i was getting the same error and tried came got the fix from this forum i exported these export CXXFLAGS="$(mapnik-config --cflags)" export LDFLAGS="$(mapnik-config --ldflags)" adding #include at the top of src/gen_tile.cpp and changed the Makefile with --std=gnu++11 and i'm new to the linux and the cpp Making all in iniparser3.0b make[1]: Entering directory `/root/src/mod_tile/iniparser3.0b' make[1]: Nothing to be done for `all'. make[1]:

matplotlib in openSUSE

不打扰是莪最后的温柔 提交于 2019-12-12 04:02:23
问题 I'm trying to use a python script under openSUSE. I did this script under ubuntu and it work well I have installed matplotlib and when I run the script it seems to work (I can do print "It go until here" at any place of the script it work. But it never open the matplotlib windows.... EDIT The shortest program that do not work is : import matplotlib.pyplot as plt a=range(10) plt.plot(a) plt.show() I think the problem come from using matplotlib under openSUSE OS... but I do not understand

How do I fix “no symbol version for module_layout”?

你说的曾经没有我的故事 提交于 2019-12-11 15:27:39
问题 I'm trying to compile the nvidia driver and the VirtualBox drives on openSUSE 11.2. Both compile fine (after the usual make oldconfig plus a partial build of the kernel) but when I try to load the modules, I get this error: vboxdrv: no symbol version for module_layout What's wrong? How do I fix this? 回答1: Not cogent to openSUSE, but under Ubuntu 10, I found that the solution was: apt-get install dkms apt-get install linux-headers-2.6.32-24-generic unset KERN_DIR /etc/init.d/vboxadd setup #

gputools: error in installation

霸气de小男生 提交于 2019-12-11 07:30:26
问题 I am setting up a new Dell Precision workstation with an NVidia Tesla 2050 GPU card. I would like to install R's package gputools. My OS is openSuse 11.3 with KDE 4.4. I downloaded NVidia's CUDA Toolkit 3.2 and installed it in /usr/local/cuda, I also downloaded the latest version of the CULA Tools set (version R10) and installed it in /usr/local/cula. When trying to install gputools from within R using: install.packages("gputools") I get the following error message: classification.cu(735):

C - Lstat on /proc/pid/exe

三世轮回 提交于 2019-12-11 05:28:07
问题 I'm trying to get the size in bytes of a /proc/pid/exe file with lstat. Here's my code: int main(int argc, char *argv[]) { struct stat sb; char *linkname; ssize_t r; if (argc != 2) { fprintf(stderr, "Usage: %s <pathname>\n", argv[0]); exit(EXIT_FAILURE); } if (lstat(argv[1], &sb) == -1) { perror("lstat"); exit(EXIT_FAILURE); } printf("sb.st_size %d\n", sb.st_size); exit(EXIT_SUCCESS); } It seems like sb.st_size is ALWAYS equal to 0, and I don't understand why. Plus, this sample is extracted