Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325993 (opencamlib) - compiling opencamlib
Summary: compiling opencamlib
Status: VERIFIED CANTFIX
Alias: opencamlib
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL: http://code.google.com/p/opencamlib/s...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 14:57 UTC by Eugenio Palumbo
Modified: 2010-06-28 23:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugenio Palumbo 2010-06-28 14:57:26 UTC
I have tried to compile this software " opencamlib " but I have received this error,  the developer has said that the problem for this error is with something in the installation of boost not is correct.
the url:
My packages installed for compiling opencamlib are

dev-lang/python-2.6.5
dev-libs/boost-1.41.0-r3

The error :
make                                                                                                                       
[  4%] Building CXX object CMakeFiles/ocl.dir/arc.o                                                                                        
[  8%] Building CXX object CMakeFiles/ocl.dir/ballcutter.o                                                                                                  
In file included from /usr/include/boost-1_41/boost/python/detail/wrap_python.hpp:50,                                                                       
                 from /usr/include/boost-1_41/boost/python/detail/prefix.hpp:13,                                                                            
                 from /usr/include/boost-1_41/boost/python/args.hpp:8,                                                                                      
                 from /usr/include/boost-1_41/boost/python.hpp:11,                                                                                          
                 from /usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/millingcutter.h:28,                                                          
                 from /usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/ballcutter.cpp:28:                                                           
/usr/include/python2.6/pyconfig.h:1067:1: warning: "_POSIX_C_SOURCE" redefined                                                                              
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/i686-pc-linux-gnu/bits/os_defines.h:44,                                           
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:40,                                            
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/cstddef:48,                                                                       
                 from /usr/include/boost-1_41/boost/foreach.hpp:26,                                                                                         
                 from /usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/ballcutter.cpp:26:                                                           
/usr/include/features.h:158:1: warning: this is the location of the previous definition                                                                     
In file included from /usr/include/boost-1_41/boost/python/detail/wrap_python.hpp:50,                                                                       
                 from /usr/include/boost-1_41/boost/python/detail/prefix.hpp:13,                                                                            
                 from /usr/include/boost-1_41/boost/python/args.hpp:8,                                                                                      
                 from /usr/include/boost-1_41/boost/python.hpp:11,                                                                                          
                 from /usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/millingcutter.h:28,                                                          
                 from /usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/ballcutter.cpp:28:                                                           
/usr/include/python2.6/pyconfig.h:1079:1: warning: "_XOPEN_SOURCE" redefined                                                                                
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/i686-pc-linux-gnu/bits/os_defines.h:44,                                           
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:40,                                            
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/cstddef:48,
                 from /usr/include/boost-1_41/boost/foreach.hpp:26,
                 from /usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/ballcutter.cpp:26:
/usr/include/features.h:160:1: warning: this is the location of the previous definition
[ 12%] Building CXX object CMakeFiles/ocl.dir/batchdropcutter.o
In file included from /usr/include/boost-1_41/boost/python/detail/wrap_python.hpp:50,
                 from /usr/include/boost-1_41/boost/python/detail/prefix.hpp:13,
                 from /usr/include/boost-1_41/boost/python/args.hpp:8,
                 from /usr/include/boost-1_41/boost/python.hpp:11,
                 from /usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/millingcutter.h:28,
                 from /usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/batchdropcutter.cpp:30:
/usr/include/python2.6/pyconfig.h:1067:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/i686-pc-linux-gnu/bits/os_defines.h:44,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:40,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/cstddef:48,
                 from /usr/include/boost-1_41/boost/foreach.hpp:26,
                 from /usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/batchdropcutter.cpp:25:
/usr/include/features.h:158:1: warning: this is the location of the previous definition
In file included from /usr/include/boost-1_41/boost/python/detail/wrap_python.hpp:50,
                 from /usr/include/boost-1_41/boost/python/detail/prefix.hpp:13,
                 from /usr/include/boost-1_41/boost/python/args.hpp:8,
                 from /usr/include/boost-1_41/boost/python.hpp:11,
                 from /usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/millingcutter.h:28,
                 from /usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/batchdropcutter.cpp:30:
/usr/include/python2.6/pyconfig.h:1079:1: warning: "_XOPEN_SOURCE" redefined
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/i686-pc-linux-gnu/bits/os_defines.h:44,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:40,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/cstddef:48,
                 from /usr/include/boost-1_41/boost/foreach.hpp:26,
                 from /usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/batchdropcutter.cpp:25:
/usr/include/features.h:160:1: warning: this is the location of the previous definition
/usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/batchdropcutter.cpp: In member function ‘void ocl::BatchDropCutter::dropCutter4()’:
/usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/batchdropcutter.cpp:186: error: ‘cutref’ is predetermined ‘shared’ for ‘shared’
/usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/batchdropcutter.cpp:186: error: ‘ccref’ is predetermined ‘shared’ for ‘shared’
/usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/batchdropcutter.cpp:186: error: ‘clref’ is predetermined ‘shared’ for ‘shared’
/usr/local/src/work-cnc/HeeksCAD/HeeksCNC/opencamlib/src/batchdropcutter.cpp:187: warning: iteration variable ‘n’ is unsigned
make[2]: *** [CMakeFiles/ocl.dir/batchdropcutter.o] Error 1
make[1]: *** [CMakeFiles/ocl.dir/all] Error 2
make: *** [all] Error 2


thanks,
salvarane.
Comment 1 Rafał Mużyło 2010-06-28 16:59:15 UTC
Seeing that this package is NOT in portage,
wouldn't the forum be a better place for this *question* ?

The other part is, that the error doesn't look as if it had anything to do with boost - it comes from this line:
#pragma omp parallel for shared( calls, clref, ccref, cutref) private(n,t,tris,it,cc)
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2010-06-28 17:37:25 UTC
As said, this package is not in our portage so we cannot actively support it

Please contact the ebuild author or the overlay from which you got this package
Comment 3 Eugenio Palumbo 2010-06-28 20:37:36 UTC
(In reply to comment #1)
> Seeing that this package is NOT in portage,
> wouldn't the forum be a better place for this *question* ?
> 
> The other part is, that the error doesn't look as if it had anything to do with
> boost - it comes from this line:
> #pragma omp parallel for shared( calls, clref, ccref, cutref)
> private(n,t,tris,it,cc)
> 

Many thanks for your patience, sorry for my location for this message, but the developers for this package "opencamlib" they have told me who this package successfully compile on ubuntu 10.04LTS .

In this moment I have suggest to manager of the opencamlib your info.

Special thanks Markos Chandras , Rafał Mużyło and everyone.

Sincerely,
Palumbo Eugenio.

Comment 4 Eugenio Palumbo 2010-06-28 21:20:00 UTC
(In reply to comment #2)
> As said, this package is not in our portage so we cannot actively support it
> 
> Please contact the ebuild author or the overlay from which you got this package
> 

Sorry for location for this message, I can ask you if is possible insert the
HeeksCAD and HeeksCNC and all library into portage or into one overlay.

The url http://code.google.com/p/heekscad/ for HeeksCAD and 
        http://code.google.com/p/heekscnc/ for CNC

tutorial for ubuntu distro, opencamlib not compile into gentoo

http://code.google.com/p/heekscad/wiki/UbuntuInstallation

Thanks
Palumbo Eugenio.

Comment 5 Rafał Mużyło 2010-06-28 23:24:21 UTC
...and it seems the lib builds just fine -
as long as you remove '-Werror' from src/CMakeLists.txt
Comment 6 Eugenio Palumbo 2010-06-28 23:27:39 UTC
(In reply to comment #5)
> ...and it seems the lib builds just fine -
> as long as you remove '-Werror' from src/CMakeLists.txt
> 

I have build opencamlib fine with gcc-4.4.3 and boost-1.41

Thanks, for your help

Comment 7 Eugenio Palumbo 2010-06-28 23:29:04 UTC
 

and I disabled -Werror on CMakeList.txt