#1691 Absence of extract_categories.sh and others in maxima-5.18.1

closed
nobody
5
2009-07-26
2009-06-12
No

Dear Developers of Maxima,

Today, I built maxima-5.18.1 from its source code.
The usual procedure configure -> make -> make install failed
at the last stage "make install" as follows:

-------------------------------------------------------------------------------
...
...
Making install in doc
Making install in info
pattern=`printf "\r$"` ; \ bad_files=`find . -name '*.texi' -print | xargs grep -E -l -e "$pattern"` ; \ [ -z "$bad_files" ] || ( echo "WARNING: The following files have DOS-style EOLs: $bad_files" ; \ echo "Run /doc/info/fix_crlf to fix the problem." )
pattern=`printf "\t"` ; \ bad_files=`find . -name '*.texi' -print | xargs grep -E -l -e "$pattern"` ; \ [ -z "$bad_files" ] || ( echo "WARNING: The following files have unexpanded Tabs: $bad_files" ; \ echo "Run /doc/info/fix_tab to fix the problem." )
make[4]: Nothing to be done for `install-exec-am'.
sh extract_categories.sh maxima
sh: extract_categories.sh: No such file or directory
make[4]: *** [maxima.html] Error 127
make[3]: *** [install-am] Error 2
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
-------------------------------------------------------------------------------

This failure is caused by the absence of three files

extract_categories.sh
extract_categories1.awk
extract_categories1.sed

in the directory "maxima-5.18.1/doc/info". To fix this problem, I have copied
these three files from maxima-5.17.1 to maxima-5.18.1. Then, "make install"
succeeds as is expected.

Please include the above three files in the distribution of
the source code of the current version of Maxima.

Also please check that your procedure to pack a distrbution of the source code
of Maxima from its current source tree does not forget the above three files
to include.

Sincerely yours,

Satoshi Adachi

Discussion

  • Robert Dodier

    Robert Dodier - 2009-06-18

    The extract_categories scripts are to build the category system in the html documentation. The tar.gz file is supposed to contain the generated documentation files, so it is not necessary to run the extract_categories scripts. So it appears that either (1) your tar.gz doesn't contain the html files, or (2) make is trying to rebuild some files (the html files) when it doesn't need to.

    From where did you obtain the source code? Did you obtain it from CVS or from a tar.gz? Are the maxima_*.html files present in the source code you obtained? What is your operating system?

     
  • Robert Dodier

    Robert Dodier - 2009-06-18
    • labels: --> Installation
     
  • Satoshi Adachi

    Satoshi Adachi - 2009-06-23

    Dear Mr. Robert Dodier,

    Thank you for your investigation. My answer to each of your equations is as follows:

    From where did you obtain the source code? -> As usual, the source code is obtained from sourceforge.

    Did you obtain it from CVS or from a tar.gz? -> From maxima-5.18.1.tar.gz.

    Are the maxima_*.html files present in the source code you obtained?
    -> (i) Yes! When the intact source tree is prepared by the command sequence
    "zcat maxima-5.18.1.tar.gz | tar xvf - ". The files "maxima_*.html" EXIST in
    the directory "maxima-5.18.1/doc/info".

    *** Now, I understand what is the cause of my trouble. ***

    (ii) When "./configure; make clean" is executed in the directory "maxima-5.18.1",
    I found that all of the files "doc/info/maxima_*.html" are deleted.

    I also found that "make distclean" also deletes all of these files.

    From this experiment, the extract_categories scripts seem to be necessary
    in the source code distribution of Maxima.

    Otherwise, once "make clean" is executed, the source code tree becomes defective
    to build and install the Maxima system.

    Please fix this problem in any way.

    Sincerely yours,

    Satoshi Adachi

     
  • Robert Dodier

    Robert Dodier - 2009-07-26

    Resolved by r1.69 doc/info/Makefile.am (put category scripts on list of files for tarball).
    Closing this report as fixed.

     
  • Robert Dodier

    Robert Dodier - 2009-07-26
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks