The error message says that MYSQLLIBS or MYSQLINC have not been set in your shell environment. Have you set those variables ? Can you use the build scripts in src/product/scripts/ http://genome-source.cse.ucsc.edu/gitweb/?p=kent.git;a=blob;f=src/product/scripts/README
--Hiram xue lin wrote: > Dear UCSC, > I was building pslMap on my arch linux x86_64. Following the instructions > on the page http://genome.ucsc.edu/admin/jk-install.html, I set the > variables of MYSQLINC=/usr/include/mysql, and > MYSQLLIBS='/usr/lib/libmysqlclient.a > -lz', as my libmysqlclient.a file is in the drirectory of /usr/lib. When I > came to step 6 to make install DESTDIR=/destination/prefix > CGI_BIN=/cgi-bin/path. I received the following information: > 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 > All the make and compile goes well before this step. Is there anything > wrong with my mysql installation or the variable of MYSQLLIBS setting? > Looking forward to your reply. > Thank you very much. > All the best. > Xue _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
