Compiling Netatalk 2.0.3

Joseph E. Sacco, Ph.D. joseph_sacco at comcast.net
Thu May 26 07:39:17 MDT 2005


Dene,

Let's try this approach and see where it takes us.

* download netatalk-1.6.4-2.1.src.rpm

* examine its contents
	rpm -qlp netatalk-1.6.4-2.1.src.rpm

* unpack it
	rpm -ivh nettalk-1.6.4-2.1.src.rpm

* build the binaries 
	cd /usr/src/yellowdog/SPECS
	rpmbuild -bb netatalk.spec > /tmp/build-netatalk.log 2>&1 &

Building the binaries is "overkill" but will demonstrate that your
system has all of the requisite pieces installed to build netatalk.

* Go see what we can learn
- config.log	
	cd /usr/src/yellowdog/BUILD/netatalk-1.6.4
	examine config.log

At the top of this file you will see [ignore the line wrap]
        ./configure --host=powerpc-yellowdog-linux-gnu
        --build=powerpc-yellowdog-linux-gnu
        --target=ppc-yellowdog-linux-gnu --program-prefix= --prefix=/usr
        --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
        --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
        --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var
        --sharedstatedir=/usr/com --mandir=/usr/share/man
        --infodir=/usr/share/info --with-pkgconfdir=/etc/atalk/
        --with-cracklib --with-pam --with-shadow --with-tcp-wrappers
        --with-ssl --with-flock-locksi --with-uams-path=/usr/lib

These would be a good set of options to start with.

- netatalk.spec
Read over the spec file, there is lots to learn:
	- You can see where the configure options came from.
	- You can learn what will be installed where.
	- You can learn what pre/post install actions are to be taken.

-Joseph

-- 
joseph_sacco [at] comcast [dot] net



More information about the yellowdog-general mailing list