On 24/05/2013 22:48, Chris Johnsen wrote: > On Fri, May 24, 2013 at 3:25 PM, Phil Dobbin <phildob...@gmail.com > <mailto:phildob...@gmail.com>> wrote: > > Hi, all. > > I've acquired a couple of legacy G4 PowerMacs running OS X Tiger 10.4.11 > & when trying to compile tmux I'm getting this error message: > > ':info:build osdep-darwin.c:22:21: error: libproc.h: No such file or > directory > :info:build osdep-darwin.c: In function ‘osdep_get_name’: > :info:build osdep-darwin.c:36: error: storage size of ‘bsdinfo’ > isn’t known > :info:build osdep-darwin.c:43: warning: implicit declaration of function > ‘proc_pidinfo’ > :info:build osdep-darwin.c:43: error: ‘PROC_PIDTBSDINFO’ undeclared > (first use in this function) > :info:build osdep-darwin.c:43: error: (Each undeclared identifier is > reported only once > :info:build osdep-darwin.c:43: error: for each function it appears in.) > :info:build osdep-darwin.c: In function ‘osdep_get_cwd’: > :info:build osdep-darwin.c:53: error: ‘PATH_MAX’ undeclared (first use > in this function) > :info:build osdep-darwin.c:54: error: storage size of ‘pathinfo’ > isn’t known > :info:build osdep-darwin.c:61: error: ‘PROC_PIDVNODEPATHINFO’ undeclared > (first use in this function) > :info:build make: *** [osdep-darwin.o] Error 1' > > It appears libproc-dev is missing & I'm unable to find an Apple version > of it & I can't even find a tarball for it. > > > I am pretty sure that this is not related to Linux's libproc. I do not > know all the history, but I have heard that the relavant APIs were > introduced with OS X 10.5 (as a part of the DTrace implementation?), so > you may be out of luck compiling this specific code on 10.4. > > > Does anybody know where I can get the relevant tarball from? Or any > other workaround? > > > You might try rolling back to an older version of osdep-darwin.c. I do > not have a working 10.4 machine anymore, but it looks like the version > from c1b9948 (Change the way the working directory for new processes is > discovered. ..., 2011-12-09) is compatible with the current internal > osdep API, and I *think* it may work on 10.4 (at least the > osdep_get_name code looks largely the same as when it was the > introduced, and I know that previous versions of tmux did work on 10.4). > > git checkout c1b994852594b23b7443e01e05257c991684ba4e -- osdep-darwin.c
Hi, Chris. Thanks for your help. I don't mean to be dense but which git repo is this checout coming from? Do you have a URI for it? Cheers, Phil... -- currently (ab)using CentOS 5.9 & 6.4, Debian Squeeze & Wheezy, Fedora Beefy, Spherical & That Damn Cat, Lubuntu 12.10, OS X Snow Leopard & Tiger, Ubuntu Precise, Quantal & Raring GnuGPG Key : http://phildobbin.org/publickey.asc ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users