My machine is a macbook air running OS X 10.7, I'll try again tonight. Thanks

On 31/01/2012 02:27, Jan Kanis wrote:
That addition of ptrdiff_t was added in one of the last changesets. So you're probably compiling the right version, but there's a bug. It appears that on my system, ptrdiff_t is defined through including <stddef.h>, which is more or less accidentally included in common.c via including <ncurses.h>. I'm not quite sure why this doesn't work for your system, but anyway util.c should include stddef.h. I've added it on my system, will push it tonight or tomorrow.

Jan


On Mon, Jan 30, 2012 at 17:30, i...@whywouldwe.com <mailto:i...@whywouldwe.com> <i...@whywouldwe.com <mailto:i...@whywouldwe.com>> wrote:

    Hi

    I've got a new machine and need to
    install fish. I've downloaded the
    current master branch from
    gitorious but am getting this
    error when I
    run make

    ...
    gcc -g -O2 -std=c99
    -D_LARGEFILE_SOURCE=1
    -D_FILE_OFFSET_BITS=64
    -fno-optimize-sibling-calls -Wall
    -DLOCALEDIR=\"/usr/local/share/locale\"
    -DPREFIX=L\"/usr/local\"
    -DDATADIR=L\"/usr/local/share\"
    -DSYSCONFDIR=L\"/usr/local/etc\"
    -std=c99 -c -o common.o common.c
    In file included from common.c:86:
    util.c: In function ‘q_realloc’:
    util.c:131: error: ‘ptrdiff_t’
    undeclared (first use in this
    function)
    util.c:131: error: (Each
    undeclared identifier is reported
    only once
    util.c:131: error: for each
    function it appears in.)
    util.c:131: error: expected ‘;’
    before ‘diff’
    util.c:144: error: ‘diff’
    undeclared (first use in this
    function)
    make: *** [common.o] Error 1

    Is master the correct version to use?

    Thanks

    
------------------------------------------------------------------------------
    Try before you buy = See our
    experts in action!
    The most comprehensive online
    learning library for Microsoft
    developers
    is just $99.99! Visual Studio,
    SharePoint, SQL - plus HTML5,
    CSS3, MVC3,
    Metro Style Apps, more. Free
    future releases when you subscribe
    now!
    http://p.sf.net/sfu/learndevnow-dev2
    _______________________________________________
    Fish-users mailing list
    Fish-users@lists.sourceforge.net
    <mailto:Fish-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/fish-users


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to