August 31, 2010
How to build Python Numeric and install RSS mini, the Screenlets available from GNOME-Look.org, on OpenSolaris build 111
I experimentally took a rough guess that the solutions
in Fedora might apply to this case and I'd like to express
my heartfelt appreciation to several useful websites
before I go into the main subject.
1. After trial and error I casually went to Jason Rennie's
Home Page and found a link to Numeric-24.2.tar.gz,
Numerical Python. I am deeply grateful to him and
the URLs are given below.
http://people.csail.mit.edu/jrennie/python/numeric
http://sourceforge.net/projects/numpy/files
/Old%20Numeric
2. You will need to unzip Numeric-24.2.tar.gz, edit
ranf.c, and build Python Numeric. The modification
on ranf.c to avoid the error message: "error: conflicting
types for 'gettimeofday'" was mentioned by the helpful
website given below. The command lines are also
given below.
http://osdir.com/ml/python.numeric.general/2005-06
/msg00001.html
$ gzcat Numeric-24.2.tar.gz | tar xvf -
$ chmod 777 ./Numeric-24.2/Packages/RNG/Src/ranf.c
$ cd Numeric-24.2 && gedit ./Packages/RNG/Src/ranf.c
<EXAMPLE>
/* int gettimeofday(struct timeval *, struct timezone *); */
$ python setup.py build
$ python setup.py install
# reboot
3. You will subsequently need to go to the URL given
below, get screenlets-0.1.2.tar.bz2, unzip the
source code, and install it. The URL and the
command lines are given below.
https://launchpad.net/Screenlets/+milestone/0.1.2
$ bzcat screenlets-0.1.2.tar.bz2 | tar xvf -
$ cd screenlets
# make install clean
4. Afterward you will need to go to GNOME-Look.org,
get 76969-RssMini.tar.gz, and install the package
on Screenlets using GUI. In reviewing my conduct
during the work, I unexpectedly had trouble using
RSS mini, consequently edited the line 466 or 467 of
RSSMiniScreenlet.py, and specifically deleted
'( )' in the line. This modification owes a great deal
to the useful website given below and I am deeply
grateful to them. The URLs and the command lines
are given below.
http://ubuntuforums.org/showthread.php?t=594681
http://gnome-look.org/content/show.php
/Rss+mini?content=76969
$ gedit $HOME/.screenlets/RssMini/RssMiniScreenlet.py
<EXAMPLE>
class Tooltip ( ):
↓
class Tooltip :
Now you can use RssMini on Screenlets with GUI.
Finally I am happy to assist you to build Python Numeric
and install RSS mini which is the Screenlets available
from GNOME-Look.org on OpenSolaris build 111.
August 31, 2010 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Aug 31, 2010 16:45 Trackback (0)
August 25, 2010
How to install and set up Firefox 4.0 beta3 on OpenSolaris build 111 as of August 25, 2010
I fortunately got help from the Mozilla community and
other websites. Many thanks for their support. Well, I
enter into the main topics.
1. You will need to go to the URL given below and get the
package firefox-4.0b3.en-US.opensolaris-i386-pkg.bz2.
http://releases.mozilla.org/pub/mozilla.org/firefox
/releases/4.0b3/contrib/solaris_pkgadd
2. Then you will need to unzip and install firefox-4.0b3.
en-US.opensolaris-i386-pkg.bz2 and the command
lines are given below.
# bunzip2 -d firefox-4.0b3.en-US.opensolaris-i386-pkg.bz2
# pkgadd -d firefox-4.0b3.en-US.opensolaris-i386-pkg
3. I referred to the useful website given below and
could set up Firefox 4.0 beta3. I deeply appreciate
what he has done. The URL and the command lines
are given below.
http://baian-space.blogspot.com/2009/06/realplayer-
11-gold-with-opensolaris.html
# cp /opt/sfw/share/applications/firefox.desktop /usr/share/applications
# cp /opt/sfw/share/pixmaps/firefox-icon.png /usr/share/pixmaps
4. Then I referred to the helpful website given below and
could add the Java plugin and other plugins into the
Mozilla plugins. The URL and the command lines are
given below.
http://opensolaris.org/jive/thread.jspa?messageID
=454933
# mkdir /opt/sfw/lib/firefox/plugins
# cp /usr/java/jre/lib/i386/libnpjp2.so /opt/sfw/lib/firefox/plugins
# cp /usr/lib/firefox/plugins/* /opt/sfw/lib/firefox/plugins
5. After that, you may localize Firefox 4.0 beta3 for your
language environment. I referred to the practical websites
given below and would like to express my appreciation to
them for their work. I actually went to the URL given
below, got firefox-4.0b5pre.ja.langpack.xpi, and
modified install.rdf in the .xpi file, or more specifically,
changed the value of minVersion into 4.0b3pre. Please
relax your caution against tentatively taking my native
tongue as an example because this way can be applied
in many other languages. The URL and the command
lines are given below.
http://forum.mozilla.gr.jp/cbbs.cgi?mode=al2&namber=
43398&rev=&&KLOG=278
http://d.hatena.ne.jp/kakurasan/20080324/p1
http://www1.plala.or.jp/tete009/software.html
#JLPAPPLY
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly
/latest-mozilla-central-l10n/
$ cd Downloads
$ mkdir work
$ cd work
$ unzip ../firefox-4.0b5pre.ja.langpack.xpi
$ gedit install.rdf
<EXAMPLE>
<em:minVersion>4.0b3pre</em:minVersion>
$ find -print0 | xargs -0 zip -9 ../ja.xpi -@
Now you can localize Firefox 4.0 beta3 for your language
environment, adding on ja.xpi to the language pack in
Firefox and setting general.useragent.locale, which is
the entry in about:config, of ja-JP.
Finally I am happy to assist you to install and set up
Firefox 4.0 beta3 on OpenSolaris build 111.
August 25, 2010 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Aug 25, 2010 17:00 Trackback (0)
August 22, 2010
How to install and set up RealPlayer 11 on OpenSolaris build 111
The main purpose of this article particularly focuses on
OpenSolaris but looking at the matter objectively, the
background of this article is under a debt to the Linux
communities. I am deeply grateful to the Linux
communities.
1. You will need to go to the URL given below and get the
package RealPlayer11Gold-x86.tar.bz2.
http://www.real.com/realplayer/solaris
2. You will need to unzip RealPlayer11Gold-x86.tar.bz2
and the command lines are given below.
# mkdir /opt/real
# cp RealPlayer11Gold-x86.tar.bz2 /opt/real
# cd /opt/real
# bzcat RealPlayer11Gold-x86.tar.bz2 | tar xvf -
3. I referred to the useful website given below, YoLinux
Tutorial and I express my gratitude for his or her
effort. We will accordingly need to set up RealPlayer
11, or more specifically, add nphelix.so and nphelix.xpt
to mozilla plugins and set $HELIX_LIBS. The URL and
the command line are given below.
http://www.yolinux.com/TUTORIALS
/LinuxTutorialMozillaConfiguration.html
# ./postinst/postinst.sh
4. You may subsequently localize RealPlayer 11 for
your language environment. I also referred to the
helpful article given below, bend_tail and I sincerely
give thanks to the contents. We can consequently
choose the language environment among German,
Spanish, French, Italian, Japanese, Korean, Brazillian
Portuguese, Simplified Chinese, and Traditional Chinese.
I provisionally take my native tongue as an example.
The URL and the command lines are given below.
http://d.hatena.ne.jp/bend_tail/20071107/1194397835
# ln -s /usr/lib/RealPlay/share/locale/ja/player.mo /usr/share/locale/ja/LC_MESSAGES/realplay.mo
# ln -s /usr/lib/RealPlay/share/locale/ja/widget.mo /usr/share/locale/ja/LC_MESSAGES/libgtkhx.mo
Finally I am happy to assist you to install and set up
RealPlayer 11 on OpenSolaris build 111
August 22, 2010 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Aug 22, 2010 17:06 Trackback (0)
August 21, 2010
How to use Epson PM-T960, Stylus photo RX560, or RX690 on Fedora 13 x86_64
I tentatively replaced a USB printer to the network printer
for the convenience about two years ago because it had
a reasonable price, below $250, considering it was an
all-in-one printer and wireless LAN was available for
connecting it to several other machines.
There were, however, two problems in addition to the
malfunction of the CUPS drivers, such as PM-T960.
One of the problems was the error message that 'libltdl.
so.3 is needed by pipslite-1.4.0-5.i386' when I tried to
install pipslite-1.4.0-5.i386.rpm. The other was the error
message that "libtool: link: cannot find the library '../libltdl
/libltdl.la' or unhandled argument '../libltdl/libltdl.la'" when I
tried to build pipslite_1.4.0-5.tar.gz.
The problems were somehow fixed after I had found
the driver of Epson PM-T960, Stylus photo RX560,
or RX690 was compatible with Epson PM-A840S.
The URL and the command line was given below.
http://avasys.jp/eng/linux_driver/download/lsb/
epson-inkjet/escpr/
# rpm -ivh epson-inkjet-printer-escpr_1.0.0-1lsb3.2.x86_64.rpm
You might need to select the driver of PM-A840S
using the CUPS interface to print with Epson
PM-T960, Stylus photo RX560, or RX690 after that.
Finally I am happy to assist you to use the printers
comapatible with PM-A840S on Fedora 13 x86_64.
August 21, 2010 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Aug 21, 2010 16:14 Trackback (0)
August 18, 2010
How to set up MPlayer plugins on Firefox and use the CUPS drivers in Gutenprint on OpenSolaris build 111
1 How to set up MPlayer plugins
1.1 OpenSolaris doesn't have SUNWfirefox-devel, which
is required when building mplayerplug-in-daily.tar.gz,
so we might need to install firefox-3.1b3.en-US.open
solaris-i386-pkg.bz2, which includes SUNWfirefox,
SUNWfirefox-devel, and SUNWfirefox-bookmark. We
can get the package from the URL given below.
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly
/contrib/3.1b3-candidates/build1/
1.2 You might need to uninstall firefox, reinstall the
relative packages, and reboot to install firefox-3.1b3.
en-US.opensolaris-i386-pkg.bz2. The command lines
are given below.
# pkg uninstall SUNWgnome-help-viewer
# pkg uninstall SUNWcodeina
# pkg uninstall SUNWipkg-gui
# pkg uninstall SUNgnome-python-extras
# pkg uninstall SUNWfirefox
# pkg install SUNWgnome-help-viewer
# pkg install SUNWcodeina
# pkg install SUNWipkg-gui
# pkg install SUNgnome-python-extras
# reboot
1.3 You can install firefox-3.1b3.en-US.opensolaris
-i386-pkg.bz2. The command lines are given below.
# bunzip2 -d firefox-3.1b3.en-US.opensolaris-i386-pkg.bz2
# pkgadd -d firefox-3.1b3.en-US.opensolaris-i386-pkg
1.4 Then I referred to the useful website given below
and could install MPlayer. I express my heartful
thanks to homeunix.com and the command lines
are given below.
http://solaris.homeunix.com/?q=node/24
# pkg set-authority -O http://ips.homeunix.com:10906 homeunix.com
# pkg refresh --full
# pkg install MBLmplayer
1.5 Next you might need to install mplayerplug-in-daily.tar.gz.
We can get the package from the URL given below and
the command lines are given below.
http://mplayerplug-in.sourceforge.net/download.php
$ gzcat mplayerplug-in-daily.tar.gz | tar xvf -
# pkg install SUNWgnome-common-devel
# ./configure
# make -i install clean
1.6 Now we can play wmv files using MPlayer
plugins on Firefox and confirm we added
mplayerplug-in to mozilla plugins.
2 How to use the CUPS drivers in Gutenprint
2.1 Second we confirm CUPS and the relative
packages were installed or install them using a
package manager if they weren't installed.
2.2 We might need to install gutenprint-5.2.6.tar.bz2
and can get the package from the URL given
below. The command lines are also given below.
http://sourceforge.net/projects/gimp-print/files/
# bzip2 -dc gutenprint-5.2.6.tar.bz2 | tar xvf -
# cd gutenprint-5.2.6
# ./configure --enable-cups-ppds
# make install clean
# reboot
2.3 Then we might need to enable CUPS and the command
lines are given below.
# print-service -s cups
2.4 Now we can use the CUPS drivers in Gutenprint,
for example Epson PM-T960 compatible with
Epson Stylus photo RX595, RX680 from the
URL http://localhost:631/.
Finally I am happy to assist you to set up MPlayer plugins
and use the CUPS drivers in Gutenprint on OpenSolaris
build 111.
August 18, 2010 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Aug 18, 2010 13:44 Trackback (0)
August 15, 2010
How to solve the problems of the X server, CUPS, and OpenOffice.org on FreeBSD 8.1 amd64
I have reluctantly canceled the RAID array on
Inspiron 531s recently because I unfortunately
had no option but to realize the latest updates
for Fedora 13, such as the alternation of Dracut,
mapping, and mdraid instead of dmraid, didn't
recognize NVIDIA RAID array. It however seemed
I had also better upgrade from FreeBSD 7.1 or the
older version, which had been already installed on
the RAID drive, to the latest FreeBSD 8.1 on the
non-RAID drive at the same time if I was going to
do it. That is why I came to grips with the installation
of FreeBSD 8.1 several times.
First the X server failed to start after installing
FreeBSD 8.1 on the machine with NVIDIA video
card. Therefore I previously downloaded NVIDIA-
FreeBSD-x86_64-256.44.tar.gz in a FAT32 partition
and installed the driver in the CUI editor. The
command lines are given below.
# tar xzf NVIDIA-FreeBSD-x86_64-256.44.tar.gz
# cd NVIDIA-FreeBSD-x86_64-256.44
# make install clean
# nvidia-xconfig
Second I couldn't see the CUPS interface at http://
localhost:631/. Therefore I reinstalled cups-base
and cups-client and installed cups-image from ports.
After that I edited cupsd.conf in /usr/local/etc/cups
to set the authentication. The command lines are
given below.
# cd /usr/ports/print/cups-base
# make deinstall && make install clean
# cd ../cups-client
# make deinstall && make install clean
# cd ../cups-image && make install clean
Third I tried to install openoffice.org-3 from ports
and the size of /usr was 23GB. It actually was not
little enough. To put it concretely, it was enough
to make openoffice.org-3 but not enough to install
openoffice.org-3. Therefore I temporarily moved some
directories into the home directory and made room
for installing openoffice.org-3 in /usr. The size of
them was about 1.2GB, so the size of /usr, which was
about 24GB, might be enough to install openoffice.org-3.
Finally I am happy to assist you in solving these
various problems on FreeBSD 8.1 amd64.
August 15, 2010 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Aug 15, 2010 14:36 Trackback (0)
January 09, 2010
Die Weise, wie ich es vermied, die Audio-Datein durch PulseAudio auf Fedora 12 leider nicht abspielen zu können
Ich erlebt, dass Audio-Datein mit dem Real Player nach
dem Wiedergabe von Flash-Datein nicht wiedergegeben
werden konnte. Tatsächlich konnte ich BBC World Service
mit dem Real Player nicht anhören, nachdem ich ZDF
heute-Sendung mit dem Flash Player angesehen hatte.
Die Weise, wie ich das besagt Problem vermied, war
ein Neustart von PulseAudio und ich gab die nachstehende
Kommandozeile nach dem Schliessen des Browser ein.
$ pulseaudio -k
Dann drückte ich nur Alt+F2 aber danach bestätigte ich,
dass es gut ging, auch wenn ich diese Tasten nicht
drückte. Immerhin war das gesagt Problem mit der gesagt
Weise gelöst.
Aber danach stellte ich fest, dass ich nur an den
Browser zu schliessen brauchte, um Audio-Datein mit
dem Real Player nach dem Wiedergabe von Flash-Datein
oder der Verwendung von VLC media player zu abspielen
und dass ich die gesagt Kommandozeile zu eingeben
brauchte, um den VLC media player zu verwenden,
nachdem ich Audio-Datein mit dem Real Player
abgespielt hatte.
Schliesslich freue ich mich, Ihnen bei der Lösung das
Problem über PulseAudio auf Fedora 12 zu unterstützen.
January 9, 2010 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Jan 9, 2010 20:03 Trackback (0)
December 15, 2009
How to solve the problems related to gdm, OpenOffice, gstreamer-plugins, Compiz, and Bluetooth PAN on FreeBSD 8.0 amd64
It took five days with occasional rests to solve the
problems approximately and it was never out of my
mind if I may be allowed a little exaggeration. I'd like
to express my appreciation for the various websites
referring to the problems mentioned above.
First I used pkg_add to install Gnome2 and dependencies,
deleted gdm from the system, and installed gdm from ports.
Besides that, to change the login background screen, I
replaced background-default.jpg which was in /usr/X11R6/
share/pixmaps/backgrounds/gnome.
Second one of the useful websites referring to installing
OpenOffice for FreeBSD is given below.
http://porting.openoffice.org/freebsd/
The command line to install the package after downloading
OOo_3.1.1FreeBSD80X86_64_install_ja.tbz is given below.
# pkg_add -f OOo_3.1.1FreeBSD80X86_64_install_ja.tbz
Actually I had tried to build openoffice.org-3 from ports
but the size of /usr I adopted was not enough and then
switched the way to install openoffice.org-3 from ports
to using pkg_add.
Third I built multimedia/gstreamer-plugins-all from
ports to play wma and asx files. The command line
to build the package is given below.
# make -i install clean
Actually I had built audio/gstreamer-plugins-lame,
audio/gstreamer-plugins-mad, and audio/gstreamer-
plugins-wavpack from ports but gstreamer-plugins-
bad was missing from the indispensable packages
to listen to BBC World Service and RFI and then
switched the way to build them from picking up
them one by one to building multimedia/gstreamer-
plugins-all from ports. Consequently, I could listen
to the internet radio broadcasting as given above.
Fourth, after building compiz and dependencies from
ports, I went to System->Preferences->Startup
Applications->Startup Programs, added Startup
Programs such as Compiz and Emerald, and edited
their commands. The examples are given below.
Name: Compiz
Command: compiz --replace gconf
Name: Emerald
Command: emerald --replace
Plugin List includes core, dbus, decoration, glib, move,
place, resize, scale, and switcher.
Fifth I referred to the useful website mentioned below.
http://www.mail-archive.com/freebsd-bluetooth@freebsd.org/msg00661.html
I am very much indebted to the website for their useful
suggestion. Reverting to the subject, I added the command
lines as given below to /boot/loader.conf.
netgraph_load="YES"
ng_ubt_load="YES"
Besides that, I added the command lines as given below
to /etc/rc.conf.
hcsecd_enable="YES"
devd_enable="YES"
By default, ng_ubt recognized the bluetooth device, ubt0,
in Thinkpad SL400 and also another bluetooth device, ubt1,
such as BTMicroEDR2X. Then I made connection.sh
according to the website mentioned above for connecting
Bluetooth PAN.
# vi connection.sh
#!/bin/bash
ifconfig tap0 create mtu 600
btpand -a 00:00:00:00:00:00 -d ubt0 -s NAP -i tap0
#Put the MAC address of our bluetooth device,
#such as a pocket PC or a smart phone,
#into 00:00:00:00:00:00
dhclient tap0
# chmod a+x connection.sh
After pairing the bluetooth device, I could connect
Bluetooth PAN on FreeBSD 8.0 amd64. The command line
to connect Bluetooth PAN is given below.
# sh connection.sh
Finally I will be happy to assist you in solving these
various problems on FreeBSD 8.0 amd64.
December 15, 2009 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Dec 15, 2009 1:11 Trackback (0)
December 01, 2009
The problems of initial wallpapers, Screenlets, Enigmail, and NVIDIA drivers on Fedora 12
It took eight days at a stretch to solve the problems
mentioned above. As many people have mentioned
in various places, I will also frankly describe how to
deal with these matters.
First the background image such as default.jpg or
constantine.png is always displayed by default.
The reason why is that Wallpapoz Autostarter works
in startup programs. Therefore we have to turn off
wallpapoz-autostart to set the background image.
Second some screenlets such as Weather and
RssMini require the numerical extension to Python.
The command line to work the widgets appropriately
is given below.
# yum install python-numeric*
Third Open PGP Key Management haven't worked
well in the Japanese language environment since
Enigmail 0.97a. To put it concretely, I couldn't set
owner trust and deal with imported keys but import
keys from files on Open PGP Key Management window
in the Japanese language environment. However, in the
English language environment, Open PGP Key Management
works well and there seems to be no problems. One of the
solutions is to select the English language environment
on gdm.
Fourth I could install NVIDIA-Linux-x86_64-190.42-pkg2.run
on Fedora 12 on Dell Inspiron 531s but couldn't install it
on Fedora 12 on Lenovo Thinkpad SL400 by default. One of
the useful websites in this case is given below.
http://linuxsoftwareblog.com/blog/?p=232
Accordingly we might need to edit grub.conf and add
nouveau.modeset=0 and vga=0x318 to kernel parameters
for the time being.
# vi /boot/grub/grub.conf
<EXAMPLE>
kernel /vmlinuz-2.6.31.5-127.fc12.x86_64 ro root=/dev/mapper/VolGroup00-LogVol01 nomodeset Lang=ja_JP.UTF-8 KEYBOARDTYPE=pc KEYTABLE=jp106 rhgb quiet nouveau.modeset=0 vga=0x318
The command line after that is given below.
# ./NVIDIA-Linux-x86_64-190.42-pkg2.run --kernel-source-path /lib/modules/$(uname -r)/build
Finally I will be happy to assist you in solving these
various problems on Fedora 12.
December 1, 2009 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Dec 1, 2009 14:04 Trackback (0)
November 06, 2009
Small Tips to change desktop-login.ogg to login.wav on Fedora 11
First we need to install Sounds for Gnome, such as
gnome-audio-2.22.2-4.fc11.noarch and ascertain
login.wav is stored in the directory /usr/share/sounds.
Second we go to System>Preferences>Personal>
Startup Applications>Startup Programs, select Gnome
Login Sound, and edit its command.
The initial state is given below.
/usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"
It needs to be modified as given below.
/usr/bin/canberra-gtk-play -f /usr/share/sounds/login.wav --description="GNOME Login"
Third we can hear login.wav instead of desktop-
login.ogg when we login again.
Finally I will be happy to assist you in customizing
the login sound on Fedora 11.
November 6, 2009 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Nov 6, 2009 14:51 Trackback (0)
October 27, 2009
How to solve the problems related to pulseaudio and gdm on FreeBSD 7.2
One of the solutions is to build gnome2 and
dependencies from ports, which some web sites
show. So I didn't install Gnome2 and dependencies
but Xorg and dependencies from DVD-R.
First I updated ports using portsnap.
# portsnap fetch
# portsnap extract
Second I installed Gnome2 and dependencies
from ports.
# cd /usr/ports/x11/gnome2
# make install clean
It required more than 10 hours and less than
24 hours and there were a lot of error messages
during building gnome2. I used pkg_add to deal
with the error messages relative to the installation
of some of the packages.
# pkg_add -r THE_PACKAGE_NAME
However, I didn't use pkg_add to install pulseaudio
and gdm. Please make sure that you install pulseaudio
and gdm from ports through building gnome2 and
dependencies.
Third the size of /usr I adopted was about 16GB
but it was not enough when I built jdk16 and
openoffice.org-3 after having built gnome2.
Therefore, I removed all files in /usr/ports/distfiles
when I built openoffice.org-3.
# cd /usr/ports/distfiles
# rm -rf *
Finally I will be happy to assist you in solving
the problems related to pulseaudio and gdm
on FreeBSD 7.2.
October 27, 2009 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Oct 27, 2009 23:30 Trackback (0)
August 16, 2009
How to avoid the error message 'alsamixer: function snd_ctl_open failed for default: No such device' with YMF-744B on Debian 5.0
In the beginning I refered to the web site mentioned
below to solve the problem.
http://www.k13i.com/~koya/notepc.html
I'd like to express my appreciation to the web site
mentioned above. It is, however, written in my native
language, Japanese so you might need to use something
like a translator, such as Google translate but I will
describe the gist of its content and support you in
solving the problem.
The problem was that the error message "alsamixer:
function snd_ctl_open failed for default: No such
device" was shown on the screen and that
alsamixer wasn't available on Debian 5.0 when we
started alsamixergui with YMF-744B. This might be
because the firmware for YMF-744B wasn't installed
and because the DFSG adhered to a strict interpretation
of FOSS.
According to the web site mentioned above, we need
to go to ALSA project homepage,
http://www.alsa-project.org/main/index.php/Main_Page
and download alsa-firmware-1.0.20. After then we need
to install alsa-firmware. The command lines are given
below.
# tar jxvf alsa-firmware-1.0.20.tar.bz2
# cd alsa-firmware-1.0.20
# ./configure
# make
# make install
# alsaconf
After configuring ALSA through alsaconf, we could
confirm alsamixer was available on Debian 5.0.
Finally, I will be happy to assist you in setting up
alsamixer with YMF-744B on Debian 5.0.
August 16, 2009 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Aug 16, 2009 16:50 Trackback (0)
August 01, 2009
Ce que j'ai fait par la suite pour lire un fichier wmv sous Fedora 11
Il y avait pleusieurs solutions variables. Je n'ai
pas pu lire le fichier wmv sur France2.fr avec Gnome
MPlayer sur Firefox 3.5 après le 29 juillet alors que
j l'ai pu lire avec Gnome MPlayer indépendant. En plus
il y a eu un message d'erreur quand j'ai compilé et
installé mplayerplug-in-3.55.tar.gz. C'est pourquoi
j'ai utilisé MPlayer et mplayerplug-in-daily.tar.gz.
En bref, nous pouvons maintenant compiler et installer
mplayerplug-in-daily.tar.gz avec les préférences par
défaut de Fedora 11, MPlayer peut être utilisé sur le
navigateur web par le plugin, et mplayerplug-in-0.4.xpi
n'était pas disponible sur Firefox 3.5 en juillet 2009
à cause du problèm avec la mise à jour de le plugin.
Je me suis référé à
http://mplayerplug-in.sourceforge.net/.
Les commandes lignes que j'ai utilisé sont
montrés ci-dessous.
$ tar -xzvf mplayerplug-in-daily.tar.gz
$ cd mplayerplug-in
$ ./configure
$ make
$ make install
J'ai specifié le pilote vidéo xv et le pilote audio
pulse sur MPlayer pour lire un fichier wmv sous
Fedora 11.
Enfin je vous souhaite de réussir à lire un fichier
wmv sur Firefox sous Fedora 11.
August 1, 2009 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Aug 1, 2009 22:39 Trackback (0)
July 09, 2009
Ce que j'ai fait pour lire le fichier wmv du journal télévisé de France 2 sous Fedora 11
J'ai pensé arbitrairement que il fallait installer VLC
media player, le plugin, et les paquetages relatifs. Je
n'ai en fait pas pu lire le fichier wmv du journal
télévisé de France 2 avec un lecteur multimédia par
défaut de Fedora 11, c'est-a-dire Totem, avant 9 juillet
2009, tandis que c'était bien que je le pouvais lire avec
VLC Media Player. Je me suis aperçu après que France 2
recommandait une installation de la dernière version de
MPlayer. Il y a eu plusieurs solutions et j'utilise
actuellement MPlayer à lecture de la vidéo. C'est parce
que il peut cesser temporairement de jouer la vidéo
en streaming et que il y a un progress slider disponible
sur Firefox. Je confirme seulment que maintenant nous
ne pouvons pas déplacer librement le slider.
Les URLs sont http://jt.france2.fr/20h/ et
http://videojts.francetv.fr/player/aide/index.php
et vous trouvez la capture d'écran ci-dessous.
La figure 1 montre la capture d'écran du journal
télévisé avec VLC Media Player que n'a pas
le progress slider disponible sur Firefox. Il ne
peut donc pas cesser temporairement de jouer
la vidéo en streaming.

Figure 1 Le journal télévisé avec VLC Media Player
La figure 2 montre la capture d'écran du journal
télévisé avec MPlayer et vous pouvez confirmer que
il y a le progress slider disponible sur Firefox
au coin gauche en bas de la capture d'écran.

Figure 2 Le journal télévisé avec MPlayer
Enfin je vous souhaite de réussir à regarder les
journaux télévisés de France 2 sous Fedora 11.
July 9, 2009 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Jul 9, 2009 13:48 Trackback (0)
June 03, 2009
About avoiding the error message "Service pack did not install. Reverting changes" when installing Windows Vista SP2 on a dual boot system including OpenSolaris
OpenSolaris installs Grub in MBR. Grub in MBR, however,
interferes with installing Windows Vista SP2. Normally
installing Windows Vista SP2 demands using Windows
Boot Manager when we choose an operating system.
Firstly, we need to boot OpenSolaris using Windows Boot
Manager. Therefore we confirm Fdisk information for device
/dev/rdsk/c3t0d0p0 after installing FSWpart and FSWfsmisc.
c3t0d0p0 is an example and dependent on each environment.
The command lines are given below.
# prtpart

Figure 1 Fdisk Information
# prtpart /dev/rdsk/c3t0d0p0 -ldevs

Figure 2 Virtual Device Names
After confirming a virtual device name of Solaris x86, we
create the boot image of the OpenSolaris using the
dataset definition. The command line is given below.
# dd if=/dev/rdsk/c3t0d0p3 of=osol.bin bs=512 count=1
After then we copy osol.bin in the directory on FAT32 and
Windows C drive. For example, C:\osol.bin.
Next we use Windows console which requires administrative
privilege. The command lines are given below.
>bcdedit /copy {ntldr} /d "OpenSolaris"
>bcdedit /set {GUID} device partition=C:
>bcdedit /set {GUID} path \osol.bin
>bcdedit /displayorder {GUID} /addlastAfter reboot and the selection of Windows through Grub
menu we can boot OpenSolaris using Windows Boot
Manager.

Figure 3 Windows Boot Manager
Secondly, we designate NTFS partition including Windows
Vista as an active partition, using for example GParted
and so on.

Figure 4 GParted Partition Table

Figure 5 Active Partition
After then we recover Windows MBR using Vista Recovery
Console. The command line is given below.
>bootrec /FixMbr
Thirdly, after installing Windows6.0-KB948465-X86.exe, we
have applied Windows Vista SP2 on a dual boot system
including OpenSolaris.
Finally, I will be happy to assist you in installing
Windows Vista SP2.
June 3, 2009 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Jun 3, 2009 10:19 Trackback (0)
May 21, 2009
内蔵DVD-ROMドライブが故障したPCを部品交換でアップグレードして。
1999年発売のFMV-DESKPOWER C2/507の
DVD-ROMドライブが故障してから約1年半が過ぎよう
としていた。メーカーのテクニカルサポートから交換
部品の在庫がないと言い渡され、その半年後サポート
を打ち切る旨のメールが配信された。
BUFFALO、IO-DATAの対応情報によれば、
採用ドライブがソニーNECオプティアーク、パイオニア
製の場合動作報告がなく、パナソニック製の場合に
辛うじて動作報告がある現状だった。
こういうケースでは、古いPCは時間が経てば
経つほど部品が生産完了になり、早めに手を打つ
必要があることを認識していただけるだろう。
但し、パナソニック製のドライブにしてもXPのSP2
に対応したDVDドライブであり、殻付DVD対応である
ことからトレイの大きさが最後まで懸念材料のひとつ
だった。
当方の使用状況はWindows98SEからWindowsXP
SP2にバージョンアップ済みの状態で、OSの問題を
クリアしていたことを鑑み、DVR-AM16CVでの
動作報告はなかったが、これなら行ける可能性が
あるかもしれない、うまくいかなければSR-8585-B
に互換するドライブを海外を含めて広く探して調達
すれば良いかとの漠然とした考えを抱いていた状況
だった。
結論から言うと、FMV-DESKPOWER C2/507の
SR-8585-Bが故障した場合、OSがXPのSP2ならば
DVR-AM16CVのベゼルの蓋を取り外して、SR-8585-B
のベゼルの突起部をDVR-AM16CVのトレイの前部に
瞬間接着剤で張り付ける程度の作業を厭わなければ、
SR-8585-Bの代わりにDVR-AM16CVを使用することは
可能である。
しかしOSがXPのSP2のためリカバリディスクを使用して
再度Windows98SEをインストールすることは避けた方が
良いだろう。
実際動作を検証したのは、DVDブートでKNOPPIXが
起動するかとWindowsのデバイスマネージャーでDVD
ドライブに対するドライバが正常に動作しているかの
2点に単純化したものになったが、どちらも問題は
なかった。
結果として、SR-8585-Bを使用していた頃は
DVD-ROMの読み込みのみ可能だったが、DVR-
AM16CVに交換したことにより、DVD-RW, DVD-
RAMの書き込みが可能になったことを確認し、
これは光学ドライブのアップグレードと言っても
良いだろうとの思いを抱いた。
内蔵DVDドライブが故障したPCを修理する必要性に
かられた方にこの記事が参考例の1つとして役立つ
ことを祈るばかりである。
May 21, 2009 in パソコン・インターネット , 学問・資格 , 雑記 ,
| May 21, 2009 19:23 Trackback (0)
May 08, 2009
About configuring RAID 1 on nForce 430 with Multiboot System
May 8, 2009 in パソコン・インターネット , 学問・資格 , 雑記 ,
| May 8, 2009 13:24 Trackback (0)
February 15, 2009
How to set up Bluetooth PAN on Fedora 10
In the beginning I referred to
http://bluez.sourceforge.net/contrib/HOWTO-PAN
and
http://blog.myfenris.net/?tag=bluetooth-pan.
I'd like to express my appreciation to the web
sites mentioned above.
Now I am writing this article intended for users
who can set up Bluetooth PAN on Windows
though this is the first time that they set up
Bluetooth PAN on Fedora 10.
1. You will need to make ifcfg-bnep0.
$ su
# vi /etc/sysconfig/network-scripts/ifcfg-bnep0
DEVICE=bnep0
BOOTPROTO=DHCP
ONBOOT=no
2. You will need to make connection.sh according to
your convenience for connecting Bluetooth PAN.
# vi connection.sh
#!/bin/bash
modprobe bnep
pand --connect 00:00:00:00:00:00
# Put the MAC address of your bluetooth device,
# such as a pocket PC or a smart phone,
# into 00:00:00:00:00:00.
ifconfig bnep0
ifup bnep0
# chmod a+x connection.sh
3. You will need to open the Internet Sharing Connection
after pairing the bluetooth device, such as a pocket PC
or a smart phone, with your Laptop PC.
Regarding pairing, see other useful web sites.
4. You will need to go to System -> Administration ->
Network, double click on the bnep0, set the bnep0
to start on boot, quit Network Configuration and
reboot.
5. Execute connection.sh.
$ su
# ./connection.sh
When I executed connection.sh twice,
I could connect Bluetooth PAN on Fedora 10.
Finally, I will be happy to assist you in setting up
Bluetooth PAN on Fedora 10.
February 15, 2009 in パソコン・インターネット , 学問・資格 , 携帯・デジカメ , 雑記 ,
| Feb 15, 2009 18:55 Trackback (0)
January 16, 2009
Windows7 betaの設定に関し、パート2。
Windows7 beta 64bit に関する動作報告の
続編になる。75%程度、Vista 32bit の状態を
再現することが可能になったと言ったらお叱り
を受けるだろうか。
32bitアプリケーションに関し、Firefox 3.0.5、
Thunderbird 2.0.0.19 は正常に動作している
ことを確認する。
Inspiron531sに付属していたRoxio Creator
DE 9.0.117、PowerDVDに関し、インストール時
エラーを示すウインドウが前者では立ち上がる
こともあったが正常に起動する段階までは確認
した。
Google Desktopについては、MSDOSにて、
# GoogleDesktopSetup.exe /force
を実行することにより、インストール及び起動が
可能になることを確認する。
他方、ObjectDesktop、Ultramonについては、
今後の対応待ちの状態にあるが、後者に関し
レジストリを変更すれば使用可能であることを
確認する。
さらにNVIDIAのドライバに関し、
181.20_geforce_winvista_64bit_international_whql
が正常にインストールされ、又動作したことを補足
する。
最後になりましたが、この記事が読者の皆様の
お役に立てることを祈る次第です。
では。
January 16, 2009 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Jan 16, 2009 16:03 Trackback (0)
January 15, 2009
Windows7 betaの設定に関し。
Windows7 beta, 64ビットを試す機会に恵まれ、
ここに経緯を記す。具体的にはドライバとアプリ
の動作状況になる。
IEは32ビット版と64ビット版の2種類がインスト
ールされ、Flash, Javaのアプレットは32ビット版の
IEで表示される運びになる。
Epson, PM-T960のプリンタドライバはインスト
ール時にエラーが生じるが、Windows7のコント
ロールパネル>プリンターの追加>ネットワーク、
ワイヤレスまたはBluetoothプリンターを追加
する(W)にて、テスト印刷が可能な状態になる。
ウイルス対策ソフトに関し、ノートン インター
ネットセキュリティ2008のインストールではエラー
が生じるが、インターネットセキュリティ2009にて
インストールが可能になり、現在のところ動作に
不具合はない。
Office Professional 2007に問題はなく、同様に
FrontPage 2000のインストールに関しても問題は
なかった。又、古いがPhotoshop Elements 2.0の
インストールに関しても問題は生じていない。
この記事が皆様の問題解決に資することを
祈るのみである。
では。
January 15, 2009 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Jan 15, 2009 11:21 Trackback (0)
January 11, 2009
How to listen to BBC World Service on Windows Mobile 6 Classic
I have not been able to listen to BBC World Service
on RealOne Player for Pocket PC Version 2.0.0.28
since a latter half of December 2008. This reason is
an alternation of Real Media format, in fact, livenews_
v8.ra has been changed into live_news_au_nb.ram
since last December.
The first step in solving this problem is to install TCPMP
on our smart phone or pocket PC. Google is a great help
to install TCPMP.
After installation, go to Option>Settings>Select Page>
File Associations, and check the Windows metafiles
(ASX,WMX,MVX,WAX) box and other relative boxes.
When you opened live_news_au_nb.asx on TCPMP
and the error message appeared, such as Unknown
file format!, you might need to rewrite live_news_au_nb.asx.
<asx version = "3.0" >
<entry>
<ref href="http://www.bbc.co.uk/worldservice/meta/tx/nb/live/www17.asx" />
</entry>
</asx>
This href has a suitable time. Now I write down this
article in January 2009. I hope things will go well for you.
January 11, 2009 in パソコン・インターネット , 学問・資格 , 携帯・デジカメ , 雑記 ,
| Jan 11, 2009 23:10 Trackback (0)
December 01, 2008
Fedora10のPlymouthについて。
Inspiron531sと増設したGeForce8400GSの
組合せでは、Fedora10のグラフィカルブート
スプラッシュ画面を見ることがかなわなかった
ため、若干の調整を施した。
http://docs.fedoraproject.org/release-notes/f10/ja/
What_is_New_for_Installation_and_Live_Images.html
を参照しながらの作業になった。
具体的には、カーネルの起動パラメーターに
vga=0x318を追加する。つまり、
# vi /boot/grub/grub.conf
でgrub.confを開き、
kernel /vmlinuz-2.6.27.5-117.fc10.x86_64 ro root=UUID=XXXX rhgb quiet vga=0x318
とgrub.confを修正する。但し、UUIDの箇所は、
各環境で異なるだろうから、ここではXXXXと
表記してあり、実際、初期設定の文字列に一切
変更を加える必要がないことを追記する。
カーネルモードセッティングドライバーが
使用可能になれば、ネイティブの解像度が得ら
れるとRed Hatが公表している通りだが、
テキストベースのプラグインの使用を避ける
には、このような経過になることを追記します。
最後になりましたが、この記事が読者の一助に
なることを祈るばかりです。
では。
December 1, 2008 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Dec 1, 2008 12:28 Trackback (0)
November 27, 2008
FreeBSD上のGIMPでwireless接続のPM-T960からファイルを印刷するには。
Adobeのpdf印刷にも応用が効くことだろうと
考えられるが、設定自体は然程入り組んだものでは
なく、まあ前置きはこれくらいにして本題に入る。
まずgimpをインストールしないことにはポスト
カードの作成を含めて幅が広がらないことだろう。
$ cd /usr/ports/graphics/gimp
# make install clean
途中エラーが生じたがエラーメッセージを元にビルドに
失敗したパッケージを探し、tbzファイルをpkg_addで
処理し、インストールが完了した事を追記する。
又、/usr/local/etc/cups/mime.convs の
#application/octet-stream application/vnd.cups-raw 0 -
の#を外し、
application/octet-stream application/vnd.cups-raw 0 -
と書き換え保存しないと、印刷の段階でエラーが生じることを
追記する。
gimpでcupsのlprを用いるには、何か作成された
画像が開かれている下で、ファイル→Print with
GutenprintからPrint v5.1.7ウインドウを立ち上げる。
その後、Setup Printer→「Printer Make: Epson」、
「Printer Model: Epson PM A820」を選択し、
Custom Commandのラジオボタンにチェックを入れた
後、コマンド欄に /usr/local/bin/lpr -P PM-T960
と入力してOKボタンを押す。
但しPM-T960の部分はCUPSで設定したプリンター名
を入力すれば良く、「/usr/local/bin/lpr -P PM-T960」
のコマンドはAdobeのacroreadの印刷の際に利用できる
ことも確認済みであることを追記する。
最後に設定の前提条件を挙げるが、cups及びgutenprint
がインストールされ、テスト印刷が可能になっていること
を述べる。
上記の記事が年末年始にかけてのポストカード等の
印刷の設定の一助となっていることを願うばかりだが、
やはりやってみなければ分からないことを含めて諸問題を
無事解決される事を祈るばかりである。
では。
November 27, 2008 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Nov 27, 2008 12:41 Trackback (0)
November 17, 2008
FreeBSDでネットワークプリンタPM-T960を使用するには。
色々試した結果なので、最短コースの手解きに
ならないことを始めにお断りしたい。結論から言えば、
表題の件は可能であると述べさせて戴く。
前提条件として、FreeBSD i386 及び cups を
インストールしていることを挙げる。cupsのインスト
ールについては、/usr/ports/print/cups にて
# make install clean
で構わないだろう。
そして、PM-T960のドライバをCUPSに組み込む
ため、gutenprintとgutenprint-cupsをビルドする。
# cd /usr/ports/print/gutenprint-cups
# make install clean
# cd /usr/ports/print/gutenprint
# make install clean
上記がコマンドになる。
但し、foomatic-db-engine-3.0-20070124の
ビルドで当方の環境ではエラーが出たので、
foomatic-db-engineをgoogleで検索し、tbzファイル
を入手する必要がある。例えば、
http://www.filewatcher.com/m/
foomatic-db-engine-3.0.2,1.tbz.37.0.0.html
等からダウンロードされたい。
インストールのコマンドは、
# pkg_add foomatic-db-engine-20070124,1.tbz
で良いだろう。
AVASYSのホームページから類推できる様に、
Linux用のPM-A820のドライバとPM-T960の
ドライバは互換性がある。そこで、上記、gutenprint,
gutenprint-cups のインストールを通じ、CUPSの
プリンタ一覧の中に、メーカ:Epson、モデル:
Epson PM A820 - CUPS+Gutenprint v5.1.17 (ja)
が追加されていれば良いが、詳細は後で述べる。
Firefoxにて、http://localhost:631/を開き、
「プリンタの追加」を選択する。任意の「名前」、
「場所」、「説明」を入力した後、「デバイス」で、
「AppSocket/HP JetDirect (Unknown) 」を
選択する。「デバイス URI」に
「socket://192.168.1.3:9100」等を入力し、
「192.168.1.3」に関しては、PM-T960の
「ネットワーク情報確認」にてIPアドレスを確認
されたい。「192.168.0.3」等、色々あるだろう。
前段の続きで、「メーカ」に「Epson」を「モデル」に
「Epson PM A820 - CUPS+Gutenprint v5.1.17 (ja)」
を選択し、「プリンタの追加」ボタンをクリックすれば
完了になる。
以上これが決定版と言った書き方をしなかったが、
この記事の読者が各自の環境に合わせて、プリンタの
設定を済ますことができることを祈るばかりである。
では。
November 17, 2008 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Nov 17, 2008 12:44 Trackback (0)
November 06, 2008
FreeBSDでJAVAのAppletを表示するには。
FreeBSD7.1ではJDK15でなくJDK16が要求
される。linux-sun-jdk16ではJAVAのPluginが
Firefox2.0.0.17に認識されないことを追記する。
/usr/ports/distfilesに7つのファイルを置く
ことを要求され、詳細はビルドの際に表示される
エラーメッセージに記される通りで、それぞれ、
jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar,
jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar,
jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar,
tzupdater-1_3_9-2008g.zip, jce_policy-6.zip,
bsd-jdk16-patches-4.tar.bz2,
diablo-caffe-freebsd7-i386-1.6.0_07-b02.tar.bz2
になるが、DL元は全てエラーメッセージに記されて
いるから問題は生じないことを追記する。
ビルドに掛かる時間は2時間前後になり、
休日を利用する形になった。又、portsをupdate
しておかないと、tzupdater-1_3_9-2008g.zipを
読み込ませるために、Makefile, distinfo を修正
する必要があることも追記する。
概ね必要な事を記した気がするが、やはり
やってみなければ分からないことが多いから、
その場その場での修正は必要なことの1つ
だろう。
では。
November 6, 2008 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Nov 6, 2008 12:57 Trackback (0)
October 02, 2008
Fedora9とPM-T960をwirelessで接続し印刷するために施したこと。
ドライバはhttp://avasys.jp/index.htmlから
リンクを辿ることにより入手可能。2008/10/2
段階では、pipslite-1.2.0-1.i386.rpmだった。
# rpm -ivh pipslite-1.2.0-1.i386.rpm 後、
GNOMEならば、システム→管理→印刷 で、
プリンター設定画面に移る。
新規プリンター→その他→デバイスURIの入力で、
PM-T960のネットワーク情報確認画面から得られる
IPアドレスを参考にして socket://192.168.1.3:9100
等を入力する。ここで、192.168.1.3は192.168.0.3に
なることもあり、各自の無線環境によって異なる。
その後、プリンターをUSB接続し、コンソール
より、# pipslite-install と入力、PPDファイルを
作成し(詳細はREADME.jaの該当箇所にて)、
CUPSに戻り、PPDファイルを提供ボタンを選択し、
/usr/share/cups/model/ekpmt960.ppd を選択
する。暫く進むと適用ボタンが登場するから、
それをクリックし、設定完了。
但し、この方法はプリンターをUSB接続する
手間が掛かるため、ドライバをインストール後、
http;//localhost:631からCUPSの設定画面に入り、
プリンターの追加、lpd://192.168.1.3/queue、
メーカーでEpson、モデルでEpson LITE, Photo
Image Print System Lite (en)を選択、その後
プリンターの追加ボタンをクリックといった方法
を僕は手っ取り早いせいだろうか採用している。
テスト印刷を済ますまで若干の試行錯誤が
あったもののWindows程インストールに時間を
要しなかったことを記すが、アプリケーション
の幅はやはりWinに分がある様だ。
明日もがんばろう。
では。
October 2, 2008 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Oct 2, 2008 20:35 Trackback (0)
September 13, 2008
BackTrack3の日本語入力に関し、パート2。
SlackwareにSCIM+Anthyをインストール
する認識で構わないだろうが、以下記憶を再現
しながらのメモ書きになる。
前提条件としてKonquerorで日本語表示が
可能であることと日本語ロケールが作成されて
いることを挙げるが、BackTrack3上の日本語
表示について有益なサイトが現時点で複数ある
ため各自参考にされたいと考える次第。
http://slackpkg.org/からリンクを辿り、
slackpkg-2.70.4-noarch-1.tgzをダウンロード
する。その後、
# installpkg slackpkg-2.70.4-noarch-1.tgz
でインストール、slackpkgコマンドが使用可になって
いることを確認する。以下、断りはないが時宜に応じ
再ログインを含む再起動が必要な場合があることを
付け加えておく。
slackpkgの設定が必要で/etc/slackpkg/配下に
あるmirrorsファイルに
ftp://ftp.riken.jp/Linux/slackware/slackware-current/
等、scim関連パッケージを含むサイトを追加する。
具体的にはエディタで最後の行にミラーサイトの
アドレスを追加すれば良し。これは時期物のため
リンク切れが生じる可能性があることを念頭に
置かれたい。
また、slackpkg.confに関しては、エラーが
気になるようであれば、CHECKGPG=on を
CHECKGPG=off にすれば当面凌げるだろう。
ここからが本題。
# slackpkg update
# slackpkg upgrade gcc
にて関連ファイルをアップグレードしておかないと
SCIMを起動する際にエラーメッセージが出る場合
がある。
又、gtk+2-2.10.14-i486-1.tgz を
http://www.filewatcher.com/b/ftp/
192.87.102.42/vol/2/metalab/distributions/
ultima/ultimalinux-8.3/x86/l.0.0.html
等からダウンロードし、
# slackpkg remove gtk+-1.2.10-i486-4.tgz
# installpkg gtk+2-2.10.14-i486-1.tgz
を行い、Firefox 等のGTK+が関連するパッケージが
正常に動作することを確認する必要があったことを
追記する。
# slackpkg install scim
上述のコマンドを入力すると、ここで以下の画像は
reinstallのケースのものだが、依存関係を満たす
パッケージがインストールされる。

TabキーにてOKとCancelの間を往復されたい。
# slackpkg install anthy
上述のコマンドを入力すると、ここで以下の画像は
reinstallのケースのものだが、Anthyがインストール
される。

次にSkimのインストール。
http://www.scim-im.org/projects/skimから
リンクを辿り、例えば skim-1.4.5.tar.bz2 等をダウン
ロードする。
# tar jxvf skim-1.4.5.tar.bz2
# cd skim-1.4.5
# ./configure
# ./scons
# ./scons install
さらに.profileの設定。
export LC_ALL=ja_JP.utf8
export LANG=ja_JP.utf8
export MODIFIERS=@im=SCIM
export QT_IM_MODULE=xim
export GTK_IM_MODULE=scim
scim -d &
skim -d &
を加える。.profileがなければ、例えば root 配下に
新しく作り、上述のコマンドを書き込む。
最後に kasumi について。
http://users.zenwalk.org/user-accounts/
tsuren/JP/kasumi-2.2-i486-48.1/
等から、kasumi-2.2-i486-48.1.tgz 等を
ダウンロードし、
# installpkg kasumi-2.2-i486-48.1.tgz
再起動すれば、辞書編集機能が有効になっている
だろうが、詳細はSCIM入力メソッドの設定にて。
FirefoxとSCIMの共存については、
# slackpkg upgrade firefox
により2.0→3.0にすることでエラーを回避する
ことができたことを追記する。
以上、書き足りないことがある気がしてならないが
長い文章は読む方も大変だろうと考えるのでここまで
にする。
記事の読者の皆様がそれぞれの日本語入力環境を
無事構築されることを願うばかりだが、やってみなければ
分からないことは数多いだろう。
September 13, 2008 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Sep 13, 2008 21:27 Trackback (0)
May 18, 2008
About Installing ATLAS with Athlon 64 X2 for Windows users
1.1 Requirement: cygwin (gcc, g++, g77, make, gdb )
(#Use cygwin.bat and don't use RXVT,VT102 terminal
emulator or you can't go after 1.5.6.)
1.2 Access to http://www.netlib.org/atlas/
and obtain atlas3.6.0.gz.
1.3 After downloading atlas3.6.0.gz in /cygwin/usr/local/,
unzip atlas3.6.0.gz, when the command line is
gunzip -c atlas3.6.0.gz | tar xv or
tar xvfz atlas3.6.0.gz.
1.4 Since current directory is /cygwin/usr/local/,
move it to /cygwin/usr/local/ATLAS/, when
the command line is cd ATLAS.
1.5 Build xconfig.exe, when the command line is make
and answer the question below appropriately.
1.5.1 160
159
158
...
3
2
1
Enter number at top left of screen [0]: 160
1.5.2 Have you scoped the errata file? [y]: y
1.5.3 Are you ready to continue? [y]: y
1.5.4 Enter your machine type:
1. Other/Unknown
2. AMD Athlon
3. 32 bit AMD Hammer
4. 64 bit AMD Hammer
5. Pentium PRO
6. Pentium Ⅱ
7. Pentium Ⅲ
8. Pentium 4
Enter machine number [1]: 2
1.5.5 enable Posix threads support? [n]: y
1.5.6 Enter the number processors in system [0]: 2
1.5.7 use express setup? [y]: y
1.5.8 Enter Architecture name (ARCH) [WinNT_ATHLONSSE2_2]:
WinNT_ATHLONSSE2_2
1.5.9 Enter Maximum cache size (KB) [4096]: 4096
1.5.10 Enter File creation delay in seconds [0]: 0
1.5.11 Tune the Level 1 BLAS? [y]: y
1.6 Build ATLAS, when the command line is
make install arch=WinNT_ATHLONSSE2_2.
This work will take more than 2.5 hours to complete.
1.7 Copy the library files, when the command lines are
given below.
cd ./lib/WinNT_ATHLONSSE2_2,
cp *.a /lib,
ranlib /lib/liblapack.a, ranlib /lib/libatlas.a,
ranlib /lib/libcblas.a, ranlib /lib/libf77blas.a,
ranlib /lib/libptf77blas.a, ranlib /lib/libptcblas.a,
ranlib /lib/libtstatlas.a
1.8 Now you can use ATLAS, when the command lines are
given below.
g77 -o file01 file01.f -llapack -lf77blas -lcblas
-latlas -lg2c -lm or
g95 -o file01 file01.f90 -llapack -lf77blas -lcblas
-latlas -lg2c -lm
file01 is an example and you can use other
fortran 77 or 95 programs.
2.1 About the LINPACK benchmark
Access to http://www.netlib.org/benchmark/
and you can obtain 1000s, 1000d, linpacks,
and linpackd, which are benchmark programs.
The data which has the largest mflops in the
several trials is adopted.
2.1.1 The results from LINPACK 1000s benchmark
$ g77 -o 1000s 1000s.f
| norm resid | resid | machep |
| 9.56832123E+00 | 5.70633099E-04 | 1.19209290E-07 |
| X(1) | X(n) | |
| 1.00003088E+00 | 9.99999046E-01 | |
| factor | solve | total |
| 2.418E+00 | 0.000E+00 | 2.418E+00 |
| mflops | unit | ratio |
| 2.765E+02 | 7.232E-03 | 4.318E+01 |
2.1.2 The results from LINPACK 1000d benchmark
$ g77 -o 1000d 1000d.f
| norm resid | resid | machep |
| 1.05174252E+01 | 1.16766853E-12 | 2.22044605E-16 |
| X(1) | X(n) | |
| 1.00000000E+00 | 1.00000000E+00 | |
| factor | solve | total |
| 2.995E+00 | 0.000E+00 | 2.995E+00 |
| mflops | unit | ratio |
| 2.233E+02 | 8.958E-03 | 5.348E+01 |
2.2 About the DGEMM benchmark
Access to http://www.mcs.anl.gov/index.php,
go to Software>MPICH>Win IA32 Binary (1.2.1p1),
and obtain mpich2-1.2.1p1-win-ia32.msi. After
downloading mpich2-1.2.1p1-win-ia32.msi, we
install it on Windows system. Then we add C:\
Program Files\MPICH2\bin to path in environment
variables, copy libfmpich2g.a, libmpi.a, and
libmpicxx.a into /lib, and enter the command lines
given below.
$ ranlib /lib/libfmpich2g.a
$ ranlib /lib/libmpi.a
$ ranlib /lib/libmpicxx.a
Then access to https://computecanada.org/
and go to Committees>TECC>Working groups>
Benchmarking>Benchmark Collection>
Microbenchmarks>DGEMM, and you can obtain
dgemm-1.0.0.tar.gz.
$ tar xvfz dgemm-1.0.0.tar.gz
$ cd dgemm-1.0.0
$ cp ./setup/Make.Linux_AtlasFBLAS_Lam ./
We edit Make.Linux_AtlasFBLAS_Lam to solve
the problem about Message Passing library (MPI).
$ vi Make.Linux_AtlasFBLAS_Lam
MPlib = -lfmpich2g -lmpi -lmpicxx
# When the value of MPlib was null, it also
# went well.
We build dgemm-1.0.0, when the command line is
given below.
$ make arch=Linux_AtlasFBLAS_Lam
Now we can use mpiexec.exe and hpcc-dgemm.exe.
Then we will confirm the performance differences
between ATLAS+BLAS and BLAS which is included
in LAPACK using the benchmark software.
$ mpiexec -np 1 hpcc-dgemm 100
Figure1 shows the processing speed of ATLAS+BLAS
is approximately 5.6 times faster than the speed of
BLAS mentioned above regarding the performance
measured by Single DGEMM Gflop/s and the performance
differeneces related to the calculation accuracy is
not mentioned.

Figure 1 The DGEMM Performance
Finally, I am happy to assist you in installing ATLAS and
the DGEMM benchmark and evaluating the performance
differences of some software libraries.
May 18, 2008 in パソコン・インターネット , 学問・資格 , 雑記 ,
| May 18, 2008 18:52 Trackback (0)
April 13, 2008
外付けCD-ROMドライブからブートしない、CD-ROMドライブが故障したPCにWindowsXPをインストールする方法。
経緯を述べると、先日OSの再インストールの最中に
内蔵CD-ROMドライブが故障したことに気づいた。この
PCはUSB, Removableブートしない10年前の機種だ。
メーカーの技術担当は、既に部品の製造を中止して
おり在庫がなく、修復不能な旨告げるのみだった。されど、
FDドライブとHDドライブは辛うじてブートする。
内蔵CD-ROMドライブの読み取りに故障を抱えている
のみだから、手持ちのWindowsXPのCD(製品版)とFD
ブート、外付けのCD-ROMドライブがあればうまくいく例が
あることを以下に記す。
利用したCD-ROMドライブは、I-O DATAのDVDP-U8P、
ポータブルDVDドライブでブート対応している。PCは富士通の
FMV-DESKPOWER C2/507、1999年モデルでUSBブート等
の機能はない。
マイクロソフトのWindows XPのインストール用起動ディスク
を作成しhttp://support.microsoft.com/kb/880422/ja
(計6枚)準備完了、DVDP-U8Pはsysファイル等のドライバ
を用意していないが、MSの起動ディスクの中身が完全に
代用してくれる形となった。
ポータブルDVDドライブのACパワーをオンにし、PC固有の
USBにケーブルを接続、PCの電源をオンにし、FDブートを選択、
インストール用起動ディスクを順番に入れ、6枚目で画面に変化
が生じ、以下、その指示に従いXPのインストールを選択すると、
通常のMS-DOS起動ディスクでは認識しない外付けのCD-ROM
ドライブ(ポータブルDVDドライブ)を認識し、1時間程でイン
ストール完了といった成功例に繋がるだろうか。
上記の内容は富士通のHPにも掲載例があるが、
http://www.fmworld.net/biz/fmv/winxp/matter/r160.html
若干手順が異なるので、ここに記した。DVDP-U8Pもメーカー
HPは動作不能としているがOSがWindows98のケースであり、
XPでは不具合を現段階では確認していないことを記す。
ささやかな記事ではありますが、皆様のお役に立てることを
願っております。
April 13, 2008 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Apr 13, 2008 17:57 Trackback (0)
April 05, 2008
About the things specifications for Inspiron531s don't tell us.
Specifications for this machine tell us its memory is
512MB or 1GB. This machine I selected indeed has two
512MB memories. Picture A shows two preinstalled 512MB
memories work normally. The software package for this
verification is Memtest86 (http://www.memtest86.com,
Download-Memtest86 v3.4a ISO image(zip)).
Picture A

At the same time, there are well-known things in
the things specifications for this machine don't
tell us. Its memory capacity is above 1GB and can
be 2GB. Picture B shows two 2GB memories work
normally.
Picture B

Memories used in this verification are DDR2
PC2-6400 2GB x2 (Pulsar DCDDR2-4GB-800).
April 5, 2008 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Apr 5, 2008 21:04 Trackback (0)
October 27, 2007
The way of displaying the sample concordance lines from the Collins Corpus with the Norton Internet Security
The sample concordance lines are on the popup window.
When the security tab on the Norton Internet Security
is off, I can display the concordance lines and use the
Collocation Sampler. Although I don't want you to run
a risk, I cannot now offer the better solutions than what
I mentioned here to display the sample concordance
lines from the Collins Corpus. Good luck!
Corpus Concordance Sampler and Collocation Sampler
October 27, 2007 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Oct 27, 2007 0:14 Trackback (0)
August 19, 2007
A simple example of coding and simulating a little problem in Java
Here we can visually understand the convergence of Cauchy sequence by entering the value of x and N.
Definition: The function f(x,N,i) of two positive
integers x, i and a rational number N is defined by
.
The function g(N,i) of a positive integer i and a
rational number N is defined by
.
[•] is Gauss' symbol and r(x) is a positive square root of x. The vertical axis shows a sequence of values on the function of (x,N,i). The horizontal axis shows a sequence of values on the function of (N,i). The function of (x,N,i) has a minimum value in the assigned (i=1) condition and a maximum value in the assigned (i=1000) condition when the domain of i is between 1 and 1000.
The domain of x is over 0 and below 10^8, and the domain of N is over 0.1^16 and below 10^16. When you enter the numerical values of x and N, please push the enter key each time you enter x or N in the text box.
If you enter the value of x and N in other domains, the program automatically sets the variables such as x=10^5 and N=10^5.
source code: CauchySequence.java
import java.math.BigDecimal;
import java.math.BigInteger;
import java.awt.*;
import java.awt.event.*;
import java.applet.Applet;
import javax.swing.JLabel;
import javax.swing.JTextField;
public class CauchySequence extends Applet implements ActionListener{
private static final long serialVersionUID = -6724959421340457497L;
JTextField yx = new JTextField("100000");
JTextField yn = new JTextField("100000");
JLabel label1 = new JLabel("Convergence of Cauchy sequence",
JLabel.CENTER);
JLabel label2 = new JLabel("A natural number, 0<x<10^8",
JLabel.CENTER);
JLabel label3 = new JLabel("A rational number, 0.1^16<N<10^16",
JLabel.CENTER);
// variable set
double x = 100000;
double n = 100000;
public void init(){
label1.setPreferredSize(new Dimension(416,24));
label1.setFont(new Font("Serif",Font.BOLD,14));
add(label1);
label2.setPreferredSize(new Dimension(170,23));
label2.setFont(new Font("Serif",Font.BOLD,11));
add(label2);
yx.setPreferredSize(new Dimension(80,23));
add(yx);
label3.setPreferredSize(new Dimension(210,23));
label3.setFont(new Font("Serif",Font.BOLD,11));
add(label3);
yn.setPreferredSize(new Dimension(120,23));
add(yn);
yx.addActionListener(this);
yn.addActionListener(this);
}
public void actionPerformed(ActionEvent e){
if(e.getSource()==yx){
x=Double.valueOf(yx.getText()).doubleValue();
if(x <= 0 || x >= Math.pow(10.0,8) || x!=(long)x){
x=100000;
}
}
if(e.getSource()==yn){
n = Double.valueOf(yn.getText()).doubleValue();
BigDecimal n0 = new BigDecimal(yn.getText());
BigDecimal n1 = new BigDecimal(Math.pow(0.1,16));
BigDecimal n2 = new BigDecimal(Math.pow(10.0,16));
int d1 = n0.compareTo(n1);
int d2 = n0.compareTo(n2);
if(d1==-1 || d1==0 || d2==0 || d2==1){
n=100000;
}
}
yx.setText(""+(long)x);
yn.setText(""+n);
repaint();
}
public void paint(Graphics g){
// variable set
int i;
double b, m, p, y, minp, maxp, minb, maxb;
BigDecimal a0, a2, b0, n0, p0, p1, x0;
BigInteger a1;
double[] pp = new double[1000];
double[] bb = new double[1000];
int[] xxx = new int[1000];
int[] yyy = new int[1000];
for(i=1;i<=1000;i++){
p = Math.exp(10-0.01*i);
m = n/p;
p0 = new BigDecimal(p);
n0 = new BigDecimal(n);
p1 = n0.divide(p0,30,BigDecimal.ROUND_HALF_EVEN);
pp[i-1] = Math.log(m);
y = Math.sqrt(x);
x0 = new BigDecimal(y);
a0 = x0.multiply(p1);
a1 = a0.toBigInteger();
a2 = new BigDecimal(a1);
b0 = a2.divide(p1,30,BigDecimal.ROUND_HALF_EVEN);
b = b0.doubleValue();
bb[i-1] = b;
}
minp = pp[0];
maxp = pp[0];
minb = bb[0];
maxb = bb[0];
for(i=0;i<=999;i++){
if(pp[i]>maxp){
maxp = pp[i];
}
}
for(i=0;i<=999;i++){
if(pp[i]<minp){
minp = pp[i];
}
}
for(i=0;i<=999;i++){
if(bb[i]>maxb){
maxb = bb[i];
}
}
for(i=0;i<=999;i++){
if(bb[i]<minb){
minb = bb[i];
}
}
for (i=0;i<=999;i++){
double xx = maxp-minp;
double yy = maxb-minb;
xxx[i] = (int)((pp[i]-minp)*(351/xx))+33;
yyy[i] = 441-(int)((bb[i]-minb)*(351/yy));
}
Graphics2D g2 = (Graphics2D)g;
GradientPaint gp1 = new GradientPaint(0, 0,
new Color(154,181,228), 0,470,new Color(225,232,245), true);
g2.setPaint(gp1);
g2.fillRect(0,0,416,470);
super.paint(g);
GradientPaint gp2 = new GradientPaint(0, 33,
new Color(225,232,245), 0,351,new Color(154,181,228), true);
g2.setPaint(gp2);
g2.fillRect(33,90,354,351);
g2.setColor (Color.black);
g2.setFont(new Font ("Serif",Font.PLAIN,11));
g2.drawString("f",15,95);
g2.drawString("(x,N,i)",1,108);
g2.drawString("g(N,i)",365,455);
for (i=0;i<=998;i++){
g.drawLine(xxx[i], yyy[i], xxx[i+1], yyy[i+1]);
}
}
}
I have recently begun to code the examples of numerical computation in Java and hope to make better use of the computational power and the graphical user interface.
August 19, 2007 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Aug 19, 2007 19:20 Trackback (0)
March 24, 2007
About Installing LAPACK for Windows users
1. Requirement: cygwin ( gcc, g++, g77, make, gdb )
2. Access to http://www.netlib.org/lapack/
and obtain lapack-3.1.1.gz.
3. After downloading lapack-3.1.1.gz in /cygwin/home/***/,
unzip lapack-3.1.1.gz, when the command
line is gunzip -c lapack-3.1.1.gz | tar xv
or tar xvfz lapack-3.1.1.gz.
4. Since current directory is /cygwin/home/***/, move it
to /cygwin/home/***/lapack-3.1.1/, when the command
line is cd lapack-3.1.1.
5. Copy and modify make.inc.LINUX, when the command line
is given below.
cp INSTALL/make.inc.LINUX ./make.inc.
6. Modify make.inc, using your text editor.
<EXAMPLE>
NOOPT = -ffloat-store
# The above line is necessary when using g95.
BLASLIB = $(HOME)/lapack-3.1.1/blas$(PLAT).a
LAPACKLIB = lapack$(PLAT).a
TMGLIB = tmglib$(PLAT).a
EIGSRCLIB = eigsrc$(PLAT).a
LINSRCLIB = linsrc$(PLAT).a
7. Build BLAS library and LAPACK library, when the command
lines are make blaslib and make lapacklib. If neither
blas_LINUX.a nor lapack_LINUX.a were made in your
current directory, modify make.inc appropriately.
8. Copy and modify blas_LINUX.a and lapack_LINUX.a, when
the command lines are cp blas_LINUX.a /lib/libblas.a,
cp lapack_LINUX.a /lib/liblapack.a, ranlib
/lib/libblas.a, and ranlib /lib/liblapack.a.
9. Now you can use LAPACK, when the command line is
g77 -o file01 file01.f -llapack -lblas -lg2c -lm, where
file01.f were an example and you can use other
fortran77 programs.
March 24, 2007 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Mar 24, 2007 23:50 Trackback (0)
September 19, 2006
Google Earth は今更だが、面白い!
2005年6月28日に英語版が発表
され、2006年9月12日に日本語版
が発表されたフリー・ソフト(一部
機能を追加すると有料になる)に
はっとさせられる1日だった。
右図は、我が家周辺の地図を
取り込んだものだが、プライバ
シーを考慮し、緯度・経度情報は
割愛させていただいたが、ゼンリンの地道な努力があってからか、
このポリゴンのリアリティは我が家そのもの。
フライト・シミュレーターが好きな方々には理解して
いただけると思うが、ルート機能が日本語版で有効に機能する
ならば、確実に、現在のカー・ナビの水準は越えるだろう(いや、
これは言い過ぎで、実際は音声の誘導など全く付随していない
のだが)と想像力を逞しく発展させる時間に浸りがち...
これではイカン。
やっぱり、一目で分かる技術の進歩が世界に貢献する姿と
いうものは斯くあるべしだなと、久しぶりに興奮の余韻の
冷め遣らない、いや現実に戻らなければとの思いも交錯する
中、今日一日、この狭い世界の中だけ...と、開発者
でもないのに喜んでいる私は何者だろうか?
ここからが今日の課題。
TOEIC対策は模試。正答率は、パート1が8/10、
パート2が6/10で、パート5が17/20。パート1
・2のナレーションの間、先読みできた設問の数、36個
と少な目。パート5の20題を解くのに要した時間は10分
5秒。まだ、ペースは上がっていない。ここからだ。
仏検対策は文法とディクテ。正答率は、文法が16/30で、
ディクテが19/32。接続詞の用法に熟達すること、細部に
わたり聞き逃さない耳を鍛えることが今日の課題。
明日もがんばろう。
では。
September 19, 2006 in パソコン・インターネット , 学問・資格 , 雑記 ,
| Sep 19, 2006 4:30 Trackback (0)
Recent Comments