> > I am building the debian package on a debian Woody stable system and am > > going to copy it over to a debian Sarge testing system. > > Wild. Any reason you're not building it on a testing system? I'd offer to > do so, but my testing machine is also PowerPC, and so the packages probably > aren't a lot of use to you. :-)
I decided to install the 47 dependencies and try to create the debian packages on the Sarge testing system. The freeradius I downloaded is: freeradius-snapshot-20030930 When I run the command: dpkg-buildpackage -us -uc -b -rfakeroot Here is the list of packages I had to install (YUCK!): binutils dpkg-dev make fakeroot autoconf autoconf2.13 autotools-dev comerr-dev cpp cpp-3.3 debconf-utils debhelper gcc gcc-3.3 gettext html2text intltool-debian libasn1-6-heimdal libc6-dev libcomerr1-kerberos4kth libecpg3 libgdbm-dev libiodbc2 libiodbc2-dev libkadm55 libkrb-1-kerberos4kth libkrb5-17-heimdal libkrb5-dev libkrb53 libldap2-dev libltdl3 libltdl3-dev libmysqlclient10-dev libpam0g-dev libpq3 libroken16-kerberos4kth libsasl2-dev libsnmp4.2 libsnmp4.2-dev libssl-dev libtool1.4 m4 po-debconf postgresql-dev snmp zlib1g-dev Is this enormous list a good enough reason to split the freeradius package into sub-packages? When it tries to build, it quits with this problem: [snip] Making static in rlm_eap_mschapv2... make[11]: Entering directory `/root/work/freeradius-snapshot-20030930/src/modules/rlm_eap/types/rlm_eap_mschapv2' gcc -Wall -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -I../../../../include -I../.. -c rlm_eap_mschapv2.c -o rlm_eap_mschapv2.o rlm_eap_mschapv2.c: In function `mschapv2_authenticate': rlm_eap_mschapv2.c:160: warning: unused parameter `arg' /usr/bin/libtool --mode=link ld \ -module -static -Wall -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -I../../../../include -I../.. rlm_eap_mschapv2.o eap_mschapv2.o -o rlm_eap_mschapv2.a mkdir .libs (cd . && ln -s eap_mschapv2.lo eap_mschapv2.o) ar cru rlm_eap_mschapv2.a rlm_eap_mschapv2.o eap_mschapv2.o ar: eap_mschapv2.o: No such file or directory make[11]: *** [rlm_eap_mschapv2.a] Error 1 make[11]: Leaving directory `/root/work/freeradius-snapshot-20030930/src/modules/rlm_eap/types/rlm_eap_mschapv2' make[10]: *** [common] Error 1 make[10]: Leaving directory `/root/work/freeradius-snapshot-20030930/src/modules/rlm_eap/types' make[9]: *** [static] Error 2 make[9]: Leaving directory `/root/work/freeradius-snapshot-20030930/src/modules/rlm_eap/types' make[8]: *** [common] Error 1 make[8]: Leaving directory `/root/work/freeradius-snapshot-20030930/src/modules/rlm_eap' make[7]: *** [static] Error 2 make[7]: Leaving directory `/root/work/freeradius-snapshot-20030930/src/modules/rlm_eap' make[6]: *** [common] Error 1 make[6]: Leaving directory `/root/work/freeradius-snapshot-20030930/src/modules' make[5]: *** [all] Error 2 make[5]: Leaving directory `/root/work/freeradius-snapshot-20030930/src/modules' make[4]: *** [common] Error 1 make[4]: Leaving directory `/root/work/freeradius-snapshot-20030930/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/root/work/freeradius-snapshot-20030930/src' make[2]: *** [common] Error 1 make[2]: Leaving directory `/root/work/freeradius-snapshot-20030930' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/work/freeradius-snapshot-20030930' make: *** [build-simple] Error 2 ~/work/freeradius-snapshot-20030930# ls -al src/modules/rlm_eap/types/rlm_eap_mschapv2/ total 132 drwxr-xr-x 4 507 postfix 4096 Sep 30 14:43 . drwxr-xr-x 8 507 postfix 4096 Sep 30 04:00 .. drwxr-xr-x 2 root root 4096 Sep 30 14:43 .libs drwxr-xr-x 2 507 postfix 4096 Sep 30 04:00 CVS -rw-r--r-- 1 root root 317 Sep 30 14:43 Makefile -rw-r--r-- 1 507 postfix 256 Sep 19 14:19 Makefile.in -rw-r--r-- 1 root root 218 Sep 30 14:43 config.log -rwxr-xr-x 1 root root 6119 Sep 30 14:43 config.status -rwxr-xr-x 1 507 postfix 31138 Sep 29 10:04 configure -rw-r--r-- 1 507 postfix 949 Sep 19 14:19 configure.in -rw-r--r-- 1 507 postfix 518 Sep 19 14:19 eap_mschapv2.h lrwxrwxrwx 1 root root 15 Sep 30 14:43 eap_mschapv2.o -> eap_mschapv2.lo -rw-r--r-- 1 507 postfix 7723 Sep 19 14:19 rlm_eap_mschapv2.c -rw-r--r-- 1 root root 46580 Sep 30 14:43 rlm_eap_mschapv2.o ~/work/freeradius-snapshot-20030930# ls -al src/modules/rlm_eap/types/rlm_eap_mschapv2/.libs/ total 8 drwxr-xr-x 2 root root 4096 Sep 30 14:43 . drwxr-xr-x 4 507 postfix 4096 Sep 30 14:43 .. So there is a problem building mschap. I did an "ls -al" and the file is there, but it is a link to a file that does not exist. This command doesn't work: (cd . && ln -s eap_mschapv2.lo eap_mschapv2.o) because the file "eap_mschapv2.lo" isn't there. Now, I'm going to prevent the building of mschap, but I thought someone might be interested in my findings. Thanks! Nick -- Nick Davis Associate Systems Administrator [EMAIL PROTECTED] Internet Exposure, Inc. http://www.iexposure.com (612)676-1946 Web Development-Web Marketing-ISP Services - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html