On 03/27/2011 06:20 PM, luxInteg wrote:
####### I forwarded this message as the original had  typos both in heading
and body of email

Greetings

I am trying to biuld boost-1.46.1 on a 64bit (amd64) cblfs machine with
gcc-4.5.2/python-2.7.1//icu-4.5.2..  Results are as follows:-


prelims:(equiv of configure)
sh bootstrap.sh    \
--prefix=/usr  \
--with-toolset=gcc \
--with-bjam=/usr/bin/bjam  \
--with-python=python  \
--with-python-root=/usr


bjam: (equiv of make)
/usr/bin/bjam

--------- running bjam ends like so:-
~/boost_1_46_1/tools/build/v2/build/configure.jam:145: in builds-raw
*** argument error
* rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? )
* called with: (
<p~/boost_1_46_1/build/boost/bin.v2/libs/regex/build/gcc-4.5.2/debug>has_icu :
: ignore-minus-n : ignore-minus-q )
* extra argument ignore-minus-q
(builtin):see definition of rule 'UPDATE_NOW' being called
~/boost_1_46_1/tools/build/v2/build/configure.jam:179: in configure.builds
~/boost_1_46_1/tools/build/v2/build/configure.jam:216: in object(check-target-
builds-worker)@416.check
~/boost_1_46_1/tools/build/v2/kernel/modules.jam:103: in modules.call-in
~/boost_1_46_1/tools/build/v2/util/indirect.jam:96: in indirect.call
~/boost_1_46_1/tools/build/v2/build/targets.jam:1012: in targets.evaluate-
requirements
~/boost_1_46_1/tools/build/v2/build/targets.jam:1393: in basic-target.compute-
usage-requirements
~/boost_1_46_1/tools/build/v2/build/alias.jam:47: in compute-usage-
requirements
~/boost_1_46_1/tools/build/v2/build/targets.jam:1319: in object(alias-target-
class)@420.generate
~/boost_1_46_1/tools/build/v2/build/targets.jam:732: in generate-really
~/boost_1_46_1/tools/build/v2/build/targets.jam:704: in object(main-
target)@810.generate
~/boost_1_46_1/tools/build/v2/build/targets.jam:848: in targets.generate-from-
reference
~/boost_1_46_1/tools/build/v2/build/targets.jam:1217: in generate-dependencies
~/boost_1_46_1/tools/build/v2/build/targets.jam:1268: in object(typed-
target)@423.generate
~/boost_1_46_1/tools/build/v2/build/targets.jam:732: in generate-really
~/boost_1_46_1/tools/build/v2/build/targets.jam:704: in object(main-
target)@811.generate
~/boost_1_46_1/tools/build/v2/build/targets.jam:848: in targets.generate-from-
reference
~/boost_1_46_1/tools/build/v2/build/targets.jam:1217: in generate-dependencies
~/boost_1_46_1/tools/build/v2/build/targets.jam:1266: in object(typed-
target)@194.generate
~/boost_1_46_1/tools/build/v2/build/targets.jam:732: in generate-really
~/boost_1_46_1/tools/build/v2/build/targets.jam:704: in object(main-
target)@792.generate
~/boost_1_46_1/tools/build/v2/build/targets.jam:258: in object(project-
target)@185.generate
~/boost_1_46_1/tools/build/v2/build/targets.jam:848: in targets.generate-from-
reference
~/boost_1_46_1/tools/build/v2/build/targets.jam:1217: in generate-dependencies
~/boost_1_46_1/tools/build/v2/build/targets.jam:1268: in object(install-
target-class)@120.generate
~/boost_1_46_1/tools/build/v2/build/targets.jam:732: in generate-really
~/boost_1_46_1/tools/build/v2/build/targets.jam:704: in object(main-
target)@622.generate
~/boost_1_46_1/tools/build/v2/build/targets.jam:848: in targets.generate-from-
reference
~/boost_1_46_1/tools/build/v2/build/targets.jam:1217: in generate-dependencies
~/boost_1_46_1/tools/build/v2/build/targets.jam:1268: in alias-target-
class.generate
Jamroot:648: in build-multiple
Jamroot:612: in object(top-level-target)@127.generate
~/boost_1_46_1/tools/build/v2/build/targets.jam:732: in generate-really
~/boost_1_46_1/tools/build/v2/build/targets.jam:704: in object(main-
target)@626.generate
~/boost_1_46_1/tools/build/v2/build/targets.jam:848: in targets.generate-from-
reference
~/boost_1_46_1/tools/build/v2/build/targets.jam:1217: in generate-dependencies
~/boost_1_46_1/tools/build/v2/build/targets.jam:1268: in alias-target-
class.generate
Jamroot:648: in build-multiple
Jamroot:612: in object(top-level-target)@128.generate
~/boost_1_46_1/tools/build/v2/build/targets.jam:732: in generate-really
~/boost_1_46_1/tools/build/v2/build/targets.jam:704: in object(main-
target)@627.generate
~/boost_1_46_1/tools/build/v2/build/targets.jam:258: in object(project-
target)@70.generate
~/boost_1_46_1/tools/build/v2/build-system.jam:735: in load
~/boost_1_46_1/tools/build/v2/kernel/modules.jam:283: in import
~/boost_1_46_1/tools/build/v2/kernel/bootstrap.jam:142: in boost-build
~/boost_1_46_1/boost-build.jam:17: in module scope
.
--------------
has anybody built boost =>~version1_45  on machines with gcc-4.5.2/python-2.7.
?

advice would be appreciated.

sincerely
luxinteg
ps it compiles on another machine with gcc-4.4.2/pythn-2.6.4/icu-4.2.1



Working fine here, but with newer version of icu.

dj [ BOOK-DESTDIR-LSB ]$ gcc --version
gcc (GCC) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

dj [ BOOK-DESTDIR-LSB ]$ python --version
Python 2.7.1
dj [ BOOK-DESTDIR-LSB ]$ ls /var/log/llog/boost-1.45.0.llog
/var/log/llog/boost-1.45.0.llog
dj [ BOOK-DESTDIR-LSB ]$ icuinfo
<ICUINFO>
International Components for Unicode for C/C++
Copyright (C) 2010, International Business Machines Corporation and others. All Rights Reserved.
Compiled-Version: 4.6
Runtime-Version: 4.6
Compiled-Unicode-Version: 6.0
Runtime-Unicode-Version: 6.0
Platform: U_LINUX
Build: x86_64-unknown-linux-gnu
C compiler: gcc
C++ compiler: g++
ICUDATA: icudt46l
Data Directory:
ICU Initialization returned: U_ZERO_ERROR
Default locale: en_US
CLDR-Version: 1.9
Default converter: UTF-8
Default TZ: America/Chicago
TZ data version: 2010o
Plugin file is: /usr/lib/icu/icuplugins46.txt
</ICUINFO>
dj [ BOOK-DESTDIR-LSB ]$


Attached are my build scripts.

-- DJ Lucas



#!/bin/sh

# Package Information
export version="2.7.1"
export tarball="Python-${version}.tar.bz2"
export dir="Python-${version}"
export md5sum="aa27bc25725137ba155910bd8e5ddc4f"
export download="http://www.Python.org/ftp/Python/$version}/${tarball}";
export docs_tarball="python-${version}-docs-html.tar.bz2"
export docs_download="http://docs.python.org/archives/${docs_tarball}";
export docs_md5sum="312d4da0c1d8adbfb27f4f0e09f2cffe"

. /etc/lspec.conf
. ${lspec_dir}/.count
let count++

if [ "${count}" -lt "10" ]; then
    lcount="000${count}"
elif [ "${count}" -lt "100" ]; then
    lcount="00${count}"
elif [ "${count}" -lt "1000" ]; then
    lcount="0${count}"
fi

# get_package

cat ${lspec_dir}/Python1 > ${build_dir}/logs/$lcount-Python-${version}-1 &&

{
cd "${build_dir}" &&
llog -p &&

tar -xf "${source_dir}/${tarball}" &&
cd "${dir}" &&
time {
echo "########## PREP AND CONFIGURE ##########" &&
sed -i "s/ndbm_libs = \[\]/ndbm_libs = ['gdbm', 'gdbm_compat']/" setup.py &&
./configure --prefix=/usr --enable-shared &&
make &&
# No sense testing somthing that will get rebuilt later
# Checking build dir size is negligable
#BUILD_SIZE="$(du -shb ./ | awk '{print $1}')" &&
#echo "########## BEGINING TESTSUITE ##########" &&
#time {
#make test || true
#} &&
echo "########## BEGINING INSTALL ##########" &&
make install &&
#chmod -v 755 /usr/lib/libpython${version}.so.1.0 &&
install -v -m755 -d /usr/share/doc/Python-${version}/html &&
tar --strip-components=1 \
    --no-same-owner \
    --no-same-permissions \
    -C /usr/share/doc/Python-${version}/html \
    -xvf "${source_dir}/${docs_tarball}" &&
for file in `find /usr/share/doc/Python-${version} -type f`
    do touch $file
done
} &&
llog Python-${version} &&
echo "count=${count}" > "${lspec_dir}/.count" &&
INSTALL_SIZE="$( du -shb `awk '{print $1}' /var/log/llog/Python-${version}.llog 
| sed /\(M\)/d ` | awk '{print $1}' | paste -sd+ | bc )" &&
FULL_BUILD_SIZE="$(du -shb ./ | awk '{print $1}')" &&
cd .. &&
rm -rf "${build_dir}/${dir}" &&
echo "" &&
#echo -n "Diskspace required with testsuite is:     " &&
#echo -e "$FULL_BUILD_SIZE\n$INSTALL_SIZE" | paste -sd+ | bc &&
#echo -n "Diskspace required without testsuite is:  " &&
#echo -e "$BUILD_SIZE\n$INSTALL_SIZE" | paste -sd+ | bc &&
echo -n "Diskspace required without testsuite is:  " &&
echo -e "$FULL_BUILD_SIZE\n$INSTALL_SIZE" | paste -sd+ | bc &&
echo ""
} 2>&1 | tee -a ${build_dir}/logs/$lcount-Python-${version}-1



#!/bin/sh

# Package Information
export version="1.45.0"
export expver="1_45_0"
export tarball="boost_${expver}.tar.bz2"
export dir="boost_${expver}"
export md5sum="d405c606354789d0426bc07bea617e58"
export 
download="http://sourceforge.net/projects/boost/files/boost/${version}/${tarball}/download";

. /etc/lspec.conf
. ${lspec_dir}/.count
let count++

if [ "${count}" -lt "10" ]; then
    lcount="000${count}"
elif [ "${count}" -lt "100" ]; then
    lcount="00${count}"
elif [ "${count}" -lt "1000" ]; then
    lcount="0${count}"
fi

# get_package

cat ${lspec_dir}/boost > ${build_dir}/logs/$lcount-boost-${version} &&

{
cd "${build_dir}" &&
sudo /sbin/llog -p &&

tar -xf "${source_dir}/${tarball}" &&
cd "${dir}" &&
time {
echo "########## PREP AND CONFIGURE ##########" &&
./bootstrap.sh --prefix=/usr &&
./bjam &&
# Checking build dir size is negligable
#BUILD_SIZE="$(du -shb ./ | awk '{print $1}')" &&
#echo "########## BEGINING TESTSUITE ##########" &&
#time {
#make check || true
#} &&
echo "########## BEGINING INSTALL ##########" &&
sudo ./bjam install &&
for dir in `find doc/html -type d`
do
   subdir=`echo "${dir}" | sed -e 's|doc/||'`
   sudo install -v -m755 -d /usr/share/doc/boost-${version}/${subdir}
   sudo install -v -m644 ${dir}/* /usr/share/doc/boost-${version}/${subdir}
done

} &&
sudo /sbin/llog boost-${version} &&
echo "count=${count}" > "${lspec_dir}/.count" &&
INSTALL_SIZE="$( du -shb `sudo awk '{print $1}' 
/var/log/llog/boost-${version}.llog | sed /\(M\)/d ` | awk '{print $1}' | paste 
-sd+ | bc )" &&
FULL_BUILD_SIZE="$(du -shb ./ | awk '{print $1}')" &&
cd .. &&
rm -rf "${build_dir}/${dir}" &&
echo "" &&
#echo -n "Diskspace required with testsuite is:     " &&
echo -n "Diskspace required without testsuite is:  " &&
echo -e "$FULL_BUILD_SIZE\n$INSTALL_SIZE" | paste -sd+ | bc &&
#echo -n "Diskspace required without testsuite is:  " &&
#echo -e "$BUILD_SIZE\n$INSTALL_SIZE" | paste -sd+ | bc &&
echo ""
} 2>&1 | tee -a ${build_dir}/logs/$lcount-boost-${version}

#!/bin/sh

# Package Information
export version="4.6"
export tarball="icu4c-4_6-src.tgz"
export dir="icu"
export md5sum="43e56b71c407be5154de681eaa646a4a"
export download="http://download.icu-project.org/files/icu4c/4.6/${tarball}";

. /etc/lspec.conf
. ${lspec_dir}/.count
let count++

if [ "${count}" -lt "10" ]; then
    lcount="000${count}"
elif [ "${count}" -lt "100" ]; then
    lcount="00${count}"
elif [ "${count}" -lt "1000" ]; then
    lcount="0${count}"
fi

# get_package

cat ${lspec_dir}/icu > ${build_dir}/logs/$lcount-icu-${version} &&

{
cd "${build_dir}" &&
sudo /sbin/llog -p &&

tar -xf "${source_dir}/${tarball}" &&
cd "${dir}" &&
time {
echo "########## PREP AND CONFIGURE ##########" &&
cd source &&
chmod +x runConfigureICU configure install-sh &&
./runConfigureICU Linux --prefix=/usr &&
make &&
# Checking build dir size is negligable
BUILD_SIZE="$(du -shb ./ | awk '{print $1}')" &&
echo "########## BEGINING TESTSUITE ##########" &&
time {
make check || true
} &&
echo "########## BEGINING INSTALL ##########" &&
sudo make install
} &&
sudo /sbin/llog icu-${version} &&
echo "count=${count}" > "${lspec_dir}/.count" &&
INSTALL_SIZE="$( du -shb `sudo awk '{print $1}' 
/var/log/llog/icu-${version}.llog | sed /\(M\)/d ` | awk '{print $1}' | paste 
-sd+ | bc )" &&
FULL_BUILD_SIZE="$(du -shb ./ | awk '{print $1}')" &&
cd .. &&
rm -rf "${build_dir}/${dir}" &&
echo "" &&
echo -n "Diskspace required with testsuite is:     " &&
echo -e "$FULL_BUILD_SIZE\n$INSTALL_SIZE" | paste -sd+ | bc &&
echo -n "Diskspace required without testsuite is:  " &&
echo -e "$BUILD_SIZE\n$INSTALL_SIZE" | paste -sd+ | bc &&
echo ""
} 2>&1 | tee -a ${build_dir}/logs/$lcount-icu-${version}

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to