make file

47 views
Skip to first unread message

Mahmoud Ali

unread,
Apr 8, 2024, 4:46:01 AM4/8/24
to cpputest
i have followed the instruction to build cpputest
but when i tried to execute the make command i got 

$ make
make  all-am
make: make: No such file or directory
make: *** [Makefile:1061: all] Error 127

i don't know why?
i searched about the error and i found may be something related to wrong PATH
but i still can't figure it out which path shoul i add cause i could implement some other make file without anyproblem
$ cd cpputest_build $ autoreconf .. -i $ ../configure $ make

Bas Vodde

unread,
Apr 8, 2024, 5:00:37 AM4/8/24
to CppUTest

Hi,

If you build from the repository, then you’ll first need to do the “autoreconf -i” in order to generate the configure file.

If you build from the zip, then you’ll first need to do “configure” in order to create the Makefile.

Thanks,

Bas


--
You received this message because you are subscribed to the Google Groups "cpputest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cpputest+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cpputest/ec26b083-ecbc-44cd-ab35-77170928926an%40googlegroups.com.

Mahmoud Ali

unread,
Apr 8, 2024, 6:30:09 PM4/8/24
to cpputest
actually, make file has been created and i can see it and the rules inside it. but still don't know why i can't implement make command
i tried to implement 
make check_all

m.o
ranlib lib/libCppUTest.a
make  CppUTestTests.exe
make[1]: make: No such file or directory
make[1]: *** [Makefile:3612: check-am] Error 127
make[1]: Leaving directory '/d/Cpp_UnitTest_Example/tools/cpputest'
make: *** [Makefile:4046: check_basic] Error 2

here is what i got at the end of this command

Mahmoud Ali

unread,
Apr 9, 2024, 5:17:29 AM4/9/24
to cppu...@googlegroups.com
Hello/ Bas Vodde
Thanks alot for your support but fortunately i have discovered the problem i was using two different version of make file and i think it's got confused about which version should be used. At the end I delete one of them and it works fine.

BR 
Mahmoud

You received this message because you are subscribed to a topic in the Google Groups "cpputest" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cpputest/Gg9FmZLtfVw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cpputest+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cpputest/2237fff6-f030-4a6e-b4b7-ac3335f03fd3n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages