问题标签 [opensuse]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
28718 浏览

c++ - 如何摆脱-“警告:从NULL转换为非指针类型'char'”?

我有这段代码:

行 - buffer[bytes] = NULL 给了我一个警告:从 NULL 转换为非指针类型 'char'。我如何摆脱这个警告?

0 投票
3 回答
6352 浏览

c++ - 是什么导致了这个 QT 4.7.3 错误?

我有一个程序在 OpenSuse 11.2 和 QT 4.5 版中编译得很好。但是,当我使用 OpenSuse 11.4 和 QT 4.7.3 编译相同的程序时,我收到以下错误消息:

谁能告诉我发生了什么事?

0 投票
2 回答
2631 浏览

php - 在 OpenSuse 11.4 64 位上安装 PDO_OCI

我尝试了很多关于如何在我的 openSuse 11.4 64 位机器上安装 PDO_OCI 的教程,但我无法让它工作。

我要做的是:

我得到这个输出:

尽管我运行了警告:

一切顺利。然后我运行 make 它停止:

任何帮助表示赞赏。

0 投票
2 回答
614 浏览

linux - Perl:Device::USB 没有通过测试

我怎样才能找出失败的原因?

进行测试:

PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00 -load.t ...................... 1/1 # 测试设备::USB 0.35, Perl 5.014000, /usr/local/bin/perl t /00-load.t ........ 好的
t/01-create-usb.t ...... ...... 2/2 分测试失败
......

测试总结报告

t/01-create-usb.t(Wstat:11 测试:0 失败:0)
非零等待状态:11
解析错误:错误计划。您计划进行 2 次测试,但运行了 0 次
。 ...
...

结果:失败 16/22 测试程序失败。0/38 子测试失败。制作:* [test_dynamic] 费勒 255

当我运行这个脚本时,我收到一条Segmentation fault消息(Speicherzugriffsfehler):

0 投票
1 回答
1671 浏览

mysql - 在 Opensuse 10.2 中无法连接到 mysql

我的 mysql 有问题我已经在 YAST 中安装了 mysql,但是在控制台中我输入了这个:

它告诉我:

0 投票
10 回答
35684 浏览

linux - 如何在 Linux 上更改显示器亮度?

如何以编程方式更改 Linux 上的显示器亮度?

我正在使用 SLES 11。

0 投票
2 回答
248 浏览

php - file_put_contents Opensuse 权限问题

我有这个简单的代码:

test.txt 文件的位置在这里:

我在浏览器中编写此 php 代码的页面:

代码不起作用它不会在上面写字符串

结果:在属性中设置权限是不够的

0 投票
1 回答
2735 浏览

php - 如何从命令行下载站点中的文件,用php编写文件

当我使用 wget 进行下载时,它成功但无法使用,exec_shell() 或者system 我尝试使用 curl 这里是下载站点的代码,Joe 在另一个问题中告诉我从这个站点

它正在下载页面但我想将其更改为从命令行下载如果您有更好的建议请告诉我

例如我用这个:

当我回应它时它不起作用

但是当我在命令行中输入它时,它会在 /root 上下载它:

0 投票
1 回答
1653 浏览

ruby - Uninstall Ruby on OpenSUSE (zlib error)

I am new to Linux and Ruby. I have been searching for an answer but to no avail.

Using OpenSUSE 11.1

I recently downloaded the latest Ruby 1.9.2 and use the method make install from the source. I did not have the zlib back then.

Now, I cannot use the command "gem -d list ruby". The error says no such file to load -- zlib. I wanted to remove Ruby and RubyGem entirely from the system.

I tried using RVM but i couldn't figure it out on how to use. Been trying to install it for ages, but it is still useless, as the "type rvm | head -n1" comes out to rvm is hashed (usr/local/rvm/bin/rvm) even though I added the "[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session" to both .bash_profile and .bashrc.

Been working on it whole night. Any help is appreciated. Thanks in advance. :)

0 投票
1 回答
432 浏览

opensuse - opensuse KDE 11.x - 如何编辑 $HOME/.bashrc

只需将 opensuse 11.x kde 安装到我的 Lennovo X60 中,退出 ms 窗口。必须的功能,输入中文不行。启动 IBus 时,显示以下信息。如何编辑 $HOME/.bashrc?其实我不知道$HOME在哪里。

谢谢。原谅我的愚蠢。

IBus 启动成功!如果您不能使用 IBus,请。将以下代码添加到 $HOME/.bashrc,然后重新启动桌面。导出 GTK_IM_MODULE=ibus