LINUX.ORG.RU

Сборка пакета python3

 , ,


0

2

Доброго. Собираю питон 3.4, перед этим точно так же собрал питон2.7

./configure

make

sudo checkinstall -D

В настройках пакета меняю только имя [python3]

0 -  Maintainer: [ root@localhost ]
1 -  Summary: [ Package created with checkinstall 1.6.2 ]
2 -  Name:    [ python3 ]
3 -  Version: [ 3.4.0 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ i386 ]
8 -  Source location: [ Python-3.4.0 ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ python ]
12 - Conflicts: [  ]
13 - Replaces: [  ]
Собирается в пакет
Copying files to the temporary directory...OK

Stripping ELF binaries and libraries...OK

Compressing man pages...OK

Building file list...OK

Building Debian package...OK

Installing Debian package... FAILED!

*** Failed to install the package
Do you want to see the log file?  [y]: 
Лог
(Reading database ... 226661 files and directories currently installed.)
Unpacking python3 (from .../python3_3.4.0-1_i386.deb) ...
dpkg: error processing /tmp/python/Python-3.4.0/python3_3.4.0-1_i386.deb (--install):
 trying to overwrite '/usr/local/bin/2to3', which is also in package python 2.7.11-1
Processing triggers for man-db ...
Errors were encountered while processing:
 /tmp/python/Python-3.4.0/python3_3.4.0-1_i386.deb
Можно ли руками удалить этот '/usr/local/bin/2to3'? Если нет, то как собрать третий в пакет? Спасибо.

★★★★

Последнее исправление: dnb (всего исправлений: 2)

Ответ на: Не в тему от Twissel

Простите, да, делал sudo checkinstall -D. Сейчас поправлю.

dnb ★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.