I finally figured out what was wrong with my sqlbox configure on mac os x.
Had to dig around in the configure log.  The test for whether gwlib works
tries to compile a little test program that links to it.  The test build was
failing, complaining that it couldn't link to gwlib.a because its table of
contents "is out of date; rerun ranlib(1) (can't load from it)".  So I did

>     sudo ranlib /usr/local/lib/kannel/*.a
>
and now the configure works fine.  :)

Don't know what happened to the libs to make them goof up like that...


On Oct 23, 2007 10:09 PM, Alejandro Guerrieri <[EMAIL PROTECTED]>
wrote:

> I've built on Mac OSX 10.4 with no problems before.
>
> Check the configure script output, where is it searching for the libs?
>
> Running ./configure --help should print the available switches.
>
> Regards,
>
> Alejandro
>
>
> On 10/23/07, Aaron Simmons <[EMAIL PROTECTED]> wrote:
> >
> > I did install kannel.  I rebuilt it for mysql and did 'sudo make
> > install' on it before starting on sqlbox.  I checked and the built kannel
> > libs are installed to where they're supposed to be.
> >
> > Perhaps on the mac the libs are being put somewhere different than
> > normal and the sqlbox configure isn't taking that into account.  How do you
> > tell the configure script to look in a specific place for the kannel libs?
> >
> > On 10/23/07, Alejandro Guerrieri < [EMAIL PROTECTED]> wrote:
> > >
> > > It happened to me before. sqlbox looks for gwlib on it's _installed_
> > > location. If you have installed kannel on that machine, you shouldn't have
> > > any problems, otherwise you'll have to point the configure script to an
> > > alternate gwlib path.
> > >
> > > Hope it helps,
> > >
> > > Alejandro
> > >
> > > On 10/22/07, info.ubichip < [EMAIL PROTECTED]> wrote:
> > > >
> > > >  Hi,
> > > >
> > > >
> > > >
> > > > If the « configure » process is not finding the path of kannel, you
> > > > have to tell it with options like you build kannel before.
> > > >
> > > >
> > > >
> > > > Hope that helps
> > > >
> > > >
> > > >  ------------------------------
> > > >
> > > > *From:* Aaron Simmons [mailto:[EMAIL PROTECTED]
> > > > *Sent:* lundi 22 octobre 2007 06:35
> > > > *To:* [email protected]
> > > > *Subject:* building sqlbox
> > > >
> > > >
> > > >
> > > > I've re-built kannel 1.4.1 by doing a configure with these options
> > > >
> > > > --with-mysql --with-mysql-dir=/usr/local/mysql --with-dlr=mysql
> > > > --enable-mysql-dlr --enable-start-stop-daemon
> > > >
> > > > followed by a make and a 'sudo make install'.
> > > >
> > > >
> > > >
> > > > Now I'm trying to build sqlbox-standalone. However, the configure is
> > > > failing on:
> > > >
> > > >
> > > >
> > > >  checking Kannel version... 1.4.1
> > > >
> > > > checking Kannel libs... *-L/usr/local/lib/kannel *-lgw -lwap -lgwlib
> > > > -lssl -lresolv -lm -lpthread -liconv -L/sw/lib
> > > >
> > > >  -lxml2 -lz -lpthread -L/sw/lib -liconv -lm -L/usr/lib -lcrypto
> > > > -lssl -L/usr/local/mysql/lib -lmysqlclient_r -lz -lm
> > > >
> > > > checking Kannel includes... -I/usr/local/include/kannel -g -O2
> > > > -DDARWIN=1
> > > >
> > > >  -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib
> > > > -I/Developer/SDKs/MacOSX10.4u.sdk/usr/include
> > > >
> > > >  -I/sw/include/libxml2 -I/sw/include -I/usr/include/openssl
> > > > -I/usr/local/mysql/include
> > > >
> > > > **checking for cfg_create in -lgwlib... no**
> > > >
> > > > **configure: error: Kannel gwlib is required!**
> > > >
> > > >
> > > >
> > > > The kannel libs are available at the location configure thinks they
> > > > are. Further, I checked using 'nm' and "cfg_create" is in libgwlib.a.
> > > > I don't understand what the problem is.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > aaron
> > > >
> > > >
> > > > ------------------------------
> > > >
> > > > Antivirus avast! <http://www.avast.com>: message Sortant sain.
> > > >
> > > > Base de donnees virale (VPS) : 000783-0, 21/10/2007
> > > > Analyse le : 22/10/2007 09:08:38
> > > > avast! - copyright (c) 1988-2007 ALWIL Software.
> > > >
> > > >
> > >
> > >
> > > --
> > > Alejandro Guerrieri
> > > Magicom
> > > http://www.magicom-bcn.net/
> > > LinkedIn: http://www.linkedin.com/in/aguerrieri
> >
> >
> >
>
>
> --
> Alejandro Guerrieri
> Magicom
> http://www.magicom-bcn.net/
> LinkedIn: http://www.linkedin.com/in/aguerrieri
>

Reply via email to