Am Wed, 5 Oct 2022 17:25:43 -1000
schrieb "David W. Jones" <[email protected]>:

> On 10/5/22 02:02, Kornel Benko wrote:
> > Am Tue, 4 Oct 2022 21:54:17 -1000
> > schrieb "David W. Jones" <[email protected]>:
> >   
> >> On 10/4/22 20:40, Gunter Königsmann wrote:  
> >>> Either you haven't gettext installed  
> >>
> >> I have gettext 0.21-4 installed.
> >>  
> >>> or your cake is too old to know about it.  
> >>
> >> Cake? You mean cmake? cmake is v3.18.4.
> >>
> >> This is on Debian 11. It's been almost a year since the last time I
> >> compiled Hugin. I successfully compiled Hugin 2021 to a /usr/local
> >> installation 1 January 2022.
> >>
> >> Ideas?
> >>  
> > 
> > It is part of hugin sources. Don't know, why cmake is not finding it.
> > 
> > Look foe 'CMakeModules/FindMSGFMT.cmake' in your cloned hugin.
> > 
> >     Kornel  
> 
> I find that one in the cloned hugin tree. Cmake is still not finding 
> MSGFMT, although that is installed.
> 
> Here's what cmake tells me:
> 
> CMake Error at celeste/CMakeLists.txt:71 (set_target_properties):
>    set_target_properties called with incorrect number of arguments.
> 
> CMake Error at translations/CMakeLists.txt:7 (find_package):
>    By not providing "FindMSGFMT.cmake" in CMAKE_MODULE_PATH this project has
>    asked CMake to find a package configuration file provided by 
> "MSGFMT", but
>    CMake did not find one.
> 
>    Could not find a package configuration file provided by "MSGFMT" with any
>    of the following names:
> 
>      MSGFMTConfig.cmake
>      msgfmt-config.cmake
> 
>    Add the installation prefix of "MSGFMT" to CMAKE_PREFIX_PATH or set
>    "MSGFMT_DIR" to a directory containing one of the above files.  If 
> "MSGFMT"
>    provides a separate development package or SDK, be sure it has been
>    installed.
> 
> Gettext and msgfmt are installed here.
> 
> Anyway, here's what finally worked:
> 
> 1. Run "cmake .." in the build directory. That put the missing MSGFMT 
> .cmake files in a subfolder under the build directory.
> 
> 2. Run "make".
> 
> 3. Run "sudo make install".
> 
> That gave me a Hugin reporting itself as "Version: Pre-Release 
> 2021.1.0.33b93e37f209". Is that correct?
> 

Looks so, but why don't you use 'make package'? That way. you should get a file 
like
hugin-2021.1.0.8500-Linux.deb, which may be installed with
 # sudo dpkg -i hugin-2021.1.0.8500-Linux.deb

To enable package creation, you may need to configure withthe parameter
CPACK_BINARY_DEB:BOOL=ON, e.g.
 $ cmake -DCPACK_BINARY_DEB:BOOL=ON ...

        Kornel

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/20221006133836.7db70ff2%40admin1-desktop.

Attachment: pgp_QM676Nh7i.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to