I tried to copy the project to another computer. When I rerun configure
and all the auto-stuff the projects compiles nicely in terminal. The
problem is in the libtool file or more precisely in what generates it.
Here is an short passage:

        if len=`expr "X$cmds" : ".*"` &&
             test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
          cmds=$old_archive_cmds
        else
          # the command line is too long to link in one step, link in parts
          $echo "using piecewise archive linking..."
          save_RANLIB=$RANLIB
          RANLIB=:
          objlist=
          concat_cmds=
          save_oldobjs=$oldobjs

          # Is there a better way of finding the last object in the list?
          for obj in $save_oldobjs
          do
            last_oldobj=$obj
          done
          for obj in $save_oldobjs
          do
            oldobjs="$objlist $obj"
            objlist="$objlist $obj"
            eval test_cmds=\"$old_archive_cmds\"
            if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
               test "$len" -le "$max_cmd_len"; then
              :
            else
              # the above command should be used before it gets too long
              oldobjs=$objlist
              if test "$obj" = "$last_oldobj" ; then
                RANLIB=$save_RANLIB
              fi
              test -z "$concat_cmds" || concat_cmds=$concat_cmds~
              eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
              objlist=
            fi
          done

You can see that before a lot of $ signs there is an extra X which
shouldn't be there in the proper case. I wonder what causes it to be
there.

-- 
kdevelop project was broken when going to 8.10
https://bugs.launchpad.net/bugs/253286
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to