This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mark-Nutters-MacBook-Pro:~ marknutter$ brew install librsvg | |
Warning: It appears you have Macports or Fink installed | |
Although, unlikely, this can break builds or cause obscure runtime issues. | |
If you experience problems try uninstalling these tools. | |
==> Downloading http://edge.launchpad.net/intltool/trunk/0.41.0/+download/intltool-0.41.0.tar.gz | |
######################################################################## 100.0% | |
==> ./configure --prefix=/usr/local/Cellar/intltool/0.41.0 | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... ./install-sh -c -d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-3.2# sudo brew install librsvg | |
==> Downloading http://ftp.gnome.org/pub/gnome/sources/librsvg/2.26/librsvg-2.26.3.tar.gz | |
File already downloaded and cached to /Library/Caches/Homebrew | |
==> export CFLAGS='-I/usr/local/Cellar/glib/2.24.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.24.2/lib/glib-2 | |
==> export LDFLAGS='-L/usr/local/Cellar/glib/2.24.2/lib -L/usr/local/Cellar/gettext/0.17/lib -lglib-2.0 -lintl | |
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/librsvg/2.26.3 --enab | |
==> make install | |
Making install in . | |
CC librsvg-features.lo | |
/bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -I/usr/local/Cellar/libxml2/2.7.7/include/libxml2 -I/usr/local/Cellar/libgsf/1.14.17/include/libgsf-1 -I/usr/local/Cellar/glib/2.24.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.24.2/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.17/include -DHAVE_SVGZ=1 -I/usr/local/Cellar/libxml2/2.7.7/include/libxml2 -I/usr/local/Cellar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drwxrwxr-x 19 marknutter staff 646 Oct 15 11:21 . | |
drwxr-xr-x@ 14 root wheel 476 May 6 23:53 .. | |
drwxr-xr-x 12 marknutter staff 408 Oct 13 17:14 .git | |
-rw-r--r-- 1 marknutter staff 84 Oct 13 17:14 .gitignore | |
drwxr-xr-x 25 marknutter staff 850 Oct 28 10:13 Cellar | |
drwxr-xr-x 6 marknutter staff 204 Oct 13 17:14 Library | |
-rw-r--r-- 1 marknutter staff 1248 Oct 13 17:14 README.md | |
drwxrwxr-x 178 marknutter staff 6052 Oct 28 10:12 bin | |
drwxrwxr-x 8 marknutter staff 272 Oct 28 10:12 etc | |
drwxr-xr-x 8 marknutter wheel 272 Jan 31 2010 git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning: It appears you have Macports or Fink installed | |
Although, unlikely, this can break builds or cause obscure runtime issues. | |
If you experience problems try uninstalling these tools. | |
==> Downloading http://ftp.gnu.org/pub/gnu/gettext/gettext-0.17.tar.gz | |
######################################################################## 100.0% | |
==> Downloading patches | |
######################################################################## 100.0% | |
==> Patching | |
patching file gettext-runtime/gnulib-lib/setenv.c | |
patching file gettext-tools/gnulib-lib/execute.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module GoogleTranslate | |
class LanguageDetect | |
def self.detect(text) | |
response = google_api_call(text,"#{SERVICE}",DetectResponse) | |
return nil if !response.is_reliable | |
response.language # return value | |
end | |
end | |
end |
NewerOlder