Updates from October, 2013 Toggle Comment Threads | Keyboard Shortcuts
Built a new C++ PHP extension referencing libphonenumber, crashed with segmentation fault. Might have something to do with x86_64, still investigating. The annoying part is that the block that crashes it is:
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &num) == FAILURE) RETURN_NULL();
If argument parsing is omitted and parameters hardcoded, the function is able to return expected result.
Attempted to use 32 bit machine, but libphonenumber build fails:
[ 74%] Building CXX object CMakeFiles/libphonenumber_test.dir/test/phonenumbers/geocoding/phonenumber_offline_geocoder_test.cc.o /home/vagrant/libphonenumber-read-only/cpp/test/phonenumbers/geocoding/phonenumber_offline_geocoder_test.cc:61:5: error: this decimal constant is unsigned only in ISO C90 [-Werror] /home/vagrant/libphonenumber-read-only/cpp/test/phonenumbers/geocoding/phonenumber_offline_geocoder_test.cc:63:5: error: this decimal constant is unsigned only in ISO C90 [-Werror] cc1plus: all warnings being treated as errors make: *** [CMakeFiles/libphonenumber_test.dir/test/phonenumbers/geocoding/phonenumber_offline_geocoder_test.cc.o] Error 1 make: *** [CMakeFiles/libphonenumber_test.dir/all] Error 2 make: *** [all] Error 2
Also, Ubuntu precise has PHP 5.3
I wish that the right hand box labeled “Sidebar” in the Widgets settings page follows the page scroll. It’s quite inconvenient to drag new widgets into it.
sudo port upgrade outdated ---> Fetching archive for apr Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports.
Upgrading, received an error:
The file has been moved to: /opt/local/var/macports/distfiles/file/file-5.15.tar.gz.html Error: org.macports.checksum for port libmagic returned: Unable to verify file checksums
Downloaded the file manually and the upgrade continues. Removed OpenDNS from my dnsmasq.
Attempt to upgrade MacPorts (to 2.2.1) after Mavericks failed:
checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions
Remedy: Install command line tools
The install command line tools button is no longer there in Xcode.