[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: doesn't know how to make libtor.a

     I wrote:
>     On Sun, 18 Oct 2009 19:05:28 -0400 Nick Mathewson <nickm@xxxxxxxxxxxxx>
>>On Sun, Oct 18, 2009 at 10:40:44AM -0500, Scott Bennett wrote:
>>>      After running './configure CFLAGS="-march=prescott"', a 'make' in the
>>> top (tor- directory did the following.
>>I can't reproduce this; can you say more about your toolchain?  What
>>OS are you getting this on?  Whose make are you using, and what
>Script started on Mon Oct 19 10:16:24 2009
>[hellas] 101 % which make
>[hellas] 102 % ls /usr/local/bin/*make
>/usr/local/bin/automake@	/usr/local/bin/gmake*     /usr/local/bin/ppmmake*
>/usr/local/bin/avimake*   	/usr/local/bin/imake*     /usr/local/bin/qmake*
>/usr/local/bin/ccmake*    	/usr/local/bin/kmk_gmake* /usr/local/bin/tmake*
>/usr/local/bin/cmake*     	/usr/local/bin/pbmmake*
>[hellas] 103 % ls /usr/local/bin/automake*
>/usr/local/bin/automake@         /usr/local/bin/automake-1.8*
>/usr/local/bin/automake-1.10*    /usr/local/bin/automake-1.9*
>/usr/local/bin/automake-1.4*     /usr/local/bin/automake-wrapper*
>[hellas] 104 % ls /usr/local/bin/autoconf*
>/usr/local/bin/autoconf@         /usr/local/bin/autoconf-2.62*
>/usr/local/bin/autoconf-2.13*    /usr/local/bin/autoconf-wrapper*
>[hellas] 105 % ls /usr/local/bin/libtool*
>/usr/local/bin/libtool*    	/usr/local/bin/libtoolize*
>[hellas] 106 % gmake --version
>GNU Make 3.81
>Copyright (C) 2006  Free Software Foundation, Inc.
>This is free software; see the source for copying conditions.
>There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
>This program built for i386-portbld-freebsd7.2
>[hellas] 107 % lsl /usr/local/bin/auto{make,conf}
>lrwxr-xr-x  1 root  wheel  16 Jun 25 01:59 /usr/local/bin/autoconf@ -> autoconf-wrapper
>lrwxr-xr-x  1 root  wheel  16 Jun 25 02:00 /usr/local/bin/automake@ -> automake-wrapper
>[hellas] 108 % libtool --version
>ltmain.sh (GNU libtool) 2.2.6
>Written by Gordon Matzigkeit <gord@xxxxxxxxxxxxxx>, 1996
>Copyright (C) 2008 Free Software Foundation, Inc.
>This is free software; see the source for copying conditions.  There is NO
>[hellas] 109 % uname -a
>FreeBSD hellas 7.2-STABLE FreeBSD 7.2-STABLE #11: Sun Oct 18 09:33:26 CDT 2009     root@:/usr/obj/usr/src/sys/hellas  i386
>[hellas] 110 % exit
>Script done on Mon Oct 19 10:20:25 2009
>>version?  If it isn't gmake, does trying gmake[*] cause the problem to
>>go away?
>     I used the FreeBSD 7.2-STABLE make, which was recompiled as part of a
>"make buildworld", etc. after cvsup-ing to get the latest FreeBSD RELENG_7
>updates shortly beforehand.  Actually, what prompted the tor-
>build was the 5000 circuit times bug in, which was hit upon
>startup after the "make installworld && mergemaster && reboot" sequence that
>ends a full update of FreeBSD.  So that's what I used to start building tor,
>but what was used at the lower levels (e.g., src/{common,or} I don't know.
>I assume it was set by the configure script.
>>Does anything happen if you edit src/or/Makefile.in to replace every
>>reference to "./libtor.a" with one to "libtor.a" , then run configure
>     I haven't tried it.  I may have a chance to play with it tonight or

     I just tried that, and yes, tor built okay with that change.  In
a few minutes, I'll try installing it and restarting tor.
>>[*] It wasn't our intention to require gmake; but learning that we
>>    broke non-gmake builds would be a good step to diagnosing what's
>>    wrong.
     I did not try using gmake(1), and now that tor has already
been built, I probably won't try it unless Nick really wants me to do that.

                                  Scott Bennett, Comm. ASMELG, CFIAG
* Internet:       bennett at cs.niu.edu                              *
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxxx with
unsubscribe or-talk    in the body. http://archives.seul.org/or/talk/