Install Memo: LinuxPPC



Current Environment

Machine A (Poewer Macintosh G3 B/W)

Base Distribution
LinuxPPC 2000 Q4 (web site)
GCC
3.0.4-0.20020220.21 from my RPM.
glibc
2.2.5-Feb06a from FUKUI Kaoru.
Kernel
2.4.18-rc1 from BitKeeper 2.4 Development.
X
4.2-32 from my RPM.

Machine B (Power Macintosh G3/DT233)

Base Distribution
LinuxPPC 2000 Q4 (web site)
GCC
2.95.4-Oct20b rebuilt from FUKUI Kaoru.
glibc
2.2.5-Feb06a from FUKUI Kaoru.
Kernel
2.4.18-pre9 from BitKeeper 2.4 Development.
X
3.3.6-20b from LinuxPPC 2000 Q4

povchem-1.0 (2000.1.10 new)

Before you make povchem, you should install PovRay. I made povray RPM for ppc based on Raw Hide Powertools SRPM. Source files of povchem is avalable from web page of PovChem.

mkdir /usr/local/lib/povchem
cp periodic.tab  povchem.cfg /usr/local/lib/povchem/
vi povchem.cfg
--- povchem.cfg.orig    Mon Jan 10 18:37:00 2000
+++ povchem.cfg Mon Jan 10 18:45:43 2000
@@ -294,7 +294,7 @@
 # or leave blank the "POVRay" line, and the next five options will be ignored.
 #
 #POVRay =        d:\graphics\povray\povray.exe
-POVRay =        /usr/local/bin/povray
+POVRay =        povray
 POVWidth =      640
 POVOptions =    +V -D +Q9 +A +FT +B32
 RunPOVRay =     No
@@ -331,7 +331,7 @@
 # the type of image POV-Ray generates - usually TGA (also called TARGA).
 #
 #Viewer = c:\util\dvpeg.exe
-Viewer = /usr/local/bin/xv
+Viewer = gimp
 
 # If ColorSplit is Proportional, 'Power' determines the power of the vdW radii
 # to which the point of color change is proportional. See the manual for
vi povchem.c
--- povchem.c.orig      Mon Jan 10 18:03:47 2000
+++ povchem.c   Mon Jan 10 18:04:31 2000
@@ -482,7 +482,7 @@
  */
   
   if (*fileName==NULL) {
-    New_String(fileName,"povchem.cfg");
+    New_String(fileName,"/usr/local/lib/povchem/povchem.cfg");
     if ((config=fopen(*fileName,"r"))==NULL) {
       puts("Can't read the configuration file \"povchem.cfg\"!");
       perror("Reason");
@@ -731,7 +731,7 @@
 
 no_config:
 
-  if (!PERIODIC_TABLE_FILE) New_String(&PERIODIC_TABLE_FILE,"periodic.tab");
+  if (!PERIODIC_TABLE_FILE) New_String(&PERIODIC_TABLE_FILE,"/usr/local/lib/povchem/periodic.tab");
   if (!FINISH) New_String(&FINISH,"Plastic");
   if (!FINISH_DECLARATION) New_String(&FINISH_DECLARATION,"\
   finish {\n\
gcc -lm -O2 -o povchem povchem.c
mv povchem /usr/local/bin

xemacs-21.5.2 (From cvs tree on Wed Aug 15 06:00:00 JST 2001) (2001.8.16 update)

Before installing, I expanded following packages under the directory /usr/local/lib/xemacs, except for Mew. For using the latest version of Mew.

On my machine, parameters were set as a file "Installation"

cvs -d :pserver:xemacs@cvs.xemacs.org:/usr/CVSroot login
# password: zawinski
cvs -z3 -d :pserver:xemacs@cvs.xemacs.org:/usr/CVSroot checkout xemacs
cd xemacs-build
../xemacs/configure --with-site-lisp --with-mule --with-xim=no --error-checking=none >& configure.log
make >& make.log
make install

Back toInstall Memo


MATSUURA Takanori
t.matsuu%gmail.com

Valid XHTML 1.1! Valid CSS!
Last modified: Wed Mar 6 20:59:21 JST 2002