[hugin-ptx] Re: trouble building latest release on Fedora 10
Bruno Postle wrote: On Fri 02-Oct-2009 at 16:30 +0100, paul womack wrote: I'm trying to get the exciting (well, I'm excited!) new release on my Fedora 10 box. As I understand matters, the approved mechanism is to install the tarball, let the rpmbuild process trundle along (for some time) and then install the resulting RPM's in the usual I am a dumb user fashion. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GLUT_Xmu_LIBRARY (ADVANCED) You are missing some libraries and so is the wiki page, for F11 (and probably F10) you need all this for 2009.2.0+: BuildRequires: libpano13-devel = 2.9.14 zlib-devel libtiff-devel libjpeg-devel BuildRequires: libpng-devel gettext-devel wxGTK-devel = 2.7.0 boost-devel freeglut-devel BuildRequires: cmake desktop-file-utils OpenEXR-devel exiv2-devel glew-devel BuildRequires: mesa-libGLU-devel libXmu-devel I did a simple yum install of all of those yum install zlib-devel libtiff-devel libjpeg-devel libpng-devel gettext-devel mesa-libGLU-devel libXmu-devel cmake desktop-file-utils OpenEXR-devel exiv2-devel glew-devel boost-devel freeglut-devel and things proceeded MUCH further. Having thrashed my machine (C++ is not gentle) for around 30 minutes, I arrived at the next hurdle: RPM build errors: File not found: /home/bugbear/rpmbuild/BUILDROOT/hugin-2009.2.0-0.1.20090914svn.fc10.x86_64/usr/bin/calibrate_lens I performed: find /home/bugbear/rpmbuild -name *calib* and the only result was /home/bugbear/rpmbuild/BUILD/hugin-2009.3.0/src/lens_calibrate Is the packager looking for a binary which is no longer made? BugBear --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups hugin and other free panoramic software group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~--~~~~--~~--~--~---
[hugin-ptx] Re: trouble building latest release on Fedora 10
Hullo Paul, On Oct 5, 9:03 pm, paul womack pwom...@papermule.co.uk wrote: [snip] RPM build errors: File not found: /home/bugbear/rpmbuild/BUILDROOT/hugin-2009.2.0-0.1.20090914svn.fc10.x86_64/usr/bin/calibrate_lens I performed: find /home/bugbear/rpmbuild -name *calib* and the only result was /home/bugbear/rpmbuild/BUILD/hugin-2009.3.0/src/lens_calibrate Is the packager looking for a binary which is no longer made? Yes, I think so. I suspect that your hugin.spec file is specifying calibrate_lens in the '%files base', but calibrate_lens isn't actually being built in this release. Try editing your hugin.spec file, as follows, and see if that fixes the problem. %files base %defattr(-, root, root,-) %{_bindir}/align_image_stack ... #%{_bindir}/calibrate_lens Cheers, Terry --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups hugin and other free panoramic software group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~--~~~~--~~--~--~---
[hugin-ptx] Re: trouble building latest release on Fedora 10
Am Freitag 02 Oktober 2009 schrieb paul womack: I'm trying to get the exciting (well, I'm excited!) new release on my Fedora 10 box. As I understand matters, the approved mechanism is to install the tarball, let the rpmbuild process trundle along (for some time) and then install the resulting RPM's in the usual I am a dumb user fashion. So I downloaded the tarball: hugin-2009.2.0.tar.gz And read: http://wiki.panotools.org/Hugin_Compiling_Fedora Now, I'm pretty good at following instructions. Here are my notes: download from http://sourceforge.net/projects/hugin/files/hugin/ hugin-2009.2.0.tar.gz working through http://wiki.panotools.org/Hugin_Compiling_Fedora yum groupinstall Development Tools yum install rpmdevtools (already setup) found recent src rpm http://bugbear.postle.net/~bruno/apt/redhat/el4/i386/SRPMS.panorama/hugin -2009.3.0-0.1.20090914svn.el4.src.rpm got the hugin.spec rpm -ivh hugin-2009.3.0-0.1.20090914svn.el4.src.rpm cp hugin-2009.2.0.tar.gz ~/rpmbuild/SOURCES/ rpmbuild -ba ~/rpmbuild/SPECS/hugin.spec needed freeglut-devel added. got: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GLUT_Xmu_LIBRARY (ADVANCED) I found some comments in the archives on this variable (mainly to do with MacOsX), but nothing that seemed directly applicable to my Fedora. And yet it appears that some people do have Linux builds working. I would welcome assistance. BugBear What I do _not_ understand, why there is proposed to call make package_source. Instead I would try this sequence: svn co ... (as usual) mkdir build cmake ../trunk -DCPACK_BINARY_RPM:BOOL=ON # Please do not call cmake forom source source make package # this will create also the package hugin-[someversion]-Linux.rpm and you should be done with package in the build directory. At least it so functions on OpenSuSE (which also uses rpm packages) On ubuntu or debian one should call cmake ../trunk -DCPACK_BINARY_DEB:BOOL=ON and as I have LAPACK and dont like relative referencies, I personally call cmake /usr/src/hugin/hugin -DENABLE_LAPACK=YES -DCPACK_BINARY_DEB:BOOL=ON ( /usr/src/hugin/hugin is _my_ trunk here) If this works for you, then someone should correct the wiki. Kornel -- Kornel Benko kornel.be...@berlin.de signature.asc Description: This is a digitally signed message part.
[hugin-ptx] Re: trouble building latest release on Fedora 10
Kornel Benko wrote: What I do _not_ understand, why there is proposed to call make package_source. Instead I would try this sequence: svn co ... (as usual) I didn't use svn at all; I downloaded hugin-2009.2.0.tar.gz from http://sourceforge.net/projects/hugin/files/hugin/ I note you're calling cmake directly; is the stuff about rpmbuild in the wiki now wrong? BugBear --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups hugin and other free panoramic software group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~--~~~~--~~--~--~---
[hugin-ptx] Re: trouble building latest release on Fedora 10
Am Freitag 02 Oktober 2009 schrieb paul womack: Kornel Benko wrote: What I do _not_ understand, why there is proposed to call make package_source. Instead I would try this sequence: svn co ... (as usual) I didn't use svn at all; I downloaded hugin-2009.2.0.tar.gz from http://sourceforge.net/projects/hugin/files/hugin/ I note you're calling cmake directly; is the stuff about rpmbuild in the wiki now wrong? I would not say it is wrong. But far too complicated. And if it is not working for you, than it may as well be wrong. BugBear Kornel -- Kornel Benko kornel.be...@berlin.de signature.asc Description: This is a digitally signed message part.
[hugin-ptx] Re: trouble building latest release on Fedora 10
Kornel Benko wrote: Am Freitag 02 Oktober 2009 schrieb paul womack: Kornel Benko wrote: What I do _not_ understand, why there is proposed to call make package_source. Instead I would try this sequence: svn co ... (as usual) I didn't use svn at all; I downloaded hugin-2009.2.0.tar.gz from http://sourceforge.net/projects/hugin/files/hugin/ I note you're calling cmake directly; is the stuff about rpmbuild in the wiki now wrong? I would not say it is wrong. But far too complicated. And if it is not working for you, than it may as well be wrong. My goal is have an install on my Fedora 10 box of this announced software: http://hugin.sourceforge.net/releases/2009.2.0/en.shtml I am prepared to go through a moderately elaborate process (and was keeping notes so I could help others). I followed: http://wiki.panotools.org/Hugin_FAQ http://wiki.panotools.org/Hugin_FAQ#Installation How do I compile hugin on my linux machine? http://wiki.panotools.org/Hugin_Compiling_Fedora No mention of cmake, except in the context of SVN. So I either (at this stage) need to make the rpmbuild thing work, or change to cmake. I would welcome advise of either (including advise as to which!) BugBear --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups hugin and other free panoramic software group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~--~~~~--~~--~--~---
[hugin-ptx] Re: trouble building latest release on Fedora 10
On Fri 02-Oct-2009 at 16:30 +0100, paul womack wrote: I'm trying to get the exciting (well, I'm excited!) new release on my Fedora 10 box. As I understand matters, the approved mechanism is to install the tarball, let the rpmbuild process trundle along (for some time) and then install the resulting RPM's in the usual I am a dumb user fashion. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GLUT_Xmu_LIBRARY (ADVANCED) You are missing some libraries and so is the wiki page, for F11 (and probably F10) you need all this for 2009.2.0+: BuildRequires: libpano13-devel = 2.9.14 zlib-devel libtiff-devel libjpeg-devel BuildRequires: libpng-devel gettext-devel wxGTK-devel = 2.7.0 boost-devel freeglut-devel BuildRequires: cmake desktop-file-utils OpenEXR-devel exiv2-devel glew-devel BuildRequires: mesa-libGLU-devel libXmu-devel -- Bruno --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups hugin and other free panoramic software group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~--~~~~--~~--~--~---
[hugin-ptx] Re: trouble building latest release on Fedora 10
Am Freitag 02 Oktober 2009 schrieb Bruno Postle: On Fri 02-Oct-2009 at 16:30 +0100, paul womack wrote: I'm trying to get the exciting (well, I'm excited!) new release on my Fedora 10 box. As I understand matters, the approved mechanism is to install the tarball, let the rpmbuild process trundle along (for some time) and then install the resulting RPM's in the usual I am a dumb user fashion. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GLUT_Xmu_LIBRARY (ADVANCED) You are missing some libraries and so is the wiki page, for F11 (and probably F10) you need all this for 2009.2.0+: BuildRequires: libpano13-devel = 2.9.14 zlib-devel libtiff-devel libjpeg-devel BuildRequires: libpng-devel gettext-devel wxGTK-devel = 2.7.0 boost-devel freeglut-devel BuildRequires: cmake desktop-file-utils OpenEXR-devel exiv2-devel glew-devel BuildRequires: mesa-libGLU-devel libXmu-devel Yes, of course. I did not read the mail carefully. Kornel -- Kornel Benko kornel.be...@berlin.de signature.asc Description: This is a digitally signed message part.
[hugin-ptx] Re: trouble building latest release on Fedora 10
Am Freitag 02 Oktober 2009 schrieb paul womack: ... No mention of cmake, except in the context of SVN. So I either (at this stage) need to make the rpmbuild thing work, or change to cmake. I would welcome advise of either (including advise as to which!) BugBear The cmake-files are part of the tar-file, arnen't they? If so, then one may use cmake. But in your case, see the reply from Bruno, you are also lacking some prerequisites. Kornel -- Kornel Benko kornel.be...@berlin.de signature.asc Description: This is a digitally signed message part.