Previously Piotr Roszatycki wrote: > I've tried compile dpkg on freebsd and atheos. Unfortunately, dpkg is > linux-centric. Not really, dpkg itself is pretty portable. I got it working on SunOS, Solaris, IRIX and HP-UX. Tools like dselect and start-stop-daemon aren't as portable. > I.e. dpkg requires gcc. I think dpkg should fallback to compile-time > defaults. No, it can't, that defeats the whole purpose of those flags. > gcc -D_GNU_SOURCE -I../optlib -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -c start-stop-daemon.c > start-stop-daemon.c:27: #error Unknown architecture - cannot build start-stop-daemon > gmake[1]: *** [start-stop-daemon.o] Error 1 Patches for that are appreciated :) > I'd like to see ./configure --without-start-stop-daemon (fortunately > --without-dselect works). I can add that easily. > I've included line to archtable: > i386-freebsd4.0 freebsd-i386 undefined > > Unfortunately, I should include entry for each release (freebsd4.1, etc.). > I think archtable could search substring (*i386-freebsd*). I'm not so sure wildcards are a good idea actually. If the bsds are compatible they shouldn't change that tag so frequently. > config.guess doesn't detect atheos, but it isn't problem as far as we have > ./configure --host= option. Another idea, if system isn't detected, we can > find it by 'uname'. Get the gcc folks to update config.guess. > I'd like to fixup these problems. Can I send some patches? Sure. Wichert. -- _________________________________________________________________ / Nothing is fool-proof to a sufficiently talented fool \ | wichert@wiggy.net http://www.liacs.nl/~wichert/ | | 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
Attachment:
pgprnAwTCBEfb.pgp
Description: PGP signature