Menu

vuurmuur_conf build error

Help
ReaphSharc
2007-11-26
2012-12-07
  • ReaphSharc

    ReaphSharc - 2007-11-26

    I'm working on making a PKGBUILD voor the Arch (linux) User Repository. Libvuurmuur compiles just fine. Vuurmuur compiles just fine. Vuurmuur_conf gives an error:

    Making install in po
    make[1]: Entering directory `/var/abs/local/vuurmuur/src/Vuurmuur-0.5.73/vuurmuur_conf-0.5.73/po'
    /bin/sh @MKINSTALLDIRS@ /var/abs/local/vuurmuur/pkg/usr/share
    /bin/sh: @MKINSTALLDIRS@: No such file or directory
    make[1]: *** [install-data-yes] Error 127
    make[1]: Leaving directory `/var/abs/local/vuurmuur/src/Vuurmuur-0.5.73/vuurmuur_conf-0.5.73/po'
    make: *** [install-recursive] Error 1

    I'm compiling with:
      libtoolize -f
      aclocal
      autoheader
      automake
      autoconf
      ./configure --prefix=/usr --sysconfdir=/etc \   --with-libvuurmuur-includes=/usr/include \   --with-libvuurmuur-libraries=/usr/lib \   --with-localedir=/usr/share/locale \   --without-libintl-prefix \   --with-libncurses-includes=/usr/include/ncursesw \   --with-widec=no

    Removing some of these flags (like libintl en libncurses) don't solve the error. Building the files in the src/ directory also works fine.

    Does anyone know a solution for this, or at the very list what is causing the problem?

     
    • Victor Julien

      Victor Julien - 2007-11-26

      Can you try running 'gettextize --copy --force --intl --no-changelog' after 'aclocal'? I have seen this problem before, but can't find back the solution. What are your version of automake and gettext?

      Cheers,
      Victor

       
      • ReaphSharc

        ReaphSharc - 2007-11-26

        Gettext: 0.17
        Automake: 1.10

        Adding 'gettextize --copy --force --intl --no-changelog' after aclocal works, so thanks for that!
        Downside is that now I get a 'nag' screen, where the user has to hit 'enter', which isn't something one wants in a fully automated install script. I've already read the gettext manual, but can't find a way around it.

        ====================================================================
        Updating EXTRA_DIST in m4/Makefile.am (backup is in m4/Makefile.am~)

        Please run 'aclocal -I m4' to regenerate the aclocal.m4 file.
        You need aclocal from GNU automake 1.8 (or newer) to do this.
        Then run 'autoconf' to regenerate the configure file.

        You might also want to copy the convenience header file gettext.h
        from the /usr/share/gettext directory into your package.
        It is a wrapper around <libintl.h> that implements the configure --disable-nls
        option.

        Press Return to acknowledge the previous two paragraphs.

         
        • Victor Julien

          Victor Julien - 2007-11-26

          I've run into that as well, and I fixed it in the install.sh script. There I use the following bash code:

          function WrapGettextize
          {
              touch tmp.log

              GETTEXTIZE=`which gettextize`
              if [ "$GETTEXTIZE" = "" ]; then
                  GETTEXTIZE="gettextize"
              fi

              echo "gettextize..." >> $LOG
              # ripped from: http://cvs.saout.de/lxr/saout/source/cryptsetup/setup-gettext
              sed 's:read .*< /dev/tty::' $GETTEXTIZE > .temp-gettextize
              chmod +x .temp-gettextize
              echo n | ./.temp-gettextize --copy --force --intl --no-changelog >> $LOG || abort
              rm -f .temp-gettextize
              echo "gettextize... done" >> $LOG

              cat tmp.log >> $LOG
              rm -f tmp.log
          }

           

Log in to post a comment.