NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: HELP! problems when building mysql in NetBSD 6



Hello,

On Nov 25, 2012, at 8:26 AM, Sad Clouds wrote:

On Sat, 24 Nov 2012 20:47:05 -0500 (EST)

Hello,

I can't build mysql51-client on NetBSD 6 on port Amiga. I need to
make this work just to keep my business going is there anyone out
there who has a solution for me.

This is the error that I get:

checking libedit variant of rl_completion_entry_function... no
checking defined rl_compentry_func_t and rl_completion_func_t... no
checking HIST_ENTRY is declared in readline/readline.h...
configure: error: Could not find system readline or libedit libraries
               Use --with-readline or --with-libedit to use the
bundled versions of libedit or readline
*** Error code 1

In your pkgsrc object directory there should be config.log file. Have a
look at that file to see what error messages you get

Thank you for your help. I have taken a look at this. A lot of info in config.log. 

I have grep'ed out readline:

cat databases/mysql51-client/work/mysql-5.1.65/config.log | grep readline
  $ ./configure --with-ssl=/usr --enable-thread-safe-client --localstatedir=/var/mysql --without-libwrap --without-readline --without-libedit --disable-dependency-tracking --without-debug --with-low-memory --with-zlib-dir=/usr --with-charset=latin1 --with-extra-charsets=all --without-extra-tools --without-server --prefix=/usr/local --build=m68k--netbsdelf --host=m68k--netbsdelf --infodir=/usr/local/info --mandir=/usr/local/man
|               #include "readline/readline.h"
|               #include "readline/readline.h"
configure:31914: checking HIST_ENTRY is declared in readline/readline.h
|               #include "readline/readline.h"
configure:31971: error: Could not find system readline or libedit libraries
              Use --with-readline or --with-libedit to use the bundled
              versions of libedit or readline
CONF_COMMAND='./configure  '\''--with-ssl=/usr'\'' '\''--enable-thread-safe-client'\'' '\''--localstatedir=/var/mysql'\'' '\''--without-libwrap'\'' '\''--without-readline'\'' '\''--without-libedit'\'' '\''--disable-dependency-tracking'\'' '\''--without-debug'\'' '\''--with-low-memory'\'' '\''--with-zlib-dir=/usr'\'' '\''--with-charset=latin1'\'' '\''--with-extra-charsets=all'\'' '\''--without-extra-tools'\'' '\''--without-server'\'' '\''--prefix=/usr/local'\'' '\''--build=m68k--netbsdelf'\'' '\''--host=m68k--netbsdelf'\'' '\''--infodir=/usr/local/info'\'' '\''--mandir=/usr/local/man'\'' '\''build_alias=m68k--netbsdelf'\'' '\''host_alias=m68k--netbsdelf'\'' '\''CC=gcc'\'' '\''CFLAGS=-Os -m68060 -O2 -DUSE_OLD_FUNCTIONS -fPIC -DPIC -I/usr/include'\'' '\''LDFLAGS=-Wl,-R/usr/local/lib/mysql -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/local/lib'\'' '\''LIBS='\'' '\''CPPFLAGS=-Dunix -I/usr/include'\'' '\''CXX=c++'\'' '\''CXXFLAGS=-Os -m68060 -O2 -DUSE_OLD_FUNCTIONS -fPIC -DPIC -I/usr/include -fPIC -DPIC'\'''
readline_basedir=''
readline_dir=''
readline_h_ln_cmd=''
readline_link=''
readline_topdir=''

What it looks like to me is that the path to readline is not being set at all in the configuration. Is there a way that I can manually tell it where readline is?

Thanks,
Al


Home | Main Index | Thread Index | Old Index