Re: 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:52:28 +1000
| Newsgroups | gmane.comp.gnu.gift.bugs |
|---|---|
| Message-ID | <[email protected]> |
After I fixed the problem described below, another similar error was revealed: ---- Making install in libMRML make[1]: Entering directory `/home/users/davids/src/giftsrc/cvs/gift/libMRML' Making install in include make[2]: Entering directory `/home/users/davids/src/giftsrc/cvs/gift/libMRML/include' make[3]: Entering directory `/home/users/davids/src/giftsrc/cvs/gift/libMRML/include' make[3]: Nothing to be done for `install-exec-am'. test -z "/home/users/davids/include/libMRML/include" || /bin/mkdir -p "/home/users/davids/include/libMRML/include" /usr/bin/install -c -m 644 directory.h CAFPlugin.h CMRMLStringConstants.h CTimeStampGenerator.h CAccessor.h CMagic.h CXEVCommunication.h CAccessorAdmin.h CMutex.h CXEVTripletList.h CAccessorAdminCollection.h CNoDelete.h CXMLElement.h CAccessorElement.h CPropertySheetList.h CXMLElementBuilder.h CAccessorFactory.h CQMultiple.h CXMLElementVisitor.h CAccessorFactoryContainer.h CQParallel.h CXMLHelper.h CAccessorImplementation.h CQuery.h GIFTExceptions.h CAlgorithm.h CQueryParadigmMatcher.h TID.h CAlgorithmCollection.h CQueryPlugin.h directory.h CArraySelfDestroyPointer.h CQueryTreeBuilder.h mrml_const.h CAttributeList.h CQueryTreeNode.h myNew.h CCommunicationHandler.h CRelevanceLevel.h my_assert.h '/home/users/davids/include/libMRML/include' /usr/bin/install: will not overwrite just-created `/home/users/davids/include/libMRML/include/directory.h' with `directory.h' make[3]: *** [install-libMRMLHEADERS] Error 1 make[3]: Leaving directory `/home/users/davids/src/giftsrc/cvs/gift/libMRML/include' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/users/davids/src/giftsrc/cvs/gift/libMRML/include' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/users/davids/src/giftsrc/cvs/gift/libMRML' make: *** [install-recursive] Error 1 ---- 'directory.h' appears twice in 'libMRML_HEADERS' in the Makefile in 'libMRML/include'. After fixing that, I got a complete install. Perhaps the latest version of 'install' detects such duplicates, whereas older ones did not? Regards, David David Squire wrote: > 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 > >