gcc - libtoolize: error: cannot list files -


i installing libtool 2.4.6 , ran following problem:

libtool: version mismatch error.  libtool 2.4.6, revision 2.4.6, libtool: definition of lt_init comes revision . libtool: should recreate aclocal.m4 macros revision 2.4.6 libtool: of libtool 2.4.6 , run autoconf again. makefile:1261: recipe target 'libltdl/loaders/libltdl_libltdl_la-preopen.lo' failed 

in effort fix issue , after looking around on google, executed following command recreate aclocal.m4. however, got "cannot list files" error:

[server]#  autoreconf --install libtoolize:   error: cannot list files: '/var/tmp/work/libtool-2.4.6.i386/share/libtool/build-aux' autoreconf: libtoolize failed exit status: 1 

the directory there , can listed ls command:

[server]#  ls -l /var/tmp/work/libtool-2.4.6.i386/share/libtool/build-aux total 0 

any idea?

this cause line in libtoolize script:

        test -n "`{ cd $my_dir && ls; } 2>/dev/null`" \             || func_fatal_error "cannot list files: '$my_dir'" 

i don't know why interpret empty directory "cannot list files" issue can overcome replacing above line with:

    cd $my_dir && ls || func_fatal_error "cannot list files: '$my_dir'" 

Comments

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -