ubuntu-10.04

bash: ./eclipse: cannot execute binary file

孤者浪人 提交于 2019-12-03 16:02:52
问题 i am working on Ubuntu10.10 OS and i have downloaded eclipse-jee-helios-SR1-linux-gtk-x86_64.tar.gz. my computer is 64 bit machine. when i untar eclipse and try run ./eclipse from command line, it gives me above error. when i run file eclipse , it gives me following information. eclipse: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.0, not stripped Could someone help me to find out what is going wrong here Thanks in advance for

how can I build cabal-install on eeePc 701 / Ubuntu Netbook Remix 1.6 (Lucid)

邮差的信 提交于 2019-12-03 16:02:42
Not a programming question, but the first time I see something like this. UNR 1.6 (based on Ubuntu 10.04) installs the 6.12.1 version of GHC. So, in order to build cabal-install-0.8.2, I have to install the libghc6- packages of parsec, mtl, network and zlib. Then, after launching 'sh ./bootstrap.sh', I get: Checking installed packages for ghc-6.12.1... parsec is already installed and the version is ok. network is already installed and the version is ok. Cabal is already installed and the version is ok. mtl is already installed and the version is ok. HTTP is already installed and the version is

PATH_MAX not declared when compiling on Ubuntu 10.04

 ̄綄美尐妖づ 提交于 2019-12-03 15:45:42
I am trying to compile a C program in Ubuntu 10.04 made for 8.04. It fails because we have used PATH_MAX and other constants that should be defined in limits.h . According to various resources, it should be part of a POSIX compatible C library. Is this a bug in Ubuntu 10.04 or is there a proper way of solving this? POSIX defines many such limits to be optional. If a limit FOO is not defined in limits.h , it means the system may have no such limit or the limit might vary at runtime or dependent upon the pathname it's applied to. In these cases, you use the pathconf , fpathconf , or sysconf

Mount shared folder (vbox) as another user [closed]

这一生的挚爱 提交于 2019-12-03 11:52:56
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I'm sorry to ask this in here, but I tried serverfault and didn't get any answer for 4 days. The related question there: https://serverfault.com/questions/394197/mount-shared-folder-vbox-as-another-user Question: I'm trying to mount my vbox shared folder every time my ubuntu (10.04) starts. So, I added an entry on /etc/init with this: description "mount vboxsf Desktop" start on startup task exec mount -t vboxsf Desktop

Ruby on Rails MySQL #08S01Bad handshake - downgrade MySQL?

Deadly 提交于 2019-12-03 07:54:22
问题 We recently upgraded from MySQL 5.1.41 to 5.1.61 on our Ubuntu 10.04LTS server. We have an ancient RoR web app that's now giving a bad handshake error: Mysql::Error in MainController#index #08S01Bad handshake /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/vendor/mysql.rb:523:in `read' /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/vendor/mysql.rb:153:in `real_connect' /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters

to read line from file without getting “\n” appended at the end [duplicate]

瘦欲@ 提交于 2019-12-03 06:02:53
问题 This question already has answers here : How to read a file without newlines? (10 answers) Closed 3 years ago . My file is "xml.txt" with following contents: books.xml news.xml mix.xml if I use readline() function it appends "\n" at the name of all the files which is an error because I want to open the files contained within the xml.txt. I wrote this: fo = open("xml.tx","r") for i in range(count.__len__()): #here count is one of may arrays that i'm using file = fo.readline() find_root(file) #

How to correct this error: “'Adminsite' object has no attribute 'root'”

人盡茶涼 提交于 2019-12-03 05:36:24
问题 The full error message is: AttributeError on running Django app on apache as localhost -- 'Adminsite' object has no attribute 'root' Environment: Request Method: GET Request URL: http://localhost:8000/ Django Version: 1.3 Python Version: 2.6.5 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'esp.datatree', 'esp.users', 'esp.membership', 'esp.miniblog', 'esp.web', 'esp.program', 'esp

How to use sudo over SFTP with CyberDuck?

穿精又带淫゛_ 提交于 2019-12-03 05:28:10
问题 I'm copying this question from over here: http://getsatisfaction.com/cyberduck/topics/can_i_use_sudo_over_sftp_with_cyberduck I am having the same issue and finding it hard to find an answer: I am using Cyberduck over SFTP. I can connect and browse files fine, but when I try to upload, I get a permissions error. Web host says I need to use the 'sudo' command. I know how to do this via Terminal, but it is possible to to tell Cyberduck to use sudo? Please don't tell me to use root because: What

PostgreSQL 9.1 installation and database encoding

a 夏天 提交于 2019-12-03 03:31:44
I just did my first install of PostgreSQL 9.1 on Ubuntu 10.04. note: I have done it a few times on Windows with an installer without issues. After a bit of effort, I got it set up to connect remotely via pgAdminIII. However, I was really surprised after connecting to the db, that I got a warning about the encoding. The "postgres" database itself was created with "SQL_ASCII" encoding. Every time that I've installed on windows, it created the postgres DB with "UTF8" - which seems like it would be a lot better and would stop the warning message when opening up the database via pgAdminIII. Is

rhino vs spidermonkey

给你一囗甜甜゛ 提交于 2019-12-03 02:23:47
问题 I noticed ubuntu 10.04 removed the spidermonkey package. Rhino looks like it's still there though. What are the differences between rhino and spidermonkey (besides what language they're written in). And why did they remove spidermonkey? 回答1: I'm afraid the difference is the language they are written in, or what it means. People use C/C++ to write all manner of things (like Firefox) whereas Java is most prevalent in Application Servers. From http://en.wikipedia.org/wiki/Rhino_%28JavaScript