Problem when building aqsis 1.4.2 in Debian.

View: New views
2 Messages — Rating Filter:   Alert me  

Problem when building aqsis 1.4.2 in Debian.

by Bugzilla from ender@debian.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

        Hello, Aqsis team.  I'm the Debian packager for aqsis, and I'm trying to
build since several weeks the stable aqsis packages without success.  Guess
what?  Boost libraries...

        Cmake is cryptic for me and I'm unable to debug it properly in order to know
what's happening in its guts.  The error I'm seeing is:

ender@jane:~/aqsis-1.4.2$ mkdir build && cd build && cmake ..
-- The C compiler identification is GNU                
-- The CXX compiler identification is GNU              
-- Check for working C compiler: /usr/lib/ccache/gcc    
-- Check for working C compiler: /usr/lib/ccache/gcc -- works
-- Detecting C compiler ABI info                            
-- Detecting C compiler ABI info - done                      
-- Check for working CXX compiler: /usr/lib/ccache/c++      
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info                            
-- Detecting CXX compiler ABI info - done                      
CMake Warning (dev) at CMakeLists.txt:172 (ADD_DEFINITIONS):  
  Policy CMP0005 is not set: Preprocessor definition values are now escaped
  automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.    
This warning is for project developers.  Use -Wno-dev to suppress it.      

CMake Warning (dev) at cmake/platform/linux.cmake:44 (ADD_DEFINITIONS):
  Policy CMP0005 is not set: Preprocessor definition values are now escaped
  automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.    
Call Stack (most recent call first):                                        
  CMakeLists.txt:189 (INCLUDE)                                              
This warning is for project developers.  Use -Wno-dev to suppress it.      

-- Looking for include files AQSIS_HAVE_STDINT_H
-- Looking for include files AQSIS_HAVE_STDINT_H - found
CMake Warning (dev) at shadercompiler/aqsltell/CMakeLists.txt:11 (ADD_DEFINITIONS):
  Policy CMP0005 is not set: Preprocessor definition values are now escaped        
  automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use      
  the cmake_policy command to set the policy and suppress this warning.            
This warning is for project developers.  Use -Wno-dev to suppress it.              

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:          
AQSIS_BOOST_FILESYSTEM_LIBRARY (ADVANCED)                                                  
    linked by target "aqsl" in directory /home/ender/aqsis-1.4.2/shadercompiler/aqsl
AQSIS_BOOST_REGEX_LIBRARY (ADVANCED)                                                                
    linked by target "eqsl" in directory /home/ender/aqsis-1.4.2/tools/eqsl        
AQSIS_BOOST_THREAD_LIBRARY (ADVANCED)                                                              
    linked by target "eqsl" in directory /home/ender/aqsis-1.4.2/tools/eqsl        
AQSIS_BOOST_WAVE_LIBRARY (ADVANCED)                                                                
    linked by target "aqsl" in directory /home/ender/aqsis-1.4.2/shadercompiler/aqsl
-- Configuring incomplete, errors occurred!

        I've tried to touch cmake/modules/FindBoost.cmake without success.  As an
example, boost filesystem is:

ender@jane:~/aqsis-1.4.2$ l /usr/lib/*filesystem*
-rw-r--r-- 1 root root 187064 jun 30 05:37 /usr/lib/libboost_filesystem-mt.a
lrwxrwxrwx 1 root root     32 ago 17 02:32 /usr/lib/libboost_filesystem-mt.so -> libboost_filesystem-mt.so.1.38.0
-rw-r--r-- 1 root root  83360 jun 30 05:37 /usr/lib/libboost_filesystem-mt.so.1.38.0

        My changes to it are:

--- FindBoost.cmake      2009-08-20 17:22:43.910621817 +0200
+++ FindBoost.cmake.new      2009-08-20 17:22:40.897599530 +0200
@@ -1,6 +1,6 @@
 SET(AQSIS_BOOST_FOUND 0)

-SET(AQSIS_BOOST_VERSION_SUFFIX "-1_34_1" CACHE STRING "Version suffix used on boost libraries (including '-' prefix).")
+SET(AQSIS_BOOST_VERSION_SUFFIX ".1.38.0" CACHE STRING "Version suffix used on boost libraries (including '-' prefix).")
 MARK_AS_ADVANCED(AQSIS_BOOST_VERSION_SUFFIX)

 SET(AQSIS_BOOST_LIBRARIES_DIR "" CACHE PATH "Location to look for boost libraries.")
@@ -34,7 +34,7 @@
        ELSE(APPLE)
                SET(AQSIS_BOOST_LIB_SUFFIX_TMP "-gcc-mt${AQSIS_BOOST_VERSION_SUFFIX}")
        ENDIF(APPLE)
-       SET(AQSIS_BOOST_LIB_PREFIX_TMP "")
+       SET(AQSIS_BOOST_LIB_PREFIX_TMP "-mt.so")
 ENDIF(WIN32)
 SET(AQSIS_BOOST_LIB_SUFFIX "${AQSIS_BOOST_LIB_SUFFIX_TMP}" CACHE STRING "Suffix used for all boost library names")
 MARK_AS_ADVANCED(AQSIS_BOOST_LIB_SUFFIX)

        Any hint?  Is there any way of debugging cmake to see where it's
looking for boost?

        If you need further information, please ask for it, as I'm running
out of ideas.

        Thanks in advance,


                Ender.
--
Network engineer
Debian Developer

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Aqsis-development mailing list
Aqsis-development@...
https://lists.sourceforge.net/lists/listinfo/aqsis-development

Parent Message unknown Re: Problem when building aqsis 1.4.2 in Debian.

by lta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi David, good to hear from you... I thought you had disappeared from the face of the planet!  ;-)

It appeared nothing was happening with our Debian package so we recently started work on an up-to-date Ubuntu one... based on the original Debian/Ubuntu version (1.2.0):

https://launchpad.net/~aqsisteam/+archive/ppa

... with the sources of this work held here:

http://bazaar.launchpad.net/~aqsisteam/+junk/packaging/files

Given Aqsis 1.6.0 is just around the corner, I'd suggest skipping 1.4.2 entirely and go with what we've done for Ubuntu (1.5.0).

The idea behind using Launchpad is that we'll place our latest development releases there (odd 'Minor' version numbers, like 1.5.0), and have our stable releases within the official repos (even 'Minor' version numbers, like 1.6.0).

Feel free to drop me a mail so we can discuss the packaging in more detail:

latkinson <AT> aqsis <DOT> org

Thanks,


Leon Tony Atkinson
Aqsis Team Member

www.aqsis.org


> Message: 4
> Date: Thu, 20 Aug 2009 17:25:38 +0200
> From: David Mart?nez Moreno <ender@...>
> Subject: [Aqsis-development] Problem when building aqsis 1.4.2 in
>         Debian.
> To: aqsis-development@...
> Message-ID: <200908201725.38346.ender@...>
> Content-Type: text/plain;  charset="utf-8"
>
>         Hello, Aqsis team.  I'm the Debian packager for aqsis, and I'm trying to
> build since several weeks the stable aqsis packages without success.  Guess
> what?  Boost libraries...
>
>         Cmake is cryptic for me and I'm unable to debug it properly in order to know
> what's happening in its guts.  The error I'm seeing is:
>
> ender@jane:~/aqsis-1.4.2$ mkdir build && cd build && cmake ..
> -- The C compiler identification is GNU                 
> -- The CXX compiler identification is GNU               
> -- Check for working C compiler: /usr/lib/ccache/gcc   
> -- Check for working C compiler: /usr/lib/ccache/gcc -- works
> -- Detecting C compiler ABI info                             
> -- Detecting C compiler ABI info - done                     
> -- Check for working CXX compiler: /usr/lib/ccache/c++       
> -- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
> -- Detecting CXX compiler ABI info                             
> -- Detecting CXX compiler ABI info - done                     
> CMake Warning (dev) at CMakeLists.txt:172 (ADD_DEFINITIONS):   
>   Policy CMP0005 is not set: Preprocessor definition values are now escaped
>   automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use
>   the cmake_policy command to set the policy and suppress this warning.     
> This warning is for project developers.  Use -Wno-dev to suppress it.       
>
> CMake Warning (dev) at cmake/platform/linux.cmake:44 (ADD_DEFINITIONS):
>   Policy CMP0005 is not set: Preprocessor definition values are now escaped
>   automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use
>   the cmake_policy command to set the policy and suppress this warning.     
> Call Stack (most recent call first):                                       
>   CMakeLists.txt:189 (INCLUDE)                                             
> This warning is for project developers.  Use -Wno-dev to suppress it.       
>
> -- Looking for include files AQSIS_HAVE_STDINT_H
> -- Looking for include files AQSIS_HAVE_STDINT_H - found
> CMake Warning (dev) at shadercompiler/aqsltell/CMakeLists.txt:11 (ADD_DEFINITIONS):
>   Policy CMP0005 is not set: Preprocessor definition values are now escaped       
>   automatically.  Run "cmake --help-policy CMP0005" for policy details.  Use       
>   the cmake_policy command to set the policy and suppress this warning.           
> This warning is for project developers.  Use -Wno-dev to suppress it.             
>
> 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:         
> AQSIS_BOOST_FILESYSTEM_LIBRARY (ADVANCED)                                                   
>     linked by target "aqsl" in directory /home/ender/aqsis-1.4.2/shadercompiler/aqsl
> AQSIS_BOOST_REGEX_LIBRARY (ADVANCED)                                                               
>     linked by target "eqsl" in directory /home/ender/aqsis-1.4.2/tools/eqsl         
> AQSIS_BOOST_THREAD_LIBRARY (ADVANCED)                                                               
>     linked by target "eqsl" in directory /home/ender/aqsis-1.4.2/tools/eqsl         
> AQSIS_BOOST_WAVE_LIBRARY (ADVANCED)                                                                 
>     linked by target "aqsl" in directory /home/ender/aqsis-1.4.2/shadercompiler/aqsl
> -- Configuring incomplete, errors occurred!
>
>         I've tried to touch cmake/modules/FindBoost.cmake without success.  As an
> example, boost filesystem is:
>
> ender@jane:~/aqsis-1.4.2$ l /usr/lib/*filesystem*
> -rw-r--r-- 1 root root 187064 jun 30 05:37 /usr/lib/libboost_filesystem-mt.a
> lrwxrwxrwx 1 root root     32 ago 17 02:32 /usr/lib/libboost_filesystem-mt.so -> libboost_filesystem-mt.so.1.38.0
> -rw-r--r-- 1 root root  83360 jun 30 05:37 /usr/lib/libboost_filesystem-mt.so.1.38.0
>
>         My changes to it are:
>
> --- FindBoost.cmake      2009-08-20 17:22:43.910621817 +0200
> +++ FindBoost.cmake.new      2009-08-20 17:22:40.897599530 +0200
> @@ -1,6 +1,6 @@
>  SET(AQSIS_BOOST_FOUND 0)
>
> -SET(AQSIS_BOOST_VERSION_SUFFIX "-1_34_1" CACHE STRING "Version suffix used on boost libraries (including '-' prefix).")
> +SET(AQSIS_BOOST_VERSION_SUFFIX ".1.38.0" CACHE STRING "Version suffix used on boost libraries (including '-' prefix).")
>  MARK_AS_ADVANCED(AQSIS_BOOST_VERSION_SUFFIX)
>
>  SET(AQSIS_BOOST_LIBRARIES_DIR "" CACHE PATH "Location to look for boost libraries.")
> @@ -34,7 +34,7 @@
>         ELSE(APPLE)
>                 SET(AQSIS_BOOST_LIB_SUFFIX_TMP "-gcc-mt${AQSIS_BOOST_VERSION_SUFFIX}")
>         ENDIF(APPLE)
> -       SET(AQSIS_BOOST_LIB_PREFIX_TMP "")
> +       SET(AQSIS_BOOST_LIB_PREFIX_TMP "-mt.so")
>  ENDIF(WIN32)
>  SET(AQSIS_BOOST_LIB_SUFFIX "${AQSIS_BOOST_LIB_SUFFIX_TMP}" CACHE STRING "Suffix used for all boost library names")
>  MARK_AS_ADVANCED(AQSIS_BOOST_LIB_SUFFIX)
>
>         Any hint?  Is there any way of debugging cmake to see where it's
> looking for boost?
>
>         If you need further information, please ask for it, as I'm running
> out of ideas.
>
>         Thanks in advance,
>
>
>                 Ender.
> --
> Network engineer
> Debian Developer

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Aqsis-development mailing list
Aqsis-development@...
https://lists.sourceforge.net/lists/listinfo/aqsis-development