Does IM build on 64 bit, or does it need any special workarounds?
rpmbuild --bb ImageMagick.spec
Processing files: ImageMagick-c++-devel-6.4.8-7
error: File not found: /var/tmp/ImageMagick-6.4.8-7-root-root/usr/bin/Magick++-config
error: File not found: /var/tmp/ImageMagick-6.4.8-7-root-root/usr/lib64/libMagick++.so
error: File not found: /var/tmp/ImageMagick-6.4.8-7-root-root/usr/lib64/pkgconfig/Magick++.pc
error: File not found: /var/tmp/ImageMagick-6.4.8-7-root-root/usr/lib64/pkgconfig/ImageMagick++.pc
error: File not found by glob: /var/tmp/ImageMagick-6.4.8-7-root-root/usr/share/man/man1/Magick++-config.*
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.70316
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd ImageMagick-6.4.8-7
+ DOCDIR=/var/tmp/ImageMagick-6.4.8-7-root-root/usr/share/doc/ImageMagick-c++-devel-6.4.8
+ export DOCDIR
+ rm -rf /var/tmp/ImageMagick-6.4.8-7-root-root/usr/share/doc/ImageMagick-c++-devel-6.4.8
+ /bin/mkdir -p /var/tmp/ImageMagick-6.4.8-7-root-root/usr/share/doc/ImageMagick-c++-devel-6.4.8
+ cp -pr Magick++/examples /var/tmp/ImageMagick-6.4.8-7-root-root/usr/share/doc/ImageMagick-c++-devel-6.4.8
+ exit 0
RPM build errors:
File not found by glob: /var/tmp/ImageMagick-6.4.8-7-root-root/usr/lib64/libMagick++.so.*
File not found: /var/tmp/ImageMagick-6.4.8-7-root-root/usr/bin/Magick++-config
File not found: /var/tmp/ImageMagick-6.4.8-7-root-root/usr/lib64/libMagick++.so
File not found: /var/tmp/ImageMagick-6.4.8-7-root-root/usr/lib64/pkgconfig/Magick++.pc
File not found: /var/tmp/ImageMagick-6.4.8-7-root-root/usr/lib64/pkgconfig/ImageMagick++.pc
File not found by glob: /var/tmp/ImageMagick-6.4.8-7-root-root/usr/share/man/man1/Magick++-config.*
Failed rpm build on CentOS 5.2 x86_64
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Failed rpm build on CentOS 5.2 x86_64
Did you try my instructions in Im Examples. APIs
http://www.imagemagick.org/Usage/api/#building
Someone has mentioned that it works for CentOS
I have not tried this myself.
http://www.imagemagick.org/Usage/api/#building
Someone has mentioned that it works for CentOS
I have not tried this myself.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Failed rpm build on CentOS 5.2 x86_64
Yes, I'm quite familiar with building rpms from source.
It should be as simple as "rpmbuild --rebuild package.srpm"
I've built IM previously, the same version (6.3. that was reported here to build. I haven't been able to build any since... though I've only been trying intermittently.
I'm guessing the problem is with inconsistencies in the Magic++ makefile(s).. I'm just not good at finding those types of problems.
Ironically, I don't even need Magic++, just the base install.
It should be as simple as "rpmbuild --rebuild package.srpm"
I've built IM previously, the same version (6.3. that was reported here to build. I haven't been able to build any since... though I've only been trying intermittently.
I'm guessing the problem is with inconsistencies in the Magic++ makefile(s).. I'm just not good at finding those types of problems.
Ironically, I don't even need Magic++, just the base install.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Failed rpm build on CentOS 5.2 x86_64
Except if you want to change teh configuration items by modifing the 'spec' file before building the SRPM. I need to add a couple of items, and use the latest SVN beta release (bleeding edge) so I first create the SRPM then buils the RPM's from that.dognose wrote:Yes, I'm quite familiar with building rpms from source.
It should be as simple as "rpmbuild --rebuild package.srpm"
I don't have any trouble with the Magick++ aspect, on fedora (8 or 10) so I am not certain what problem you are having.
I suggest getting a SVN copy, or the last TAR file, and building the SRPM yourself as well.
Missing files are not a problem for me.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Failed rpm build on CentOS 5.2 x86_64
Success.
I was finally able to get the rpm built.
I just had to rip out references to magick++ in the spec file, and compensate for the extra files from the make errors.
I was finally able to get the rpm built.
I just had to rip out references to magick++ in the spec file, and compensate for the extra files from the make errors.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Failed rpm build on CentOS 5.2 x86_64
Do you have notes on what you did to the spec file to make it work with CentOS
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/