[sisyphus] Что нужно, чтобы поставить исходники.
Dmitry A. Kharitonov
=?iso-8859-1?q?kharpost_=CE=C1_rambler=2Eru?=
Пт Сен 14 08:09:18 MSD 2007
>> Как перекомплить с поддержкой отладки?
>
> rpm -bb --enable debug /path/to/package.spec,
> либо rpmbuild --rebuild --enable debug /path/to/package.src.rpm
>
[07:32:55 user на dima ~]$ rpmbuild -ba --enable debug ~/RPM/SPECS/tetex.spec
Выполняется(%prep): /bin/sh -e /home/user/tmp/rpm-tmp.59150
+ umask 022
+ /bin/mkdir -p /home/user/RPM/BUILD
+ cd /home/user/RPM/BUILD
+ cd /home/user/RPM/BUILD
+ rm -rf teTeX-src-2.0-rc1
+ echo 'Source #0 (teTeX-src-2.0-rc1.tar.bz2):'
Source #0 (teTeX-src-2.0-rc1.tar.bz2):
+ /bin/bzip2 -dc /home/user/RPM/SOURCES/teTeX-src-2.0-rc1.tar.bz2
...
Выполняется(check-files): /bin/sh -e /home/user/tmp/rpm-tmp.8396
+ umask 022
+ /bin/mkdir -p /home/user/RPM/BUILD
+ cd /home/user/RPM/BUILD
+ /usr/lib/rpm/check-files
+ exit 0
предупреждение: Installed (but unpackaged) file(s) found:
/etc/tex-fonts/ls-R
Записан: /home/user/RPM/SRPMS/tetex-2.0-alt3.src.rpm
Записан: /home/user/RPM/RPMS/x86_64/tetex-2.0-alt3.x86_64.rpm
Записан: /home/user/RPM/RPMS/x86_64/tetex-core-2.0-alt3.x86_64.rpm
Записан: /home/user/RPM/RPMS/x86_64/tetex-latex-2.0-alt3.x86_64.rpm
Записан: /home/user/RPM/RPMS/x86_64/tetex-xdvi-2.0-alt3.x86_64.rpm
Записан: /home/user/RPM/RPMS/x86_64/tetex-dvips-2.0-alt3.x86_64.rpm
Записан: /home/user/RPM/RPMS/x86_64/tetex-dvilj-2.0-alt3.x86_64.rpm
Записан: /home/user/RPM/RPMS/x86_64/tetex-afm-2.0-alt3.x86_64.rpm
Записан: /home/user/RPM/RPMS/x86_64/tetex-doc-2.0-alt3.x86_64.rpm
Записан: /home/user/RPM/RPMS/x86_64/tetex-devel-2.0-alt3.x86_64.rpm
Записан: /home/user/RPM/RPMS/x86_64/tetex-context-2.0-alt3.x86_64.rpm
[07:55:41 user на dima ~]$ sudo apt-get --reinstall remove tetex-core
Password:
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
tetex-core
0 upgraded, 0 newly installed, 1 removed and 60 not upgraded.
Need to get 0B of archives.
After unpacking 70.3MB disk space will be freed.
Do you want to continue? [Y/n]
Committing changes...
Preparing... ############################ [100%]
Done.
[07:56:22 user на dima ~]$ sudo apt-get install
/home/user/RPM/RPMS/x86_64/tetex-core-2.0-alt3.x86_64.rpm
Reading Package Lists... Done
Building Dependency Tree... Done
Selecting tetex-core for
'/home/user/RPM/RPMS/x86_64/tetex-core-2.0-alt3.x86_64.rpm'
The following NEW packages will be installed:
tetex-core
0 upgraded, 1 newly installed, 0 removed and 60 not upgraded.
Need to get 0B/27.3MB of archives.
After unpacking 72.1MB of additional disk space will be used.
Committing changes...
Preparing... ############################ [100%]
1: tetex-core ############################ [100%]
Done.
[07:56:40 user на dima ~]$ gdb --args pdftosrc /mnt/win_h/X5_Russian.pdf
GNU gdb 6.6-alt1 (ALT Linux)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-alt-linux"...
(no debugging symbols found)
Using host libthread_db library "/lib64/libthread_db.so.1".
отладочной информации опять нет
Подробная информация о списке рассылки Sisyphus