Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2015 23:21:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        mono@FreeBSD.org
Subject:   [Bug 200966] lang/mono: failed to build port (4.0.1.28)
Message-ID:  <bug-200966-23699-VrwUnvvm0Y@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200966-23699@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200966-23699@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200966

--- Comment #2 from Walter Schwarzenfeld <w.litter@aon.at> ---
I take a look in poudriere and got mono compile in the port with following
flags (maybe someone can interpret this. I don't think all flags are
necessarily but I haven't all tested yet - it needs time).

The command is:

make install clean MONO_SHARED_DIR="/wrkdirs/usr/ports/lang/mono/work"
INSTALL_STRIP_FLAG="-s" LC_ALL=C TZ=UTC
XDG_DATA_HOME=/wrkdirs/usr/ports/lang/mono/work
XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/mono/work
HOME=/wrkdirs/usr/ports/lang/mono/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh
NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc"
CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing" CPP="cpp"  LDFLAGS="
-fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe  -fstack-protector
-fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s
-m 555" BSD_INSTALL_LIB="install  -s -m 444" BSD_INSTALL_SCRIPT="install  -m
555" BSD_INSTALL_DATA="install  -m 0644" BSD_INSTALL_MAN="install  -m 444"
ac_cv_header_sys_inotify_h=no  ac_cv_path_PERL=/usr/local/bin/perl
ac_cv_path_PERL_PATH=/usr/local/bin/perl XDG_DATA_ SHELL=/bin/sh
CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site
lt_cv_sys_max_cmd_len=262144 CFLAGS+=-lpthread

(most of this flags are in the Makefile - I think the important difference are
the pathes of MONO and XDG - some of the other errors seems locale errors).

Changed the Makefile and put in:
OPTIONS_DEFINE=        NLS
OPTIONS_SUB=        yes

NLS_USES=        gettext
NLS_CONFIGURE_ENABLE=    nls

at last I had a error, the Makefile seems a little malformated
***missing separator on line 61 (last line, now last line is 67)

I deleted the the line .include <bsd.port.mk> and the empty line before and
tipped with vi in
.include <bsd.port.mk>

maybe a not printable character, or something else.

with this it compiled and installed fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200966-23699-VrwUnvvm0Y>