I'm having trouble building the mysql323-server port (3.23.36/7). I am
running Freebsd 3.5 on an i386.
The build breaks during the sql/share/Makefile with the following error:

/bin/sh ../libtool --mode=link c++  -DDBUG_OFF -O -pipe
-felide-constructors -fno-rtti  -fno-implicit-templates
-DMYSQLD_NET_RETRY_COUNT=1000000  -o mysqld  sql_lex.o item.o item_sum.o
item_buff.o item_func.o  item_cmpfunc.o item_strfunc.o item_timefunc.o
thr_malloc.o  item_create.o field.o key.o sql_class.o sql_list.o
net_serv.o violite.o  net_pkg.o lock.o my_lock.o sql_string.o
sql_manager.o sql_map.o  mysqld.o password.o hash_filo.o hostname.o
convert.o sql_parse.o  sql_yacc.o sql_base.o table.o sql_select.o
sql_insert.o sql_update.o  sql_delete.o procedure.o item_uniq.o
sql_test.o log.o init.o derror.o  sql_acl.o unireg.o time.o opt_range.o
opt_sum.o opt_ft.o records.o  filesort.o handler.o ha_isam.o
ha_isammrg.o ha_heap.o ha_myisam.o  ha_myisammrg.o ha_berkeley.o
ha_innobase.o ha_gemini.o sql_db.o  sql_table.o sql_rename.o sql_crypt.o
sql_load.o mf_iocache.o  field_conv.o sql_show.o sql_udf.o sql_analyse.o
sql_cache.o slave.o  sql_repl.o md5.o log_event.o mini_client.o
mini_client_errors.o -L../bdb/build_unix -ldb
../isam/libnisam.a                       ../merge/libmerge.a
../myisam/libmyisam.a                   ../myisammrg/libmyisammrg.a
../heap/libheap.a                       ../mysys/libmysys.a
../dbug/libdbug.a                   ../regex/libregex.a
../strings/libmystrings.a   -Lyes/lib -lwrap -lz -lcrypt -lm  -pthread
cd: can't cd to yes/lib
libtool: link: warning: cannot determine absolute directory name of
`yes/lib'
libtool: link: passing it literally to the linker, although it might
fail
c++ -DDBUG_OFF -O -pipe -felide-constructors -fno-rtti
-fno-implicit-templates -DMYSQLD_NET_RETRY_COUNT=1000000 -o mysqld
sql_lex.o item.o item_sum.o item_buff.o item_func.o item_cmpfunc.o
item_strfunc.o item_timefunc.o thr_malloc.o item_create.o field.o key.o
sql_class.o sql_list.o net_serv.o violite.o net_pkg.o lock.o my_lock.o
sql_string.o sql_manager.o sql_map.o mysqld.o password.o hash_filo.o
hostname.o convert.o sql_parse.o sql_yacc.o sql_base.o table.o
sql_select.o sql_insert.o sql_update.o sql_delete.o procedure.o
item_uniq.o sql_test.o log.o init.o derror.o sql_acl.o unireg.o time.o
opt_range.o opt_sum.o opt_ft.o records.o filesort.o handler.o ha_isam.o
ha_isammrg.o ha_heap.o ha_myisam.o ha_myisammrg.o ha_berkeley.o
ha_innobase.o ha_gemini.o sql_db.o sql_table.o sql_rename.o sql_crypt.o
sql_load.o mf_iocache.o field_conv.o sql_show.o sql_udf.o sql_analyse.o
sql_cache.o slave.o sql_repl.o md5.o log_event.o mini_client.o
mini_client_errors.o -L../bdb/build_unix -ldb ../isam/libnisam.a
../merge/libmerge.a ../myisam/libmyisam.a ../myisammrg/libmyisammrg.a
../heap/libheap.a ../mysys/libmysys.a ../dbug/libdbug.a
../regex/libregex.a ../strings/libmystrings.a -Lyes/lib -lwrap -lz
-lcrypt -lm -pthread
hostname.o: In function `ip_to_hostname(in_addr *, unsigned int *)':
hostname.o(.text+0x52b): undefined reference to `my_gethostbyname_r'
*** Error code 1

Stop.

I managed to fix the 'yes/lib' error? (which relates to the wrapping
using tcp wrappers):

cd: can't cd to yes/lib

by adding --with-libwrap=/usr to the CONFIGURE_ARGS of the port, but the
build still breaks with the hostname error:
hostname.o: In function `ip_to_hostname(in_addr *, unsigned int *)':
hostname.o(.text+0x52b): undefined reference to `my_gethostbyname_r'

Have you experienced this, and if so, do you know how to fix it?

Any help you could give me would be HUGELY appreciated.

.hasta luego

scott.Dukes [[EMAIL PROTECTED]]
blue.Kryptonite [http://blue.Kryptonite.co.za/]
:s 161 Tenth Ave, Morningside, Durban
:a Postnet Suite 399, Private Bag X10, Musgrave, 4062, South Africa
:p +27 31 312 1122
:f +27 31 303 8722
:c +27 83 661 3880




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to