悪文:[ECLIPSE][ANT]Unable to find a javac compilerエラーの解決 - livedoor Blog(ブログ)
要は、build.xmlのjavacタスクのところに、fork="true"を追加すればよいようだ。
ubuntu 8.04lts では大丈夫だったけど squeeze での make 時にエラーでこけたので。sun-java5-jdk ではなく sun-java6-jdk だったからであろうか
要は、build.xmlのjavacタスクのところに、fork="true"を追加すればよいようだ。
ubuntu 8.04lts では大丈夫だったけど squeeze での make 時にエラーでこけたので。sun-java5-jdk ではなく sun-java6-jdk だったからであろうか
For you who downloads many open source software and system, be informed that many local repositories are available now. This helps in increasing download speed and reducing international traffic.
For the list, check this out (in no order of preference):As an addition, Debian user can also get the software here:
Also, in Debian, these entries go into the file /etc/apt/sources.list.
When updating the Debian based system, it may happens that the apt-get displays an error message like:W: GPG error: ftp://ftp.debian.org/ testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F W: There is no public key available for the following key IDs: 010908312D230C5FThis is a new feature of the apt-get system that guarantee the authenticity of servers for updating Debian. Solution:
Simply type the following commands, taking care to replace the number of the key that displayed in the error message:gpg --keyserver pgpkeys.mit.edu --recv-key 010908312D230C5F gpg -a --export 010908312D230C5F | sudo apt-key add -
OK folks, I am not a very happy camper at the moment. Thanks to some unbelievable stupidity on the part of Whoever is responsible for packaging kernels at Debian I had to re-install my system.
On Saturday a kernel update meandered its merry way from the repos and then didn't install cause dpkg crapped out with a "disk full" error. The "disk" in question beingsda1 aka my boot partition. Not counting the fact that there were still nearly 100MB of free space which should have been enough for a 70MB kernel image that was supposed to replace the previous image the boot partition in question was also sized according to Debian's very own suggestions during the original installation of the system. An original installation, one must mention, that took place when kernel images already had reached their current bloated size. A humble suggestion to the installer honchos: If the user is about to use a whole disk for "single-boot" install and said disk is hundreds of GB in size, why not make sda1 == 1GB instead of the current value of 350MB? I mean, future kernels will most probably not be smaller than current ones. gParted Live-CD was no help. No matter which hoops I jumped through it just wouldn't grow the sda1 primary partition. Quick decision: Backup home and etc and install a new system with a new partition map. Off to the Debian website and download Lenny aka Debian 5.0.3 as a net-install ISO. Installation was the usual Debian yawn-fest up to the point where one has to decide which crap is to go on top of the basic system. After previous bad experiences with selecting "desktop", which gives you "The full GNOME" complete with 4 versions of everything plus the kitchen sink, I opted out at that point and rebooted into the console from whence to install bits and pieces as wanted. Comes the time for CUPS ... CUPS now depends on Samba. For no sane reason whatsoever. Don't want Samba? Can't have CUPS! At the same time sane dependencies like e.g. foomatic and ghostscript don't exist for CUPS. You have to find those yourself. Which of course every noob will do by instinct ... Next piece of crap - avahi. Who wants it? Nobody! Who uses it? Nobody! So why the fuck is it a hard dependency for the gnome-desktop-environment package? Don't believe me? Try apt-get purge avahi and apt-get will tell you where to stick your freedom of choice. It's either GNOME with avahi or no GNOME at all. Now here's a question: Why is there no package called e.g. "gnome-minimal" which gives you the panels and drawers plus a a window manager and a minimalistic set of the most necessary applets, together with synaptic and a printing system? The way things are at the moment the user has the choice between bloat and megabloat or a painstaking search for individual components. And for fuck's sake take "treat recommendations as dependencies" out of the default settings of apt and its front ends.
Hi,
At work we recently got new laptops. Unfortunately for me, my employer has standardized on "Querty" keyboards. Even more unfortunately for me, in our country people are tought to type on "Azerty" keyboards.
No problem, on my desk i have a nice "Azerty" incarnation of a keyboard which plugs nicely with USB on my laptop. However, on the road i am still stuck with the Querty keyboard.
So, i just basically need the "querty" layout on the laptop keyboard and an "azerty" layout on the USB keyboard. ( windows guys, watch and drool :) )
To do this you will need to fiddle with "HAL", so that it passes the right configuration into xorg. ( i just leave my text console into querty )
First, find out about the properties of you keyboard.
Do this by looking at the output of the "hal-device" command and look for the "input.product" keys of the USB keyboard.
Then create a file named "/etc/hal/fdi/policy/10-keymap.fdi" and put this into it:
<?xml version="1.0" encoding="ISO-8859-1"?>
<match key="input.product" contains="Darfon USB Combo Keyboard">
<merge key="input.x11_driver" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">be</merge>
<merge key="input.xkb.model" type="string">pc105</merge>
<merge key="input.xkb.rules" type="string">xorg</merge>
</match>
Finally i had to disable the script that automagically configures the properties for my keyboards so i put an "exit" somewhere in the beginning of "/usr/lib/hal/debian-setup-keyboard". Sooner or later, an update will probably break this configuration, but for now it works :)
Jos
I upgraded Debian on an old desktop computer from oldstable (etch/Debian 4.0) to stable (lenny/Debian 5.0). Upgrading is still a bit of a headache. It runs ok with "aptitude dist-upgrade". It takes quite a while, - while you are watching "Running udpmap-sys. This may take some time": Yes, it indeed does! Then comes the reboot. It now sometimes can't mount and stops in the middle of the booting. I wonder if the old computer suffers from SCSI hardware problems or if it is a new kernel issue. Then comes X. First it didn't start. After the introduction of magic in /etc/X11/xorg.conf X would come, but now my GL capabilities have been lost somewhere between nvidia binary, nvidia legacy binary and nvidia standard driver. I could probably spend some time looking at this issue, but I would like to use my time better than for these nerdish problems. Hmmm...
Monit is a nice tool for monitoring processes. I know it's widely used in the RoR environment to monitor Mongrel's that goes nutz and eat too much memory. It's really easy to setup and configure. You don't need to be too much in systems administration to handle it, so it's a good tool.
✑ [debian] resolvconf
VMware上のsargeにdnsmasqと一緒に入れてみたら、毎回/etc/resolvconf/resolv.conf.d/original|sudo resolvconf -a eth0としないとdnsmasqの設定に
nameserver 192.168.184.2が入らなくて困ってしまったので、/etc/network/interfacesのiface eth0 inet staticのところにup echo nameserver 192.168.184.2|resolvconf -a eth0を追加してみた。
hdknr@debsq:~$ sudo aptitude install ruby1.8 -y
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
拡張状態情報を読み込んでいます
パッケージの状態を初期化しています... 完了
タスクの記述を読み込んでいます... 完了
以下の新規パッケージがインストールされます:
libruby1.8{a} ruby1.8
更新: 0 個、新規インストール: 2 個、削除: 0 個、保留: 0 個。
1,969kB のアーカイブを取得する必要があります。展開後に 6,631kB のディスク領域が新たに消費されます。
拡張状態情報を書き込んでいます... 完了
取得:1 http://ftp.jp.debian.org squeeze/main libruby1.8 1.8.7.174-2 [1,678kB]
取得:2 http://ftp.jp.debian.org squeeze/main ruby1.8 1.8.7.174-2 [291kB]
1,969kB を 14s 秒でダウンロードしました (134kB/s)
未選択パッケージ libruby1.8 を選択しています。
(データベースを読み込んでいます ... 現在 30000 個のファイルとディレクトリがインストールされています。)
(.../libruby1.8_1.8.7.174-2_i386.deb から) libruby1.8 を展開しています...
未選択パッケージ ruby1.8 を選択しています。
(.../ruby1.8_1.8.7.174-2_i386.deb から) ruby1.8 を展開しています...
man-db のトリガを処理しています ...
libruby1.8 (1.8.7.174-2) を設定しています ...
ruby1.8 (1.8.7.174-2) を設定しています ...
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
拡張状態情報を読み込んでいます
パッケージの状態を初期化しています... 完了
拡張状態情報を書き込んでいます... 完了
タスクの記述を読み込んでいます... 完了
hdknr@debsq:~$ sudo gem1.8 install mysql
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.