Hi Peter,
There are directions for using a directory other than
/usr/local/apache/cgi-bin/ for your CGI binaries in the documentation.
In src/product/README.building.source, it says:
If your cgi-bin directory is something different than
/usr/local/apache/cgi-bin then use the CGI_BIN variable, e.g.:
make install DESTDIR=/var/www CGI_BIN=/cgi-bin \
DOCUMENTROOT=/var/www/html
You can save yourself time and trouble if your Apache is somewhere
other than at /usr/local/apache by creating that directory and making
symlinks to your actual apache directories. For example:
mkdir /usr/local/apache
ln -s /var/www/cgi-bin /usr/local/apache/cgi-bin
ln -s /var/www/html /usr/local/apache/htdocs
ln -s /var/www/cgi-bin-${LOGNAME} /usr/local/apache/cgi-bin
I recommend looking at the other READMEs and scripts in the src/product/
directory, too; they should be helpful in setting up your mirror.
--
Brooke Rhead
UCSC Genome Bioinformatics Group
On 05/02/11 12:38, wang peter wrote:
> when i install the ucsc genome brower
> i met such problems: after those scripts
> on red hat linux
>
> export MACHTYPE=x86_64
> mkdir -p ~/bin/$MACHTYPE
> export MYSQLINC=/usr/include/mysql
> export MYSQLLIBS='/usr/lib64/mysql/libmysqlclient.a -lz'
> export PATH=$PATH:$HOME/bin/$MACHTYPE ln -s /tmp /usr/local/apache
> export USE_BAM=1
> export SAMDIR=/share/apps/samtools 件(sam.h, bam.h, and libbam.a)
> cd /root/kent/src
> make libs
> cd hg
> make compile
>
> error
> mv cartReset /usr/local/apache/cgi-bin-root/cartReset
> mv: cannot move `cartReset' to `/usr/local/apache/cgi-bin-root/cartReset':
> No su ch file or directory
> make[2]: *** [my] Error 1
> make[2]: Leaving directory `/root/kent/src/hg/cartReset'
> make[1]: *** [cartReset.bins] Error 2
> make[1]: Leaving directory `/root/kent/src/hg'
> make: *** [cgi] Error 2
> 谢谢
> _______________________________________________
> Genome maillist - [email protected]
> https://lists.soe.ucsc.edu/mailman/listinfo/genome
_______________________________________________
Genome maillist - [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome