Boost logo

Boost Users :

Subject: Re: [Boost-users] packaging boost-1.37.0 for "LTIB"?
From: Robert P. J. Day (rpjday_at_[hidden])
Date: 2009-01-03 13:05:15


On Sat, 3 Jan 2009, Steven Watanabe wrote:

> AMDG
>
> Robert P. J. Day wrote:
> > i want to package the latest version of boost for the LTIB software
> > package so, to make a long story short, here's the RPM packaging spec
> > file for an older version:
> > <snip>
> >
> > %Install
> > rm -rf $RPM_BUILD_ROOT
> > mkdir -p $RPM_BUILD_ROOT/%{pfx}/%{_prefix}
> > (cd tools/build/jam_src && ./build.sh)
> > BJAM=`find tools/build/jam_src/ -name bjam -a -type f`
> > PYTHON_VERSION=`python -V 2>&1 |sed 's,.*
> > \([0-9]\.[0-9]\)\(\.[0-9]\)\?.*,\1,'`
> > PYTHON_FLAGS="-sPYTHON_ROOT=%{_prefix} -sPYTHON_VERSION=$PYTHON_VERSION"
> > $BJAM $PYTHON_FLAGS -sTOOLS=gcc -sBUILD="debug release"
> > --prefix=$RPM_BUILD_ROOT/%{pfx} %{_prefix} install

... snip ...

> > 2) i'm also assuming that JAM is required for that final packaging
> > step so that part of the spec file is still relevant.
> >
> > in other words, other than dropping the regex patch and updating
> > the version number, does the above spec file look about right for
> > 1.37.0? i'm about to give it a try. thanks.
> >
>
> The bjam syntax is out of date.
> echo "using python : $PYTHON_VERSION : %{_prefix} ;" >user-config.jam
> $BJAM --user-config=user-config.jam toolset=gcc debug release
> --prefix=$RPM_BUILD_ROOT/%{pfx} %{_prefix} install

  "out of date" with respect to what? remember, this is boost-1.31.0
so it might be that that bjam syntax is correct for back then, no? or
am i misunderstanding something here?

rday

--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.
http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net