Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

hubCheck install generates error

1 view
Skip to first unread message

Hoover, David (NIH/CIT) [E]

unread,
Dec 27, 2023, 1:21:58 PM12/27/23
to genome...@soe.ucsc.edu
Is hubCheck necessary for the genome browser? In the main makefile (kent/src/hg/makefile), it includes hubCheck with the BROWSER_LOADERS variable. However, utils/hubCheck/makefile does not have the target "install". This leads to this error:

make[1]: Entering directory `/opt/kent/src/hg/utils/hubCheck'
make[1]: *** No rule to make target `install'. Stop.
make[1]: Leaving directory `/opt/kent/src/hg/utils/hubCheck'
make: *** [utils/hubCheck.install] Error 2
FATAL: While performing build: while running engine: exit status 2

Is there a way of running "make install" without generating the error with hubCheck? Or can this be fixed without editing hg/utils/hubCheck/makefile?

David

--
David Hoover, Ph.D.
Computational Biologist
High Performance Computing Services,
Center for Information Technology,
National Institutes of Health
12 South Dr., Rm 2N207
Bethesda, MD 20892, USA
TEL: (+1) 301-435-2986
Email: hoov...@hpc.nih.gov

Hiram Clawson

unread,
Dec 27, 2023, 2:28:06 PM12/27/23
to Hoover, David (NIH/CIT) [E], genome...@soe.ucsc.edu
Good Morning David:

This utils/hubCheck/makefile needs the install rule:

<pre>
--- a/src/hg/utils/hubCheck/makefile
+++ b/src/hg/utils/hubCheck/makefile
@@ -39,6 +39,13 @@ beta:: compile
rm -f ${CGI_BIN}-beta/loader/$A
mv $A${EXE} ${CGI_BIN}-beta/loader/$A

+install::
+ @if [ ! -d "${DESTDIR}${CGI_BIN}" ]; then \
+ ${MKDIR} "${DESTDIR}${CGI_BIN}"; \
+ fi
+ rm -f ${DESTDIR}${CGI_BIN}/$A
+ mv $A${EXE} ${DESTDIR}${CGI_BIN}/$A
+
test::
(cd tests && ${MAKE} test) 2> /dev/null
</pre>

On 12/26/23 8:23 AM, 'Hoover, David (NIH/CIT) [E]' via UCSC Genome Browser Mirror-Specific
Reply all
Reply to author
Forward
0 new messages