On 09/23/2010 12:03 AM, Bruce Dubbs wrote:
> DJ Lucas wrote:
>> On 09/22/2010 08:33 PM, DJ Lucas wrote:
>>> Anybody tried DB5 in place of SQLite3?
>>>
>>> Assuming it works as advertised, any suggestions on how to handle it in
>>> the book?
>>
>> Alright...sorry for all the noise. I'm done after this.
>>
>> cd build_unix &&
>> ../dist/configure --prefix=/usr \
>> --enable-compat185 \
>> --enable-cxx \
>> --enable-java \
>> --enable-tcl \
>> --enable-sql_compat \
>> --with-tcl=/usr/lib &&
>> make &&
>> make docdir=/usr/share/doc/${dir} install &&
>> ln -s dbsql.h /usr/include/sqlite3.h &&
>> touch /usr/include/sqlite3.h &&
>> chown -v -R root:root \
>> /usr/bin/db_* \
>> /usr/include/{sqlite3,db{,_185,_cxx}}.h \
>> /usr/lib/libdb{{,_cxx}.a,{,_cxx,_java,_tcl}-5.1.{so,a,la}} \
>> /usr/share/doc/${dir}
>
> Hmm. Shouldn't java be optional?
Yeah, but those were the commands that I used (minus the symlink that I
inadvertantly left above). :-) Even got the book diff just about ready
to go while waiting a few hours for the test suite to complete (run time
and size are considerably different when testing all optional bindings),
and cleaned up the chown commands for each optional component. I won't
be committing it for at least a couple of weeks of testing (assuming all
goes well with my shiny new LFS-6.7).
-- DJ Lucas
--
This message has been scanned for viruses and
dangerous content, and is believed to be clean.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page