ubuntu-9.04

How to get F# working with Mono?

早过忘川 提交于 2019-12-02 14:37:03
I can't seem to find a compiler/plugin for mono. Does one exist? Piotr Zurek Go here and download fsharp.zip Unzip it and open the created folder Open the terminal and run ./install-mono.sh as root (On some systems, it is necessary to convert the newline characters in that script from CRLF to LF) This will give you the basic functionality which means you will be able to run "mono fsi.exe" and compiled F# apps as "mono myApp.exe". Usefull tips: It makes sense to create scripts for the compiler and F# interactive. i.e.: /usr/local/bin/fsc #!/bin/sh exec /usr/bin/mono /usr/local/src/FSharp-1.9.9

How to use external makefile in Eclipse

三世轮回 提交于 2019-11-30 08:11:58
I have a source code of an OpenSource project which I get from SVN. I was able to run autogen --> configure --> and make successfully (through the terminal). But I want to build the same project with Eclipse, and I can't port manually those source files to eclipse though. So, How can I set Eclipse to use external make files ? can anyone please help me ? Thanks. Ok, I got it, It was straightforward. Just go to project properties --> C/C++ Build --> Make file generation --> and untick "Generate Make files automatically". In additionally you may have to set the Build location also. This might

Domain name resolution not working in Java Applications on Ubuntu64 9.04 machine. All other software resolves DNS correctly

耗尽温柔 提交于 2019-11-30 06:32:42
问题 I have an number of Java applications installed on an Ubuntu64 9.04 PC, and none of them can resolve domain names (there are multiple JRE's too - some of them are IBM products). If I put the domain name in the hosts file with it's associated IP address, then the Java apps work for those domains only. Every other non Java program - like ping, firefox, etc - work just fine with domain resolution. I've tried to disable DNS caching in the java.security file - for all of my JREs - but that didn't

Using Boost on ubuntu

◇◆丶佛笑我妖孽 提交于 2019-11-30 05:07:51
I've heard a lot of good comments about Boost in the past and thought I would give it a try. So I downloaded all the required packages from the package manager in Ubuntu 9.04. Now I'm having trouble finding out how to actually use the darn libraries. Does anyone know of a good tutorial on Boost that goes all the way from Hello World to Advanced Topics, and also covers how to compile programs using g++ on ubuntu? Agreed; the boost website has good tutorials for the most part, broken down by sub-library. As for compiling, a good 80% of the library implementation is defined in the header files,

Installing Ruby 1.9.1 on Ubuntu?

瘦欲@ 提交于 2019-11-29 20:20:42
I wonder about installing the latest version of Ruby on Ubuntu 9.04. Now I can run through the ./configure and make stuff fine, but what I wonder about: how to avoid conflicts with the packaging system? For example if some other package I install depends on Ruby, wouldn't the package manager install the (outdated) Ruby package and in the worst case overwrite my files? So I think I need some way to tell Ubuntu that Ruby is in fact already installed? Sam Saffron Save yourself the headache and use RVM ( Ruby Version Manager ) Keep in mind, Rails 3 works best with Ruby 1.9.2. Ruby 1.9.2 fixes up

g++ searches /lib/../lib/, then /lib/

白昼怎懂夜的黑 提交于 2019-11-29 11:44:42
According to g++ -print-search-dirs my C++ compiler is searching for libraries in many directories, including ... /lib/../lib/: /usr/lib/../lib/: /lib/: /usr/lib/ Naively, /lib/../lib/ would appear to be the same directory as /lib/ — lib's parent will have a child named lib, "that man's father's son is my father's son's son" and all that. The same holds for /usr/lib/../lib/ and /usr/lib/ Is there some reason, perhaps having to do with symbolic links, that g++ ought to be configured to search both /lib/../lib/ and /lib/ ? If this is unnecessary redundancy, how would one go about fixing it? If

ubuntu /usr/bin/env: python: No such file or directory

落爺英雄遲暮 提交于 2019-11-29 02:35:40
问题 I update the kernel, after that the Ubuntu doesn't work well, PS: I try to exec "meld" command, it will report that "/usr/bin/env: python: No such file or directory", then I exec "sudo apt-get install python" and get the result "python is already the newest version.", what should I do for it. I'm not good at linux, can you tell me how to revert my linux to the last right status, or reinstall the python normally. 回答1: Having been momentarily stumped by this error myself, I thought I'd post how

/usr/bin/perl: bad interpreter: Text file busy

a 夏天 提交于 2019-11-28 21:08:25
This is a new one for me: What does this error indicate? /usr/bin/perl: bad interpreter: Text file busy There were a couple of disk-intensive processes running at the time, but I've never seen that message before—in fact, this is the first time that I can remember getting an error when trying to run a Perl script. After a few seconds of waiting, I was able to run it, and haven't seen the issue since, but it would be nice to have an explanation for this. Running Ubuntu 9.04, file system is ext3. cjm I'd guess you encountered this issue . The Linux kernel will generate a bad interpreter: Text

Installing Ruby 1.9.1 on Ubuntu?

久未见 提交于 2019-11-28 15:46:40
问题 I wonder about installing the latest version of Ruby on Ubuntu 9.04. Now I can run through the ./configure and make stuff fine, but what I wonder about: how to avoid conflicts with the packaging system? For example if some other package I install depends on Ruby, wouldn't the package manager install the (outdated) Ruby package and in the worst case overwrite my files? So I think I need some way to tell Ubuntu that Ruby is in fact already installed? 回答1: Save yourself the headache and use RVM

g++ searches /lib/../lib/, then /lib/

旧城冷巷雨未停 提交于 2019-11-28 05:23:28
问题 According to g++ -print-search-dirs my C++ compiler is searching for libraries in many directories, including ... /lib/../lib/: /usr/lib/../lib/: /lib/: /usr/lib/ Naively, /lib/../lib/ would appear to be the same directory as /lib/ — lib's parent will have a child named lib, "that man's father's son is my father's son's son" and all that. The same holds for /usr/lib/../lib/ and /usr/lib/ Is there some reason, perhaps having to do with symbolic links, that g++ ought to be configured to search