a50fb85605c0248d9236aac95af75cfc2a31653a
max
  Tue Feb 6 06:11:19 2024 -0800
making gbic dev mode work on debian distros

diff --git src/product/installer/browserSetup.sh src/product/installer/browserSetup.sh
index e3a8755..c076eb0 100644
--- src/product/installer/browserSetup.sh
+++ src/product/installer/browserSetup.sh
@@ -1386,36 +1386,36 @@
     $MYSQL -e "GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX "\
 "on customTrash.* TO ctdbuser@localhost;"
     
     # removed these now for the new hgGateway page, Apr 2016
     # by default hgGateway needs an empty hg19 database, will crash otherwise
     # $MYSQL -e 'CREATE DATABASE IF NOT EXISTS hg19'
     # mm9 needs an empty hg18 database
     $MYSQL -e 'CREATE DATABASE IF NOT EXISTS hg18'
     
     $MYSQL -e "FLUSH PRIVILEGES;"
 }
 
 # set this machine for browser development: install required tools, clone the tree, build it
 function buildTree () 
 {
-   echo2 Installing required linux packages from repositories: Git, GCC, G++, Mysql-client-libs, etc
+   echo2 Installing required linux packages from repositories: Git, GCC, G++, Mysql-client-libs, uuid, etc
    waitKey
    if [[ "$DIST" == "debian" ]]; then
-      yum install -y git vim gcc gcc-c++ make libpng-devel libuuid-devel freetype-devel
+      apt-get install make git gcc g++ libpng-dev libmysqlclient-dev uuid-dev libfreetype-dev
    elif [[ "$DIST" == "redhat" ]]; then
-      apt-get install make git gcc g++ libpng-dev libmysqlclient-dev uuid-dev
+      yum install -y git vim gcc gcc-c++ make libpng-devel libuuid-devel freetype-devel
    else 
       echo Error: Cannot identify linux distribution
       exit 100
    fi
 
    echo2 Cloning kent repo into ~/kent using git with --depth=1
    waitKey
    cd ~
    git clone https://github.com/ucscGenomeBrowser/kent.git --depth=1
 
    echo2 Now building CGIs from ~/kent to /usr/local/apache/cgi-bin 
    echo2 Copying JS/HTML/CSS to /usr/local/apache/htdocs
    waitKey
    cd ~/kent/src
    make -j8 cgi-alpha