Сборка NSS (Службы сетевой безопасности) для Mac OS X 10.9 не работает
Я пытаюсь собрать исходные коды NSS ( https://developer.mozilla.org/en-US/docs/NSS) версии 3.15 для OS X 10.9. Я скачал пакет NSS и NSPR и, основываясь на инструкциях, скопировал в папку NSS и ввел:
make nss_build_all
Инструкции по сборке доступны по адресу: developer.mozilla.org/en-US/docs/NSS_Sources_Building_Testing и developer.mozilla.org/en-US/docs/NSS_reference/Building_and_install_NSS/Build_instructions
однако я получаю следующую ошибку в середине Make:
rm -f nfspwd; cp ../../config/nfspwd.pl nfspwd; chmod +x nfspwd
rm -f /Users/Inc/Documents/third party libraries/nss-3.15 3/nss/../dist/Darwin13.0.0_DBG.OBJ/bin/nspr-config
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C pr export
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C include export
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C md export
../../../config/./nsinstall -R -m 444 ../../../../pr/include/md/_aix32.cfg ../../../../pr/include/md/_aix64.cfg ../../../../pr/include/md/_beos.cfg ../../../../pr/include/md/_bsdi.cfg ../../../../pr/include/md/_darwin.cfg ../../../../pr/include/md/_dgux.cfg ../../../../pr/include/md/_freebsd.cfg ../../../../pr/include/md/_hpux32.cfg ../../../../pr/include/md/_hpux64.cfg ../../../../pr/include/md/_irix32.cfg ../../../../pr/include/md/_irix64.cfg ../../../../pr/include/md/_linux.cfg ../../../../pr/include/md/_netbsd.cfg ../../../../pr/include/md/_nto.cfg ../../../../pr/include/md/_openbsd.cfg ../../../../pr/include/md/_os2.cfg ../../../../pr/include/md/_osf1.cfg ../../../../pr/include/md/_qnx.cfg ../../../../pr/include/md/_riscos.cfg ../../../../pr/include/md/_scoos.cfg ../../../../pr/include/md/_solaris.cfg ../../../../pr/include/md/_symbian.cfg ../../../../pr/include/md/_unixware.cfg ../../../../pr/include/md/_unixware7.cfg ../../../../pr/include/md/_win95.cfg ../../../../pr/include/md/_winnt.cfg /Users/Inc/Documents/third party libraries/nss-3.15 3/nss/../dist/Darwin13.0.0_DBG.OBJ/include/md
../../../config/./nsinstall -R -m 444 ../../../../pr/include/md/_darwin.cfg /Users/Inc/Documents/third party libraries/nss-3.15 3/nss/../dist/Darwin13.0.0_DBG.OBJ/include
mv -f /Users/Inc/Documents/third party libraries/nss-3.15 3/nss/../dist/Darwin13.0.0_DBG.OBJ/include/_darwin.cfg /Users/Inc/Documents/third party libraries/nss-3.15 3/nss/../dist/Darwin13.0.0_DBG.OBJ/include/prcpucfg.h
usage: mv [-f | -i | -n] [-v] source target
mv [-f | -i | -n] [-v] source ... directory
make[4]: *** [export] Error 64
make[3]: *** [export] Error 2
make[2]: *** [export] Error 2
make[1]: *** [export] Error 2
make: *** [build_nspr] Error 2
Выполнение команды Make с -d даст:
mv -f /Users/Inc/Documents/third party libraries/nss-3.15 3/nss/../dist/Darwin13.0.0_DBG.OBJ/include/_darwin.cfg /Users/Inc/Documents/third party libraries/nss-3.15 3/nss/../dist/Darwin13.0.0_DBG.OBJ/include/prcpucfg.h
Live child 0x7fb979412400 (export) PID 51673
usage: mv [-f | -i | -n] [-v] source target
mv [-f | -i | -n] [-v] source ... directory
Reaping losing child 0x7fb979412400 PID 51673
make[4]: *** [export] Error 64
Removing child 0x7fb979412400 PID 51673 from chain.
Reaping losing child 0x7fa8597006f0 PID 51664
make[3]: *** [export] Error 2
Removing child 0x7fa8597006f0 PID 51664 from chain.
Reaping losing child 0x7faeb8600f90 PID 51662
make[2]: *** [export] Error 2
Removing child 0x7faeb8600f90 PID 51662 from chain.
Reaping losing child 0x7feea2504bf0 PID 51660
make[1]: *** [export] Error 2
Removing child 0x7feea2504bf0 PID 51660 from chain.
Reaping losing child 0x7fa6f0c0bce0 PID 51650
make: *** [build_nspr] Error 2`enter code here`
Removing child 0x7fa6f0c0bce0 PID 51650 from chain.
Я скачал пакет несколько раз и выполнил make clean перед тестированием..
1 ответ
Вы никогда не должны использовать пути, содержащие пробелы (или другие специальные символы оболочки) при сборке программного обеспечения с make.