monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] heads up on nvm.stripped


From: Markus Wanner
Subject: Re: [Monotone-devel] heads up on nvm.stripped
Date: Fri, 16 Jan 2009 22:15:15 +0100
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

Hi,

Lapo Luchini wrote:
> Right, but wouldn't be much different (mtn doesn't rely on many
> base-system libraries, and the ports are the ports are the ports - i.e.
> always the same for every revision).

Oh, good, thanks.

> nice sh -c 'SHELL=/bin/sh ; autoreconf -i &&
> CXXFLAGS="-I/usr/local/include" LUA_CFLAGS="-I/usr/local/include/lua51"
> LUA_LIBS="-llua-5.1" LDFLAGS="-L/usr/local/lib" ./configure && gmake'

Aha, so it was lua, which posed some problems.

What's the purpose of "SHELL=/bin/sh"?  Is that required if there's
already a 'configure' (i.e. as in the tarball)?

> Actually lua installs a .pc for pkg-config, but it's versioned:
> % pkg_info -L lua-5.1.3_3|fgrep .pc
> /usr/local/libdata/pkgconfig/lua-5.1.pc

Hm.. on Debian it's just "lua5.1". Strange.

However, it's simple enough to teach the lua.m4 script. Done in
2a7c7d45284e1eedee141f5627f612a954c6eb9d.

I've successfully compiled mtn on FreeBSD 6.4:

> Running on          : FreeBSD 6.4-RELEASE-p1 FreeBSD 6.4-RELEASE-p1 #0: Sun 
> Dec 21 07:56:41 UTC 2008     address@hidden:/usr/obj/usr/src/sys/GENERIC i386
> C++ compiler        : GNU C++ version 3.4.6 [FreeBSD] 20060305
> C++ standard library: GNU libstdc++ version 20060311
> Boost version       : 1_34_1
> SQLite version      : 3.6.4 (compiled against 3.6.4)
> Lua version         : Lua 5.1
> PCRE version        : 7.8 2008-09-05 (compiled against 7.8)
> Botan version       : 1.6.5 (compiled against 1.6.5)

..it's running "make check" just now.

> I think using flags is easier.

Not having to use flags is even easier, no?

> And when I will do the port I could
> automatically copy the detected version's flags to configure's flags.
> (would it accept 5.0 or only 5.1?)

Only 5.1.

Having a monotone ports package for FreeBSD would be great! And along
the way, update botan's port to 1.8.x as well... :-)

Regards

Markus Wanner




reply via email to

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