on  
Apache Lounge
Webmasters & Programmers Home

 


Forum Index Downloads Contact
Search Forum Register Log in
 RSS Feed Apache Lounge



Register.com New Year Banners


Keep Server Online

The Apachelounge is not funded by anyone other than me (Steffen).

If you find the Apache Lounge, the downloads and overall help usefull, please express your satisfaction with a donation.

A donation makes a contribution towards the costs, the time and effort that's going in to running this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well.

apr_dbd_u_name_it

 
Post new topic   Reply to topic    Apache Forum Index -> Apache Building and Programming
View previous topic :: View next topic  
Author Message
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 849
Location: Close enough to Baja to empty the cupboards

PostPosted: Mon 28 Jul '08 17:26    Post subject: apr_dbd_u_name_it Reply with quote

I believe these are your's Tom and I did not see anything in Docs (though I may have missed) explaining this;


-------------------Configuration: BuildBin - Win32 Release--------------------
..
-----
apr_dbd drivers will not build unless DBD_LIST is set to the list
of all the client modules available in the LIB and INCLUDE path.


Care to explain or point me to some place that does explain?

Thanks
Gregg


Last edited by glsmith on Wed 30 Jul '08 4:21; edited 1 time in total
Back to top
View user's profile Visit poster's website
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 586
Location: Milford, MA, USA

PostPosted: Wed 30 Jul '08 2:29    Post subject: Reply with quote

The DBD drivers are not all mine - although I did contribute the ODBC driver.

The APR included with Apache 2.2.9 will not build DBD drivers correctly, but you can replace it with APR 1.3.2 and build the DBD drivers (like Steffen does).
The ODBC driver will always get built with APR 1.3.2 on Windows. It does not need any DBD_LIST, nor any extra header files or libraries.

If you want to build some of the other DBD drivers too:
    * Add the database's header directory to your INCLUDE environment variable, and its library directory to your LIB environment variable.

    * Pass the space-separated list of drivers as DBD_LIST="..." to NMAKE for a command-line build.
For example, for four DBD drivers - ODBC, SQLite3, MySQL, and PostgreSQL:
Code:
SET INCLUDE=%INCLUDE%;C:\sqlite3;C:\MySQL\include;;C:\Program Files\PostgreSQL\8.3\include
SET LIB=%LIB%;C:\sqlite3;C:\MySQL\lib;;C:\Program Files\PostgreSQL\8.3\lib
NMAKE -f Makefile.win   INSTDIR=\Apache2   DBD_LIST="sqlite3 mysql pgsql"   installr

Hope this helps.

-tom-
Back to top
View user's profile
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 849
Location: Close enough to Baja to empty the cupboards

PostPosted: Wed 30 Jul '08 4:17    Post subject: Reply with quote

That happened to be SVN 2.2.10-dev with trunk APR.

I'll I shall follow these instruction (probably not till the weekend however) and leave word here after how it went.

Thanks as always
Gregg
Back to top
View user's profile Visit poster's website

Post new topic   Reply to topic    Apache Forum Index -> Apache Building and Programming
Page 1 of 1