Menu

install-strip

Help
mib68
2007-01-04
2013-03-22
  • mib68

    mib68 - 2007-01-04

    Hi,

    I have this errors while making rpm's :

    ---------------------------
    + make DESTDIR=/var/tmp/build-root-[rpm_name] install-strip
    ---------------------------
    I don't know if I understand all but it seems I don't specify a destination dir/folder to install the rpm after build. I'm wrong ? How and where can I do it ?

    ----------------------------------
    make: *** Pas de règle pour fabriquer la cible « install-strip ». Arrêt.
    ----------------------------------
    The message above is telling "No rules to make target "install-strip". Stop. Have you a suggestion to correct this ?
    Other less important error : I'm using fr_ch Open SuSE 10.2 and KDE. Krpmbuilder seems to have some problems with "é è à ê..." maybe it works better with fr_fr.

    Thanks

    Michel

     
    • Wolfgang Beutner

      Hi,

      does the Makefile have a target for install-strip? The error message seems to be produced by make and is exactly what is reported if you try to make a nonexistent target.

      Wolfgang

       
      • mib68

        mib68 - 2007-01-08

        Hi,

        thank you for your answer

        That's right. DESTDIR is empty in Makefile (home/myuser/rpms/BUILD).

        Can I specify it in Krpmbuilder? How and where can I define a variable? In .rpmmacros? Or must I modify configure in source? All documentation I read talk about command line variable with make. That's why I'm trying to use Krpmbuilder...

        Or simply tell me how to stop to make a nonexistant target.

        I made a .rpmmacros like this :

        %_topdir    /home/myuser/rpms
        %_sourcedir %{_topdir}/SOURCES
        %_specdir   %{_topdir}/SPECS
        %_builddir  %{_topdir}/BUILD
        %_rpmdir    %{_topdir}/RPMS
        %_srcrpmdir %{_topdir}/SRPMS
        %_tmppath   %{_topdir}/tmp
        %tmpdir     %{_topdir}/tmp

        that's all. I forgot something? Can I put something like %_destdir %RPM_BUILD_ROOT ?

        Thank's a lot

        Michel

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.