vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Errors building vile on FreeBSD


From: chrisisbd
Subject: Re: [vile] Errors building vile on FreeBSD
Date: Tue, 11 Jul 2006 16:23:39 -0500
User-agent: Mutt/1.4.2i

On Tue, Jul 11, 2006 at 04:35:01PM -0400, Thomas Dickey wrote:
> On Tue, Jul 11, 2006 at 03:22:37PM -0500, address@hidden wrote:
> > > Looks like a workaround would be to define __wchar_t (untested).
> > > 
> > Where would I define that?
> 
> setenv CPPFLAGS=-D__wchar_t
> before configure, for instance.
> 
I still get the error:-

    cd filters && make - prefix=/home/isbd DESTDIR= all
    gcc -c -I. -I.  -DHAVE_CONFIG_H -D__wchar_t -D_BSD_TYPES
    -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600
    -DVILE_ICON=\"icons/vile.xbm\"
    -DVILE_LIBDIR_PATH=\"'/home/isbd/lib/vile'\"
    -DVILE_STARTUP_PATH=\"'/home/isbd/share/vile'\" -g -O2
    -DHELP_LOC=\"/home/isbd/share/vile\" curses.c
    In file included from tcap.h:38,
                     from curses.c:16:
    /usr/include/curses.h:236: conflicting types for `wchar_t'
    /usr/include/stddef.h:59: previous declaration of `wchar_t'
    *** Error code 1


However a bit of creative mucking about and I've got it to build, I
did "export CPPFLAGS=-D_WCHAR_T" and it builds successfully.

Thanks again.

-- 
Chris Green (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]