Skip to contentSkip to conversation

fix make install problem for ltp-full-20091130

PATCH In review Caspar Zhang 2 participants 2 messages Dec 8, 2009 1 message not in the archive Kbuild

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 2094231667.2021260267473745.JavaMail.root@zmail04.collab.prod.int.phx2.redhat.com

#1 lore raw

PATCH 1/1 fix make install problem for ltp-full-20091130

Hello, After I executed make all; make install, I want to execute runltp but it always fails. The error message is:

FATAL: Test suite not installed correctly
INFO: as root user type 'make ; make install'

I searched in Makefile and found the following code:

$(INSTALL_TARGETS) include-install lib-install:

	$(MAKE) -C "$(subst -install,,$@)" \
		-f "$(abs_top_srcdir)/$(subst -install,,$@)/Makefile" all

I think the last word maybe "install".

I modified it to install and ltp ran well. the patch could be found in the attachment.

Thanks,
Caspar

Makefile renamed from Makefile.orig +1 -1
@@ -144,7 +144,7 @@
 # the install target.
 $(INSTALL_TARGETS) include-install lib-install:
 	$(MAKE) -C "$(subst -install,,$@)" \
-		-f "$(abs_top_srcdir)/$(subst -install,,$@)/Makefile" all
+		-f "$(abs_top_srcdir)/$(subst -install,,$@)/Makefile" install 
 
 # Just in case configure hasn't been run yet, let's not overambitiously remove
 # the $(INSTALL_DIR).

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#2 lore raw
Quoted 8 lines · Caspar Zhang

Hello, After I executed make all; make install, I want to execute runltp but it always fails. The error message is:

FATAL: Test suite not installed correctly
INFO: as root user type 'make ; make install'

I searched in Makefile and found the following code:

Quoted 8 lines

$(INSTALL_TARGETS) include-install lib-install:

	$(MAKE) -C "$(subst -install,,$@)" \
		-f "$(abs_top_srcdir)/$(subst -install,,$@)/Makefile" all

I think the last word maybe "install".

I modified it to install and ltp ran well. the patch could be found in the attachment.

Thanks, but the typo was just fixed moments ago.
Cheers!
-Garrett

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list