Thomas Tanner wrote:
> 
> On 11-Feb-2000 Stephan Kulow wrote:
> > mkdir .libs
> > mkdir .libs
> > mkdir: Failed to make directory ".libs"; File exists
> > ../libtool: test: argument expected
> > make[2]: *** [ksconfig.lo] Error 1
> > make[2]: *** Waiting for unfinished jobs....
> > As it seems, the libtool runs start a little race to create the .libs
> > directory and
> > one failed ;(
> 
>  Strange. There should be no problem with creating .libs
>  at the same time. How can the following code in libtool fail?
> 
>         if test -d "$dir"; then
>           $show "$rm $libobj"
>           $run $rm $libobj
>         else
>           $show "$mkdir $dir"
>           $run $mkdir $dir
>           status=$?
>           if test $status -ne 0 && test ! -d $dir; then
>             exit $status
>           fi
>         fi
> 
>  I suppose there's a bug in your shell that doesn't
>  set status correctly. Could you please add
>  "echo $status" after "status=$?" and try it again?

Well, I think I found the bug. The multi-language branch 
creates the objdir and the code looks like this:

      if test ! -d $objdir; then
        $show "$mkdir $objdir"
        $run $mkdir $objdir
        status=$?
        if test $status -ne 0 && test ! -d $dir; then
          exit $status
        fi
      fi 

And the $dir is quite not existant :)

Thanks for pointing me at the right place.

Greetings, Stephan

-- 
It said Windows 95 or better, so in theory Linux should run it
                                                GeorgeH on /.

Reply via email to