ip-128-239-123-174:blatSrc confocal$ make
cd lib && /Applications/Xcode.app/Contents/Developer/usr/bin/make
gcc -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DMACHTYPE_ -DJK_WARN -Wall -Werror -I../inc -I../../inc -I../../../inc -I../../../../inc -I../../../../../inc -o aliType.o -c aliType.c
aliType.c:5:19: error: unused variable 'rcsid' [-Werror,-Wunused-const-variable]
static char const rcsid[] = "$Id: aliType.c,v 1.4 2003/05/06 07:33:41 kate Exp $";
^
1 error generated.
make[1]: *** [aliType.o] Error 1
make: *** [all] Error 2
Any help with this?
Thanks,
--
make[1]: *** No rule to make target `../lib//jkweb.a', needed by `blat'. Stop.
make: *** [all] Error 2
lib confocal$ make
make: `/jkweb.a' is up to date.
It's very strange that the newer version of BLAT doesn't work... would be good to know why, but well...Apparently you need to patch jkOwnLib/makefile just like the other makefile, too:replace this:
ar rcus $(T) $(O)
with this:
libtool -static -o $(T) $(O)
On Mon, Aug 8, 2016 at 5:55 PM, Ronald Cutler <rrcu...@email.wm.edu> wrote:I need the old version of blat because I am trying to use AlignGraph to align scaffolds from an assembly to a reference. When using AlignGraph with blat v36 I ran into the error: "BLAT CALL FAILED!", in which the fix is: "The current version of BLAT (v35) is not compatible with AlignGraph, so you would have to use an earlier version to avoid this error." This is why I am trying to install blat v34.I extracted a fresh blastSrc folder from the blastSrc34.zip file and did as you said above in the lib/makefile so that the line "ar rcus $(MACHTYPE)/jkweb.a $(O)" is now "libtool -static -o $(MACHTYPE)/jkweb.a $(O)". I then ran through the steps I sent you 2 messages ago and got this same error:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [blat] Error 1
make: *** [all] Error 2
I have attached a log file for your reference. Really appreciate the help so far. Haven't found myself on what could be wrong, but I don't know much about installation, etc.
Ronald R. Cutler | Cell: (757) 332-4808 | Linkedin ProfileClass of 2018Double Major: Biology & Computer Science
On Mon, Aug 8, 2016 at 8:19 PM, Maximilian Haeussler <m...@soe.ucsc.edu> wrote:I think I have a fix, replace ar rcus in lib/makefile with libtool -static -o no idea why this is necessary suddenly on the newer OSX installs.Please, can you also tell us why you need an old version of BLAT? We have not modified BLAT, the options are the same, it's almost the same program. Why do you need the old blat version? Why do you think it doesn't work in your pipeline?