Changeset 7883


Ignore:
Timestamp:
2004-08-06T14:05:33+12:00 (20 years ago)
Author:
kjdon
Message:

updated it for static compiling of mg, mgpp, and use new binary dist of mysql

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/gs3-prepare-for-dist.sh

    r7854 r7883  
    5656mv soap-2_3_1 soap
    5757cp soap/lib/soap.jar $GSDL3HOME/lib/java
     58cd $GSDL3HOME
    5859
     60# get mysql
     61cd packages/mysql
     62unzip mysql-4.0.20-linux.zip
     63   
     64./bin/mysql_install_db --user=root --force
     65./bin/mysqld_safe --user=root --pid_file=gsdl3.pid &
     66sleep 2
     67./bin/mysql --user=root --execute="GRANT SELECT,INSERT,DELETE,UPDATE,DROP,CREATE ON *.* TO gsdl3admin@localhost;"
     68./bin/mysql --user=root --execute="GRANT SELECT ON *.* TO gsdl3reader@localhost;"
     69   
     70# set up any sample collections databases
     71#gs3mgdemo
     72./bin/mysql --user=root --execute="create database localsite_gs3mgdemo;"
     73./bin/mysql --user=root localsite_gs3mgdemo < $gsdl3home/web/sites/localsite/collect/gs3mgdemo/mysqldatadump.sql
    5974
    60 cd $GSDL3HOME
     75./bin/mysqladmin --user=root shutdown
     76cd  $gsdl3home
     77
    6178
    6279#compile the test servlet
     
    6582javac TestServlet.java
    6683cd $GSDL3HOME
     84
     85# make mg and mgpp compile statically
     86cd packages/mg
     87cat ./configure.in | sed 's,LDFLAGS=,LDFLAGS=-static,' > ./configure.in.tmp
     88mv configure.in.tmp configure.in
     89autoconf configure.in > configure
     90cd $GSDL3HOME
     91
     92cd packages/mgpp
     93cat ./configure.in | sed 's,LDFLAGS=,LDFLAGS=-static,' > ./configure.in.tmp
     94mv configure.in.tmp configure.in
     95autoconf configure.in > configure
     96cd $GSDL3HOME
     97
    6798
    6899./configure
     
    74105
    75106
    76 
    77 
Note: See TracChangeset for help on using the changeset viewer.