On Sun, 11 Feb 2001, Emiliano wrote:
> [EMAIL PROTECTED] wrote:
> >
> > > $ CFLAGS=-I/usr/include/mysql ./configure --with-sitegroups
> >
> > Looks like the same errors, I'll diff and see if there's any signs of
> > improvement.
>
> I think they'll be different. The error at the end was a direct result
> of the
> LDFLAGS=-/usr/include/mysql
> provided (no option letter present).
Well, they're different but in the end:
checking for library containing mysql_connect... no
configure: error: You need libmysqlclient
> > > $ ./configure --with-sitegroups
> > > work?
> >
> > Nope.
>
> What error does that give (end of config.log)? What platform?
RH 7.0
int main() {
floor()
; return 0; }
configure:2084: gcc -o conftest -g -O2 -I/usr/lib/glib/include
conftest.c -lm
-lz -lcrypt -L/usr/lib -lglib 1>&5
configure:2106: checking for iconv
configure:2124: gcc -o conftest -g -O2 -I/usr/lib/glib/include
conftest.c -lm
-lz -lcrypt -L/usr/lib -lglib 1>&5
configure:2180: checking whether to enable SiteGroups
configure:2205: checking whether to enable PageLinks (experimental)
configure:2240: checking MySQL location
configure:2276: checking Expat location
configure:2320: checking for library containing mysql_connect
configure:2338: gcc -o conftest -g -O2 -I/usr/lib/glib/include
-I/usr/include/mysql -I/usr/include -L/usr/lib/mysql -L/usr/lib
conftest.c -lm -lz -lcrypt -L/usr/lib -lglib 1>&5
/tmp/ccaAc0OD.o: In function `main':
/usr/local/midgard-lib-1.4.1beta1/configure:2334: undefined reference to
`mysql_connect'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2327 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_connect();
int main() {
mysql_connect()
; return 0; }
configure:2360: gcc -o conftest -g -O2 -I/usr/lib/glib/include
-I/usr/include/mysql -I/usr/include -L/usr/lib/mysql -L/usr/lib
conftest.c -lmysqlclient -lm -lz -lcrypt -L/usr/lib -lglib 1>&5
/usr/lib/mysql/libmysqlclient.so: undefined reference to
`[EMAIL PROTECTED]'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2349 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_connect();
int main() {
mysql_connect()
; return 0; }
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]