List:Packagers« Previous MessageNext Message »
From:Warly Date:March 3 2003 8:40pm
Subject:Re: [packagers] MySQL 4.0.11 is released
View as plain text  
Lenz Grimmer <lenz@stripped> writes:

> Hi,
>
> On Mon, 3 Mar 2003, Warly wrote:
>
>> I have to apply this patch to make it compile with --openssl option
>>
>> --- mysql-4.0.11a-gamma/vio/Makefile.am.my_net  2003-03-02 08:19:06.000000000
> +0100
>> +++ mysql-4.0.11a-gamma/vio/Makefile.am 2003-03-02 08:19:39.000000000 +0100
>> @@ -16,6 +16,7 @@
>>
>>  INCLUDES =             -I$(srcdir)/../include -I../include $(openssl_includes)
>>  LDADD =                        @CLIENT_EXTRA_LDFLAGS@ libvio.a $(openssl_libs)
>> +LIBS =                 @LIBS@ ../libmysql/.libs/libmysqlclient.so
>>  pkglib_LIBRARIES =     libvio.a
>>  noinst_PROGRAMS        =       test-ssl test-sslserver test-sslclient
>>  noinst_HEADERS =
>
> Thanks for the hint! Would you mind telling me the full "configure" line
> you are using and what the exact error message is you get? Thanks!

Configure:

/configure i586-mandrake-linux-gnu 
--prefix=/usr 
--exec-prefix=/usr 
--bindir=/usr/bin 
--sbindir=/usr/sbin 
--sysconfdir=/etc 
--datadir=/usr/share 
--includedir=/usr/include 
--libdir=/usr/lib 
--libexecdir=/usr/lib 
--localstatedir=/var/lib 
--sharedstatedir=/usr/com 
--mandir=/usr/share/man 
--infodir=/usr/share/info 
--enable-shared 
--with-berkeley-db 
--with-innodb 
--with-openssl 
'--with-server-suffix='\''-Max'\''' 
--enable-assembler 
--enable-local-infile 
--with-mysqld-user=mysql 
--with-unix-socket-path=/var/lib/mysql/mysql.sock 
--prefix=/ 
--libdir=/usr/lib 
--with-extra-charsets=complex 
--exec-prefix=/usr 
--libexecdir=/usr/sbin 
--sysconfdir=/etc 
--datadir=/usr/share 
--localstatedir=/var/lib/mysql 
--infodir=/usr/share/info 
--includedir=/usr/include 
--mandir=/usr/share/man --program-prefix=

Error:

/bin/sh ../libtool --mode=link i586-mandrake-linux-gnu-gcc  -O3 -DDBUG_OFF -O2
-fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -fno-omit-frame-pointer
-DHAVE_ERR\
NO_AS_DEFINE  -rdynamic  -o test-ssl  test-ssl.o ../dbug/libdbug.a libvio.a
../mysys/libmysys.a                         ../strings/libmystrings.a libvio.a -L/usr/lib
-ls\
sl -lcrypto -lpthread -lz -lcrypt -lnsl -lm  -lpthread  
mkdir .libs 
i586-mandrake-linux-gnu-gcc -O3 -DDBUG_OFF -O2 -fomit-frame-pointer -pipe -march=i586
-mcpu=pentiumpro -fno-omit-frame-pointer -DHAVE_ERRNO_AS_DEFINE -rdynamic -o test-s\
sl test-ssl.o  ../dbug/libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a libvio.a
-L/usr/lib -lssl -lcrypto -lz -lcrypt -lnsl -lm -lpthread 
libvio.a(viosocket.o)(.text+0x376): In function `vio_peer_addr': 
: undefined reference to `my_inet_ntoa' 
collect2: ld returned 1 exit status 
make[2]: *** [test-ssl] Error 1 
make[2]: *** Waiting for unfinished jobs.... 
make[2]: *** Waiting for unfinished jobs.... 
make[2]: Leaving directory `/home/warly/rpm/BUILD/mysql-4.0.11a-gamma/vio' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/home/warly/rpm/BUILD/mysql-4.0.11a-gamma' 
make: *** [all-recursive-am] Error 2 
error: Bad exit status from /home/warly/rpm/tmp/rpm-tmp.13625 (%build) 



-- 
Warly
Thread