mriconvert: Can't build MRIConvert on Arch Linux, fails with "make: *** No rule to make target 'install'. Stop."
Lorenzo Bandieri
lorenzo.bandieri at gmail.com
Tue Apr 8 08:44:28 PDT 2014
hi list,
A bit of context: I'm trying to build MRIConvert 2.0.7 from source on
Arch Linux. I'm hoping to write a PKGBUILD, that is a set of
instructions used by Arch Linux to create a binary package from source
(similar to slackbuild for those of you familiar with Slackware); I
will then submit said PKGBUILD to the AUR (Arch User Repository), an
unofficial but widely-used repository for user-submitted package, so
to make easy for others Arch Linux users to build and run MRIConvert.
Writing a PKGBUILD is done with the same commands that one would issue
if he/she were compiling manually (e.g. ./configure && make && make
install).
In my case, the build fails with:
make: *** No rule to make target 'install'. Stop.
I couldn't spot anything obvious in the output- not that I could make
much sense of it, to be honest. I'm not experienced with building
packages, so I don't know exactly what to look for.
Anyway, the failure has been confirmed by another Arch Linux user.
There is no installation directive in the makefile.
The commands I'm running ("translated" from the PKGBUILD):
mkdir MRIConvert-2.0.7/build
tar -xzf MRIConvert-2.0.7-src.tar.gz -C MRIConvert-2.0.7/build
cmake ./build -DCMAKE_INSTALL_PREFIX='/usr'
-DCMAKE_BUILD_TYPE='Release'
-DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config-2.8'
-DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc-2.8'
make
make install
The build log can be found here: http://pastebin.com/6LgBkRr6
I should probably mention that I didn't build wxWidgets and boost from
source (which I'd like to avoid if possible). Also:
- recommended: cmake 2.8.2 or greater - I have: cmake 2.8.12.2-2
- recommended: wxWidgets 2.8.12 - I have: wxgtk2.8 2.8.12.1-1
- recommended: Boost 1.52.0 - I have: boost 1.55.0-5
Any help is greatly appreciated.
Thanks,
Lorenzo
--
"If you think the problem is bad now, just wait until we've solved it."
More information about the mriconvert
mailing list