/[papo]/gnue/docbook/HowTos/GNUe-SuSE-HOWTO.sgml
ViewVC logotype

Diff of /gnue/docbook/HowTos/GNUe-SuSE-HOWTO.sgml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by styxman, Fri Nov 8 16:54:17 2002 UTC revision 1.2 by styxman, Thu Nov 14 21:28:35 2002 UTC
# Line 3  Line 3 
3  <article><!-- LyX 1.2 created this file. For more info see http://www.lyx.org/ -->  <article><!-- LyX 1.2 created this file. For more info see http://www.lyx.org/ -->
4  <title>GNUe-SuSE-mini-HOWTO  <title>GNUe-SuSE-mini-HOWTO
5  </title><author>Arjen Runsink  </title><author>Arjen Runsink
6  </author><date>v0.02, 17 October 2002  </author><date>v0.04, 11 November 2002
7  </date><abstract>This mini HOWTO describes how to get the GNUenterprise packages  </date><abstract>This mini HOWTO describes how to get the GNUenterprise packages
8   release 0.4.0 to work with the SuSE distribution version 8.0 and   release 0.4.0 to work with the SuSE distribution version 8.0 and
9   PostgreSQL or MySQL.   8.1 inc combination with for example PostgreSQL or MySQL.
10  </abstract><toc><sect>Introduction  </abstract><toc><sect>Introduction
11  <p>While working with different projects and managing a few I found  <p>While working with different projects and managing a few I found
12   I had much need to dig deeper into databases and all the possibilities   I had much need to dig deeper into databases and all the possibilities
# Line 24  Line 24 
24  <p>This is the first version. I don't know if I am ready with it.  <p>This is the first version. I don't know if I am ready with it.
25   Maybe things don't work in the end. If you have something I might   Maybe things don't work in the end. If you have something I might
26   add, or a correction send me an email: arjen(*a*t*)zeilers.net   add, or a correction send me an email: arjen(*a*t*)zeilers.net
 </p><p>&dollar;Id: GNUe-SuSE-HOWTO.lyx,v 1.2 2002/10/17 17:07:25 arjen  
  Exp arjen &dollar;  
27  </p><sect>Getting the raw materials  </p><sect>Getting the raw materials
28  <p>To start of let's get all that is needed.  <p>To start of let's get all that is needed.
29  </p><sect1>The GNUe Packages  </p><sect1>The GNUe Packages
30  <p>The GNUe packages are quite they can be downloaded from <url url="http://www.gnue.org" name="www.gnue.org">. See  <p>The GNUe packages can be downloaded from <url url="http://www.gnue.org" name="www.gnue.org">. See the download section.
31   the download section.  
32  </p><p>GNUe-Common-0.4.0.tar.gz  </p><p>GNUe-Common-0.4.0.tar.gz
33  </p><p>GNUe-Designer-0.4.0.tar.gz  </p><p>GNUe-Designer-0.4.0.tar.gz
34  </p><p>GNUe-Forms-0.4.0.tar.gz  </p><p>GNUe-Forms-0.4.0.tar.gz
# Line 43  Line 41 
41  <p>Egenix-mx-base provides, amongst some other stuff, the mxDateTime  <p>Egenix-mx-base provides, amongst some other stuff, the mxDateTime
42   which could not be found anymore, the INSTALL that comes with GNUe   which could not be found anymore, the INSTALL that comes with GNUe
43   mentions it, and that it possibly could be provided with python 2.1+.   mentions it, and that it possibly could be provided with python 2.1+.
44   Well SuSE 8.0 comes with python 2.2 but no mxDateTime.   Well SuSE 8.0 comes with python 2.2 but no mxDateTime. For SuSE 8.1
45     it is more easy. The package is included with the distribution.
46  </p><p>You can get the package at <url url="http://www.lemburg.com/python/mxExtensions.html" name="http://www.lemburg.com/python/mxExtensions.html">  </p><p>You can get the package at <url url="http://www.lemburg.com/python/mxExtensions.html" name="http://www.lemburg.com/python/mxExtensions.html">
47  </p><p>The file I used was egenix-mx-base-2.0.4.tar.gz  </p><p>The file I used was egenix-mx-base-2.0.4.tar.gz
48  </p><sect1>wxPythonSrc  </p><sect1>wxPythonSrc
# Line 66  Line 65 
65          m4 binutils autoconf automake glib-devel &bsol;          m4 binutils autoconf automake glib-devel &bsol;
66          glibc-devel gtk-devel python python-devel &bsol;          glibc-devel gtk-devel python python-devel &bsol;
67          postgresql-python sablot sablot-devel pyxml          postgresql-python sablot sablot-devel pyxml
68    &num;for SuSE 8.1 add  python-egenix-mx-base
69    
70  </verb></p><p>This list may not be complete. Perhaps not all dependencies for  </verb></p><p>This list may not be complete. Perhaps not all dependencies for
71   these packages are listed, but that is OK, yast will resolve them   these packages are listed, but that is OK, yast will resolve them
72   automatically. If I forgot something, a compile will stop and complain   automatically. If I forgot something, a compile will stop and complain
# Line 91  cd &tilde;/BUILD/GNUe Line 92  cd &tilde;/BUILD/GNUe
92  </p><p><verb>tar -xvzf &tilde;/DOWNLOADS/GNUe/egenix-mx-base-2.0.4.tar.gz  </p><p><verb>tar -xvzf &tilde;/DOWNLOADS/GNUe/egenix-mx-base-2.0.4.tar.gz
93  cd egenix-mx-base-2.0.4  cd egenix-mx-base-2.0.4
94  python setup.py build  python setup.py build
95  su -c &quot;python setup.py install&quot;  su -c &quot;checkinstall python setup.py install&quot;
96  </verb></p><p>su asks for the <em>root</em> password, type it in and the lot is installed  </verb></p><p>Now su asks for the <em>root</em> password, type it in. Normally instead
97   as root   of su -c checkinstall one would use make install or in this case
98     python setup.py install. Checkinstall does a make install and generates
99     an rpm. It asks a few details and then creates and installs the rpm
100     and also saves it in /usr/src/packages/RPMS/i386. I use checkinstall
101     because it is easy to make an unofficial rpm so the installed files
102     can be easily removed without needing the source tree to do a make
103     uninstall or installed on another host. And very few packages provide
104     a make uninstall. This reduces clutter immensely. Checkinstall has
105     lot's of nice options and the packages can be tailored even more
106     than described in this document. Do a checkinstall --help for more
107     info.
108  </p><sect1>wxPythonSrc  </p><sect1>wxPythonSrc
109  <p>I chose to install wxPython with it's own wxGTK version that  <p>I chose to install wxPython with it's own wxGTK version that
110   came with it. SuSE does come with its own version of wxGTK which   came with it. SuSE does come with its own version of wxGTK which
# Line 125  cd ../locale Line 136  cd ../locale
136  make allmo  make allmo
137  cd ../build  cd ../build
138  su -c checkinstall  su -c checkinstall
139  </verb></p><p>Again su asks for the <em>root</em> password. Normally instead of su -c  </verb></p><p>Again su asks for the <em>root</em> password.
  checkinstall one would use make install. Checkinstall does a make  
  install and generates an rpm. It asks a few details and then creates  
  and installs the rpm and also saves it in /usr/src/packages/RPMS/i386.  
 </p><p>I use checkinstall because it is easy to make an unofficial rpm  
  so the installed files can be easily removed or installed on another  
  host without needing the source tree to do a make uninstall. And  
  very few packages provide a make uninstall. This reduces clutter  
  immensely.s and GNUe-Navigator  
 </p><p>Configuring GNUe  
140  </p><p>Checkinstall asks a few questions. First if it should generate  </p><p>Checkinstall asks a few questions. First if it should generate
141   some default documentation. Just say yes. As a description I gave   some default documentation. Just say yes. As a description I gave
142   <em>wxGTK for wxPython.</em>   <em>wxGTK for wxPython.</em>
# Line 153  su -c checkinstall Line 155  su -c checkinstall
155  python setup.py build IN_CVS_TREE=1&bsol;  python setup.py build IN_CVS_TREE=1&bsol;
156         WX_CONFIG=&dollar;WXPREF/bin/wx-config &bsol;         WX_CONFIG=&dollar;WXPREF/bin/wx-config &bsol;
157         BUILD_GLCANVAS=0 BUILD_XRC=1         BUILD_GLCANVAS=0 BUILD_XRC=1
158  su -c &quot;python setup.py install IN_CVS_TREE=1&bsol;  su -c &quot;checkinstall python setup.py install IN_CVS_TREE=1&bsol;
159         WX_CONFIG=&dollar;WXPREF/bin/wx-config &bsol;         WX_CONFIG=&dollar;WXPREF/bin/wx-config &bsol;
160         BUILD_GLCANVAS=0 BUILD_XRC=1&quot;         BUILD_GLCANVAS=0 BUILD_XRC=1&quot;
161  </verb></p><p>Afaik you can not use checkinstall (yet) to install wxPython.  </verb></p><p>Afaik you can not use checkinstall (yet) to install wxPython.
# Line 173  ln -s /usr/lib/libc.a /usr/lib/libiconv. Line 175  ln -s /usr/lib/libc.a /usr/lib/libiconv.
175  </p><p><verb>tar -xvzf &tilde;/DOWNLOADS/GNUe/PySablot-0.1.tar.gz  </p><p><verb>tar -xvzf &tilde;/DOWNLOADS/GNUe/PySablot-0.1.tar.gz
176  cd PySablot-0.1  cd PySablot-0.1
177  python setup.py build  python setup.py build
178  su -c 'python setup.py install'  su -c 'checkinstall python setup.py install'
179  </verb></p><p>And that's it.  </verb></p><p>And that's it.
180  </p><sect1>The GNUe packages  </p><sect1>The GNUe packages
181  <p>All the packages depend on Common so install that one first.  <p>All the packages depend on Common so install that one first.
# Line 195  exec_prefix = /opt/gnue/bin Line 197  exec_prefix = /opt/gnue/bin
197  </verb></p><p>Why edit setup.cfg.in instead of setup.cfg? Well the last is  </verb></p><p>Why edit setup.cfg.in instead of setup.cfg? Well the last is
198   overwritten by the first during the build phase.   overwritten by the first during the build phase.
199  </p><p><verb>python setup.py build  </p><p><verb>python setup.py build
200  su -c &quot;python setup.py install&quot;  su -c &quot;checkinstall python setup.py install&quot;
201  </verb></p><p>And ignore the warning about the fact that the modules were not  </verb></p><p>And ignore the warning about the fact that the modules were not
202   installed in a path that is in Python's module search path.   installed in a path that is in Python's module search path.
203  </p><p>Repeat these steps for the modules GNUe-Designer, GNUe-Forms,  </p><p>Repeat these steps for the modules GNUe-Designer, GNUe-Forms,
# Line 233  dbname = test Line 235  dbname = test
235  </p><p><verb>  </p><p><verb>
236  </verb>  </verb>
237    
 </article>  
238    </article>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26