Re: Mac OS X build problems

"Daniel Corbe" <[email protected]>
Newsgroups gmane.comp.db.mdb-tools.devel
Message-ID <[email protected]>
I'd rather not use fink if I can avoid it.  If there's no official
package management system for OS X I'd rather not use one that's (in
my opinion) broken.  Th

I prefer to build things I need by hand.  I know that It sounds insane
and its a concept that I had to struggle with at first; however I have
control over what's installed and how it interacts with other things
on the system.  Now I love it.  If you have enough patience it beats
the shit out of using a ports tree, fink, portage and any binary
package management systems such as apt, RPM.

I'm trying to avoid having to upgrade Apple's ancient installations of
libtool, autoconf and automake; however, if CVS is the recommended
route then I suppose that I have little other choice in the matter.

I'll try and run from CVS and get back to you about my results.

Regards,
Daniel

On 6/16/06, Sam Moffatt <[email protected]> wrote:
> Hi Daniel,
>
> First of all have a read through a thread a few months ago where I
> helped someone else out in getting it up and running on Mac OS X
> 10.4.x (what ever release it was back then) using Fink. I recently
> wiped my Mac and haven't needed mdbtools on my Mac (pretty certain I
> only installed it to help that user out too) and my Fink install is
> rather limited. If you encounter issues, I can have a look at it and
> see what I can make from it.
>
> And the usual advice from this list is use the CVS version ;)
>
> Sam
>
> On 17/06/06, Daniel Corbe <[email protected]> wrote:
> > First of all I think you guys are doing a great job.  I've been
> > looking for an alternative to Easysoft's uber expensive solution for a
> > while now.
> >
> > I'm having build problems on Mac OS X.  I trield building from CVS and
> > autoconf takes a dump on me, so I backed down to 0.6pre1 and the build
> > fails:
> >
> >  gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I ../../include
> > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> > -Iyes/include -g -O2 -DSQL -DIODBC -MT odbc.lo -MD -MP -MF
> > .deps/odbc.Tpo -c odbc.c  -fno-common -DPIC -o .libs/odbc.o
> > odbc.c:84: warning: pointer targets in initialization differ in signedness
> > odbc.c:85: warning: pointer targets in initialization differ in signedness
> > odbc.c:86: warning: pointer targets in initialization differ in signedness
> > odbc.c:87: warning: pointer targets in initialization differ in signedness
> > odbc.c:88: warning: pointer targets in initialization differ in signedness
> > odbc.c:89: warning: pointer targets in initialization differ in signedness
> > odbc.c:90: warning: pointer targets in initialization differ in signedness
> > odbc.c:91: warning: pointer targets in initialization differ in signedness
> > odbc.c:92: warning: pointer targets in initialization differ in signedness
> > odbc.c:93: warning: pointer targets in initialization differ in signedness
> > odbc.c:94: warning: pointer targets in initialization differ in signedness
> > odbc.c: In function 'do_connect':
> > odbc.c:131: warning: pointer targets in passing argument 2 of
> > 'mdb_sql_open' differ in signedness
> > odbc.c: In function 'SQLDriverConnect':
> > odbc.c:159: warning: pointer targets in passing argument 2 of
> > 'ExtractDSN' differ in signedness
> > odbc.c:159: warning: pointer targets in assignment differ in signedness
> > odbc.c:164: warning: pointer targets in passing argument 2 of
> > 'LookupDSN' differ in signedness
> > odbc.c:171: warning: pointer targets in passing argument 2 of
> > 'SetConnectString' differ in signedness
> > odbc.c:173: warning: pointer targets in assignment differ in signedness
> > odbc.c: At top level:
> > odbc.c:217: error: conflicting types for 'SQLDescribeParam'
> > /usr/include/sqlext.h:2405: error: previous declaration of
> > 'SQLDescribeParam' was here
> > odbc.c:228: error: conflicting types for 'SQLExtendedFetch'
> > /usr/include/sqlext.h:2412: error: previous declaration of
> > 'SQLExtendedFetch' was here
> > odbc.c:303: error: conflicting types for 'SQLParamOptions'
> > /usr/include/sqlext.h:2447: error: previous declaration of
> > 'SQLParamOptions' was here
> > odbc.c:407: error: conflicting types for 'SQLBindParameter'
> > /usr/include/sqlext.h:2513: error: previous declaration of
> > 'SQLBindParameter' was here
> > odbc.c:508: error: conflicting types for 'SQLBindCol'
> > /usr/include/sql.h:807: error: previous declaration of 'SQLBindCol' was here
> > odbc.c: In function 'SQLConnect':
> > odbc.c:574: warning: pointer targets in passing argument 2 of
> > 'LookupDSN' differ in signedness
> > odbc.c:579: warning: pointer targets in assignment differ in signedness
> > odbc.c: At top level:
> > odbc.c:599: error: conflicting types for 'SQLDescribeCol'
> > /usr/include/sql.h:888: error: previous declaration of 'SQLDescribeCol' was here
> > odbc.c: In function 'SQLDescribeCol':
> > odbc.c:624: warning: pointer targets in passing argument 1 of
> > 'strncpy' differ in signedness
> > odbc.c: At top level:
> > odbc.c:652: error: conflicting types for 'SQLColAttributes'
> > /usr/include/sqlext.h:2386: error: previous declaration of
> > 'SQLColAttributes' was here
> > odbc.c: In function 'SQLError':
> > odbc.c:750: warning: pointer targets in passing argument 1 of 'strcpy'
> > differ in signedness
> > odbc.c:751: warning: pointer targets in passing argument 1 of 'strcpy'
> > differ in signedness
> > odbc.c: In function 'SQLExecDirect':
> > odbc.c:800: warning: pointer targets in passing argument 2 of 'strcpy'
> > differ in signedness
> > odbc.c: In function 'SQLPrepare':
> > odbc.c:979: warning: pointer targets in passing argument 2 of
> > '_odbc_get_string_size' differ in signedness
> > odbc.c:983: warning: pointer targets in passing argument 2 of
> > 'strncpy' differ in signedness
> > odbc.c: At top level:
> > odbc.c:992: error: conflicting types for 'SQLRowCount'
> > /usr/include/sql.h:1071: error: previous declaration of 'SQLRowCount' was here
> > odbc.c:1028: error: conflicting types for 'SQLSetParam'
> > /usr/include/sql.h:1183: error: previous declaration of 'SQLSetParam' was here
> > odbc.c:1064: error: conflicting types for 'SQLGetData'
> > /usr/include/sql.h:970: error: previous declaration of 'SQLGetData' was here
> > odbc.c: In function 'SQLGetTypeInfo':
> > odbc.c:1303: warning: pointer targets in passing argument 5 of
> > 'mdb_ascii2unicode' differ in signedness
> > odbc.c:1307: warning: pointer targets in passing argument 5 of
> > 'mdb_ascii2unicode' differ in signedness
> > odbc.c:1309: warning: pointer targets in passing argument 5 of
> > 'mdb_ascii2unicode' differ in signedness
> > odbc.c:1311: warning: pointer targets in passing argument 5 of
> > 'mdb_ascii2unicode' differ in signedness
> > odbc.c:1319: warning: pointer targets in passing argument 5 of
> > 'mdb_ascii2unicode' differ in signedness
> > odbc.c: At top level:
> > odbc.c:1352: error: conflicting types for 'SQLPutData'
> > /usr/include/sql.h:1067: error: previous declaration of 'SQLPutData' was here
> > odbc.c:1361: error: conflicting types for 'SQLSetConnectOption'
> > /usr/include/sql.h:1084: error: previous declaration of
> > 'SQLSetConnectOption' was here
> > odbc.c:1370: error: conflicting types for 'SQLSetStmtOption'
> > /usr/include/sql.h:1130: error: previous declaration of
> > 'SQLSetStmtOption' was here
> > odbc.c: In function 'SQLTables':
> > odbc.c:1426: warning: pointer targets in passing argument 2 of
> > '_odbc_get_string_size' differ in signedness
> > odbc.c:1427: warning: pointer targets in passing argument 2 of
> > '_odbc_get_string_size' differ in signedness
> > odbc.c:1428: warning: pointer targets in passing argument 2 of
> > '_odbc_get_string_size' differ in signedness
> > odbc.c:1429: warning: pointer targets in passing argument 2 of
> > '_odbc_get_string_size' differ in signedness
> > odbc.c:1440: warning: pointer targets in passing argument 2 of
> > 'strncpy' differ in signedness
> > odbc.c:1447: warning: pointer targets in passing argument 2 of
> > 'strncpy' differ in signedness
> > odbc.c:1454: warning: pointer targets in passing argument 2 of
> > 'strncpy' differ in signedness
> > odbc.c:1461: warning: pointer targets in passing argument 2 of
> > 'strncpy' differ in signedness
> > make[2]: *** [odbc.lo] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all-recursive] Error 1
> >
> > Any help is appriciated.  Thanks.
> >
> >
> > _______________________________________________
> > mdbtools-dev mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mdbtools-dev
> >
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.