I need to install version 0.15 or higher of GNU's gettext so that I can use some i18n feateres with django.
I've downloaded :
http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz
from https://www.gnu.org/software/gettext/
However I have no idea how to install it and there's no installation guide on their website.
How can I install it ?
I'm maintaining a GitHub repository with Windows binaries of gettext and iconv (I just updated it to the latest gettext version: 0.19.3)
You can find it here: http://mlocati.github.io/gettext-iconv-windows/
To see how I compiled them (if you want to do it yourself) take a look at https://github.com/mlocati/gettext-iconv-windows
For windows, you may:
download gettext from
http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/;
unzip both gettext-runtime and gettext-tools
add the bin folder to to PATH
Django docs - https://docs.djangoproject.com/en/1.7/topics/i18n/translation/#gettext-on-windows
There are a lot of versions, this is what I've downloaded:
http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime_0.18.1.1-2_win32.zip
And:
http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-dev_0.18.1.1-2_win32.zip
And added both bin folders to the Windows PATH.
This is the actual link pointing to the Windows installation: http://mlocati.github.io/gettext-iconv-windows/ (v. 0.19.4)
I spent quite a while before found that there is the link pointing their from the github project mentioned by mlokati.
P.S. Here is the official instruction on this from the Django docs: https://docs.djangoproject.com/en/1.8/topics/i18n/translation/#gettext-on-windows
You can use tools from that NuGet package https://www.nuget.org/packages/Gettext.Tools/
The latest version of gettext setup is available here
-- - https://mlocati.github.io/articles/gettext-iconv-windows.html
You can find a direct .exe setup file and then you can just add it to the environment variable PATH.
Related
I've built and installed qtbase (and numerous other modules) from the Qt 5.15.2 sources cloned with Git, using a shadow-build directory. I issued qmake -query and checked that QT_INSTALL_DOCS points to /usr/share/qt5/doc/ Next, per the README, from the shadow-build TLD I issued gmake docs which appeared to build the documentation successfully in both HTML and QCH formats.
However, there's no sign that it installed them anywhere as it's supposed to - under /usr/share/qt5/doc/ are only QCH-format docs with old dates (presumably from a previous install using Ubuntu's package manager), certainly no HTML files or new QCH ones. The newly-built files are all there, under the shadow-build TLD, but I shouldn't rely on that to access documentation.
Is it perhaps only qmake, not gmake, that does the install step? qmake isn't documented as the tool for building and installing the documentation, and if I issue qmake docs it's rejected with an error of course - just as the README says, it's gmake docs (or make docs) which performs the build.
Can anybody please tell me what's needed to install the built documentation onto my system?
I didn't get any windows installer to install ruby 2.1.2. The only resource I found is a tar/zip file that is available at https://www.ruby-lang.org/en/downloads/.
I have no idea how to install this , anyone provide some suggestions how to install 2.1.2 version of ruby.
I have been able to crack the zlib nut (for Windows 8.1 -- see below), but I'm still struggling with openssl, readline, etc... I find it amazing that this documentation does not seem to be easily found, and that some experts/respondents advise using the 2.0 installer without considering that users are fighting this fight because we need the 2.1.2 functionality.
I downloaded zlib128-dll.zip from http://zlib.net and unzipped the contents to a directory (e.g., c:\zlib).
Then following some hints from this post (https://www.ruby-forum.com/topic/4421852), I created these dirs off of my c:\ruby-build\usr directory:
zlib
zlib\include
zlib\lib
Then I copied some files from my C:\zlib directories to my c:\ruby-build\usr directories:
*.h files (both) from C:\zlib\include to c:\ruby-build\usr\zlib\include
zdll.lib from C:\zlib\lib to c:\ruby-build\usr\zlib\lib.
zlib1.dll *AS* zlib.dll from C:\zlib to both c:\ruby-build\usr\zlib\lib and c:\ruby-build\usr\bin
(not sure which one or both are necessary).
Then from a VS 2012 Native Tools Command Window, I naviagted to C:\ruby-2.1.2\ext\zlib and executed:
\ruby-build\usr\bin\ruby extconf.rb --with-zlib-dir=c:/ruby-build/usr/zlib
Then nmake, followed by nmake install, and voila, I zlib was finally installed.
Let me know if you any questions about my steps.
The project Ruby Installer has published Ruby 2.1.3 for Windows (32 and 64 bits versions) on their download page:
http://rubyinstaller.org/downloads/
You will also find there a new build for Ruby 2.0 (p576).
Although they didnĀ“t updated their news page yet.
The standard way to install Ruby on Windows is with Ruby Installer. However, due to some bugs/regressions in Ruby, there has been some hold up creating an installer for Ruby 2.1 on Windows. To get Ruby 2.1 on Windows, you'll likely have to compile from source.
That's a good question. It seems that 2.1.2 is not easily available on bitnami or ruby installer.
Check this out.
If it's not worth the pain or if you don't explicitly need the features of 2.1.2, I would recommend just installing 2.0.x's stable release.
Please let me know if you have any questions!
How can I install wkhtmltopdf and wkhtmltoimage on SmartOS (Joyent)? I would like to use these with the node-wkhtml module.
Obviously, because there aren't available binary packages (from start page of named projects):
Download a precompiled binary or build from source
In case you are running on ... another Unix-like OS, you will need to use the posix-local target. It assumes that you already have all the build dependencies installed beforehand and will generate a tarball with the specification of local-MACHINENAME in the static-build/ folder.
Not sure if you found another solution or not, but I've recently compiled a static version of wkhtmltopdf (version from Github) with the custom Qt modules. Mailing list thread is here: Static Build - SmartOS Base64 14.1.0
Postgres 8.3 is installed on a windows 2008 server.
Ruby 1.8-6 installed.
gem install ruby-postgres.
When trying a simple connect I get
ruby.exe - Ordinal Not Found
The ordinal 284 could not be located in the dynamic link library SSLEAY32.dll.
OK
There seems to be some conflict betweeen the ssleay32 shipped with postgres 8.3 and the ruby 1.8-6
I know I could use the gem postgres-pr but I would prefere to use the ruby-postgres because that is what I use on all my other setup even if most of them is running under linux and not windows.
So the question is, Have any one solved this and how?
Any even better solution, in so far as using the latest binaries for OpenSSL, is to rename both libeay32.dll and ssleay32.dll in both the ruby\bin folder and also the posgresql\lib folder and install the latest OpenSSL from http://www.slproweb.com/products/Win32OpenSSL.html, at the time of writing it was "Win32 OpenSSL v0.9.8j Light" put the dir in the path and away you go, it worked for me! You get the warm feeling of using the most up to date and secure OpenSSL libraries.
Miles Georgi
That is probably the best way to
start, but eventually you will want to
be using ruby-postgres instead. The
trick to getting that driver working
is to copy 2 dll files to your
c:\ruby\bin folder from your
C:\program files\posgresql\lib folder.
I think these 2 files are libeay32.dll
and ssleay32.dll
i think a different approch is to use trust instead of md5 from localhost. Because this need of ssleay should be somthing with authentication I suppose.
To get a minimal thing without doing to much stuff under windows.
use: gem install ruby-postgres
then install the windows version of pgadmin and use all the needed files from there
(cp from pgadmin\bin to ruby\bin or by setting PATH to the pgadmin\bin)
I've never touched ruby or postgres but you are using an old version of openssl than the one it is compiled against. The newest version is openssl-0.9.8j so to build that:
Download and unpack then using visual c++ 2008 express + active perl:
C:\openssl-0.9.8j>perl Configure VC-WIN32
C:\openssl-0.9.8j>ms\do_masm
C:\openssl-0.9.8j>nmake -f ms\ntdll.mak
Just copy the latest binaries for OpenSSL
I downloaded file:
http://downloads.sourceforge.net/gladewin32/glade-3.4.3-win32-1.zip
and when I extract it an run glade-3.exe from /bin folder, I get "no libxml2.dll" error.
Now, I want to find installer (like GTK+ bundle for GTK+) that would install glade3 and all it's dependencies for Windows XP.
Well glade3 worked for me after I downloaded:
iconv.dll
libxml2.dll
and put it in path
This is not the answer, but it can help run it.
Another thing. I previously installed GTK+ bundle, so if you didn't do that, you may need more dll's etc...
Just for the record, the newer version available at http://downloads.sourceforge.net/gladewin32/ is an installer that already includes libxml.