Re: Need Help Compiling mysql-query-browser on Solaris 10

Alfredo Kengi Kojima <[email protected]>
Newsgroups gmane.comp.db.mysql.mycc
Message-ID <[email protected]>

Hi

What version of MySQL do you have installed? Apparently, mysql_config for
the one you have does not support the --libs_r flag. What you can do to
workaround that is to edit the configure script and replace all
occurrences of --libs_r with --libs. Or upgrade the mysql client libs to a
newer version.

-- 
Alfredo Kojima, GUI Developer
MySQL AB, www.mysql.com
Buenos Aires, Argentina

Are you MySQL certified?  www.mysql.com/certification

On Thu, 30 Jun 2005, Bernard Lineham wrote:

> Thanks for your reply.  Unfortunately sed doesn't appear to be the
> culprit.  I have just installed GNU sed 4.1.4 and configure has provided
> the output below.  Does anyone have any further suggestions?
>
> Note that I am now trying to build version 1.1.12 of the Query Browser
> now that it is available.
>
> -Bernard
>
> ---configure output---
>
> checking for a BSD-compatible install... /opt/sfw/bin/ginstall -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking build system type... i386-pc-solaris2.10
> checking host system type... i386-pc-solaris2.10
> checking for gcc... cc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... no
> checking whether cc accepts -g... yes
> checking for cc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of cc... none
> checking whether we are using the GNU C++ compiler... no
> checking whether CC accepts -g... yes
> checking dependency style of CC... none
> checking for ranlib... ranlib
> checking for pkg-config... /usr/bin/pkg-config
> checking for glib-2.0 libxml-2.0 >= 2.6.2... yes
> checking GLIB_CFLAGS... -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/include/libxml2
> checking GLIB_LIBS... -L/usr/local/lib -lglib-2.0 -lxml2 -lpthread -lz
> -lm -lsocket -lnsl
> checking for gthread-2.0 libxml-2.0 >= 2.6.2... yes
> checking GTHREAD_CFLAGS... -threads -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/include/libxml2
> checking GTHREAD_LIBS... -threads -L/usr/local/lib -lgthread-2.0
> -lglib-2.0 -lxml2 -lpthread -lz -lm -lsocket -lnsl
> checking for gtk+-2.0... yes
> checking GTK_CFLAGS... -I/usr/local/include/gtk-2.0
> -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0
> -I/usr/local/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include
> -I/usr/sfw/include/freetype2 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include
> checking GTK_LIBS... -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0
> -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
> -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
> checking for libglade-2.0 gtkmm-2.0... yes
> checking GNOME_CFLAGS... -I/usr/local/include/gtk-2.0
> -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0
> -I/usr/local/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include
> -I/usr/sfw/include/freetype2 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gtkmm-2.0
> -I/usr/local/lib/gtkmm-2.0/include -I/usr/local/lib/sigc++-1.2/include
> -I/usr/local/include/sigc++-1.2 -I/usr/include/libglade-2.0
> -I/usr/include/libxml2
> checking GNOME_LIBS... -L/usr/local/lib -lglade-2.0 -lxml2 -lpthread -lz
> -lsocket -lnsl -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-x11-2.0
> -lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lgdk-x11-2.0 -latk-1.0
> -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
> -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
> checking for mysql_config... -I'/usr/sfw/include/mysql'
> checking for mysql_config... Usage: /usr/sfw/bin/mysql_config [OPTIONS]
> Options:
>        --cflags         [-I'/usr/sfw/include/mysql']
>        --libs           [-R/usr/sfw/lib -R/usr/sfw/lib/mysql
> -L/usr/sfw/lib -L'/usr/sfw/lib/mysql' -lmysqlclient -lz -lposix4 -lcrypt
> -lgen -lsocket -lnsl -lm]        --socket         [/tmp/mysql.sock]
>        --port           [3306]
>        --version        [4.0.15]
>        --libmysqld-libs [-R/usr/sfw/lib -R/usr/sfw/lib/mysql
> -L/usr/sfw/lib -L'/usr/sfw/lib/mysql' -lmysqld -lpthread -lz -lposix4
> -lcrypt -lgen -lsocket -lnsl -lm  -lpthread  -lrt]
> checking for pcre-config... yes
> checking for pcre-config... -L/opt/sfw/lib -lpcre
> configure: creating ./config.status
> config.status: creating Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library/source/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library_grt/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library_grt/source/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library_grt_modules/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library_grt_modules/source/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library_gc/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library_gc/source/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating source/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating source/grtsh/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating source/linux/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating source/linux/canvas/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating images/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating images/png/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating images/icons/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating images/icons/png/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating res/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating res/linux/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library/tests/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library/tests/read_international/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library/tests/test_detect_charset/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library/tests/test_mysql_api/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library/tests/test_parse_sql_statemets/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library/tests/test_translations/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: creating library/tests/test_xml/Makefile
> sed: file ./confstatbGay3p/subs-2.sed line 40: unterminated `s' command
> config.status: executing depfiles commands
>
>
> On Wed, 2005-06-29 at 01:22, Adam Majer wrote:
>> Bernard Lineham wrote:
>>
>>> Hi,
>>>
>>> I'm trying to compile mysql-query-browser 1.1.11 on Solaris 10. After
>>> satisfying all of the prerequisites I am getting the erroneous output
>>> shown below when running the configure script.
>>>
>>> Could anyone advise me how I might be able to build the query browser on
>>> Solaris 10?
>>>
>>>
>>
>>> config.status: creating Makefile
>>> sed: command garbled: s,@MYSQL_LIBS@,Usage: /usr/sfw/bin/mysql_config
>>> [OPTIONS
>>>
>>>
>>
>> I never had solaris 10, but I think the cause of this is the use of
>> non-GNU sed. I think you need GNU sed (and then GNU make, maybe) for
>> ./configure to work.
>>
>> - Adam
>
>
> -- 
> MySQL GUI Tools Mailing List
> For list archives: http://lists.mysql.com/gui-tools
> To unsubscribe:    http://lists.mysql.com/[email protected]
>

-- 
MySQL GUI Tools Mailing List
For list archives: http://lists.mysql.com/gui-tools
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.