On Tue, Sep 29, 2009 at 3:56 PM, Norbert Sendetzky <norb...@linuxnetworks.de
> wrote:

> Hi Mariano
>
> > Actually I want to create a new section under  2. Setup OpenDBX  for Mac,
> > because there are some problems sometimes. For example, compiling
> odbx-sql
> > (the same problem as windows). So I want to add a note saying to use the
> > --disable-utils. I don't see the "edit" option in that page. Can you do
> it
> > for me and then I put there my notes?
>
> Done.
>
>
Thanks!!!



> > In addition, I think than enable utils is something extra to OpenDBX. In
> my
> > opinion would be better to have the minimal core of OpenDBX by default.
> And
> > then, if you want to enable something, you explicitly do it. So, I would
> > disable utils by default for OpenDBX. And we have problems in mac and
> > windows with that and it is not even documented in OpenDBX webpage.
>
> I'm unsure about this. You have some valid points but documentation about
> the
> utilties problem is available all over - only for MacOS X there's no
> separate
> page as it is subsumed under Unix-like systems up to now.
>
>
>
Yes, that's true. However, that's not my point. When I said it was not
documented I was talking about odbx-sql, not the problem of utilities ;)

My point is: IMHO it would be fantastic that OpenDBX compiles just the core
(The kernel. The minimal you need to run OpenDBX) by default, despite the
fact there are problems with utilities in certain OS. And then, for those
who need utilities, you can enable them. Just the same as with the logging
or putting all libraries in one library file.

By the way, this was the error of the utilities in Mac OS:


Making all in po
g++ -DHAVE_CONFIG_H -I. -I.. -I../lib
-DLOCALEDIR=\"/usr/local/share/locale\"
-DKEYWORDFILE=\"/usr/local/share/opendbx/keywords\"
-I/opt/local/include/postgresql83  -g -O2 -MT odbx_sql-argmap.o -MD -MP -MF
.deps/odbx_sql-argmap.Tpo -c -o odbx_sql-argmap.o `test -f 'argmap.cpp' ||
echo './'`argmap.cpp
mv -f .deps/odbx_sql-argmap.Tpo .deps/odbx_sql-argmap.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../lib
-DLOCALEDIR=\"/usr/local/share/locale\"
-DKEYWORDFILE=\"/usr/local/share/opendbx/keywords\"
-I/opt/local/include/postgresql83  -g -O2 -MT odbx_sql-commands.o -MD -MP
-MF .deps/odbx_sql-commands.Tpo -c -o odbx_sql-commands.o `test -f
'commands.cpp' || echo './'`commands.cpp
mv -f .deps/odbx_sql-commands.Tpo .deps/odbx_sql-commands.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../lib
-DLOCALEDIR=\"/usr/local/share/locale\"
-DKEYWORDFILE=\"/usr/local/share/opendbx/keywords\"
-I/opt/local/include/postgresql83  -g -O2 -MT odbx_sql-completion.o -MD -MP
-MF .deps/odbx_sql-completion.Tpo -c -o odbx_sql-completion.o `test -f
'completion.cpp' || echo './'`completion.cpp
mv -f .deps/odbx_sql-completion.Tpo .deps/odbx_sql-completion.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I../lib
-DLOCALEDIR=\"/usr/local/share/locale\"
-DKEYWORDFILE=\"/usr/local/share/opendbx/keywords\"
-I/opt/local/include/postgresql83  -g -O2 -MT odbx_sql-odbx-sql.o -MD -MP
-MF .deps/odbx_sql-odbx-sql.Tpo -c -o odbx_sql-odbx-sql.o `test -f
'odbx-sql.cpp' || echo './'`odbx-sql.cpp
odbx-sql.cpp: In function 'int main(int, char**)':
odbx-sql.cpp:228: error: invalid conversion from 'char* (*)(const char*,
int)' to 'int (*)(const char*, int)'
make[3]: *** [odbx_sql-odbx-sql.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


when we disabled the utilities it compiles perfect.

is this the same problem we have in Windows?

cheers,

Mariano



> Norbert
> --
> OpenPGP public key
> http://www.linuxnetworks.de/norbert.pubkey.asc
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> libopendbx-devel mailing list
> libopendbx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
> http://www.linuxnetworks.de/doc/index.php/OpenDBX
>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
libopendbx-devel mailing list
libopendbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX

Reply via email to