开发者

install graphviz on openbsd issue

I'm facing a problem installing graphviz 2.29 oj FreeBSD system. ./configure works fine but after make i see this:

sftable.c:262: error: 'ptrdi开发者_开发知识库ff_t' undeclared

I'm not familiar to FreeBSD so i don't know what to do with this issue. It seems to me that it's a known bug (http://www.graphviz.org/bugs/b1019.html) but there's no answer.

Please, help!

ps: gcc version 4.2.1 20070719

FreeBSD 7.3-RELEASE-p2


One way to install software that is newer then the port's version is to change the port's version (using graphviz as example):

% cd /usr/ports/graphics/graphviz

Edit the Makefile and change PORTVERSION to match the version you want. Comment any PORTREVISION and leave PORTEPOCH alone.

% sudo make makesum
% sudo make

In a lot of cases this simply works, because the patches that the port maintainer applies to make things work, don't always make it upstream timely. If this don't work and your knowledge is of the ports system is minimal, you might want to stop, if not or eager to learn, then read the errors and try to resolve them.


Well, then try to add this line:

#include <stddef.h>

at the top of sftable.c file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜