commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/common/doc building-static-distro.txt


From: Jason Cater
Subject: gnue/common/doc building-static-distro.txt
Date: Mon, 15 Apr 2002 01:39:11 -0400

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/04/15 01:39:11

Modified files:
        common/doc     : building-static-distro.txt 

Log message:
        updates to documentation

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/common/doc/building-static-distro.txt.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: gnue/common/doc/building-static-distro.txt
diff -c gnue/common/doc/building-static-distro.txt:1.1 
gnue/common/doc/building-static-distro.txt:1.2
*** gnue/common/doc/building-static-distro.txt:1.1      Sun Apr 14 13:55:52 2002
--- gnue/common/doc/building-static-distro.txt  Mon Apr 15 01:39:11 2002
***************
*** 8,14 ****
  here, or if you find a major dependency that was not accounted for,
  please email address@hidden
  
! This was tested on a Debian woody system.
  
  
  The following dependencies will be statically installed into /usr/local/gnue:
--- 8,15 ----
  here, or if you find a major dependency that was not accounted for,
  please email address@hidden
  
! This was tested on a Debian woody system. This sequence of events
! should work on any POSIX system with GNU make and gcc/g++.
  
  
  The following dependencies will be statically installed into /usr/local/gnue:
***************
*** 17,24 ****
    wxPython-2.3.2.1
    postgresql-7.2.1 (client libs only)
    mysql-3.23.49 (client libs only)
    MySQL-python-0.9.1
!   psycopg
  
    (*) These dependencies provide the GNUe side of the requirements. However,
        other, non-free, libraries will need to be installed in order for these
--- 18,26 ----
    wxPython-2.3.2.1
    postgresql-7.2.1 (client libs only)
    mysql-3.23.49 (client libs only)
+   egenix-mx-base-2.0.3.tar.gz
    MySQL-python-0.9.1
!   psycopg-1.0.7.1
  
    (*) These dependencies provide the GNUe side of the requirements. However,
        other, non-free, libraries will need to be installed in order for these
***************
*** 35,41 ****
  
  Python installation
  -------------------
! $ tar -zxvf Python-2.1.3.tgz
  $ cd Python-2.1.3
  $ ./configure --disable-shared --enable-static \
                --prefix=/usr/local/gnue/dependencies
--- 37,43 ----
  
  Python installation
  -------------------
! $ tar -xzf Python-2.1.3.tgz
  $ cd Python-2.1.3
  $ ./configure --disable-shared --enable-static \
                --prefix=/usr/local/gnue/dependencies
***************
*** 46,52 ****
  
  wxGTK installation
  ------------------
! $ tar -zxvf wxGTK-2.3.2.tar.gz
  $ cd wxGTK-2.3.2
  $ ./configure --prefix=/usr/local/gnue/dependencies \
                --disable-shared --enable-static
--- 48,54 ----
  
  wxGTK installation
  ------------------
! $ tar -xzf wxGTK-2.3.2.tar.gz
  $ cd wxGTK-2.3.2
  $ ./configure --prefix=/usr/local/gnue/dependencies \
                --disable-shared --enable-static
***************
*** 54,60 ****
  
  wxPython installation
  ---------------------
! $ tar -zxvf wxPython-2.3.2.tar.gz
  $ cd wxPython-2.3.2
  
  Next, edit setup.py and change the following lines:
--- 56,62 ----
  
  wxPython installation
  ---------------------
! $ tar -xzf wxPython-2.3.2.tar.gz
  $ cd wxPython-2.3.2
  
  Next, edit setup.py and change the following lines:
***************
*** 72,83 ****
--- 74,89 ----
  
   WX_CONFIG = "/usr/local/gnue/dependencies/bin/wx-config"
  
+ And, while you are at it, complain to the distutils people that
+ these kinds of options have to be hard-coded!!
+ 
  Save this file, then continue:
  
  $ /usr/local/gnue/bin/gnue-python ./setup.py build
  $ /usr/local/gnue/bin/gnue-python ./setup.py install
  
  
+ 
  MySQL installation
  ------------------
  $ ./configure --prefix=/usr/local/gnue/dependencies --without-server \
***************
*** 86,91 ****
--- 92,157 ----
  
  
  
+ PostgreSQL installation
+ -----------------------
+ $ ./configure --prefix=/usr/local/gnue/dependencies --disable-shared
+ $ cd src/interfaces/libpq++
+ $ make && make install
+ $ cd ../libpq
+ $ make && make install
+ $ cd ../../include
+ $ make install
+ 
+ 
+ 
+ 
+ egenix-mx-base installation
+ ---------------------------
+ $ tar -xzf egenix-mx-base-2.0.3.tar.gz
+ $ cd egenix-mx-base-2.0.3
+ $ /usr/local/gnue/bin/gnue-python setup.py install
+ 
+ 
+ 
+ psycopg isntallation
+ --------------------
+ $ tar -xzf psycopg-1.0.7.1.tar.gz
+ $ cd psycopg-1.0.7.1
+ $ ./configure --with-python=/usr/local/gnue/bin/gnue-python \
+               --prefix=/usr/local/gnue/dependencies \
+               --with-postgres-includes=/usr/local/gnue/dependencies/include \
+               --with-postgres-libraries=/usr/local/gnue/dependencies/lib \
+               
--with-mxdatetime-includes=/usr/local/gnue/dependencies/lib/python2.1/site-packages/mx/DateTime/mxDateTime
+ $ make && make install
+ 
+ MySQL-python installation
+ -------------------------
+ $ tar -xzf MySQL-python-0.9.1.tar.gz
+ $ cd MySQL-python-0.9.1
+ 
+ Edit setup.py and change the following lines:
+ 
+   if sys.platform in ("linux-i386", "linux2"): # most Linux
+       include_dirs = ['/usr/include/mysql']
+       library_dirs = ['/usr/lib/mysql']
+       libraries = [mysqlclient, "z"]
+       runtime_library_dirs = []
+       extra_objects = []
+ 
+ to:
+ 
+   if sys.platform in ("linux-i386", "linux2"): # most Linux
+       include_dirs = ['/usr/local/gnue/dependencies/include/mysql']
+       library_dirs = ['/usr/local/gnue/dependencies/lib/mysql']
+       libraries = [mysqlclient]
+       runtime_library_dirs = []
+       extra_objects = []
+ 
+ And, while you are at it, complain to the distutils people that
+ these kinds of options have to be hard-coded!!
+ 
+ $ /usr/local/gnue/bin/gnue-python setup.py install
+ 
  
  Building the distribution
  -------------------------
***************
*** 93,95 ****
--- 159,163 ----
  $ rm -rf man
  $ cd /
  $ tar -czf gnue-linux-0.3.0.tar.gz usr/local/gnue
+ 
+ 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]