Chris, I made some headway on this today. I've bumped sqlite to the latest stable release on their site. However, that requires a newer version of libtool than is present on my Centos5 build system (at least I believe that's the issue--it works on my Fedora 12 install). The second gotcha is the 0.7 branch is missing a conditional check from the asterisk.mk file (and the include path is slightly different between 0.7 and trunk--too invasive in my opinion to change at this point.
I'm going to take a look at this in the morning, just to make sure everything is sane before I commit it. The patch should be able to be removed when the next 1.6.2.x release comes out. (which will probably be about 10 minutes after I commit the patch). In either case, we should move the rest of this discussion to the -devel list because it's really a devel type question. Darrick On 04/13/2010 03:44 PM, Chris Abnett wrote: > Ok this has gotten to be a real pain! > > I figured I need it to be SQLite3 in my configure statement so now > asterisk will try and build.. However SQLite in the normal chain builds > Aftewr Asterisk.. and I cannot seem to delete enough files to completely > get rid of asterisk builds to try and start the build without completely > deleting my build and toolchain build dirs.. I always get hung by the > compiler stating files exist.. > > How can the order of the builds be changed such that SQLite runs before > the Asterisk build? > > What part of astlinux controls the build order? > > Is it how they are listed in the .config file? > > -Christopher > > *From:* Chris Abnett [mailto:[email protected]] > *Sent:* Tuesday, April 13, 2010 2:37 PM > *To:* 'AstLinux Users Mailing List' > *Subject:* Trying to compile SQlite into asterisk 1.6.2.6 > > Hey there guys, im trying to compile SQLite into 0.7 and having some issues… > > 1] I added –with-sqlite into the asterisk.mk file… this is seen and > picked up by the configure script > > 2] when I tried to build it appeared asterisk built before the SQLite.. > so I pulled out the with-sqlite ran the build… deleted the asterisk > build directory, and re-ran > > Still no joy.. I always get the error below… > > Any ideas to help me? Im trying to do CDR to SQLite is my goal.. > > -Christopher > > Package gtk+-2.0 was not found in the pkg-config search path. > > Perhaps you should add the directory containing `gtk+-2.0.pc' > > to the PKG_CONFIG_PATH environment variable > > No package 'gtk+-2.0' found > > checking for gawk... (cached) gawk > > checking for curl-config... > /usr/src/0.7/build_i586/staging_dir/usr/bin/curl-config > > checking for the version of libcurl... 7.19.5 > > checking for libcurl >= version 7.10.1... yes > > checking whether libcurl is usable... yes > > checking for curl_free... yes > > checking for mandatory modules: CURL DAHDI LTDL SQLITE TONEZONE... fail > > configure: *** > > configure: *** The SQLITE installation appears to be missing or broken. > > configure: *** Either correct the installation, or run configure > > configure: *** including --without-sqlite. > > make: *** [/usr/src/0.7/build_i586/asterisk-1.6.2.6/.configured] Error 1 > > Script done, file is build.log_ > > real 0m50.645s > > user 0m35.487s > > sys 0m13.899s > > [cadillac...@develserver 0.7]$ > > Above this was the following I could find in the copmpiler output > related to SQLite > > checking for sqlite_exec in -lsqlite... no > > checking for sqlite3_open in -lsqlite3... yes > > checking sqlite3.h usability... no > > checking sqlite3.h presence... no > > checking for sqlite3.h... no > > looks like some files aren’t where they are supposed to be perhaps? > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > > _______________________________________________ > Astlinux-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > [email protected]. -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [email protected].
