How to build Python Numeric and install RSS mini, the Screenlets available from GNOME-Look.org, on OpenSolaris build 111

| コメント(0)

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.

コメントする

My Photo
プロフィール!
2016・11・15 改訂
spacer01
rssspacer01foaf
spacer01
atom.xml
spacer01

この記事について

このページは、Suzuki TakashiがAugust 31, 2010 4:45 PMに書いた記事です。

ひとつ前の記事は「やっぱり漢字を使うのがいいかな。」です。

次の記事は「通常モードに移行、パート5。」です。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。

June 2024

Sun Mon Tue Wed Thu Fri Sat
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30

月別 アーカイブ

OpenID対応しています OpenIDについて