On Mon, Mar 14, 2005 at 12:31:03PM +0100, Ruediger Meier wrote:
Hallo, Ich haette gern dass mein apache2 mit files groesser 2GB umgehen kann.
Du findest apache2 Pakete die mit LFS gebaut sind hier: http://ftp.suse.com/pub/projects/apache/apache2
Im SuSE specfile steht dazu:
# do not Enable Large File support (LFS) by default, because it changes the binary interface used by other modules. %{!?build_with_LFS:%define build_with_LFS 0}
weiter habe ich irgendwo noch folgendes gefunden: - disable large file support by not building with _FILE_OFFSET_BITS=64, in favour of retaining a binary compatible module API. Therefore, do not change the module magic number. LFS can be enabled by building via rpmbuild --define 'build_with_LFS 1'
Nun meine Frage, ist aus irgendwechen Gruenden davon abzuraten das RPM mit --define 'build_with_LFS 1' zu bauen?
Um welche Module, die das binary interface benutzen handelt es sich?
Zu beachten ist dass alle Apache-Module mit dem entsprechenden Apache (bzw. der entsprechenden libapr0) gebaut sei muessen. Sonst fliegt alles in die Luft. Entsprechende Pakete liegen unter der oben genannten Adresse bereit (pub/projects/apache Verzeichnis). Welche Module das sind, kann man auf einfache Weise mittels 'rpm -e --test libapr0' rausfinden. Beim selber Bauen (des Apache) kann man rpmbuild wie oben zitiert verwenden. Die Distributionsversion verwendet keinen LFS, um volle Kompatibilitaet zu Dritt-Software zu gewaehrleisten. Ich habe hierzu eben ein README angelegt, das in Kuerze (eventuell aber ausnahmsweise erst in einigen Tagen) auf dem FTP-Server erscheinen wird. Peter -- the little can of spam got the big cardinal