openSUSE 12.3, standard release, fully updated using standard repos # mysql --version mysql Ver 15.1 Distrib 5.5.29-MariaDB, for Linux (x86_64) using readline 5.1 # ruby --version ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
Running into numerous issues installing, current issue is with imagemagick which is required to display gantt charts.
Issues installing redmine:
Investigated openSUSE rpms,.found only obs and factory builds. None installed without issue, primarily failing due to missing internationalism packages,
rubygem-i18n=0.4.2 required, but that rpm also requires
After that, I considered the likelihood of chasing down packages a potentially big problem, so I instead decided to try the Ruby Gems way (redmine is a ruby on rails project)
Downloaded source from
Unpacked, followed the included INSTALL file
cp config/database.yml-example config/database.yml bundle install --without development test rmagick
An error occurred while installing mysql2 (0.3.11), and Bundler cannot continue. Make sure that `gem install mysql2 -v '0.3.11'` succeeds before bundling.
So, ran the following which completed successfully
gem install mysql2 -v '0.3.11
And then the re-ran the above “bundle instal” command without error.
Then I took a closer look at what imagemack was and could not find imagemagick installed on my system despite initially believing that ruby gems should have installed. So, I then went about installing imagemagick separately. Since it’s not in the openSUSE repos, and according to the instructions to install from source it’s likely important to configure imagemack properly, I decided to install from source.
I downloaded. imagemagick from here
Following the instructions on this page
Installing RMagick 2 on Linux and FreeBSD
- Made sure all delegate libraries were installed (only Freetype app itself needed to be installed, libraries were already installed_
Extracted imagemagick archive
Modified the ./configure command as described to run on a single line
# ./configure --disable-static --with-modules --without-perl --without-magick-plus-plus --with-quantum-depth=8 --with-gs-font-dir=$FONTS
The script fails with the following
checking for libltdl... checking ltdl.h usability... no checking ltdl.h presence... no checking for ltdl.h... no checking for lt_dlinit in -lltdl... no checking if libltdl package is complete... no configure: error: in `/home/tony/Downloads/ImageMagick-6.8.5-10': configure: error: libltdl is required for modules build
# zypper se libltdl S | Name | Type | Version | Arch | Repository --+----------+---------+---------------+--------+------------------ i | libltdl3 | package | 1.5.26-23.1.1 | x86_64 | openSUSE-12.3-Oss v | libltdl3 | package | 1.5.26-23.1.1 | i586 | openSUSE-12.3-Oss
After further searching and research, ltdl.h apparently is no longer in Fedora/openSUSE libltdl packages. Surprisingly I seem to have ltdl.h in a package I have installed called openmpi-devel. Interestingly, the file is invisible to “what provides” but can be found using YAST with the “list files” option. I had thought the commands should be nearly interchangeable, but this is an example where they return different results.
The file location:
Surprised that ltdl.h was not working despite its location, I nevertheless created a symbolic link where I thought the library ordinarily might be found
# ln -s /usr/lib64/mpi/gcc/openmpi/include/openmpi/opal/libltdl/ltdl.h /usr/lib64/ltdl.h
But, when I re-ran ./configure (as described above), the same error exists.
So, I find myself stuck. I opened up and looked at the “configure” script but the code evaluating ltdl.h is too complex for me and I’m not sure even if I was able to decipher the meaning whether it would help me understand why the ltdl.h I have installed isn’t working.
If anyone knows a recipe for installing Imagemagick properly and redmine more generally (fully functional), would like to know what you might advise.
The openmpi package comes from oss
Information for package openmpi-devel:
Installed Size: 8.9 MiB
Summary: A powerful implementaion of MPI