Discussion:
freebsd install from git source
(too old to reply)
jungle Boogie
2015-05-06 20:04:31 UTC
Permalink
Hello All,

I grabbed tmux git repo, cd to its dir, sh autogen.sh and now error:

% sh autogen.sh
configure.ac:19: installing 'etc/compile'
configure.ac:11: installing 'etc/config.guess'
configure.ac:11: installing 'etc/config.sub'
configure.ac:9: installing 'etc/install-sh'
configure.ac:9: installing 'etc/missing'
Makefile.am: installing 'etc/depcomp'
configure.ac:127: error: possibly undefined macro: AC_SEARCH_LIBS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf-2.69: /usr/local/bin/autoconf-2.69 failed with exit status: 1
autoreconf failed


./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... etc/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... i386-unknown-freebsd10.1
checking host system type... i386-unknown-freebsd10.1
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for gcc that whines about -I... yes
checking for glibc... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking bitstring.h usability... yes
checking bitstring.h presence... yes
checking for bitstring.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking libutil.h usability... yes
checking libutil.h presence... yes
checking for libutil.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking for stdint.h... (cached) yes
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/tree.h usability... yes
checking sys/tree.h presence... yes
checking for sys/tree.h... yes
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking for bzero... yes
checking for dirfd... yes
checking for flock... yes
checking for setproctitle... yes
checking for sysconf... yes
checking for cfmakeraw... yes
checking for library containing clock_gettime... none required
./configure: 4640: Syntax error: newline unexpected (expecting ")")


Any ideas to get latest tmux running?

10.1-RELEASE-p6 FreeBSD 10.1-RELEASE-p6 #0: Tue Feb 24 18:57:59 UTC 2015

thanks!
--
-------
inum: 883510009027723
sip: ***@sip2sip.info
xmpp: jungle-***@jit.si
Nicholas Marriott
2015-05-06 20:31:26 UTC
Permalink
Do you have libtool installed? If so then your autoconf is probably either too old or too new.

-------- Original message --------
From: jungle Boogie <***@gmail.com>
Date:06/05/2015 21:04 (GMT+00:00)
To: tmux-users <tmux-***@lists.sourceforge.net>
Subject: freebsd install from git source

Hello All,

I grabbed tmux git repo, cd to its dir, sh autogen.sh and now error:

% sh autogen.sh
configure.ac:19: installing 'etc/compile'
configure.ac:11: installing 'etc/config.guess'
configure.ac:11: installing 'etc/config.sub'
configure.ac:9: installing 'etc/install-sh'
configure.ac:9: installing 'etc/missing'
Makefile.am: installing 'etc/depcomp'
configure.ac:127: error: possibly undefined macro: AC_SEARCH_LIBS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf-2.69: /usr/local/bin/autoconf-2.69 failed with exit status: 1
autoreconf failed


./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... etc/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... i386-unknown-freebsd10.1
checking host system type... i386-unknown-freebsd10.1
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for gcc that whines about -I... yes
checking for glibc... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking bitstring.h usability... yes
checking bitstring.h presence... yes
checking for bitstring.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking libutil.h usability... yes
checking libutil.h presence... yes
checking for libutil.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking for stdint.h... (cached) yes
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/tree.h usability... yes
checking sys/tree.h presence... yes
checking for sys/tree.h... yes
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking for bzero... yes
checking for dirfd... yes
checking for flock... yes
checking for setproctitle... yes
checking for sysconf... yes
checking for cfmakeraw... yes
checking for library containing clock_gettime... none required
./configure: 4640: Syntax error: newline unexpected (expecting ")")


Any ideas to get latest tmux running?

10.1-RELEASE-p6 FreeBSD 10.1-RELEASE-p6 #0: Tue Feb 24 18:57:59 UTC 2015

thanks!
--
-------
inum: 883510009027723
sip: ***@sip2sip.info
xmpp: jungle-***@jit.si
jungle Boogie
2015-05-06 20:40:31 UTC
Permalink
Hi Nicholas,
Post by Nicholas Marriott
Do you have libtool installed? If so then your autoconf is probably either
too old or too new.
Yes, just installed libtool 2.4.6. Where's that fall on the cut off?
--
-------
inum: 883510009027723
sip: ***@sip2sip.info
xmpp: jungle-***@jit.si
J Raynor
2015-05-06 21:11:53 UTC
Permalink
I think I've seen the error with AC_SEARCH_LIBS and m4_pattern_allow
before. Try installing pkgconf if you don't already have it
installed, and then rerun autogen.sh.
Post by jungle Boogie
Hi Nicholas,
Post by Nicholas Marriott
Do you have libtool installed? If so then your autoconf is probably either
too old or too new.
Yes, just installed libtool 2.4.6. Where's that fall on the cut off?
--
-------
inum: 883510009027723
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
jungle Boogie
2015-05-06 21:15:45 UTC
Permalink
Post by J Raynor
I think I've seen the error with AC_SEARCH_LIBS and m4_pattern_allow
before. Try installing pkgconf if you don't already have it
installed, and then rerun autogen.sh.
Good job and thanks for the help!

% tmux -V
tmux 2.0

I recommend the readme be amended to point this out.
--
-------
inum: 883510009027723
sip: ***@sip2sip.info
xmpp: jungle-***@jit.si
Loading...