Public bug reported:

building hugin on Solaris 11e failed with the below error
sys/sysctl.h is not present on this system
the attached patch let me get past it


[ 22%] Building CXX object 
src/hugin_base/CMakeFiles/huginbase.dir/hugin_utils/platform.cpp.o
cd 
/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/build/src/hugin_base
 && /usr/gcc/4.5/bin/g++   -Dhuginbase_EXPORTS -O2 -g -fPIC 
-I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/build/src 
-I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/hugin_base 
-I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/foreign 
-I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/foreign/vigra
 -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/celeste 
-I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/build/src/celeste
 -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src 
-I/opt/kde4/include/OpenEXR -I/opt/kde4/include   -pthreads -o 
CMakeFiles/huginbase.dir/hugin_utils/platform.cpp.o -c 
/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/hugin_base/hugin_utils/platform.cpp
/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/hugin_base/hugin_utils/platform.cpp:32:24:
 fatal error: sys/sysctl.h: No such file or directory
compilation terminated.

** Affects: hugin
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/782773

Title:
  no sysctl.h on Solaris

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  building hugin on Solaris 11e failed with the below error
  sys/sysctl.h is not present on this system
  the attached patch let me get past it

  
  [ 22%] Building CXX object 
src/hugin_base/CMakeFiles/huginbase.dir/hugin_utils/platform.cpp.o
  cd 
/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/build/src/hugin_base
 && /usr/gcc/4.5/bin/g++   -Dhuginbase_EXPORTS -O2 -g -fPIC 
-I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/build/src 
-I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/hugin_base 
-I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/foreign 
-I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/foreign/vigra
 -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/celeste 
-I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/build/src/celeste
 -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src 
-I/opt/kde4/include/OpenEXR -I/opt/kde4/include   -pthreads -o 
CMakeFiles/huginbase.dir/hugin_utils/platform.cpp.o -c 
/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/hugin_base/hugin_utils/platform.cpp
  
/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/hugin_base/hugin_utils/platform.cpp:32:24:
 fatal error: sys/sysctl.h: No such file or directory
  compilation terminated.

_______________________________________________
Mailing list: https://launchpad.net/~hugin-devs
Post to     : hugin-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to