Configure error? vim wouldn't build without linking x11
Bryan Blackburn
blb at macports.org
Wed Dec 10 14:27:20 PST 2008
On Wed, Dec 10, 2008 at 11:45:59AM -0500, Joel Thibault (MacPorts) said:
> It appears that either configure is not detecting my system properly
> or vim depends on X and is not looking for it.
>
> When I tried to upgrade vim, the linker kept failing with this error.
> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
> __Xsetlocale
>
> Adding -lX11 to the linker command line enabled it to build and now I
> have the new vim.
>
> Maybe there should be a no_x11 variant, too?
With what variants did you install vim? Use 'port installed vim' to see;
there are several variants which enable various toolkits based on X11, but
the default should be to ignore any X11 at all. 'port variants vim' will
list which add a graphical interface and all of those do enable X11 use.
Bryan
>
> OS X Tiger 10.4.11
> Macports Trunk
>
> I saved the output from port -d upgrade -cuv vim, but I didn't want to
> paste 1452 lines :) Would any of that be useful?
> Joel
>
>
> --
> Joel Thibault [AIM: Jole Tebo]
> Software Engineer in Boston
More information about the macports-users
mailing list