i2c w kernelu 2.4.21

Arkadiusz Patyk areq w pld.org.pl
Pon, 11 Sie 2003, 11:07:10 CEST


Witam

Jest problem ze zbudowanie lm_sensors.spec.
Wymaga on i2c-devel i kernel-headers

error: failed to open /etc/mtab: No such file or directory
Preparing...                ###########################################
[100%]
file /usr/src/linux/include/linux/i2c-algo-bit.h from install of
i2c-devel-2.8.0-1 conflicts with file from package
kernel-headers-2.4.21-1.4
file /usr/src/linux/include/linux/i2c-algo-pcf.h from install of
i2c-devel-2.8.0-1 conflicts with file from package
kernel-headers-2.4.21-1.4
file /usr/src/linux/include/linux/i2c-dev.h from install of
i2c-devel-2.8.0-1 conflicts with file from package
kernel-headers-2.4.21-1.4
file /usr/src/linux/include/linux/i2c-id.h from install of
i2c-devel-2.8.0-1 conflicts with file from package
kernel-headers-2.4.21-1.4
file /usr/src/linux/include/linux/i2c-proc.h from install of
i2c-devel-2.8.0-1 conflicts with file from package
kernel-headers-2.4.21-1.4
file /usr/src/linux/include/linux/i2c.h from install of
i2c-devel-2.8.0-1 conflicts with file from package
kernel-headers-2.4.21-1.4

wyrzucenie BR i2c-devel i zbudowanie tylko w opraciu o kernel-headers
się nie udaje.
Natomiast instalacja i2c-devel  z force i nadpisanie plików z
kernel-headers powoduje że lm_sensors.spec się buduje.

w kernel.spec
# i2c - version 2.7.0
Patch255:       linux-2.4.21-i2c-2.7.0.patch.gz
Patch265:       linux-2.4.20-e820.patch 

w i2c.spec jest 2.8.0.

Jak to rozwiazać ?
Skoro mamy i2c.spec z któego budują się również moduły do kernela, może
należy wyrzuć i2c z kernel.spec ?
Bo mamy tutaj ewidentny konflikt.

-- 
Arkadiusz Patyk [areq(at)pld-linux.org] [http://rescuecd.pld-linux.org]
[IRC:areq ICQ:16231667  GG:1383]  [AP3-6BONE] [AP14126-RIPE]



Więcej informacji o liście dyskusyjnej pld-devel-pl