ubuntu-10.10

Why does my Eclipse crash all the time?

佐手、 提交于 2019-12-13 12:24:55
问题 Somehow stupid question, I have to admit - hope it won't cost me too many points. To make it clear: I would also be happy if you can help me find the reason for the crashes. I wouldn't expect a precise answer. However, I don't see why my Eclipse is crashing (freezing) all the time. Mostly when I save a file. For some reason, crashes seem to increase lately... I use Eclipse Helios (Version: 3.6.1) and Java version 1.6.0_20 (OpenJDK Runtime Environment (IcedTea6 1.9.2) (6b20-1.9.2-0ubuntu2)

RUBYLIB Environment Path

▼魔方 西西 提交于 2019-12-12 09:47:02
问题 So currently I have included the following in my .bashrc file. export RUBYLIB=/home/git/project/app/helpers I am trying to run rspec with a spec that has require 'output_helper' This file is in the helpers directory. My question is that when I change the export line to: export RUBYLIB=/home/git/project/ It no longer finds the helper file. I thought that ruby should search the entire path I supply, and not just the outermost directory supplied? Is this the correct way to think about it? And if

g++ compile error .h file

∥☆過路亽.° 提交于 2019-12-12 03:05:15
问题 I'm trying to compile a .cpp file using g++ in Linux Ubuntu 10.10 and when i try to compile this code #include <iostream> #include <vector> #include <"writeVector.h" #include <"insertionSort.h"> using namespace std; int main() { int n; int i; vector<int> V; cout << "Enter the amount of numbers you want to evaluate: "; cin >> n; cout << "Enter your numbers to be evaluated: " << endl; while (V.size() < n && cin >> i){ V.push_back(i); } InsertionSort(V); write_vector(V); return 0; } I have both

JOGL does not work after reinstalling ubuntu

让人想犯罪 __ 提交于 2019-12-11 16:44:35
问题 i had a fully work project in ubuntu 9 with eclipse. Now i have installed Ubuntu 10.10, get the backup back, downloaded Eclipse and try to run the project. The project folder was not changed at all! But now it does not work: Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path If i go to "project properties > java build path > libraries" gluegen-rt.jar and jogl.jar are present and i have no compilation error (" import javax.media.opengl

How to modify color of inactive line in code assist in Eclipse?

天大地大妈咪最大 提交于 2019-12-09 12:26:47
问题 First of all, there is already a similar question, but these answers don't help. As already mentioned in the topic, I'd like to modify the color of the inactive line in code assist (without changing other areas) because white on light grey background is hardly seen. "Colors and fonts" just contain "Content assist foreground/background color", this only changes the foreground/background of the whole code assist but not of the active or inactive line. There doesn't seem to be an option for this

An error occurred while installing nokogiri (1.5.2)

北慕城南 提交于 2019-12-09 10:24:36
问题 When I try to run a ruby on rails project I got an error: An error occurred while installing nokogiri (1.5.2), and bundle cannot continue. Make sure that 'gem install nokogiri -v 1.5.2 succeed before building. I'm working on Ubuntu 10.10 My co-worker uses on Windows/RVM and does not have this problem. Edit: gem_make.out /opt/bitnami/ruby/bin/ruby extconf.rb extconf.rb:10: Use RbConfig instead of obsolete and deprecated Config. checking for libxml/parser.h... yes checking for libxslt/xslt.h...

installation of libevent development libraries in ubuntu

社会主义新天地 提交于 2019-12-06 20:25:03
问题 I am using ubuntu 10.10 trying to install libevent development libraries libevent1 and libevent2. I used the below command- apt-get install libevent-dev libevent1-dev But it shows- Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libevent1-dev Then i used- apt-get install libevent-dev But it says libevent-dev is already a newest version. Is that libevent2? I'm a root user. Am I doing anything wrong? Does ubuntu 10.10 support

RUBYLIB Environment Path

喜欢而已 提交于 2019-12-05 21:03:31
So currently I have included the following in my .bashrc file. export RUBYLIB=/home/git/project/app/helpers I am trying to run rspec with a spec that has require 'output_helper' This file is in the helpers directory. My question is that when I change the export line to: export RUBYLIB=/home/git/project/ It no longer finds the helper file. I thought that ruby should search the entire path I supply, and not just the outermost directory supplied? Is this the correct way to think about it? And if not, how can I make it so RUBY will search through all subdirectories and their subdirectories, etc?

pcap.h header file problem

自闭症网瘾萝莉.ら 提交于 2019-12-05 08:39:50
问题 anyone know how to fix the problem regarding header file in ubuntu 10.10. I am executing a sniffing program which makes use of this header file. My system shows libcap package is installed. Still, on compiling the code, an error is coming which reads: fatal error: pcap.h: No such file or directory compilation terminated. Please help me out. Thanks all:) 回答1: sudo apt-get install libpcap0.8-dev 回答2: The system won't let me correct Eric Fossum's comment, because I lack reputation. There is a

How do I install SQlite3 for Ruby on Rails while using RVM

百般思念 提交于 2019-12-05 02:27:18
I am new to programming and Ruby on Rails. Setting up my dev environment has been hell. My present issue is installing Sqlite 3. When I do $ bundle install I get Fetching source index for http://rubygems.org/ Using rake (0.8.7) Using abstract (1.0.0) Using activesupport (3.0.1) Using builder (2.1.2) Using i18n (0.4.2) Using activemodel (3.0.1) Using erubis (2.6.6) Using rack (1.2.1) Using rack-mount (0.6.13) Using rack-test (0.5.7) Using tzinfo (0.3.24) Using actionpack (3.0.1) Using mime-types (1.16) Using polyglot (0.3.1) Using treetop (1.4.9) Using mail (2.2.15) Using actionmailer (3.0.1)