making package error

From: Scott (mrphido@prodigy.net)
Date: Wed Mar 13 2002 - 13:36:19 GMT

  • Next message: Hubert Figuiere: "Re: british.hash problem"

    Just updated cvs today and tried to build.
    Linux Mandrake 8.1smp with a script that runs

    autogen.sh
    configure
    make distribution ABI_BUILD_VERSION=0.99.2 \
    ABI_DIST_TARGET=rpm OUT=/home/scott/src/abiword/build \
    ABI_BUILD_PACKAGER="R Scott Bingman mrphido@prodigy.net" \
    ABI_OPT_OPTIMIZE=1 UNIX_CAN_BUILD_DYNAMIC=1 ABI_OPT_GNOME=1

    I seemed t get through the build process just fine, it is when i get to
    the building an rpm package that I get the problem

    Building distribution packages for linux...
    make[2]: Entering directory `/home/scott/src/abiword/abi/src/pkg/linux'
    Making source pack in directory
    [/home/scott/src/abiword/abi/../abiword-0.99.2]...
    Exporting spec file to [/usr/src/redhat/SPECS]...
    Producing RPM...
    rpm -ba /usr/src/redhat/SPECS/abiword-0.99.2.spec
    error: File /usr/src/RPM/SOURCES/abiword-0.99.2.tar.gz: No such file or
    directory
    make[2]: *** [rpm] Error 1
    make[2]: Leaving directory `/home/scott/src/abiword/abi/src/pkg/linux'
    make[1]: *** [distribution] Error 2
    make[1]: Leaving directory `/home/scott/src/abiword/abi/src'
    make: *** [distribution] Error 2
    [root@linux abi]# rpm -ba /usr/src/redhat/S
    SOURCES SPECS SRPMS
    [root@linux abi]# rpm -ba /usr/src/redhat/SPECS/ab
    abiword-0.9.2.spec abiword-0.99.2.spec
    [root@linux abi]# rpm -ba /usr/src/redhat/SPECS/abiword-0.99.2.spec
    error: File /usr/src/RPM/SOURCES/abiword-0.99.2.tar.gz: No such file or
    directory

    Is it just me, or is make sending the package to /usr/src/redhat/... and
    then rpm is trying to build out of /usr/src/RPM... I tried to move
    abiword-0.99.2.tar.gz to /usr/src/RPM/SOURCES/ and then rerun
    rpm -ba /usr/src/redhat/SPECS/abiword-0.99.2.spec
    but that only produced dependancy errors

    error: failed build dependencies:
            bzip2-devel is needed by abiword-0.99.2-1
            Aiksaurus is needed by abiword-0.99.2-1
            AiksaurusGTK is needed by abiword-0.99.2-1

    which I figure are because I moved the package. I have built packages
    before, and compiled abi before, so I know I can, but this is driving me
    nuts. Is there somewhere I heed edit to change the placement of the
    abiword-0.99.2.tar.gz?

    /usr/going/nuts
    Scott Bingman



    This archive was generated by hypermail 2.1.4 : Wed Mar 13 2002 - 09:43:23 GMT