"./configure; make; make install" doesn't work
GoogleCodeExporter opened this issue · 15 comments
What steps will reproduce the problem?
1. Clone the repository
2. Run ./configure && make
What is the expected output? What do you see instead?
Library compiles successfully would be expected. Instead, we see:
----
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash
/home/bruno/lcrafter/libcrafter/missing --run aclocal-1.11
cd . && /bin/bash /home/bruno/lcrafter/libcrafter/missing --run automake-1.11 --gnu
Makefile.am: required file `./COPYING' not found
Makefile.am: `automake --add-missing' can install `COPYING'
make: *** [Makefile.in] Error 1
----
What version of the product are you using? On what operating system?
Latest (1753ce8af7da9e714c430f928c83fb9c764c25c9). On Ubuntu 11.10.
Please provide any additional information below.
Running "./autogen.sh" before "./configure" solves the problem.
Original issue reported on code.google.com by brunon...@brunonery.com
on 19 Apr 2012 at 6:30
Original comment by pellegre...@gmail.com
on 22 Apr 2012 at 10:51
- Changed state: Accepted
I add a COPYING file with the New BSD license on the HEAD tree.
Original comment by pellegre...@gmail.com
on 23 Apr 2012 at 6:12
- Changed state: Fixed
Still now working (now with a different error):
----
make[1]: Entering directory `/home/bruno/Temp/libcrafter/libcrafter'
depbase=`echo crafter/PrintMessage.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/usr/include/pcap -ansi -pedantic -Wall -g -O2 -MT crafter/PrintMessage.lo -MD -MP -MF $depbase.Tpo -c -o crafter/PrintMessage.lo crafter/PrintMessage.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
mv: cannot stat `crafter/.deps/PrintMessage.Tpo': No such file or directory
make[1]: *** [crafter/PrintMessage.lo] Error 1
make[1]: Leaving directory `/home/bruno/Temp/libcrafter/libcrafter'
make: *** [all] Error 2
----
Original comment by brunon...@brunonery.com
on 23 Apr 2012 at 3:57
Original comment by pellegre...@gmail.com
on 23 Apr 2012 at 4:20
- Changed state: Started
And running autogen.sh before compiling solves this issue?
Original comment by pellegre...@gmail.com
on 23 Apr 2012 at 4:28
Yes.
Original comment by brunon...@brunonery.com
on 23 Apr 2012 at 4:55
Unfortunately I can't reproduce the problem on any Ubuntu distro that I have. I
just update the current tree doing a 'make distclean' after commit/push. Let me
know if the problem continues...
Original comment by pellegre...@gmail.com
on 23 Apr 2012 at 6:49
The problem still happens. If that helps, I have crafter/.deps/PrintMessage.Plo
instead of crafter/.depts/PrintMessage.Tpo. I'm not an expert on autoconf, but
this might be related. I'm using gcc 4.6.1, make 3.81 and autoconf 2.68.
Original comment by brunon...@brunonery.com
on 23 Apr 2012 at 7:19
Try running ./configure && make on the attached snapshot (I run ./autogen.sh on
the current libcrafter source) and see if you have the same problem.
Original comment by brunon...@brunonery.com
on 23 Apr 2012 at 7:22
Attachments:
I run ./configure && make on this systems:
[+] Ubuntu 10.04 LTS:
* autoconf (GNU Autoconf) 2.65
* g++ (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
* GNU Make 3.81
[+] Ubuntu 11.04:
* autoconf (GNU Autoconf) 2.67
* g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
* GNU Make 3.81
And everything went fine... I going to try it in Ubuntu 11.10 later. And I'm
going to generate the configure script with autoconf 2.68.
Thanks!
Original comment by pellegre...@gmail.com
on 23 Apr 2012 at 7:42
I reproduce the error on Ubuntu 11.10/12.04 and I think is fixed... I update
the current tree running the autogen.sh script after committing.
Original comment by pellegre...@gmail.com
on 24 Apr 2012 at 2:25
But does the new tree still work under the older Ubuntus?
Original comment by brunon...@brunonery.com
on 24 Apr 2012 at 2:42
Yes, I check under Ubuntu 10.04 LTS and 11.04.
Original comment by pellegre...@gmail.com
on 24 Apr 2012 at 3:40
Yes, it works :)
Original comment by brunon...@brunonery.com
on 24 Apr 2012 at 6:00
Great, so this is fixed... Thanks!
Original comment by pellegre...@gmail.com
on 24 Apr 2012 at 6:43
- Changed state: Fixed