Hi,

2013/10/10 Thomas Adam <tho...@xteddy.org>

> Hi,
>
> Did you "make clean" first, and rerun autogen.sh and run ./configure etc?
>
>
Yes.

Here is the error log:

$ rm -rf /Library/Caches/Homebrew/tmux--git
$ brew upgrade --HEAD tmux
==> Upgrading 1 outdated package, with result:
tmux HEAD
==> Upgrading tmux
==> Cloning git://git.code.sf.net/p/tmux/tmux-code
Cloning into '/Library/Caches/Homebrew/tmux--git'...
remote: Counting objects: 208, done.
remote: Compressing objects: 100% (207/207), done.
remote: Total 208 (delta 50), reused 24 (delta 0)
Receiving objects: 100% (208/208), 501.19 KiB | 135.00 KiB/s, done.
Resolving deltas: 100% (50/50), done.
Checking connectivity... done
==> sh autogen.sh
==> ./configure --prefix=/usr/local/Cellar/tmux/HEAD
--sysconfdir=/usr/local/etc
==> make install
                cwd = AT_FDCWD;
                      ^
1 error generated.
make: *** [cmd-load-buffer.o] Error 1
make: *** Waiting for unfinished jobs....

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting




> -- Thomas Adam
>
> On 10 October 2013 08:18, harvey zh <zh.jli...@gmail.com> wrote:
> > Hi
> >
> > The latest git version cann't be compiled on Mac OS X.
> > $ brew install --HEAD tmux
> >
> > failed.
> >
> > When compiled manually, I get the following errors:
> >
> > cmd-load-buffer.c: In function ‘cmd_load_buffer_exec’:
> > cmd-load-buffer.c:90: error: ‘AT_FDCWD’ undeclared (first use in this
> > function)
> > cmd-load-buffer.c:90: error: (Each undeclared identifier is reported only
> > once
> > cmd-load-buffer.c:90: error: for each function it appears in.)
> > cmd-load-buffer.c:92: warning: implicit declaration of function ‘openat’
> > cmd-load-buffer.c:92: warning: nested extern declaration of ‘openat’
> > make: *** [cmd-load-buffer.o] Error 1
> >
> >
> > $ uname -a
> > Darwin harvey-pc.local 12.5.0 Darwin Kernel Version 12.5.0: Mon Jul 29
> > 16:33:49 PDT 2013; root:xnu-2050.48.11~1/RELEASE_X86_64 x86_64
> >
> >
> ------------------------------------------------------------------------------
> > October Webinars: Code for Performance
> > Free Intel webinars can help you accelerate application performance.
> > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> > from
> > the latest Intel processors and coprocessors. See abstracts and register
> >
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> > _______________________________________________
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tmux-users
> >
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to