dbTalk Databases Forums  

2.1.1 Does not build static library

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss 2.1.1 Does not build static library in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
kal
 
Posts: n/a

Default 2.1.1 Does not build static library - 04-07-2006 , 08:35 AM






Hello,

RHEL 4, gcc 3.4.3

MySQL-server-standard-5.0.19 installed
MySQL-client-standard-5.0.19 installed
MySQL-devel-standard-5.0.19 installed

With version 2.0.7 I was able to build the static library. I could not build
the static library with 2.1.1.

I configured as so...

../configure --enable-static --enable-thread-check

What happened?

Regards,
Kal



--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw


Reply With Quote
  #2  
Old   
Warren Young
 
Posts: n/a

Default Re: 2.1.1 Does not build static library - 04-07-2006 , 04:33 PM






kal wrote:
Quote:
With version 2.0.7 I was able to build the static library. I could not build
the static library with 2.1.1.

I configured as so...

./configure --enable-static --enable-thread-check

What happened?
Bakefile happened. There is no way to communicate this request from the
configure script into the Bakefile-generated Makefiles, since they're
generated before you run the configure script. Here's the chain:

lib.bkl ->
bakefile generates Makefile.in ->
configure converts that to Makefile

When automake created the Makefile.in from Makefile.am, it added hooks
that autoconf could use to select this at configure time. Bakefile
doesn't allow that.

The expedient way to fix this is to install bakefile, then change the
'dll' tag in lib/lib.bkl to 'lib' and run the bootstrap script. Since
you want threading, you'd say:

./bootstrap --enable-thread-check

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #3  
Old   
Kal
 
Posts: n/a

Default Re: 2.1.1 Does not build static library - 04-09-2006 , 08:48 PM



Warren,

Thank you for your response.

Regards,
Kal

"Warren Young" <mysqlpp (AT) etr-usa (DOT) com> wrote

Quote:
kal wrote:

With version 2.0.7 I was able to build the static library. I could not
build
the static library with 2.1.1.

I configured as so...

./configure --enable-static --enable-thread-check

What happened?

Bakefile happened. There is no way to communicate this request from the
configure script into the Bakefile-generated Makefiles, since they're
generated before you run the configure script. Here's the chain:

lib.bkl -
bakefile generates Makefile.in -
configure converts that to Makefile

When automake created the Makefile.in from Makefile.am, it added hooks
that autoconf could use to select this at configure time. Bakefile
doesn't allow that.

The expedient way to fix this is to install bakefile, then change the
'dll' tag in lib/lib.bkl to 'lib' and run the bootstrap script. Since
you want threading, you'd say:

./bootstrap --enable-thread-check


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.