Merhaba Orhan Bey,

OpenBSD FAQ icinde kernel derlemekle ilgili olan kismi size bir daha iletmek istedim.

 
İyi çalışmalar

Metin Pasaoglu
Bilçağ A.Ş.

Gsm: (532) 7772248
Tel   : (216) 4654950
Fax  : (216) 4654865
www.bilcag.net



5.2 - Why do I need a custom kernel?
Actually, you probably don't.

A custom kernel is a kernel built with a configuration file other than the provided GENERIC configuration file. A custom kernel can be based on -release, -stable or -current code, just as a GENERIC kernel can be. While compiling your own GENERIC kernel is supported by the OpenBSD team, compiling your own custom kernel is not.

The standard OpenBSD kernel configuration (GENERIC) is designed to be suitable for most people. More people have broken their system by trying to tweak their kernel than have improved system operation. There are some people that believe that you must customize your kernel and system for optimum performance, but this is not true for OpenBSD. Only the most advanced and knowledgeable users with the most demanding applications need to worry about a customized kernel or system.

Some reasons you might want or need to build a custom kernel:

You really know what you are doing, and want to shoe-horn OpenBSD onto a computer with a small amount of RAM by removing device drivers you don't need.
You really know what you are doing, and wish to remove default options or add options which may not have been enabled by default (and have good reason to do so).
You really know what you are doing, and wish to enable experimental options.
You really know what you are doing, and have a special need that is not met by GENERIC, and aren't going to ask why it doesn't work if something goes wrong.
Some reasons why you should not build a custom kernel:

You do not need to, normally.
You will not get a faster system.
You are likely to make a less reliable machine.
You will not get any support from developers.
You will be expected to reproduce any problem with a GENERIC kernel before developers take any problem report seriously.
Users and developers will laugh at you when you break your system.
Custom compiler options usually do a better job of exposing compiler problems than improving system performance.
Removing device drivers may speed the boot process on your system, but can complicate recovery should you have a hardware problem, and is very often done wrong. Removing device drivers will not make your system run faster by any noticeable amount, though can produce a smaller kernel. Removing debugging and error checking can result in a measurable performance gain, but will make it impossible to troubleshoot a system if something goes wrong.

Again, developers will usually ignore bug reports dealing with custom kernels, unless the problem can be reproduced in a GENERIC kernel as well. You have been warned.


-----Original Message-----
From: Orhan Berent [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 10, 2004 9:27 AM
To: [EMAIL PROTECTED]
Subject: [freebsd] php + curl

Merhabalar,birkac acemi sorusu var :)

Sun Ultra 1 64bit makinada Openbsd 3.5 calisiyor.Gayet guzel make word yaptim,kerneli sadelestirdim.Fakat dun portslardan php kurarken curl'de hata verdi.

Google'da arastirma yaptigimda curl  7_10.5'e donun diye yanit aldim.Fakat ports daha degisik bir versionu cekiyor.

Simdi geliyorum aklima takilan seylere.

1. Ben daha onceden curl 7.12.0 source'dan kendim derleyip /usr/local altina koymustum.Ports php yuklerken neden buraya bakmaz ? gidip netten eski version curl indirir.Daha once kendi derledigim curl'ye bakmasini nasil saglayabilirim.

2. Makina kuruldugunda herseyi kendim derleyeyim istemistim.Php'yi de kendim derlemek istedim.Fakat var olan bir bug sonucu portsa yoneldim.
php'yi kendim configure ederken bison yok demisti.bison'u pkg_add ile hazir paketten yerlestirmis ve ikinci configurede bisonu gordurtmustum.ancak portslardan php yukleyince o yuklenmis bison'u gormeyip yine netten indirdi. Bunun sebebi ne olabilir.portslardan bir sey yuklerken ports pkg_add ile yuklenmis seylere bakmaz mi.

3. Son sorum Openbsd' linkerlariyla ilgili. ldconfig -m ile yeni dizinler eklenmiyor mu ? Acilista rc.conf icinde shlib_dirs=/etc/rc.conf.local dedigim ve rc.conf.local dosyasina /usr/local/lib ekledigim halde gormuyor.Bende her paket icin LD_LIBRARY_PATH set etmek durumunda kaliyorum.Sanirim bir seyler kaciriyorum.Yardim ederseniz sevinirim.

Selamlar

Orhan Berent







---------------------------------------------------------------------
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php

To unsubscribe, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org ve http://www.mail-archive.com/[EMAIL PROTECTED]


Cevap