Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 20 of 20
Since your current RPM is broken, you'll probably have to compile it from source (I hope you have gcc and make installed)...
  1. #11
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,039


    Since your current RPM is broken, you'll probably have to compile it from source (I hope you have gcc and make installed)

  2. #12
    Just Joined!
    Join Date
    Aug 2005
    Posts
    16
    How do I know if I do?

    Thanks for all of this help by the way

    EDIT: I'm pretty sure I do, this is what happens when i just put in those commands.

    [root@localhost ~]# gcc
    gcc: no input files
    [root@localhost ~]# make
    make: *** No targets specified and no makefile found. Stop.
    [root@localhost ~]#

  3. #13
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,039
    Type
    Code:
    gcc
    and
    Code:
    make
    respectively. If you get command not found, you don't have them installed.

  4. #14
    Just Joined!
    Join Date
    Aug 2005
    Posts
    16
    Ok so I do, where do I obtain the source code, I tried rpm.org but there ftp locations aren't working.

  5. #15
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,039

  6. #16
    Just Joined!
    Join Date
    Aug 2005
    Posts
    16
    Ok, I think I did evrything right ./configure then make then make install but when i did make install I a lot of errors.

    [root@localhost rpm-4.2.1]# make install
    Making install in intl
    make[1]: Entering directory `/usr/local/src/rpm-4.2.1/intl'
    if test "rpm" = "gettext" \
    && test '' = 'intl-compat.o'; then \
    /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/local/lib /usr/local/include; \
    /usr/bin/install -c -m 644 libintl.h /usr/local/include/libintl.h; \
    /bin/sh ../libtool --mode=install \
    /usr/bin/install -c -m 644 libintl.a /usr/local/lib/libintl.a; \
    else \
    : ; \
    fi
    if test 'no' = yes; then \
    test yes != no || /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/local/lib; \
    temp=/usr/local/lib/t-charset.alias; \
    dest=/usr/local/lib/charset.alias; \
    if test -f /usr/local/lib/charset.alias; then \
    orig=/usr/local/lib/charset.alias; \
    sed -f ref-add.sed $orig > $temp; \
    /usr/bin/install -c -m 644 $temp $dest; \
    rm -f $temp; \
    else \
    if test yes = no; then \
    orig=charset.alias; \
    sed -f ref-add.sed $orig > $temp; \
    /usr/bin/install -c -m 644 $temp $dest; \
    rm -f $temp; \
    fi; \
    fi; \
    /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/local/share/locale; \
    test -f /usr/local/share/locale/locale.alias \
    && orig=/usr/local/share/locale/locale.alias \
    || orig=./locale.alias; \
    temp=/usr/local/share/locale/t-locale.alias; \
    dest=/usr/local/share/locale/locale.alias; \
    sed -f ref-add.sed $orig > $temp; \
    /usr/bin/install -c -m 644 $temp $dest; \
    rm -f $temp; \
    else \
    : ; \
    fi
    if test "rpm" = "gettext"; then \
    /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/local/share/gettext/intl; \
    /usr/bin/install -c -m 644 VERSION /usr/local/share/gettext/intl/VERSION; \
    /usr/bin/install -c -m 644 ChangeLog.inst /usr/local/share/gettext/intl/ChangeLog; \
    dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c localename.c osdep.c os2compat.c intl-compat.c"; \
    for file in $dists; do \
    /usr/bin/install -c -m 644 ./$file \
    /usr/local/share/gettext/intl/$file; \
    done; \
    chmod a+x /usr/local/share/gettext/intl/config.charset; \
    dists="plural.c"; \
    for file in $dists; do \
    if test -f $file; then dir=.; else dir=.; fi; \
    /usr/bin/install -c -m 644 $dir/$file \
    /usr/local/share/gettext/intl/$file; \
    done; \
    dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; \
    for file in $dists; do \
    rm -f /usr/local/share/gettext/intl/$file; \
    done; \
    else \
    : ; \
    fi
    make[1]: Leaving directory `/usr/local/src/rpm-4.2.1/intl'
    Making install in po
    make[1]: Entering directory `/usr/local/src/rpm-4.2.1/po'
    /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/local/share
    installing cs.gmo as /usr/local/share/locale/cs/LC_MESSAGES/rpm.mo
    installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/rpm.mo
    installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/rpm.mo
    installing fi.gmo as /usr/local/share/locale/fi/LC_MESSAGES/rpm.mo
    installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/rpm.mo
    installing gl.gmo as /usr/local/share/locale/gl/LC_MESSAGES/rpm.mo
    installing is.gmo as /usr/local/share/locale/is/LC_MESSAGES/rpm.mo
    installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/rpm.mo
    installing ko.gmo as /usr/local/share/locale/ko/LC_MESSAGES/rpm.mo
    installing no.gmo as /usr/local/share/locale/no/LC_MESSAGES/rpm.mo
    installing pl.gmo as /usr/local/share/locale/pl/LC_MESSAGES/rpm.mo
    installing pt.gmo as /usr/local/share/locale/pt/LC_MESSAGES/rpm.mo
    installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/rpm.mo
    installing ro.gmo as /usr/local/share/locale/ro/LC_MESSAGES/rpm.mo
    installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/rpm.mo
    installing sk.gmo as /usr/local/share/locale/sk/LC_MESSAGES/rpm.mo
    installing sl.gmo as /usr/local/share/locale/sl/LC_MESSAGES/rpm.mo
    installing sr.gmo as /usr/local/share/locale/sr/LC_MESSAGES/rpm.mo
    installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/rpm.mo
    installing tr.gmo as /usr/local/share/locale/tr/LC_MESSAGES/rpm.mo
    if test "rpm" = "gettext"; then \
    /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/local/share/gettext/po; \
    /usr/bin/install -c -m 644 ./Makefile.in.in \
    /usr/local/share/gettext/po/Makefile.in.in; \
    else \
    : ; \
    fi
    make[1]: Leaving directory `/usr/local/src/rpm-4.2.1/po'
    Making install in zlib
    make[1]: Entering directory `/usr/local/src/rpm-4.2.1/zlib'
    make[2]: Entering directory `/usr/local/src/rpm-4.2.1/zlib'
    make[2]: Nothing to be done for `install-exec-am'.
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/usr/local/src/rpm-4.2.1/zlib'
    make[1]: Leaving directory `/usr/local/src/rpm-4.2.1/zlib'
    Making install in file
    make[1]: Entering directory `/usr/local/src/rpm-4.2.1/file'
    make install-am
    make[2]: Entering directory `/usr/local/src/rpm-4.2.1/file'
    make[3]: Entering directory `/usr/local/src/rpm-4.2.1/file'
    /bin/sh ./mkinstalldirs /usr/local/lib/rpm
    /usr/bin/install -c -m 644 magic /usr/local/lib/rpm/magic
    /usr/bin/install -c -m 644 magic.mime /usr/local/lib/rpm/magic.mime
    /usr/bin/install -c -m 644 magic.mgc /usr/local/lib/rpm/magic.mgc
    /usr/bin/install -c -m 644 magic.mime.mgc /usr/local/lib/rpm/magic.mime.mgc
    make[3]: Nothing to be done for `install-data-am'.
    make[3]: Leaving directory `/usr/local/src/rpm-4.2.1/file'
    make[2]: Leaving directory `/usr/local/src/rpm-4.2.1/file'
    make[1]: Leaving directory `/usr/local/src/rpm-4.2.1/file'
    Making install in db3
    make[1]: Entering directory `/usr/local/src/rpm-4.2.1/db3'
    make[1]: Nothing to be done for `install'.
    make[1]: Leaving directory `/usr/local/src/rpm-4.2.1/db3'
    Making install in popt
    make[1]: Entering directory `/usr/local/src/rpm-4.2.1/popt'
    Making install in intl
    make[2]: Entering directory `/usr/local/src/rpm-4.2.1/popt/intl'
    if test "popt" = "gettext" \
    && test '' = 'intl-compat.o'; then \
    /bin/sh `case "./../mkinstalldirs" in /*) echo "./../mkinstalldirs" ;; *) echo ".././../mkinstalldirs" ;; esac` /usr/local/lib /usr/local/include; \
    /usr/bin/install -c -m 644 libintl.h /usr/local/include/libintl.h; \
    /bin/sh ../libtool --mode=install \
    /usr/bin/install -c -m 644 libintl.a /usr/local/lib/libintl.a; \
    else \
    : ; \
    fi
    if test 'no' = yes; then \
    test yes != no || /bin/sh `case "./../mkinstalldirs" in /*) echo "./../mkinstalldirs" ;; *) echo ".././../mkinstalldirs" ;; esac` /usr/local/lib; \
    temp=/usr/local/lib/t-charset.alias; \
    dest=/usr/local/lib/charset.alias; \
    if test -f /usr/local/lib/charset.alias; then \
    orig=/usr/local/lib/charset.alias; \
    sed -f ref-add.sed $orig > $temp; \
    /usr/bin/install -c -m 644 $temp $dest; \
    rm -f $temp; \
    else \
    if test yes = no; then \
    orig=charset.alias; \
    sed -f ref-add.sed $orig > $temp; \
    /usr/bin/install -c -m 644 $temp $dest; \
    rm -f $temp; \
    fi; \
    fi; \
    /bin/sh `case "./../mkinstalldirs" in /*) echo "./../mkinstalldirs" ;; *) echo ".././../mkinstalldirs" ;; esac` /usr/local/share/locale; \
    test -f /usr/local/share/locale/locale.alias \
    && orig=/usr/local/share/locale/locale.alias \
    || orig=./locale.alias; \
    temp=/usr/local/share/locale/t-locale.alias; \
    dest=/usr/local/share/locale/locale.alias; \
    sed -f ref-add.sed $orig > $temp; \
    /usr/bin/install -c -m 644 $temp $dest; \
    rm -f $temp; \
    else \
    : ; \
    fi
    if test "popt" = "gettext"; then \
    /bin/sh `case "./../mkinstalldirs" in /*) echo "./../mkinstalldirs" ;; *) echo ".././../mkinstalldirs" ;; esac` /usr/local/share/gettext/intl; \
    /usr/bin/install -c -m 644 VERSION /usr/local/share/gettext/intl/VERSION; \
    /usr/bin/install -c -m 644 ChangeLog.inst /usr/local/share/gettext/intl/ChangeLog; \
    dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c localename.c osdep.c os2compat.c intl-compat.c"; \
    for file in $dists; do \
    /usr/bin/install -c -m 644 ./$file \
    /usr/local/share/gettext/intl/$file; \
    done; \
    chmod a+x /usr/local/share/gettext/intl/config.charset; \
    dists="plural.c"; \
    for file in $dists; do \
    if test -f $file; then dir=.; else dir=.; fi; \
    /usr/bin/install -c -m 644 $dir/$file \
    /usr/local/share/gettext/intl/$file; \
    done; \
    dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; \
    for file in $dists; do \
    rm -f /usr/local/share/gettext/intl/$file; \
    done; \
    else \
    : ; \
    fi
    make[2]: Leaving directory `/usr/local/src/rpm-4.2.1/popt/intl'
    Making install in po
    make[2]: Entering directory `/usr/local/src/rpm-4.2.1/popt/po'
    /bin/sh `case "./../mkinstalldirs" in /*) echo "./../mkinstalldirs" ;; *) echo ".././../mkinstalldirs" ;; esac` /usr/local/share
    installing cs.gmo as /usr/local/share/locale/cs/LC_MESSAGES/popt.mo
    installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/popt.mo
    installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/popt.mo
    installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/popt.mo
    installing eu_ES.gmo as /usr/local/share/locale/eu_ES/LC_MESSAGES/popt.mo
    installing fi.gmo as /usr/local/share/locale/fi/LC_MESSAGES/popt.mo
    installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/popt.mo
    installing gl.gmo as /usr/local/share/locale/gl/LC_MESSAGES/popt.mo
    installing hu.gmo as /usr/local/share/locale/hu/LC_MESSAGES/popt.mo
    installing id.gmo as /usr/local/share/locale/id/LC_MESSAGES/popt.mo
    installing is.gmo as /usr/local/share/locale/is/LC_MESSAGES/popt.mo
    installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/popt.mo
    installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/popt.mo
    installing ko.gmo as /usr/local/share/locale/ko/LC_MESSAGES/popt.mo
    installing no.gmo as /usr/local/share/locale/no/LC_MESSAGES/popt.mo
    installing pl.gmo as /usr/local/share/locale/pl/LC_MESSAGES/popt.mo
    installing pt.gmo as /usr/local/share/locale/pt/LC_MESSAGES/popt.mo
    installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/popt.mo
    installing ro.gmo as /usr/local/share/locale/ro/LC_MESSAGES/popt.mo
    installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/popt.mo
    installing sk.gmo as /usr/local/share/locale/sk/LC_MESSAGES/popt.mo
    installing sl.gmo as /usr/local/share/locale/sl/LC_MESSAGES/popt.mo
    installing sr.gmo as /usr/local/share/locale/sr/LC_MESSAGES/popt.mo
    installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/popt.mo
    installing tr.gmo as /usr/local/share/locale/tr/LC_MESSAGES/popt.mo
    installing uk.gmo as /usr/local/share/locale/uk/LC_MESSAGES/popt.mo
    installing wa.gmo as /usr/local/share/locale/wa/LC_MESSAGES/popt.mo
    installing zh.gmo as /usr/local/share/locale/zh/LC_MESSAGES/popt.mo
    installing zh_CN.GB2312.gmo as /usr/local/share/locale/zh_CN.GB2312/LC_MESSAGES/popt.mo
    if test "popt" = "gettext"; then \
    /bin/sh `case "./../mkinstalldirs" in /*) echo "./../mkinstalldirs" ;; *) echo ".././../mkinstalldirs" ;; esac` /usr/local/share/gettext/po; \
    /usr/bin/install -c -m 644 ./Makefile.in.in \
    /usr/local/share/gettext/po/Makefile.in.in; \
    else \
    : ; \
    fi
    make[2]: Leaving directory `/usr/local/src/rpm-4.2.1/popt/po'
    make[2]: Entering directory `/usr/local/src/rpm-4.2.1/popt'
    make[3]: Entering directory `/usr/local/src/rpm-4.2.1/popt'
    make[3]: Nothing to be done for `install-exec-am'.
    /bin/sh ./../mkinstalldirs /usr/local/include
    /usr/bin/install -c -m 644 popt.h /usr/local/include/popt.h
    /bin/sh ./../mkinstalldirs /usr/local/man/man3
    /usr/bin/install -c -m 644 ./popt.3 /usr/local/man/man3/popt.3
    /bin/sh ./../mkinstalldirs /usr/local/lib
    /bin/sh ./libtool --mode=install /usr/bin/install -c libpopt.la /usr/local/lib/libpopt.la
    /usr/bin/install -c .libs/libpopt.so.0.0.0 /usr/local/lib/libpopt.so.0.0.0
    (cd /usr/local/lib && rm -f libpopt.so.0 && ln -s libpopt.so.0.0.0 libpopt.so.0)(cd /usr/local/lib && rm -f libpopt.so && ln -s libpopt.so.0.0.0 libpopt.so)
    /usr/bin/install -c .libs/libpopt.lai /usr/local/lib/libpopt.la
    /usr/bin/install -c .libs/libpopt.a /usr/local/lib/libpopt.a
    ranlib /usr/local/lib/libpopt.a
    chmod 644 /usr/local/lib/libpopt.a
    PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
    ----------------------------------------------------------------------
    Libraries have been installed in:
    /usr/local/lib

    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
    during execution
    - add LIBDIR to the `LD_RUN_PATH' environment variable
    during linking
    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
    - have your system administrator add LIBDIR to `/etc/ld.so.conf'

    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so( manual pages.
    ----------------------------------------------------------------------
    make[3]: Leaving directory `/usr/local/src/rpm-4.2.1/popt'
    make[2]: Leaving directory `/usr/local/src/rpm-4.2.1/popt'
    make[1]: Leaving directory `/usr/local/src/rpm-4.2.1/popt'
    Making install in rpmio
    make[1]: Entering directory `/usr/local/src/rpm-4.2.1/rpmio'
    if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../popt -I../zlib -g -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT digest.lo -MD -MP -MF ".deps/digest.Tpo" \
    -c -o digest.lo `test -f 'digest.c' || echo './'`digest.c; \
    then mv -f ".deps/digest.Tpo" ".deps/digest.Plo"; \
    else rm -f ".deps/digest.Tpo"; exit 1; \
    fi
    rm -f .libs/digest.lo
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../popt -I../zlib -g -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT digest.lo -MD -MP -MF .deps/digest.Tpo -c digest.c -fPIC -DPIC -o .libs/digest.lo
    In file included from rpmio_internal.h:9,
    from digest.c:6:
    ./rpmio.h:582: warning: type qualifiers ignored on function return type
    In file included from digest.c:6:
    rpmio_internal.h:12:26: error: beecrypt.api.h: No such file or directory
    rpmio_internal.h:16:22: error: beecrypt.h: No such file or directory
    rpmio_internal.h:17:20: error: base64.h: No such file or directory
    rpmio_internal.h:18:17: error: dsa.h: No such file or directory
    rpmio_internal.h:19:24: error: endianness.h: No such file or directory
    rpmio_internal.h:20:17: error: md5.h: No such file or directory
    rpmio_internal.h:21:16: error: mp.h: No such file or directory
    rpmio_internal.h:22:17: error: rsa.h: No such file or directory
    rpmio_internal.h:23:19: error: rsapk.h: No such file or directory
    rpmio_internal.h:24:18: error: sha1.h: No such file or directory
    In file included from digest.c:6:
    rpmio_internal.h:80: error: syntax error before 'mpbarrett'
    rpmio_internal.h:80: warning: no semicolon at end of struct or union
    rpmio_internal.h:81: warning: type defaults to 'int' in declaration of 'q'
    rpmio_internal.h:81: warning: data definition has no type or storage class
    rpmio_internal.h:82: error: syntax error before 'g'
    rpmio_internal.h:82: warning: type defaults to 'int' in declaration of 'g'
    rpmio_internal.h:82: warning: data definition has no type or storage class
    rpmio_internal.h:83: error: syntax error before 'y'
    rpmio_internal.h:83: warning: type defaults to 'int' in declaration of 'y'
    rpmio_internal.h:83: warning: data definition has no type or storage class
    rpmio_internal.h:84: error: syntax error before 'hm'
    rpmio_internal.h:84: warning: type defaults to 'int' in declaration of 'hm'
    rpmio_internal.h:84: warning: data definition has no type or storage class
    rpmio_internal.h:85: error: syntax error before 'r'
    rpmio_internal.h:85: warning: type defaults to 'int' in declaration of 'r'
    rpmio_internal.h:85: warning: data definition has no type or storage class
    rpmio_internal.h:86: error: syntax error before 's'
    rpmio_internal.h:86: warning: type defaults to 'int' in declaration of 's'
    rpmio_internal.h:86: warning: data definition has no type or storage class
    rpmio_internal.h:89: error: syntax error before 'rsa_pk'
    rpmio_internal.h:89: warning: type defaults to 'int' in declaration of 'rsa_pk'
    rpmio_internal.h:89: warning: data definition has no type or storage class
    rpmio_internal.h:90: error: syntax error before 'm'
    rpmio_internal.h:90: warning: type defaults to 'int' in declaration of 'm'
    rpmio_internal.h:90: warning: data definition has no type or storage class
    rpmio_internal.h:91: error: syntax error before 'c'
    rpmio_internal.h:91: warning: type defaults to 'int' in declaration of 'c'
    rpmio_internal.h:91: warning: data definition has no type or storage class
    rpmio_internal.h:92: error: syntax error before 'rsahm'
    rpmio_internal.h:92: warning: type defaults to 'int' in declaration of 'rsahm'
    rpmio_internal.h:92: warning: data definition has no type or storage class
    digest.c: In function 'rpmDigestInit':
    digest.c:58: error: 'md5Param' undeclared (first use in this function)
    digest.c:58: error: (Each undeclared identifier is reported only once
    digest.c:58: error: for each function it appears in.)
    digest.c:62: error: 'md5Reset' undeclared (first use in this function)
    digest.c:63: error: 'md5Update' undeclared (first use in this function)
    digest.c:64: error: 'md5Digest' undeclared (first use in this function)
    digest.c:71: error: 'sha1Param' undeclared (first use in this function)
    digest.c:75: error: 'sha1Reset' undeclared (first use in this function)
    digest.c:76: error: 'sha1Update' undeclared (first use in this function)
    digest.c:77: error: 'sha1Digest' undeclared (first use in this function)
    make[1]: *** [digest.lo] Error 1
    make[1]: Leaving directory `/usr/local/src/rpm-4.2.1/rpmio'
    make: *** [install-recursive] Error 1
    [root@localhost rpm-4.2.1]#

    Did It work?

  7. #17
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,039
    No, it didn't install all the way...Odd

  8. #18
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,039
    Try:
    Code:
    ldd /usr/bin/rpm
    or wherever the old rpm is installed.

  9. #19
    Just Joined!
    Join Date
    Aug 2005
    Posts
    16
    [root@localhost ~]# ldd /usr/bin/rpm
    ldd: /usr/bin/rpm: No such file or directory

    however, I found a folder called rpm in usr/local/lib/rpm/

    It has 4 files adn they all start with magic

  10. #20
    Just Joined!
    Join Date
    Aug 2005
    Posts
    16
    Shouldn't I remove the other rpm first? How do I do that?

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •