FAQ
Hello,

I'm trying to get mysql++ to work on my iMac (10.2.5).

I've downloaded the static lib sypplied by the site, but I get the following
linker error when using it:

ld: table of contents for archive: /Users/mps/Documents/Webmon/MySQL
test/MySQL++/libsqlplus.a is out of date; rerun ranlib(1) (can't load from
it)

So I attempted to recompile the library from the source. This had lead to
more fun :)

As with mjedwards@mac.com on 2002-02-06, ./configure reports that it can't
determine the host type, so I specified pmac.

When I call make, the following error occurs:

make all-recursive
Making all in sqlplusint
Makefile:213: *** missing separator. Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

What's the story with OSX/Darwin support?

Also, who build the static lib? I can't find any details about it at all.

Thanks for the help

Matt Smith

Search Discussions

  • Sinisa Milivojevic at May 28, 2003 at 10:53 am

    On Wed, 28 May 2003 13:49:14 +1000 Matthew Smith wrote:

    Hello,

    I'm trying to get mysql++ to work on my iMac (10.2.5).

    I've downloaded the static lib sypplied by the site, but I get the
    following linker error when using it:

    ld: table of contents for archive: /Users/mps/Documents/Webmon/MySQL
    test/MySQL++/libsqlplus.a is out of date; rerun ranlib(1) (can't load
    from it)

    So I attempted to recompile the library from the source. This had lead
    to more fun :)

    As with mjedwards@mac.com on 2002-02-06, ./configure reports that it
    can't determine the host type, so I specified pmac.

    When I call make, the following error occurs:

    make all-recursive
    Making all in sqlplusint
    Makefile:213: *** missing separator. Stop.
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2

    What's the story with OSX/Darwin support?

    Also, who build the static lib? I can't find any details about it at
    all.

    Thanks for the help

    Matt Smith
    Actually 1.7.9 should build just fine on latest OS X.

    That binary was provided was users with GCC 2.95.2 and older OS X users which had muck older GNU tools.


    --

    Regards,

    --
    For technical support contracts, go to https://order.mysql.com/?ref=msmi
    __ ___ ___ ____ __
    / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sinisa@mysql.com>
    / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
    /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
    <___/ www.mysql.com
  • Matthew Smith at May 28, 2003 at 11:18 pm

    On 28/5/03 8:54 PM, "Sinisa Milivojevic" wrote:

    Actually 1.7.9 should build just fine on latest OS X.
    Any idea what I am doing wrong or why the config and makefiles are failing??

    Matt
  • Sinisa Milivojevic at May 29, 2003 at 11:29 am

    On Thu, 29 May 2003 09:18:00 +1000 Matthew Smith wrote:


    Any idea what I am doing wrong or why the config and makefiles are
    failing??

    Matt

    Start from a fresh tarball. See that MySQL clinet libs / includes are properly installed.

    Check compiler version and apply necessary patches from MySQL++ page.

    Then run:

    ./configure
    make

    Do not run automake / autoconf as 1.7.9 scripts are quite old.

    --

    Regards,

    --
    For technical support contracts, go to https://order.mysql.com/?ref=msmi
    __ ___ ___ ____ __
    / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sinisa@mysql.com>
    / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
    /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
    <___/ www.mysql.com
  • Matthew Smith at May 30, 2003 at 12:54 am

    On 29/5/03 9:30 PM, "Sinisa Milivojevic" wrote:

    On Thu, 29 May 2003 09:18:00 +1000
    Matthew Smith wrote:

    Any idea what I am doing wrong or why the config and makefiles are
    failing??

    Matt

    Start from a fresh tarball. See that MySQL clinet libs / includes are properly
    installed.
    They would be installed by msql?
    Check compiler version and apply necessary patches from MySQL++ page.
    Then run:

    ./configure
    make

    Do not run automake / autoconf as 1.7.9 scripts are quite old.
    Ahh - That's where I'm going wrong, I'll tell you how I go.

    Thanks

    Matt
  • Matthew Smith at May 30, 2003 at 5:49 am

    On 30/5/03 10:53 AM, "Matthew Smith" wrote:
    On 29/5/03 9:30 PM, "Sinisa Milivojevic" wrote:

    On Thu, 29 May 2003 09:18:00 +1000
    Matthew Smith wrote:

    Any idea what I am doing wrong or why the config and makefiles are
    failing??

    Matt

    Start from a fresh tarball. See that MySQL clinet libs / includes are
    properly
    installed.
    They would be installed by msql?
    Check compiler version and apply necessary patches from MySQL++ page.
    Then run:

    ./configure
    make

    Do not run automake / autoconf as 1.7.9 scripts are quite old.
    Ahh - That's where I'm going wrong, I'll tell you how I go.

    When you mention configure, I take it you mean the configure.1 file...

    I was with specifying the correct host type, but I found better copies of
    config.sub and config.guess on my system and used them...

    I also had to alter the example makefile (I assume that the exeext and
    objext are meant to be environment variables)

    But now I have the example programs running on my system.

    Thanks for the help,

    Matt Smith
  • Sinisa Milivojevic at May 30, 2003 at 11:10 am

    On Fri, 30 May 2003 15:48:43 +1000 Matthew Smith wrote:


    But now I have the example programs running on my system.

    Thanks for the help,

    Matt Smith
    You are welcome.

    --

    Regards,

    --
    For technical support contracts, go to https://order.mysql.com/?ref=msmi
    __ ___ ___ ____ __
    / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sinisa@mysql.com>
    / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
    /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
    <___/ www.mysql.com

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupplusplus @
categoriesmysql
postedMay 28, '03 at 3:49a
activeMay 30, '03 at 11:10a
posts7
users2
websitemysql.com
irc#mysql

People

Translate

site design / logo © 2022 Grokbase