i commented out the line and removed the dependency entry for debhelper in
debian/control, now i got the following error after running
"dpkg-buildpackage":
-----8<-----
[snip]
Making dynamic in rlm_sql_mysql...
make[11]: Entering directory
`/root/src/freeradius-1.0.0/src/modules/rlm_sql/drivers/rlm_sql_mysql'
/usr/bin/libtool --mode=compile gcc  -Wall -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5  -I../.. -I../../../../include
-I'/usr/include/mysql'  -c sql_mysql.c
rm -f .libs/sql_mysql.lo
gcc -Wall -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5
-I../.. -I../../../../include -I/usr/include/mysql -c sql_mysql.c  -fPIC -DPIC
-o .libs/sql_mysql.lo
gcc -Wall -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5
-I../.. -I../../../../include -I/usr/include/mysql -c sql_mysql.c -o
sql_mysql.o >/dev/null 2>&1
mv -f .libs/sql_mysql.lo sql_mysql.lo
/usr/bin/libtool --mode=link gcc -release 1.0.0 \
-module -export-dynamic  -Wall -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DOPENSSL_NO_KRB5  -I../.. -I../../../../include \
-I'/usr/include/mysql'  -o rlm_sql_mysql.la -rpath /usr/lib/freeradius
sql_mysql.lo -L'/usr/lib' -lmysqlclient -lz -lcrypt -lnsl -lm
rm -fr .libs/rlm_sql_mysql.la .libs/rlm_sql_mysql.* .libs/rlm_sql_mysql-1.0.0.*
gcc -shared  sql_mysql.lo  -L/usr/lib /usr/lib/libmysqlclient.so -lz -lcrypt
-lnsl -lm  -Wl,-soname -Wl,rlm_sql_mysql-1.0.0.so -o
.libs/rlm_sql_mysql-1.0.0.so
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[11]: *** [rlm_sql_mysql.la] Error 1
----->8-----

which lib is missing there?

btw: i tried to update debhelper, but that led me to many other update demands,
even libc should be updated. if i did that would that not prevent the package
to run on a "normal" debian woody system?

   markus




Zitat von Paul Hampson <[EMAIL PROTECTED]>:
> On Tue, Aug 17, 2004 at 09:24:58AM +0200, Michael Markstaller wrote:
> > I have some freeradius (0.9.3 to 1.0.0-pre3) using MySQL running fine
> > on woody (but without running ldap & eap, AFAIK there're unmet
> dependencies).
> > just build the package from the source (one line needs to be commented out,
> > I posted this on 2004-05-11)
>
> > --- cut ---
> > debian/rules - line 137 "dh_installpam --name=radiusd"
> > - this prevents buildding on woody as dh_installpam doesn't know the
> > "--name" parameter
> > --- cut ---
>
> You'll also need to remove the version from the debhelper dependancy or
> force-depends dpkg-buildpackage, since the versioned dependancy is there
> to make this line work.
>
> _Or_ you can install a newer debhelper version onto your Woody box. ^_^
>
> --
> Paul "TBBle" Hampson, on an alternate email client.
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


--
Markus Krause                           email: [EMAIL PROTECTED]
Computing Center                        Tel.: 089 - 89 40 85 99
Group Lottspeich / Proteomics           Fax.: 089 - 89 40 85 98

---------------------------------------------------------------------
     This message was sent using https://webmail.biochem.mpg.de
If you encounter any problems please report to [EMAIL PROTECTED]


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to