#21138: strigi fails to build 64-bit -----------------------------+---------------------------------------------- Reporter: andrea@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: LP64 | Port: strigi -----------------------------+---------------------------------------------- Comment(by mkr@…): The problem is in strigi itself. I tried to compile it by hand and found that some variables have wrong types. You have to make two changes, to compile it successfully: src/daemon/dbus/dbuscpp/dbusmessagereader.cpp: Line 66[[BR]] change: DBusMessageReader::operator>>(int64_t& s) {[[BR]] into: DBusMessageReader::operator>>(dbus_int64_t& s) { build/src/daemon/dbus/dbusclientinterface.cpp: Line 148[[BR]] change: uint64_t mtime;[[BR]] into: dbus_uint64_t mtime; The second file is generated during compilation. So the workaround is:[[BR]] Do "sudo port install strigi", wait until it breaks and change the first file:[[BR]] cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3/[[BR]] edit src/daemon/dbus/dbuscpp/dbusmessagereader.cpp Then "sudo port install strigi" again, wait until it breaks again and change the second file:[[BR]] edit src/daemon/dbus/dbusclientinterface.cpp[[BR]] (in MacPorts it's built in the src directory, so no "build/" in front of the path) Then "sudo port install strigi" again, and it should compile successfully. I'll see if I can communicate this directly to the strigi people... -- Ticket URL: <http://trac.macports.org/ticket/21138#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS