ubuntu-12.04

“texi2dvi” command not found

爱⌒轻易说出口 提交于 2019-12-30 03:44:06
问题 Whenever I'm installing a software on my machine it is showing /bin/bash: texi2dvi: command not found My Operating system is Ubuntu 12.04. Do I need install any packages on it.? 回答1: You need to install texinfo . sudo apt-get install texinfo 来源: https://stackoverflow.com/questions/17652698/texi2dvi-command-not-found

undefined reference to `boost::program_options::options_description::m_default_line_length'

徘徊边缘 提交于 2019-12-30 03:41:05
问题 I am trying to compile a code and I get the error undefined reference to boost::program_options::options_description::m_default_line_length I use g++ in Ubuntu 12.04. Although I have done some C++ programming I am new to the Linux development environment (used only IDEs previously). So I did a basic search for this trouble, and found about some linking issues. I didn't quite understand them as I am a newbie. Reading some of those solutions confused me further. My boost library folder is in

how to install pthread in ubuntu 12.10

非 Y 不嫁゛ 提交于 2019-12-29 07:21:53
问题 I have been strugling for hours on how to install pthread in my ubuntu server to allow php threading. Please help me. 回答1: HOW TO INSTALL IN LINUX SYSTEM'S: The following instructions will result in an isolated installation of PHP that does not affect your current installation. 1) Checkout PHP sources into a new directory on your system cd /usr/src git clone https://github.com/php/php-src cd php-src 1a) Optionally checkout a specific version of PHP git checkout PHP-5.6 2) Download the

Which Ruby version am I really running?

泄露秘密 提交于 2019-12-28 16:30:55
问题 I'm running Ubuntu 12.04 LTS, and installed Ruby via RVM. The problem is, when I type ruby -v into the terminal, it says that my Ruby version is 1.8.7 , and using the shotgun gem for Sinatra also says that I'm running Ruby 1.8.7 . But when I type rvm list it shows that the only version of Ruby that I have installed is 2.0.0 and it is my current and default version. I installed Ruby 2.0.0 via RVM and it is the only version I had installed on my machine. Now when I tried to install Rails 4 but

Package doesn't exist error in intelliJ

回眸只為那壹抹淺笑 提交于 2019-12-28 08:02:30
问题 I'm trying to use the barbecue barcode printing library. I have successfully added the library to IntelliJ through project structure add library. Then I imported the packages and wrote the methods, which gave me no error. The packages were available in the class. But when I compile it gives me the error: error: package net.sourceforge.barbecue does not exist How can this be? I'm coding in ubuntu, is there any other place to which I have to add the library? Thanks. Tika 回答1: I tried to "Maven

coregraphics on gnustep ubuntu

依然范特西╮ 提交于 2019-12-25 10:55:47
问题 so im thinking about porting some logic written for my ios app to the server. I am building a view hierachy and then rasterizing it to bitmaps I have used chameleon to successfully port the relevant bits to mac os. and now I would like to try porting this to ubuntu using since GNUstep has an open implementation on AppKit. I managed to get the hello world app working. However, It seemed strange to me than the following throws errors on compiling. #import <Foundation/Foundation.h> #import

WARNING keystoneclient.middleware.auth_token [-] Configuring auth_uri to point to the public identity endpoint is required;

a 夏天 提交于 2019-12-25 08:14:37
问题 I have installed OpenStack following this. I am trying to install Savanna following the tutorial from here When I run this command savanna-venv/bin/python savanna-venv/bin/savanna-api --config-file savanna-venv/etc/savanna.conf I get this error: - WARNING keystoneclient.middleware.auth_token [-] Configuring auth_uri to point to the public identity endpoint is required; clients may not be able to authenticate against an admin endpoint (7944) wsgi starting up on <IP> 回答1: Try connecting to the

Unable to connect to ejabberd localhost

不羁岁月 提交于 2019-12-25 05:48:07
问题 I am tyring to connect to the ejabberd localhost from my android application The ejabbered server does not show the online user on ejabberd web admin. AbstractXMPPConnection conn1; conn1 = new XMPPTCPConnection("MyID@localhost", "password", "192.168.1.23"); conn1.connect(); if(conn1.isConnected()) { Toast.makeText(this,"conn 1 successfull",Toast.LENGTH_LONG).show(); } // Create a connection to the jabber.org server on a specific port. XMPPTCPConnectionConfiguration config =

Ubuntu 12.04 /usr/bin/ld: error: cannot find -lGL

99封情书 提交于 2019-12-24 19:23:22
问题 I istalled the fglrx ATI/AMD proprietary driver and now when i try to launch my OpenGL/SDL project i receive this message: /usr/bin/ld: error: cannot find -lGL I run Ubuntu 12.04 desktop, 64-bit. HD6870 [ATI Radeon HD 6800 Series] 回答1: Installing fglrx-glx should help you, those are libGL's for proprietary AMD/ATI drivers. 来源: https://stackoverflow.com/questions/11867913/ubuntu-12-04-usr-bin-ld-error-cannot-find-lgl

Questions about compiling Python in debug mode

倾然丶 夕夏残阳落幕 提交于 2019-12-24 16:23:21
问题 I am using Ubuntu 12.04, Python 2.7.3. I am having a segmentation fault in a C extension I have co-written. It seems to come from a pointer that was not free'd properly. I then use valgrind to find memory leaks. According to that answer, I have to compile Python in debug mode to get a valgrind friendly version of Python and get rid of its irrelevant reports. How to compile Python in debug mode? Even though the answer I linked answers part of that question, it does not provide me enough