Good Afternoon Jacob: Your source tree can be anywhere you want it to be. $HOME/jksrc/ is as good as anywhere else. Do you have a ./kent/src/ directory in that $HOME/jksrc/ directory ? That's what I see when I unpack jksrc.zip. Did you obtain your source tree from the zip file ? http://hgdownload.cse.ucsc.edu/admin/jksrc.zip
The ranlib no symbol message is not important. It is not an error. You seem to be missing a definition to link with your libpng. Do you have a libpng installed anywhere ? Your gcc command line should have a libpng.a listed. For example, going into src/hg/hgGateway and run a 'make compile' it says: gcc hgGateway.o ../../lib/x86_64/jkhgap.a ../../lib/x86_64/jkweb.a -lssl -lcrypto /usr/lib64/libpng.a /hive/data/outside/samtools/samtools-0.1.8/x86_64/libbam.a -lm /usr/lib64/mysql/libmysqlclient.a -lz Note the location of libpng.a in this example. Yours may be in /opt/local/lib/libpng.a To point to your libpng.a file, use the PNGLIB variable, for example: export PNGLIB=/opt/local/lib/libpng.a You need to find your libpng.a to get it to work. This would also work: export PNGLIB='-L/opt/local/lib -lpng' --Hiram Jacob C Schwartz wrote: > Hi Hiram, > > So make libs gives errors > > for cd lib && make > /usr/bin/ranlib: file: x86_64/jkweb.a(gifwrite.o) has no symbols > /usr/bin/ranlib: file: x86_64/jkweb.a(vGif.o) has no symbols > > for cd jkownlib && make > /usr/bin/ranlib: file: ../../lib/x86_64/jkhgap.a(knetUdc.o) has no symbols > > Then for cd hg followed by make compile ends with the following errors > > Undefined symbols: > "_png_write_png", referenced from: _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
