Menu

Lost files in cdrdao compilation...

Help
2002-01-03
2002-01-04
  • Mark Cianfaglione

    Again...

    I'm trying to compile cdrdao 1.1.5 and now I'm getting the following error... It's almost as if there are a series of files missing from the distribution...

    Mark

    make[1]: Entering directory `/cdrdao-1.1.5/trackdb'
    Makefile:123: util.d: No such file or directory
    Makefile:123: TrackData.d: No such file or directory
    Makefile:123: TrackDataList.d: No such file or directory
    Makefile:123: Msf.d: No such file or directory
    Makefile:123: SubTrack.d: No such file or directory
    Makefile:123: Track.d: No such file or directory
    Makefile:123: Toc.d: No such file or directory
    Makefile:123: CdTextItem.d: No such file or directory
    Makefile:123: CdTextContainer.d: No such file or directory
    Makefile:123: Cddb.d: No such file or directory
    Makefile:123: TocParser.d: No such file or directory
    Makefile:123: TocParserGram.d: No such file or directory
    Makefile:123: TocLexerBase.d: No such file or directory
    Makefile:123: CueParser.d: No such file or directory
    Makefile:123: CueParserGram.d: No such file or directory
    Makefile:123: CueLexerBase.d: No such file or directory
    /usr/local/bin/antlr -k 1 -CC  -w2 -fl CueLexer.dlg -ft CueParserTokens.h ./CueP
    arser.g
    Antlr parser generator   Version 1.33   1989-1995
    /usr/local/bin/dlg -C2 -CC -cl CueLexerBase CueLexer.dlg
    dlg  Version 1.33   1989-1995
    Creating dependencies for CueLexerBase.cpp
    CueLexerBase.cpp:1516: DLexer.cpp: No such file or directory
    make[1]: *** [CueLexerBase.d] Error 1
    make[1]: Leaving directory `/cdrdao-1.1.5/trackdb'
    make: *** [all] Error 1
    [root@pc /cdrdao-1.1.5]#

     
    • Manuel Clos

      Manuel Clos - 2002-01-03

      > make[1]: Entering directory `/cdrdao-1.1.5/trackdb'
      > Makefile:123: util.d: No such file or directory

      this is good, the dependencies are just being generated.

      > Creating dependencies for CueLexerBase.cpp
      > CueLexerBase.cpp:1516: DLexer.cpp: No such file or directory

      Yes, it can't find needed files for compilation... Let's see:

      llanero@llanero:~$ locate DLexer.cpp
      /usr/include/pccts/DLexer.cpp

      well, it seems you have a broken setup, or perhaps you didn't used the switches:

        --with-pcctsbin=dir     set directory of PCCTS parser generator executables
        --with-pcctsinc=dir     set directory of PCCTS parser generator includes

      to tell the configure script where to look for the files?

      Did you compiled after just copying some .h to pccts/ ????

       
    • Mark Cianfaglione

      No I managed to get pccts to compile perfectly. It is a very bad distribution. I counted 4 different source tar ball for the same release. Only one worked.

      When I do the locate command it does not show up at all. As it stands their makefile is incomplete and it has errors.

      In all honesty it's unfortunate but it's at about the same level of perfection of a lot of GPL software. I'm the first one to support it but I still have to honestly admit there is still a bit of work to go to make the stuff truly solid.

      However I'm getting off track. I did manage to get it to go after removing references in the cdrdao source. However there is another problem connected with pccts. The function zzsetmatch in pccts must have changed on you. (in the release that you called for) Now I get the following error...

      c++ -DHAVE_CONFIG_H -D_THREAD_SAFE -D_REENTRANT  -I.. -I. -I/usr/local/include/pccts -g -O2  -c TocParser.cpp -o TocParser.o
      TocParser.cpp:482: macro `zzsetmatch' used with just one arg
      make[1]: *** [TocParser.o] Error 1
      make[1]: Leaving directory `/cdrdao-1.1.5/trackdb'
      make: *** [all] Error 1
      [root@pc /cdrdao-1.1.5]#

      BTW

      Thanks for your help. From what I read about the people that are using it they all say it's a good application.

      Mark

       
      • Manuel Clos

        Manuel Clos - 2002-01-03

        I'm using the pccts included in debian potato with no problems, however, I used the one built from source when using Red Hat 6.2

        In my Debian I'm using:
        Version: 1.33MR20a-0.1

        please, join cdrdao-devel if you can, I prefer using mail to forums.

        Anyway, let's start again, what Distribution/version are you using?

        what pccts version (from source???) did you installed?

        start with a clean untar of the cdrdao source and add the required switches to configure instead of moving files or removing references. If it does not compile cleanly (it should) it is a bug.

         
        • Mark Cianfaglione

          I've joined the list from my work email address. But in the meantime I'll continue this here at home..

          Manuel Thanks for the time....

          the version of pccts is pccts 1.33mr25 with a release date of 31 July 2001. It compiles fine (including genmk ..it smells of a big change) and it copies these executables to /usr/local/bin. It does do some work on the "h" directory in the pccts distibution but it does NOT do anything with it. I had to copy it maually to where cdrdao's "configure" was looking for it as a default location.

          The release of cdrdao is 1.1.5 right from the sourceforge download area.

          I untar the cdrdao and do a ./configure and it works. after a make command...

          /usr/local/bin/antlr -k 1 -CC  -w2 -fl CueLexer.dlg -ft CueParserTokens.h ./CueParser.g
          Antlr parser generator   Version 1.33   1989-1995
          /usr/local/bin/dlg -C2 -CC -cl CueLexerBase CueLexer.dlg
          dlg  Version 1.33   1989-1995
          Creating dependencies for CueLexerBase.cpp
          CueLexerBase.cpp:1516: DLexer.cpp: No such file or directory
          make[1]: *** [CueLexerBase.d] Error 1
          make[1]: Leaving directory `/cdrdao-1.1.5/trackdb'
          make: *** [all] Error 1
          [root@pc /cdrdao-1.1.5]#

          Well I can't win everything...

          If I do a locate DLexer.cpp it does not find it. I check the "h" files from pccts and there is no DLexer.cpp file at all...

          Thanks..

          Mark

           
          • Manuel Clos

            Manuel Clos - 2002-01-04

            You should really look for a precompiled pccts for your distro, try rpmfind.net

            I have put my /usr/include/pccts dir at

            http://cdrdao.sf.net/gcdmaster/pccts/pccts_include.tar.gz

            so that you can try it.

            Anyway, you should get a sane pccts package for your system.

             
            • Mark Cianfaglione

              Well so far it appears to work...

              Thanks

              Mark

               

Log in to post a comment.