Jan-Henrik, Thanks for the reply.
Should I expect the ./configure script to tell it that it is a PPC machine? Cause when it goes to compile, it complains about some file (unit.o) that is for i386. Here are the last 18 line printed during the compile run. And then it looks to be missing a 'main' function
********************* gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libzdb.5.1.2.dylib .libs/Util.o .libs/Str.o .libs/Mem.o .libs/Vector.o .libs/URL.o .libs/ConnectionPool.o .libs/Connection.o .libs/ResultSet.o .libs/PreparedStatement.o .libs/StringBuffer.o .libs/assert.o .libs/Exception.o .libs/MysqlConnection.o .libs/MysqlResultSet.o .libs/MysqlPreparedStatement.o .libs/SQLiteConnection.o .libs/SQLiteResultSet.o .libs/SQLitePreparedStatement.o -L/usr/local/mysql/lib /usr/local/mysql/lib/libmysqlclient.dylib -lm -lmygcc -lsqlite3 /usr/local/mysql/lib/libz.a -lpthread -install_name /usr/local/lib/libzdb.5.dylib -compatibility_version 7 -current_version 7.2 (cd .libs && rm -f libzdb.5.dylib && ln -s libzdb.5.1.2.dylib libzdb.5.dylib) (cd .libs && rm -f libzdb.dylib && ln -s libzdb.5.1.2.dylib libzdb.dylib) ar cru .libs/libzdb.a Util.o Str.o Mem.o Vector.o URL.o ConnectionPool.o Connection.o ResultSet.o PreparedStatement.o StringBuffer.o assert.o Exception.o MysqlConnection.o MysqlResultSet.o MysqlPreparedStatement.o SQLiteConnection.o SQLiteResultSet.o SQLitePreparedStatement.o ranlib .libs/libzdb.a creating libzdb.la (cd .libs && rm -f libzdb.la && ln -s ../libzdb.la libzdb.la) Making all in test /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wunused -Wno-unused-label -funsigned-char -Wno-pointer-sign -L/usr/local/mysql/lib -lmysqlclient -lz -lm -lmygcc -o unit unit.o ../libzdb.la -lsqlite3 -lz -lpthread mkdir .libs gcc -g -O2 -Wall -Wunused -Wno-unused-label -funsigned-char -Wno-pointer-sign -o .libs/unit unit.o -L/usr/local/mysql/lib ../.libs/libzdb.dylib /usr/local/mysql/lib/libmysqlclient.dylib -lmygcc -lsqlite3 /usr/local/mysql/lib/libz.a -lm -lpthread /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning unit.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: _main collect2: ld returned 1 exit status make[2]: *** [unit] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ********************
I not really sure about what it is doing. I wish I knew more about ./configure... maybe time to learn...
Mike
On Sat, Apr 4, 2009 at 9:09 PM, Jan-Henrik Haukeland hauk@tildeslash.com wrote:
On 4. april. 2009, at 22.01, Mike McGonagle wrote:
I was going through the 2.5 version hoping to install this on my Mac, and test some stuff out. But it appears from the annoucement email, that it only supports Intel Mac, is this true?
No, the library will definitely work on PPC Mac. The announcement mail mention that it has only been tested in Intel Mac.
Jan-Henrik
-- To unsubscribe: http://www.tildeslash.com/mailman/listinfo/libzdb-general