As part of our upgrades to RELEASE-1.0, I also upgraded a test machine
to Ubuntu 13.04 from 12.04 LTS. Before installing RELEASE-1.0, I tested
uninstalling Moses BETA-0.91 with commands that have been tested and
work on the 12.04. By doing it this way, I could test the binaries that
were built on 12.04LTS, uninstall the binaries and rebuild/install the
binaries on 13.04.
The good news is, the binaries built on 12.04 and the scripts run
smoothly on 13.04.
The bad news is, bjam with --clean to remove the old installation
failed. Details of the environment, commands & fail message below.
Note, this is not high priority for me. I am comfortable limiting our
users to Ubuntu LTS releases (10.04, 12.04). Also, we're working on the
BETA-0.91 and RELEASE-1.0, not the main trunk, but users of the main
trunk will eventually upgrade to 13.04, etc. I can test your fixes on my
local RELEASE-1.0 branch. Then, you can consider if it should be
backported to the RELEASE-1.0 main repository and how to integrate it
into the trunk.
Tom
ENVIRONMENT:
$ uname -a
Linux netbook 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
$ make --version
GNU Make 3.81
Copyright (C) 2006 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.
This program built for x86_64-pc-linux-gnu
$ g++ --version
g++ (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
Copyright (C) 2012 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.
$ /home/tahoar/src/mosesdecoder/jam-files/bjam -v
Boost.Jam Version 2011.4. OS=LINUX.
Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.
Copyright 2001 David Turner.
Copyright 2001-2004 David Abrahams.
Copyright 2002-2008 Rene Rivera.
Copyright 2003-2008 Vladimir Prus.
(note, above uses bjam distributed with Moses beta 0.91
COMMANDS & MESSAGES:
tahoar@netbook:~$ pushd /home/tahoar/src/mosesdecoder
~/src/mosesdecoder ~
tahoar@netbook:~/src/mosesdecoder$ export
BOOST_BUILD_PATH=/home/tahoar/src/mosesdecoder/jam-files/boost-build
tahoar@netbook:~/src/mosesdecoder$ ls -l $BOOST_BUILD_PATH
total 72
-rw-r--r-- 1 tahoar tahoar 263 Aug 22 2012 boost-build.jam
-rw-r--r-- 1 tahoar tahoar 761 Aug 22 2012 bootstrap.jam
drwxr-xr-x 2 tahoar tahoar 4096 Apr 18 10:18 build
-rw-r--r-- 1 tahoar tahoar 35454 Aug 22 2012 build-system.jam
drwxr-xr-x 2 tahoar tahoar 4096 Apr 18 10:18 kernel
drwxr-xr-x 2 tahoar tahoar 4096 Apr 18 10:18 options
-rw-r--r-- 1 tahoar tahoar 184 Aug 22 2012 site-config.jam
drwxr-xr-x 5 tahoar tahoar 4096 Apr 18 10:18 tools
-rw-r--r-- 1 tahoar tahoar 2945 Aug 22 2012 user-config.jam
drwxr-xr-x 2 tahoar tahoar 4096 Apr 18 10:18 util
tahoar@netbook:~/src/mosesdecoder$
/home/tahoar/src/mosesdecoder/jam-files/bjam \
-j2 \
-a \
--prefix=/home/tahoar/lib/mosesdecoder \
--install-scripts=/home/tahoar/lib/mosesdecoder/scripts \
--clean
/home/tahoar/src/mosesdecoder/jam-files/sanity.jam:33: in test_flags
*** argument error
* rule SHELL ( command : * )
* called with: ( : exit-status )
* missing argument command
(builtin):see definition of rule 'SHELL' being called
/home/tahoar/src/mosesdecoder/jam-files/sanity.jam:140: in boost
Jamroot:73: in modules.load
/home/tahoar/src/mosesdecoder/jam-files/boost-build/build/project.jam:314:
in load-jamfile
/home/tahoar/src/mosesdecoder/jam-files/boost-build/build/project.jam:62: in
load
/home/tahoar/src/mosesdecoder/jam-files/boost-build/build/project.jam:168:
in project.find
/home/tahoar/src/mosesdecoder/jam-files/boost-build/build-system.jam:570: in
load
/home/tahoar/src/mosesdecoder/jam-files/boost-build/kernel/modules.jam:283:
in import
/home/tahoar/src/mosesdecoder/jam-files/boost-build/kernel/bootstrap.jam:142:
in boost-build
/home/tahoar/src/mosesdecoder/jam-files/boost-build/boost-build.jam:8:
in module scope
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support