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 |
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>$Id: GNUe-SuSE-HOWTO.lyx,v 1.2 2002/10/17 17:07:25 arjen |
|
|
Exp arjen $ |
|
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 |
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 |
65 |
m4 binutils autoconf automake glib-devel \ |
m4 binutils autoconf automake glib-devel \ |
66 |
glibc-devel gtk-devel python python-devel \ |
glibc-devel gtk-devel python python-devel \ |
67 |
postgresql-python sablot sablot-devel pyxml |
postgresql-python sablot sablot-devel pyxml |
68 |
|
#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 |
92 |
</p><p><verb>tar -xvzf ˜/DOWNLOADS/GNUe/egenix-mx-base-2.0.4.tar.gz |
</p><p><verb>tar -xvzf ˜/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 "python setup.py install" |
su -c "checkinstall python setup.py install" |
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 |
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> |
155 |
python setup.py build IN_CVS_TREE=1\ |
python setup.py build IN_CVS_TREE=1\ |
156 |
WX_CONFIG=$WXPREF/bin/wx-config \ |
WX_CONFIG=$WXPREF/bin/wx-config \ |
157 |
BUILD_GLCANVAS=0 BUILD_XRC=1 |
BUILD_GLCANVAS=0 BUILD_XRC=1 |
158 |
su -c "python setup.py install IN_CVS_TREE=1\ |
su -c "checkinstall python setup.py install IN_CVS_TREE=1\ |
159 |
WX_CONFIG=$WXPREF/bin/wx-config \ |
WX_CONFIG=$WXPREF/bin/wx-config \ |
160 |
BUILD_GLCANVAS=0 BUILD_XRC=1" |
BUILD_GLCANVAS=0 BUILD_XRC=1" |
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. |
175 |
</p><p><verb>tar -xvzf ˜/DOWNLOADS/GNUe/PySablot-0.1.tar.gz |
</p><p><verb>tar -xvzf ˜/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. |
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 "python setup.py install" |
su -c "checkinstall python setup.py install" |
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, |
235 |
</p><p><verb> |
</p><p><verb> |
236 |
</verb> |
</verb> |
237 |
|
|
|
</article> |
|
238 |
|
</article> |