On 29/12/09 05:54, Kornel Benko wrote:
 > Am Monday 28 December 2009 schrieb doug:
 >> On 24/12/09 20:31, Kornel Benko wrote:
 >>> Am Donnerstag 24 Dezember 2009 schrieb Doug:
 >>>> Sorry for the newbie question.
 >>>> I'm trying to install 2009.4.0 on linux mandrake 
2009.1 64-bit from the
 >>>> 2009.4.0 tarball.
 >>>> Having downloaded it and untarred into ~/downloads/ ; 
entered
 >>>> ~/downloads/hugin-2009.4.0/
 >>>> and run "cmake -DCMAKE_INSTALL_PREFIX=/usr/local ." I 
get the following
 >>>> error messages:
 >>>>
 >>>> CMake Error at celeste/CMakeLists.txt:85 
(set_target_properties):
 >>>>      set_target_properties called with incorrect 
number of arguments.
 >>>
 >>> Looks like HUGIN_LIB_VERSION were not set ...
 >>>
 >>>> CMake Error at celeste/CMakeLists.txt:96 (INSTALL):
 >>>>      install TARGETS given no RUNTIME DESTINATION for 
executable target
 >>>>      "celeste_standalone".
 >>>
 >>> Here maybe BINDIR is not set ...
 >>>
 >>>> CMake Error at celeste/CMakeLists.txt:97 (INSTALL):
 >>>>      install FILES given no DESTINATION!
 >>>
 >>> and here INSTALL_DATA_DIR...
 >>>
 >>> ...
 >>>
 >>> All of this would have been set in the main CMakeLists.txt.
 >>>
 >>> You should call cmake with a path to main source as 
argument.
 >>> Already the first error should read 
"src/celeste/CMakeLists.txt" and not "celeste/CMakeLists.txt".
 >>> Therefore you should call:
 >>>
 >>>     cmake ..  -DCMAKE_INSTALL_PREFIX=/usr/local
 >>>
 >>>> Where do I go from here?
 >>>
 >>> See above.
 >>>
 >>
 >> I'm unclear how to get cmake to find the main source.
 >> I assume the path ought to be either
 >> /home/dougb/downloads/hugin-2009.4.0
 >> or /home/dougb/downloads/hugin-2009.4.0/src.
 >
 > The former.
 >
 >> But I've tried
 >> (1) In /home/dougb/downloads/hugin-2009.4.0/
 >> cmake ..  -DCMAKE_INSTALL_PREFIX=/usr/local as you suggest
 >
 > In this directory either "." or 
"/home/dougb/downloads/hugin-2009.4.0", e.g.
 >     cmake "/home/dougb/downloads/hugin-2009.4.0" 
-DCMAKE_INSTALL_PREFIX=/usr/local
 >
 > But I prefer to make a build-directory first.
 >
 > e.g.
 >     mkdir /home/dougb/downloads/hugin-build
 >     cd  /home/dougb/downloads/hugin-build
 >     cmake "/home/dougb/downloads/hugin-2009.4.0" 
-DCMAKE_INSTALL_PREFIX=/usr/local
 >
 >> (2) cd'ing to src/ and repeating
 >> (3) in  /home/dougb/downloads/hugin-2009.4.0/ or src/
 >> cmake /home/dougb/downloads/hugin-2009.4.0
 >> -DCMAKE_INSTALL_PREFIX=/usr/local
 >> (4) cmake /home/dougb/downloads/hugin-2009.4.0/src
 >> -DCMAKE_INSTALL_PREFIX=/usr/local
 >>
 >> All these result in the same error messages - evidently
 >> failing to pick up the source path. How come?
 >>
 >> Doug
 >>
 >     Kornel
 >
Thanks, Kornel.
I removed CmameCache.txt and followed your build 
instructions with the following result - some progress, at 
least!

cmake "/home/dougb/downloads/hugin-2009.4.0" 
-DCMAKE_INSTALL_PREFIX=/usr/local
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Current SVN revision is 4742
-- Looking for log2
-- Looking for log2 - found
CMake Error at 
CMakeModules/FindPackageHandleStandardArgs.cmake:51 (MESSAGE):
   Could not find REQUIRED package wxWidgets
Call Stack (most recent call first):
   /usr/share/cmake/Modules/FindwxWidgets.cmake:782 
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
   CMakeLists.txt:128 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!

I have the package 
perl-Alien-wxWidgets-0.42-4mdv2009.1.x86_64 already 
installed and a wxWidget Perl script and various wxWidget 
folders and files in 
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Alien 
or ...../auto/Alien.
I'm unclear whether this is the required wxWidget package or 
how to set up the path for finding a Perl package anyway.

Doug

-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to