[Bcp-tickets] [Branch-Cut-Price Framework] #12: configure fails at COPY_FROM_FILELIST part

Branch-Cut-Price Framework coin-trac at coin-or.org
Thu Aug 9 11:45:00 EDT 2007


#12: configure fails at COPY_FROM_FILELIST part
------------------------+---------------------------------------------------
 Reporter:  stefan      |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  major       |   Milestone:          
Component:  component1  |     Version:          
 Keywords:              |  
------------------------+---------------------------------------------------
 Hi,

 when using Bcp as part of !CoinAll on Solaris, the configure is failing in
 the section related to the copying of the examples
 {{{
 COIN_LINK_FROM_FILELIST(test/BAC, examples/BAC/testfiles.txt)
 COIN_COPY_FROM_FILELIST(examples/BAC, examples/BAC/examplefiles.txt)
 COIN_COPY_FROM_FILELIST(examples/MaxCut, examples/MaxCut/examplefiles.txt)

 COIN_COPY_FROM_FILELIST(examples/MCF-1, examples/MCF-1/examplefiles.txt)
 COIN_COPY_FROM_FILELIST(examples/MCF-2, examples/MCF-2/examplefiles.txt)
 COIN_COPY_FROM_FILELIST(examples/MCF-3, examples/MCF-3/examplefiles.txt)
 }}}


 The message I get in configure is:
 {{{
 ...
 checking whether this is a VPATH configuration... yes
 Creating links in test/BAC ...
 cat: cannot open ..../../../../code/Bcp/examples/BAC/testfiles.txt
 ../../code/Bcp/configure: line 21395: cd: ..../..: No such file or
 directory
 checking which command should be used to link input files... ln -s
 ...
 }}}

 I have a directory ./code where I checked out !CoinAll, and do a VPATH-
 configure from ./debug .

 It looks like something with the path is not working correct there.
 Unfortunately, I do not have the right autotools on this machine, so I did
 modification on Bcp/configure to get it working.
 The first thing was as follows:
 {{{
 --- configure   (revision 383)
 +++ configure   (working copy)
 @@ -21367,12 +21367,12 @@
         updir=$t
  fi

 -if test -e $srcdir/examples/BAC/testfiles.txt ; then
 +if test -e $srcdir/Bcp/examples/BAC/testfiles.txt ; then
         echo Creating links in test/BAC ...
 -       fromdir=$updir/$srcdir/`dirname examples/BAC/testfiles.txt`
 +       fromdir=$updir/$srcdir/`dirname Bcp/examples/BAC/testfiles.txt`
         mkdir -p test/BAC
         cd test/BAC
 -       for f in `cat $updir/$srcdir/examples/BAC/testfiles.txt` ; do
 +       for f in `cat $updir/$srcdir/Bcp/examples/BAC/testfiles.txt` ; do
                 if test ! -e $f ; then
                         fdir=`dirname $f`
                     mkdir -p $fdir
 }}}

 And similar for the next parts.

-- 
Ticket URL: <https://projects.coin-or.org/Bcp/ticket/12>
Branch-Cut-Price Framework <http://projects.coin-or.org/Bcp>
A parallel framework for branch-cut-price algorithms.



More information about the Bcp-tickets mailing list