[Genome] compiling BLAT, "No rule to make target `../lib//jkweb.a', needed by `blat'. Stop."

423 views
Skip to first unread message

Anton Kratz

unread,
Nov 9, 2009, 1:50:07 AM11/9/09
to gen...@soe.ucsc.edu
Hi,

I want to build from BLAT scratch, I am using the source from
"blatSrc34.zip".

My $MACHTYPE is set to "i686-redhat-linux-gnu".

I have made a directory "~/bin/i686-redhat-linux-gnu" under a user directory
and included it in the path, and I also made another directory
"/lib/i686-redhat-linux-gnu".

When I use "make" with sudo, the compilation stops unsuccessfully:


make[1]: *** No rule to make target `../lib//jkweb.a', needed by `blat'.
Stop.
make: *** [all] Error 2


Any help would be appreciated, thanks!

Anton

Galt Barber

unread,
Nov 9, 2009, 8:46:03 PM11/9/09
to Anton Kratz, gen...@soe.ucsc.edu

Looking at the path "../lib//jkweb.a", it seems that your $MACHTYPE
is empty. It should say "../lib/i686-redhat-linux-gnu/jkweb.a"

Be sure to export your $MACHTYPE or whatever
is needed by your shell.

Then try compiling again

cd kent/src/lib
make

and then make the rest of blat.

Please let us know if you have more questions.

-Galt
> _______________________________________________
> Genome maillist - Gen...@lists.soe.ucsc.edu
> https://lists.soe.ucsc.edu/mailman/listinfo/genome

Hiram Clawson

unread,
Nov 9, 2009, 11:05:43 PM11/9/09
to Galt Barber, Anton Kratz, gen...@soe.ucsc.edu
You can not use a MACHTYPE with dashes in it. The MACHTYPE
should be "i686"

--Hiram

Anton Kratz

unread,
Nov 10, 2009, 2:41:44 AM11/10/09
to gen...@soe.ucsc.edu
$MACHTYPE to "i686" instead of "i686-redhat-linux-gnu" fixed it!

Thank you very much for your answers.

Anton
Reply all
Reply to author
Forward
0 new messages