Error when doing 'make install' with GIFT from cvs on Savannah: gift-diagnose-print-all-ADI.pl

David Squire <[email protected]> Wed, 14 Apr 2010 14:44:34 +1000
Newsgroups gmane.comp.gnu.gift.bugs
Message-ID <[email protected]>
I am trying to build GIFT on my new machine, which is running Ubuntu:

Linux version 2.6.31-20-generic (buildd@yellow) (gcc version 4.4.1 
(Ubuntu 4.4.1-4ubuntu9) ) #57-Ubuntu SMP

There is an error in the Makefiles for GIFT from cvs on Savannah:

----

Wed Apr 14 - 14:42:00 % make install
Making install in scripts
make[1]: Entering directory 
`/home/users/davids/src/giftsrc/cvs/gift/scripts'
Making install in perl
make[2]: Entering directory 
`/home/users/davids/src/giftsrc/cvs/gift/scripts/perl'
make[3]: Entering directory 
`/home/users/davids/src/giftsrc/cvs/gift/scripts/perl'
test -z "/home/users/davids/bin" || /bin/mkdir -p "/home/users/davids/bin"
  /usr/bin/install -c gift-url-to-fts.pl gift-diagnose-print-all-ADI.pl 
gift-mrml-client.pl CFeedbackClient.pm CFCMovingTarget.pm 
gift-perl-example-server.pl gift-add-collection.pl 
gift-remove-collection.pl gift-dtd-to-tex.pl gift-dtd-to-keywords.pl 
CQueryParadigmMatcher.pm CTripleTransfer.pl CGLDAudreyMTam.pl 
CGLStructuredAnnotation.pm CGIFTLink.pm CGLDistanceMatrix.pm 
CGIFTLinkDemo.pl CXMLTreeBuilder.pm CXMLTreeWriter.pm CXMLTreeVisitor.pm 
CXTVTripletList.pm CXTVWriter.pm CGraphCollection.pm 
gift-old-to-new-url2fts.pl gift-start.pl gift-diagnose-print-all-ADI.pl 
'/home/users/davids/bin'
/usr/bin/install: will not overwrite just-created 
`/home/users/davids/bin/gift-diagnose-print-all-ADI.pl' with 
`gift-diagnose-print-all-ADI.pl'
make[3]: *** [install-binSCRIPTS] Error 1
make[3]: Leaving directory 
`/home/users/davids/src/giftsrc/cvs/gift/scripts/perl'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory 
`/home/users/davids/src/giftsrc/cvs/gift/scripts/perl'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/users/davids/src/giftsrc/cvs/gift/scripts'
make: *** [install-recursive] Error 1

----

I can see that 'gift-diagnose-print-all-ADI.pl' does indeed occur twice 
in the arguments to install.

I have seen this same error on a student's machine too (running the 
latest Ubuntu).

Regards,

David


-- 
Dr David McG. Squire,  Senior Lecturer
Clayton School of Information Technology, Monash University, Australia
CRICOS Provider No. 00008C       http://www.csse.monash.edu.au/~davids/