#3175: Berkeley DB-5.1.19
-------------------------------------+--------------------------------------
Reporter: d...@… | Owner: d...@…
Type: task | Status: assigned
Priority: normal | Milestone: future
Component: BOOK | Version: SVN
Severity: normal | Keywords:
-------------------------------------+--------------------------------------
Comment(by ra...@…):
If you add the --enable-jdbc option to build the sqlite.jar file,
you should add this sed or the file ends up in non-standard /usr/jar
directory:
{{{
sed -i 's|prefix/jar|prefix/share/java|' ../dist/configure
}}}
There are also a few more files that need to be chowned to root:root.
The docdir thing on the install line is still required. I used the
following configure command:
{{{
../dist/configure --prefix=/usr \
--enable-compat185 \
--enable-cxx \
--enable-java \
--enable-sql \
--enable-jdbc \
--enable-stl \
--enable-tcl \
--with-tcl=/usr/lib
}}}
The following chown command seems to catch all the files:
{{{
chown -v -R root:root /usr/bin/dbsql \
/usr/bin/db_* \
/usr/include/db{,_185,_cxx,stl_*}.h \
/usr/lib/libdb{{,_cxx,_sql,_tcl,_stl}.a,{,_cxx,_java,_tcl,_sql,_stl}-5.1.{so,a,la}}
\
destdir/usr/share/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/3175#comment:3>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page