FAQ
Hi everyone,

Iḿ new on this list, so please forgive me if i'm asking something already
discussed. (Found nothing in the archives, though)

For this project we're doing, we try to build qt 4.0.1 with embedded
mysql-support. The qt-part is no problem, but mysql 5.0.15 won't let me build
a shared library for libmysqld. Very strange.

According to the documentation, I have to give:

./configure --with-embedded-server --enable-shared=yes

but no lib is being build... make even errors on the libmysqld/examples
directory ('no rules to make target')

I even tried (In my despair) a line like :

./configure --with-embedded-server --enable-shared=yes --enable-static=no

but this gives me an error also:

then mv -f ".deps/liboptions_a-priv.Tpo" ".deps/liboptions_a-priv.Po"; else rm
-f ".deps/liboptions_a-priv.Tpo"; exit 1; fi
make[3]: *** No rule to make target `../../libmysql/get_password.o', needed by
`liboptions.a'. Stop.
make[3]: Leaving directory
`/home/pgroen/projects/mysql-5.0.15/server-tools/instance-manager'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pgroen/projects/mysql-5.0.15/server-tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pgroen/projects/mysql-5.0.15'
make: *** [all] Error 2


I'm quite desperate at the moment because our first demo is due next week....

What am I doing wrong?

Regards,

Peter

Search Discussions

  • Bruce Martin at Nov 10, 2005 at 10:44 am
    Check out this link:
    <http://dev.mysql.com/doc/refman/5.0/en/building-clients.html>

    I was having a similar problem, but after I did what this page said it
    worked.

    On Nov 10, 2005, at 5:24 AM, Peter M. Groen wrote:

    Hi everyone,

    Iḿ new on this list, so please forgive me if i'm asking something
    already
    discussed. (Found nothing in the archives, though)

    For this project we're doing, we try to build qt 4.0.1 with embedded
    mysql-support. The qt-part is no problem, but mysql 5.0.15 won't let
    me build
    a shared library for libmysqld. Very strange.

    According to the documentation, I have to give:

    ./configure --with-embedded-server --enable-shared=yes

    but no lib is being build... make even errors on the libmysqld/examples
    directory ('no rules to make target')

    I even tried (In my despair) a line like :

    ./configure --with-embedded-server --enable-shared=yes
    --enable-static=no

    but this gives me an error also:

    then mv -f ".deps/liboptions_a-priv.Tpo" ".deps/liboptions_a-priv.Po";
    else rm
    -f ".deps/liboptions_a-priv.Tpo"; exit 1; fi
    make[3]: *** No rule to make target `../../libmysql/get_password.o',
    needed by
    `liboptions.a'. Stop.
    make[3]: Leaving directory
    `/home/pgroen/projects/mysql-5.0.15/server-tools/instance-manager'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory
    `/home/pgroen/projects/mysql-5.0.15/server-tools'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/pgroen/projects/mysql-5.0.15'
    make: *** [all] Error 2


    I'm quite desperate at the moment because our first demo is due next
    week....

    What am I doing wrong?

    Regards,

    Peter

    --
    MySQL General Mailing List
    For list archives: http://lists.mysql.com/mysql
    To unsubscribe: http://lists.mysql.com/mysql?unsub=bmartin@mac.com
    Bruce Martin
    The Martin Solution
    PO Box 644
    Delaware Water Gap, PA
    (570) 421-0670
    bruce@martinsolution.com
  • Peter M. Groen at Nov 10, 2005 at 10:48 am
    Hi,

    I'm not building a client, I'm trying to build the library itself.
    If that's what you mean, I afraid I'm missing the point..

    Could you be more specific?

    Thanx,

    Peter
    On Thursday 10 November 2005 11:45, Bruce Martin wrote:
    Check out this link:
    <http://dev.mysql.com/doc/refman/5.0/en/building-clients.html>

    I was having a similar problem, but after I did what this page said it
    worked.
    On Nov 10, 2005, at 5:24 AM, Peter M. Groen wrote:
    Hi everyone,

    Iḿ new on this list, so please forgive me if i'm asking something
    already
    discussed. (Found nothing in the archives, though)

    For this project we're doing, we try to build qt 4.0.1 with embedded
    mysql-support. The qt-part is no problem, but mysql 5.0.15 won't let
    me build
    a shared library for libmysqld. Very strange.

    According to the documentation, I have to give:

    ./configure --with-embedded-server --enable-shared=yes

    but no lib is being build... make even errors on the libmysqld/examples
    directory ('no rules to make target')

    I even tried (In my despair) a line like :

    ./configure --with-embedded-server --enable-shared=yes
    --enable-static=no

    but this gives me an error also:

    then mv -f ".deps/liboptions_a-priv.Tpo" ".deps/liboptions_a-priv.Po";
    else rm
    -f ".deps/liboptions_a-priv.Tpo"; exit 1; fi
    make[3]: *** No rule to make target `../../libmysql/get_password.o',
    needed by
    `liboptions.a'. Stop.
    make[3]: Leaving directory
    `/home/pgroen/projects/mysql-5.0.15/server-tools/instance-manager'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory
    `/home/pgroen/projects/mysql-5.0.15/server-tools'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/pgroen/projects/mysql-5.0.15'
    make: *** [all] Error 2


    I'm quite desperate at the moment because our first demo is due next
    week....

    What am I doing wrong?

    Regards,

    Peter

    --
    MySQL General Mailing List
    For list archives: http://lists.mysql.com/mysql
    To unsubscribe: http://lists.mysql.com/mysql?unsub=bmartin@mac.com
    Bruce Martin
    The Martin Solution
    PO Box 644
    Delaware Water Gap, PA
    (570) 421-0670
    bruce@martinsolution.com

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmysql @
categoriesmysql
postedNov 10, '05 at 10:23a
activeNov 10, '05 at 10:48a
posts3
users2
websitemysql.com
irc#mysql

2 users in discussion

Peter M. Groen: 2 posts Bruce Martin: 1 post

People

Translate

site design / logo © 2022 Grokbase