Ошибка при установке checkinstall и installwatch

Поэтому я использую kali linux и пытаюсь установить checkinstall и installwatch, чтобы я мог получить NodeJS, я получил zip-файл со страницы github, разархивировал его в Desktop и затем написал это

sudo make install

я сделал это в правильном каталоге, а затем я получаю это напрямую

for file in locale/checkinstall-*.po ; do \
case ${file} in \
    locale/checkinstall-template.po)  ;; \
    *) \
        out=`echo $file | sed -s 's/po/mo/'` ; \
        msgfmt -o ${out} ${file} ; \
        if [ $? != 0 ] ; then \
            exit 1 ; \
        fi ; \
    ;; \
esac ; \
done    
make -C installwatch
make[1]: Entering directory '/home/normaluser/Desktop/checkinstall/installwatch'
./create-localdecls
Checking truncate argument type... off_t
Checking readlinkat result type... ssize_t
Checking libc version... libc.so.6
Checking glibc subversion... JH OsLibcMinor is 27
Treated as glibc >= 2.1 (finger crossed)
gcc -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DVERSION=\"0.7.0beta7\" installwatch.c
installwatch.c:2960:5: error: conflicting types for ‘readlink’
 int readlink(const char *path,char *buf,size_t bufsiz) {
     ^~~~~~~~
In file included from installwatch.c:41:0:
/usr/include/unistd.h:811:16: note: previous declaration of ‘readlink’ was here
 extern ssize_t readlink (const char *__restrict __path,
                ^~~~~~~~
installwatch.c:3098:5: error: conflicting types for ‘scandir’
 int scandir( const char *dir,struct dirent ***namelist,
     ^~~~~~~
In file included from installwatch.c:49:0:
/usr/include/dirent.h:255:12: note: previous declaration of ‘scandir’ was here
 extern int scandir (const char *__restrict __dir,
            ^~~~~~~
installwatch.c:3714:5: error: conflicting types for ‘scandir64’
 int scandir64( const char *dir,struct dirent64 ***namelist,
     ^~~~~~~~~
In file included from installwatch.c:49:0:
/usr/include/dirent.h:278:12: note: previous declaration of ‘scandir64’ was here
 extern int scandir64 (const char *__restrict __dir,
            ^~~~~~~~~
Makefile:22: recipe for target 'installwatch.o' failed
make[1]: *** [installwatch.o] Error 1
make[1]: Leaving directory '/home/normaluser/Desktop/checkinstall/installwatch'
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 2

0 ответов

Другие вопросы по тегам