问题标签 [linux-mint]

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 投票
2 回答
24618 浏览

c++ - 如何在 Linux Mint 上安装 GCC 4.7.2?

我需要在 Linux Mint 13 上安装最新版本的 GCC。我发现了一些适用于 Ubuntu 12.04 的有用终端命令,但互联网上似乎没有类似的 Mint ......

编辑:我解决了这个问题,所以,为了帮助其他人,写下这些命令:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test

sudo apt-get update

sudo apt-get install g++-4.7 c++-4.7

一切正常。:)

0 投票
2 回答
153 浏览

apache - 从 iis 到 apache2 的 codeigniter 项目迁移

我已将我的项目从 Windows IIS 迁移到 Mint Apache2。不幸的是,我收到一个错误:

我已将文件的权限更改为 755。通常,如果出现 CI 错误(连接到数据库等),则会引发错误。

我用 VI 打开了我的 index.php,我注意到每个文件的每一行末尾都有 ^M。不过,这并没有在 Aptana 中显示。 每行末尾都有奇怪的结尾

我花了半年时间写这个应用程序,我对此并不感到很兴奋。有没有人有这方面的经验?

谢谢你。

0 投票
1 回答
5157 浏览

vmware - 在 Linux Mint 13 上安装 VMware Tools 时出现问题

我已按照此处找到的安装程序进行操作:

http://install-climber.blogspot.com/2012/08/linuxmint13cinnamoninstallvmwaretools.html

但是,最后当我执行命令“/usr/bin/vmware-user”时,我收到以下错误:

我在 VMware Workstation 9.0 上运行。

我是 Linux 新手,所以任何方向都会对我有用。

谢谢,杰

0 投票
1 回答
347 浏览

linux - Gloox:“onConnect”不称为 Linux Mint 13

这个问题有点棘手,我真的不认为我会找到答案,但无论如何我都会尝试。

我正在编写一个使用 gloox 进行 XMPP 传输的 C++ 程序。我的问题(仅在我的计算机上发生)(Linux Mint 13 MATE 32bits)是永远不会调用“onConnect()”处理程序。当我们使用 jabber.org 服务器时这不是问题(实际上,我什至不知道它没有被调用......)但是当我们安装 LAN ejabberd 服务器时问题开始出现。

使用 jabber.org 服务器,即使没有调用“onConnect”,应用程序也能够正常发送/接收消息。但不是在 ejabberd 上。起初我认为这是证书或其他东西的问题,但后来我们尝试了我们的其他 Linux 机器(Ubuntu 12.04 x64、Arch x64 和 Debian 6.0 32(服务器在这台机器上运行)),它在任何机器上都可以正常工作那些电脑。另外,使用 Python-Twisted 的姊妹应用程序可以在有问题的计算机上正常连接。

每次都会调用验证函数 onTLSConnect() 并返回 true。在有问题的计算机上,当使用我们的 ejabberd 服务器时,连接未建立,并且套接字在大约 25 秒后自行关闭(并且调用了 onDisconnect()...)

所以,我的问题是:是否存在阻止 Gloox 终止连接的互联网设置(如防火墙?)。或者有没有人遇到过类似的问题?谢谢!

编辑:我在我的笔记本电脑上制作了一个 Mint 13 MATE 32bits 的 VM,并且出现了同样的问题。我现在可以得出结论,这是薄荷中某个地方的错误。

EDIT2:在 Mint 64 位上运行良好....我在 Mint 的错误页面上打开了一张票

0 投票
2 回答
1177 浏览

linux - Mint - Stored SVN password was changed and now unable to commit

I have a copy of a repo on my localhost with a saved username / password for the SVN repo.

The problem is that I changed my svn password (and would like to keep it that way) but every time I try to svn commit, it is asking for my GNOME keyring password (which I enter correctly). This is odd in the first place because I never had it ask me this before.

Then, after entering my password to the keyring, I get this error message:

svn: OPTIONS of 'PATH_TO_CHANGED_FILES': authorization failed: Could not authenticate to server: rejected Basic challenge (REPO_URL)

This is happening on 2 repos that I have but a 3rd one is just fine.

When I disable authentication on the server, everything commits just fine and if I try to update / commit from another server, it also works just fine.

I tried adding the following lines to my ~/.subversion/servers:

store-passwords = no

store-plaintext-passwords = no

And I also tried adding the following lines to my ~/.subversion/config:

store-passwords = no

store-auth-creds = no

But those config file changes do nothing.

Is there a way for my localhost svn to forget the username and passwords I have entered for these repos (they were saved before) so I can get back to everything?

0 投票
1 回答
318 浏览

shell - Linux Mint 上的 Hadoop HBase 脚本给出了奇怪的错误

我已经在我的 Mint(类 Ubuntu)虚拟机上安装了 Hadoop 和 Pig。运行脚本时,我不断收到奇怪的错误消息。事实上,当我运行 hadoop 命令时,我也会遇到错误,但至少它可以工作,但是使用 HBase 它只是失败了。

例如,运行sh hadoop -rmr /home/myoutput我得到:

当我运行start-hbase它开始正常。

当我跑步时,sh hbase shell我得到:

我错过了什么?

0 投票
1 回答
1044 浏览

open-source - 在 Linux Mint 13 上编译 CMU PocketSphynx

我已经在 Linux Mint 13(基于 Ubuntu 12.04 LTS)上安装了 CMU Sphynx,但我根本找不到任何示例:

  1. 如何以最简单的方式测试它是如何工作的?我想从命令行启动它并识别任何 .wav 文件。我读过文档,但只有 c++ 或 python 示例,没有 pocketsphynx_continious 示例

  2. 我在哪里可以在 Mint 获得 /dev/dsp 设计?我已经为 alsa 和 pulseaudio 安装了所有开发库 - 根本没有 /dev/dsp。

有什么帮助吗?

0 投票
1 回答
319 浏览

linux - 阿帕奇不适用于子目录

我正在 Linux Mint 14 上运行最新的 Apache 服务器,并尝试使用 vhosts 迈出第一步,但我的设置遇到了一个普遍问题:

我在 <Directory> 部分中声明的每个选项似乎对任何子目录都没有任何影响 - 但据我所知并根据文档应该这样做。

例如:我正在尝试通过以下方式授予 .htaccess 文件的权限

/var/www 中的 .htaccess 可以正常工作,但例如 /var/www/test 中的 .htaccess 内容为“全部拒绝”将无效。

是否有任何我不知道的选项我必须设置?这不是我的第一个 apache 设置,所以我现在有点困惑,但我找不到解决方案。

先感谢您!

0 投票
1 回答
847 浏览

linux - 在 linux Mint 中使用 mercurial

我目前正在与 Mate 一起尝试 Linux Mint,我正在寻找一种解决方案来管理我的 mercurial repo。Tortoise-hg 似乎与 caja 不兼容。除了命令行,你的解决方案是什么?

0 投票
1 回答
207 浏览

ruby - rvm pkg install ree_dependencies 给出关于 autoreconf 的错误

我在 Linux Mint 14 Mate 上运行这个命令:

我得到这个错误:

这是日志文件:

我搜索了解决方案,但一无所获。非常感谢您的帮助。