Build Error Mac OS 10.4.11 PPC

Support for Deluge on Apple Mac OS
Post Reply
greensquares

Build Error Mac OS 10.4.11 PPC

Post by greensquares »

Ok, building with MacPorts, everything goes pretty smoothly up until MacPorts tries to compile sqlite3 (which I can build just fine on my own, but I cannot get MacPorts to see). When it tries to build it spits this out:

Code: Select all

--->  Building sqlite3 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_sqlite3/work/sqlite-3.5.7" && gnumake all " returned error 2
Command output: ./libtool --mode=link /usr/bin/gcc-4.0 -I/opt/local/include -O2 -DOS_UNIX=1 -I. -I./src -DNDEBUG   -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -L/opt/local/lib -DHAVE_READLINE=1 -I/opt/local/include \
-o sqlite3 ./src/shell.c libsqlite3.la \
-L/opt/local/lib -lreadline -lm  -rpath "/opt/local/lib"
/usr/bin/gcc-4.0 -I/opt/local/include -O2 -DOS_UNIX=1 -I. -I./src -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DHAVE_READLINE=1 -I/opt/local/include -o .libs/sqlite3 ./src/shell.c  -L/opt/local/lib ./.libs/libsqlite3.dylib -lreadline -lm
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning /opt/local/lib/libreadline.dylib 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:
_add_history
_read_history
_readline
_stifle_history
_write_history
collect2: ld returned 1 exit status
gnumake: *** [sqlite3] Error 1

Error: The following dependencies failed to build: py25-gtk py25-cairo py25-numpy g95 odcctools subversion apr-util sqlite3 neon py25-hashlib py25-xdg py25-zlib
Error: Status 1 encountered during processing.
I've tried just cleaning the build directory and trying again (why not?) with no results. Anyone got any ideas?
User avatar
oriain
Member
Member
Posts: 18
Joined: Wed Mar 19, 2008 8:20 pm
Location: Vancouver, WA

Re: Build Error Mac OS 10.4.11 PPC

Post by oriain »

I don't know if this will work or not; it's just a guess. I have Mac OS 10.4.11 (intel), so it might be different. When I first compiled deluge via Macports, it errored out. So I built one of the dependencies listed in the error, just one I picked at random. Then I tried a second time and it worked. Worth a try... Good luck! :)
Post Reply