instalace Lighttpd a chybejici knihovny *.a

Miroslav Lachman 000.fbsd at quip.cz
Sat Feb 20 23:06:04 CET 2010


Dan Lukes wrote:
> On 02/20/10 21:30, Miroslav Lachman:

[...]

>> po cem patrat, jak se dopatrat tomu, ze v jednom z sesti pripadu
>> soubory chybi
>
> Upgrade ma radu fazi. A neni jasne, v jake se hlasky objevuji. I kdyz -
> skoro by se zdalo, ze ve vazi vytvareni package. Coz me trochu mate,
> protoze to je faze, ktera k upgrade primo nepatri, i kdyz samozrejme
> neni zakazano si ji vyzadat.

Ta konkretni hlaska je skutecne z faze "po instalaci" vytvareni package

> Takze jedna z moznosti je, ze vsude jinde delas upgrade a jen tady delas
> i package. Al eto je nahodna hypoteza.

Vsude to delam portmasterem se stejnou konfiguraci - vsude se mi vytvari 
package stare verze pred jeji deinstalaci, pak se stara verze 
odinstaluje, nainstaluje nova a vytvori se package nove verze. Takhle se 
to deje na vsech zminenych serverech a nikde krome toho jednoho serveru 
ty knihovny nechybi:

zde je to v poradku
root na ash ~/# ls -l /usr/local/lib/lighttpd/mod_access.*
-rw-r--r--  1 root  wheel  4336 Feb 20 13:31 
/usr/local/lib/lighttpd/mod_access.a
-rwxr-xr-x  1 root  wheel   941 Feb 20 13:31 
/usr/local/lib/lighttpd/mod_access.la
-rwxr-xr-x  1 root  wheel  9691 Feb 20 13:31 
/usr/local/lib/lighttpd/mod_access.so


zde chybi *.a varianty knihoven
root na kurt ~/# ls -l /usr/local/lib/lighttpd/mod_access.*
-rwxr-xr-x  1 root  wheel   973 Feb 20 21:09 
/usr/local/lib/lighttpd/mod_access.la
-rwxr-xr-x  1 root  wheel  9691 Feb 20 21:09 
/usr/local/lib/lighttpd/mod_access.so


Ale ty *.a varianty se nevytvari pri "make" v adresari portu, protoze 
nejsou ani v adresari "work" na serveru, kde se korektne nainstaluji:

root na ash lighttpd/# ls -l work/lighttpd-1.4.26/src/mod_access.*
-rw-r--r--  1 root  wheel  4055 Feb  2 00:28 
work/lighttpd-1.4.26/src/mod_access.c
-rw-r--r--  1 root  wheel   940 Feb 20 22:51 
work/lighttpd-1.4.26/src/mod_access.la
-rw-r--r--  1 root  wheel   285 Feb 20 22:51 
work/lighttpd-1.4.26/src/mod_access.lo
-rw-r--r--  1 root  wheel  4176 Feb 20 22:51 
work/lighttpd-1.4.26/src/mod_access.o


V pkg-plist uvedene jsou, takze by nainstalovane mely byt "za vsech 
okolnosti"
http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/lighttpd/pkg-plist?rev=1.17

Na problemovem serveru k nim v +CONTENTS chybi md5 checksumy (jelikoz je 
neni z ceho udelat)

/var/db/pkg/lighttpd-1.4.26/+CONTENTS:

lib/lighttpd/mod_access.a
lib/lighttpd/mod_access.la
@comment MD5:b28f9b2f82fb744b851d1580cc626655
lib/lighttpd/mod_access.so
@comment MD5:f4975c6c2d69c997458dbed282072360
lib/lighttpd/mod_accesslog.a
lib/lighttpd/mod_accesslog.la

Mirek


More information about the Users-l mailing list