This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Kernel hang with latest snapshot
Li Guanglei wrote:
Mike Mason wrote:
The lket-b2a code, and thus the systemtap build, now appears to be
dependent on the mysqlclient library by default. Probably not a good
idea.
From a build of the latest systemtap CVS on ppc64:
gcc -g -O2 -o lket-b2a `pkg-config --libs glib-2.0` `mysql_config
--libs` lket_b2a-lket_b2a.o
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[2]: *** [lket-b2a] Error 1
make[2]: Leaving directory
`/home/mmason/systemtap-CVS/src/runtime/lket/b2a'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mmason/systemtap-CVS/src'
make: *** [all] Error 2
- Mike
the dependence on mysqlclient lib is optional, which means if it isn't
installed, configure will just give a warning and skip building lket-b2a
without mysql support.
I'm not sure I care for this. I'd much prefer a configure option
(something like "--enable-mysql") that explicitly enabled the mysql
support. By default, I don't believe we should expect or require mysql.
--
David Smith
dsmith@redhat.com
Red Hat, Inc.
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)