Nicolas:

Following this thread, it seems that there are a lot of build problems
with SQLite3.  I wanted to share the attached spec-file that we were
previously using to build this module.  We didn't seem to have any
build problems.  I'm not sure if this addresses the problems you have
highlighted - perhaps we were building it with RUNPATH issues, etc. and
just didn't notice them?

The way the spec files work is as follows:

We build the SUNWsqlite3.spec, and this includes the sqlite.spec file.

To build, the %prep section in the SUNWsqlite3.spec file is executed,
and this pretty much just runs the %prep section in the sqlite.spec.
Then the %build section of the SUNWsqlite3.spec file is executed, and
after setting up some environment variables, the %build section of the
sqlite.spec file is called where we actually run configure and make.
Lastly, the %install section of the SUNWsqlite3.spec file is executed,
and this just runs the %install section of the sqlite3.spec file.
So you should be able to follow this and check if you are building
the same way.  If you are not doing certain steps, or setting
environment variables the same, then this could perhaps be the problem?

Also, you might consider trying to use our build system to build
this module, if you find it works better.  I know SWF has a different
build system, but perhaps it might make sense to converge more here?
Not sure.  At any rate, if you want to build using these spec files
directly, instructions are here:

  http://opensolaris.org/os/project/jds/contributing/building/

Basically you would need to set up the CBE (binaries are available
at the above URL), and get the spec-files module from SVN, and
build using the SUNWsqlite3.spec file you will find there (the
same as the ones I've attached)

Not sure if this helps, but it might be worth looking over.

Brian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SUNWsqlite3.spec
URL: 
<http://mail.opensolaris.org/pipermail/sfwnv-discuss/attachments/20080227/f2365e4c/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sqlite.spec
URL: 
<http://mail.opensolaris.org/pipermail/sfwnv-discuss/attachments/20080227/f2365e4c/attachment-0001.ksh>

Reply via email to