Have you installed the mysql client libraries? If not, you might try (at least on debian this worked I think) "apt-get install libmysqlclient15-dev"
If they are set, did you use "export" to set the environment variables? This page might help as well: genomewiki.ucsc.edu/index.php/Source_tree_compilation_on_Debian/Ubuntu cheers Max On Fri, Aug 27, 2010 at 2:21 PM, Minh Bui <[email protected]> wrote: > Hi everyone, > I am trying to install UCSC Genome Browser on my local computer (Ubuntu > 10.04) > I follow this instruction: > http://genome.ucsc.edu/admin/jk-install.htmluntil Step 7 > and I get this error. > > m...@minh-desktop:~$ echo $MACHTYPE > i686 > m...@minh-desktop:~$ echo $MYSQLLIBS > /usr/lib/libmysqlclient.a -lz > m...@minh-desktop:~/Downloads/jksrc/src/hg$ echo $MYSQLINC > /usr/include/mysql > m...@minh-desktop:~$ cd kent/src/hg > bash: cd: kent/src/hg: No such file or directory > m...@minh-desktop:~$ cd '/home/minh/Downloads/jksrc/src/hg' > m...@minh-desktop:~/Downloads/jksrc/src/hg$ sudo make install > DESTDIR=/usr/lib CGI_BIN=/cgi-bin/ucsc > ERROR: missing MYSQLLIBS or MYSQLINC definitions in environment > these are typically, > for bash shell users: > $ export MYSQLLIBS="/usr/lib/mysql/libmysqlclient.a -lz" > $ export MYSQLINC=/usr/include/mysql > for csh/tcsh shell users: > % setenv MYSQLLIBS "/usr/lib/mysql/libmysqlclient.a -lz" > % setenv MYSQLINC /usr/include/mysql > See also: http://genome.ucsc.edu/admin/jk-install.html > make: *** [hgLib] Error 255 > > Why does it say MYSQLLIBS and MYSQLINC are missing? I do have them when I > echo them... > By the way, when the instruction says make install > DESTDIR=/destination/prefix CGI_BIN=/cgi-bin/path. > What does it mean "/destination/prefix"? My cgi-bin folder is in > /usr/lib/cgi-bin. Does it mean DESTDIR= /usr/lib and CGI_BIN = /cgi-bin?? > > Please help, > > > Thank you, > Minh. > _______________________________________________ > Genome maillist - [email protected] > https://lists.soe.ucsc.edu/mailman/listinfo/genome > _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
