Difference between revisions of "OpenDBX/Setup/MacOS X"

From Linuxnetworks
Jump to: navigation, search
(Initial)
 
(Add the disable utilities to MacOSX)
Line 1: Line 1:
As MacOS X is built on a Unix-like system, OpenDBX can easily be build on this platform.
+
As MacOS X is built on a Unix-like system, OpenDBX can easily be build on this platform. However you may have a problem compiling the odbx-sql utility. The error can be something like this:
  
# [[OpenDBX/Setup/Unix-like/Building_from_source|Building from source]]
+
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
 +
 
 +
In this case what you can do is to [[OpenDBX/Setup/Manual_builds#Without_utilities|disable utilities from compilation]]

Revision as of 22:26, 29 September 2009

As MacOS X is built on a Unix-like system, OpenDBX can easily be build on this platform. However you may have a problem compiling the odbx-sql utility. The error can be something like this:

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

In this case what you can do is to disable utilities from compilation