Skip to contentSkip to conversation

fix make install in ltp/testcacses/realtime/

PATCH In review Cyril Hrubis 1 participant 4 messages Jul 22, 2010 – Aug 5, 2010 4 messages not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix make install in ltp/testcacses/realtime/

Hi!
When doing 'make install' in ltp/testcases/realtime/ the process stops because the dummy makefile generated from empty Makefile.am is not correct makefile (has unmakeable targets). This could be easily fixed by adding m4 to FILTER_OUT_DIRS.

Patch attached.

Signature · 2 lines
Cyril Hrubis
[email protected]
testcases/realtime/Makefile +1 -1
Index: ltp-full-20100630/testcases/realtime/Makefile
===================================================================
@@ -38,7 +38,7 @@ include $(abs_srcdir)/config.mk
 endif
 
 LIBDIR			:= lib
-FILTER_OUT_DIRS		:= $(LIBDIR)
+FILTER_OUT_DIRS		:= $(LIBDIR) m4
 LIB			:= $(LIBDIR)/librealtime.a
 
 # START autotools junk

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi!

Quoted 10 lines
Quoted 6 lines

When doing 'make install' in ltp/testcases/realtime/ the process stops because the dummy makefile generated from empty Makefile.am is not correct makefile (has unmakeable targets). This could be easily fixed by adding m4 to FILTER_OUT_DIRS.

Patch attached.

I understand the issue that you're trying to address, but have you tried to do make distclean from the top and then rerun the build? Does it work?

No, it broke even more, now 'make' doesn't work too. Anyway is there a point for running Makefile generated from empty Makefile.am?

Signature · 11 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Hi!

Quoted 11 lines
Quoted 11 lines
Quoted 10 lines
Quoted 6 lines

When doing 'make install' in ltp/testcases/realtime/ the process stops because the dummy makefile generated from empty Makefile.am is not correct makefile (has unmakeable targets). This could be easily fixed by adding m4 to FILTER_OUT_DIRS.

Patch attached.

I understand the issue that you're trying to address, but have you tried to do make distclean from the top and then rerun the build? Does it work?

Quoted 9 lines
Quoted 2 lines

No, it broke even more, now 'make' doesn't work too. Anyway is there a point for running Makefile generated from empty Makefile.am?

The process is:

make distclean
make autotools
./configure {blah}

git clone ltp-next
make distclean
make autotools
./configure
cd testcases/realtime/
make
DESTDIR=/tmp/ make install

---- snip ----
make[2]: Entering directory /home/metan/Work/git/ltp-next-local/testcases/realtime/m4' make[2]: *** No rule to make target install-exec-am'. Stop. make[2]: Leaving directory `/home/metan/Work/git/ltp-next-local/testcases/realtime/m4' make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/metan/Work/git/ltp-next-local/testcases/realtime/m4'
make: *** [install] Error 2

automake (GNU automake) 1.11.1
autoconf (GNU Autoconf) 2.65
make GNU Make 3.81

Signature · 11 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw

Hi!

Quoted 27 lines
Quoted 27 lines
Quoted 27 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 7 lines

When doing 'make install' in ltp/testcases/realtime/ the process stops because the dummy makefile generated from empty Makefile.am is not correct makefile (has unmakeable targets). This could be easily fixed by adding m4 to FILTER_OUT_DIRS.

Patch attached.

I understand the issue that you're trying to address, but have you tried to do make distclean from the top and then rerun the build? Does it work?

Quoted 10 lines
Quoted 3 lines

No, it broke even more, now 'make' doesn't work too. Anyway is there a point for running Makefile generated from empty Makefile.am?

     The process is:

make distclean
make autotools
./configure {blah}

git clone ltp-next
make distclean
make autotools
./configure
cd testcases/realtime/

Quoted 4 lines
Quoted 1 line

You have to run ./configure again here.

No. Running ./configure from the top will take care of this because of how configure.ac is setup.

Any update on this?

Signature · 12 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list