Satchmo install on a mac using virtualenv - virtualenv

I have virtualenv set up and working correctly on my mac os (leopard) running python 2.6 & django 1.2.3. I want to install Satchmo but I haven't found solid instructions for a mac install using virtualenv. Can anyone help regarding this? thanks.

If you're using buildout with virtualenv then try this: https://github.com/shywolf9982/satchmo-buildout
Of course installing newest XCode ie. 3.1 or 3.2 is a must..
Unfortunatelly compiniling stuff on Mac can give you the creeps... My collegue and I, were fighting 12h with installation of geodjango on Spatialite database, and we didn't make it after all :)
If you're not using buildout then just use macports for installing modules listed in above repo's buildout.cfg file.
Good luck!

This Satchmo Project post contains the instructions I follow on Snow Leopard. I use Homebrew and/or MacPorts in lieu of the Debian package tools.

Related

Upgrading sqlite3 on Centos 7

Does anyone know how to upgrade sqlite3 on Centos7. The repos only have up to version 3.7.
I downloaded the source code and compiled. Replaced binaries. If I type sqlite/sqlite3 --version then it's 3.31.
If I run rails then it's stuck at 3.7.
DNF is stuck on 3.7 too.
I read that Centos7 stays at this version. There's no easy upgrade path to Centos8 without reinstall so trying to avoid that.
Uninstall the package from Centos. Then, do a normal source install of sqlite afterwards.

Installing tesseract 3.04 on lubuntu 18.04

I want to install tesseract-ocr 3.04 on one of my Ubuntu/Lubuntu 18.04 test setups (which is running fine on our lubuntu16.04 test setups). If I simply install tesseract-ocr via 'sudo apt install tesseract-ocr' etc. it will install tesseract 4.0.0 beta.
With this I am seeing a lot of weird behavior and would like to run tesseract-ocr 3.04 with the same traineddata etc as it is running fine on our older test setups.
How can I force to install an older version of tesseract-ocr.
Thanks, Martin
Download Tesseract 3.04 from https://launchpad.net/ubuntu/+source/tesseract/3.04.01-6.
Then to install it in $HOME/local:
./autogen.sh
./configure --prefix=$HOME/local/
make
make install
I realise this post is quite old, so if you have found a better way please share your method.

What is the status of the MongoDB extension for PHP7?

PHP7 is gaining a lot of attention lately, promising great performance and a more mature language. Version 7.0.0-alpha is out. We are just starting to rework our core application, which uses MongoDB as data source.
I am wondering if there is any development underway for a PHP7 compatible MongoDB extension? How far is it? Is there any alternative?
Version 1.1.1 of the new "mongodb" extension supports PHP 7, as does the complementary userland library.
AFAIK, there's no compatible extension yet, but I think Hannes '#bjori' Magnusson - who works at MongoDB - wanted to work on it.
The old Mongo extension for PHP is not going to be supported in PHP7. Instead, there is a new MongoDB extension which is using libmongo under the hood and is a more "bare bones" approach that has the goal of being easy to maintain and easy to port to other environments such as HHVM. It also aims to work with any version down to PHP 5.4.
To make the new extension easier to work with, there is an official php library available on Packagist. This library does not aim to be a drop-in replacement for the old Mongo extension. It should be noted that at the time of writing, the library doesn't implement all the features available in the old Mongo extension, such as GridFS. Hopefully we'll see a non-beta release of the extension and library soon with all the available features.
Should be relapse today with version: 1.1.0
If somebody don't have enough time to play with new extension, you can always try php library compatible with old API.
https://github.com/mongofill/mongofill
Here it is a beta Version:
pecl install mongodb-beta
You need some software to compile and install:
yum -y install php-devel cyrus-sasl-devel openssl-devel gcc
echo extension=mongodb.so >/etc/php.d/mongodb.ini
composer require mongodb/mongodb
everything ok
I use CentOS 7 with PHP 7.0.1 und nginx 1.8 und Mongodb 3.2
for Windows:
http://windows.php.net/downloads/pecl/releases/mongodb/1.1.1/
pecl install mongodb
That should do it.
Php 7 mongo db driver installtion
pecl install mongodb
adding extension on "php.ini"
extension=mogodb.so
Install the mongodb driver using composer on public_html directory
$ composer require alcaeus/mongo-php-adapter
(or)
$ php composer.phar require alcaeus/mongo-php-adapter
add at the top of index.php
require_once 'vendor/autoload.php';

Installing postgis in mac

I am trying to install postgis in mac. But I am not sure if I should compile it from the source code or install the binary. When I tried to install the binary it says that I need to install postgresql 9.1 which I already have. What should I do? Are there any clear instructions for installing in mac
When I run into trouble I usually install from source. This gives the configuration and compilers a better chance to tailor everything to your computer. You must have the development libraries for postgresql installed however to make this work with postgis.

How do I install HTTP Live Streaming Tools on 10.7 Lion?

Lion has been out for a couple of months, but the HTTP Live Streaming Tools installer reports that "This package can only be installed on Mac OSX Version 10.6.X."
Is there a way to install the tools on 10.7 Lion?
I filed a Bugreport with Apple about this issue.
If you have a developer account I'd advise you to do the same at bugreport.apple.com
You could try this workaround to extract the package files manually.
Just had this issue.
Use UnPKG to unpack the Streaming Tools Beta.pkg file. See: http://www.timdoug.com/unpkg/
Go to "Streaming Tools Beta" on your desktop. cd ~/Desktop/Streaming\ Tools\ Beta
Copy all files in /. sudo cp -r * /
Edit "/usr/bin/mediastreamvalidator" and change the first line to point to python v2.6: "#!/usr/bin/python2.6"
Known issues:
mediafilesegmenter fails with "Symbol not found: _kFigFormatDescriptionExtension_SampleDescriptionExtensionAtoms"