Bug 926 - При сборке не находится db_185.h
Summary: При сборке не находится db_185.h
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: kernel24-up (show other bugs)
Version: unstable
Hardware: all Linux
: P4 minor
Assignee: Peter 'Nidd' Novodvorsky
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-14 19:27 MSD by Denis Kirienko
Modified: 2009-05-10 09:31 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Kirienko 2002-05-14 19:27:14 MSD
При попытке пересборки ядра получаю следующую ошибку:

*** Install db development libraries
gcc -I/usr/include -I. -ldb1 -ldb_cxx -lstdc++ aicasm_gram.c aicasm_scan.c aicas
m.c aicasm_symbol.c
-o aicasm
aicasm_symbol.c:47:19: aicdb.h: No such file or directory


---

---
Смотрим в файл /usr/src/RPM/BUILD/linux/drivers/scsi/aic7xxx/aicasc/Makefile

aicdb.h:
        @if [ -e \"/usr/include/db3/db_185.h\" ]; then            \\
                echo \"#include <db3/db_185.h>\" > aicdb.h;       \\
         elif [ -e \"/usr/include/db2/db_185.h\" ]; then          \\
                echo \"#include <db2/db_185.h>\" > aicdb.h;       \\
         elif [ -e \"/usr/include/db/db_185.h\" ]; then           \\
                echo \"#include <db/db_185.h>\" > aicdb.h;        \\
         elif [ -e \"/usr/include/db_185.h\" ]; then              \\
                echo \"#include <db_185.h>\" > aicdb.h;           \\
         else                                                   \\
                echo \"*** Install db development libraries\";    \\
         fi

Тем не менее, в kernel24-*.src.rpm прописаны зависимости только
от libdb1-devel и libdb4-devel-static, но не от libdb[2,3]-devel.

Исправления видится два: подправить Makefile, чтобы использовалась db4 или поставить зависимость на 
libdb2-devel (libdb3-devel конфликтует с libdb4-devel).


Comment 1 Bug Reporter 2002-10-21 14:19:02 MSD
Fixed
Comment 2 Bug Reporter 2002-10-21 14:19:02 MSD
Fixed