Kernel-HOWTO:
http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html
+A note for RedHat users: You may need to install the glibc-devel
+package to be able to compile Netatalk correctly.
+
----------------------------------------------------------------
B. TRU64
and is enough to stop the bug from occurring. This is the easiest
workaround and would merely alter the standard compilation steps to
- ./configure --with-cflags="-DHAVE_GCC_MEMCPY_BUG"
+ CFLAGS="-DHAVE_GCC_MEMCPY_BUG" ./configure [...]
make
make install
1. SELECT COMPILER. This distribution is configured to build with
gcc. It should also work with cc. At the present time only cc
- v5.0 and above can build the 64-bit kernel module.
+ v5.0 and gcc 3.1 and above can build the 64-bit kernel module.
-1a. SELECT KERNEL TYPE. Edit sys/solaris/Makefile and set KCFLAGS to
- include sparcv9 support if you run a 64-bit kernel, or leave it
+1a. SELECT KERNEL TYPE. Edit sys/solaris/Makefile.kernel and set KCFLAGS
+ to include sparcv9 support if you run a 64-bit kernel, or leave it
commented out for a 32-bit kernel. Only UltraSPARC systems
running Solaris 7 and above support a 64-bit kernel. If you're
not sure what kernel you use, run "isainfo -v". You're running a
3. INSTALL DRIVER. Since the STREAMS ddp driver must be installed as
root, we've separated that portion of the build. Type
- make kinstall
+ make -f Makefile.kernel kinstall
to install the driver. This copies the driver and its config file
into /usr/kernel/drv and /usr/kernel/strmod, runs "add_drv ddp" to
If you see something like
devfsadm: driver failed to attach: ddp
Warning: Driver (ddp) successfully added to system but failed to attach
- then recheck sys/solaris/Makefile and/or try a different compiler.
+ then recheck sys/solaris/Makefile.kernel and/or try a different
+ compiler.
4. ATALKD.CONF. Under Solaris, you must create atalkd.conf, since
Solaris provides no method for determining the names of the
and copy netatalk/distrib/initscripts/rc.atalk.bsd to /etc/rc.atalk.
-
- Don't forget to change the
-
- if [ -x :SBINDIR:/atalkd ]; then
-
- lines to
-
- if [ -x /usr/local/sbin/atalkd ]; then
-
- or to whichever locations you configured in netatalk.
-
D.II Other BSDs
1. KERNEL SUPPORT. Note that kernel support for netatalk appears in