Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Freecad 0.13
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Pyrates
n00b
n00b


Joined: 29 Apr 2004
Posts: 69

PostPosted: Mon Jun 17, 2013 7:16 pm    Post subject: Freecad 0.13 Reply with quote

There is an ebuild for media-gfx/freecad-0.13.1830, but I can't seem to get to try to install it. It does not have any KEYWORDS configured, yet "emerge -p freecad" wants to emerge version 0.12.5284-r3 (which, incidentally, _has_ "~amd64" as a KEYWORD). It seems a bit strange to me that the higher version does not have an unstable keyword, while the lower does, on the same architecture. I wouldn't mind, though, if I could get 0.13 to emerge.

Here's my "emerge --info". Did I miss something obvious? Should I give some other info? Thanks for any pointers!
_________________
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5517

PostPosted: Mon Jun 17, 2013 7:24 pm    Post subject: Reply with quote

This is called "masked by missing keywords" - it's usually done when ebuild is more or less ready for use under some special circumstances, but not yet ready for ~arch.
Back to top
View user's profile Send private message
Pyrates
n00b
n00b


Joined: 29 Apr 2004
Posts: 69

PostPosted: Mon Jun 17, 2013 7:29 pm    Post subject: Reply with quote

Oh ok, thanks a lot. Putting "amd64" into KEYWORDS it seems willing to emerge, I'm gonna give it a shot ;)
_________________
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."
Back to top
View user's profile Send private message
acidmonkey
n00b
n00b


Joined: 27 Feb 2010
Posts: 39

PostPosted: Fri Jun 28, 2013 10:49 pm    Post subject: Reply with quote

Hi, I've got a problem installing this new version of FreeCAD.

I don't know if whatever goes wrong has to do with the compile scripts of FreeCAD or is a bug in the ebuild.
It ends with just "cmake failed"

What is weird about it is that it complains about missing .cmake files named OCEConfig.cmake or oce-config.cmake which should belong to opencascade.
I've tired both the stable and unstable versions (6.5.0 and 6.6.0) of OpenCascade and still get the same issue.

here is the whole build.log
Code:
 * Package:    media-gfx/freecad-0.13.1830
 * Repository: gentoo
 * Maintainer: xmw@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox
 * Using following Fortran compiler:
 *   F77: x86_64-pc-linux-gnu-gfortran
 *   FC:  x86_64-pc-linux-gnu-gfortran
>>> Unpacking source...
>>> Unpacking freecad-0.13.1830.tar.gz to /var/tmp/portage/media-gfx/freecad-0.13.1830/work
>>> Source unpacked in /var/tmp/portage/media-gfx/freecad-0.13.1830/work
>>> Preparing source in /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830 ...
 * remove bundled libs
 * Applying freecad-0.13.1830-remove-qt3-support.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DOCC_INCLUDE_DIR=/usr/lib64/opencascade-6.6.0/ros/lin/inc -DOCC_INCLUDE_PATH=/usr/lib64/opencascade-6.6.0/ros/lin/inc -DOCC_LIBRARY=/usr/lib64/opencascade-6.6.0/ros/lin/lib/libTKernel.so -DOCC_LIBRARY_DIR=/usr/lib64/opencascade-6.6.0/ros/lin/lib -DOCC_LIB_PATH=/usr/lib64/opencascade-6.6.0/ros/lin/lib -DCOIN3D_INCLUDE_DIR=/usr/include/coin -DCOIN3D_LIBRARY=/usr/lib64/libCoin.so -DSOQT_LIBRARY=/usr/lib64/libSoQt.so -DSOQT_INCLUDE_PATH=/usr/include/coin -DCMAKE_BINARY_DIR=/usr/bin -DCMAKE_INSTALL_PREFIX=/usr/lib64/freecad-0.13.1830 -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/gentoo_rules.cmake  /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /usr/bin/x86_64-pc-linux-gnu-gfortran
-- Check for working Fortran compiler: /usr/bin/x86_64-pc-linux-gnu-gfortran  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/x86_64-pc-linux-gnu-gfortran supports Fortran 90
-- Checking whether /usr/bin/x86_64-pc-linux-gnu-gfortran supports Fortran 90 -- yes
-- Looking for GL/gl.h
-- Looking for GL/gl.h - found
-- Looking for C++ include istream
-- Looking for C++ include istream - found
-- Looking for C++ include ostream
-- Looking for C++ include ostream - found
-- Looking for C++ include fstream
-- Looking for C++ include fstream - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for C++ include ios
-- Looking for C++ include ios - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Looking for C++ include iomanip
-- Looking for C++ include iomanip - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- prefix: /usr/lib64/freecad-0.13.1830
-- datadir: data
-- docdir: doc
-- includedir: include
-- Found PythonInterp: /usr/bin/python (found version "2.7.5")
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable exact version "2.7.5")
-- Boost version: 1.49.0
-- Found the following Boost libraries:
--   filesystem
--   program_options
--   regex
--   signals
--   system
--   thread
-- Found Xerces-C: /usr/lib64/libxerces-c.so
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7")
CMake Warning at CMakeLists.txt:220 (find_package):
  By not providing "FindOCE.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OCE", but
  CMake did not find one.

  Could not find a package configuration file provided by "OCE" with any of
  the following names:

    OCEConfig.cmake
    oce-config.cmake

  Add the installation prefix of "OCE" to CMAKE_PREFIX_PATH or set "OCE_DIR"
  to a directory containing one of the above files.  If "OCE" provides a
  separate development package or SDK, be sure it has been installed.


-- OpenCASCADE include directory: /usr/lib64/opencascade-6.6.0/ros/lin/inc
-- OpenCASCADE shared libraries directory: /usr/lib64/opencascade-6.6.0/ros/lin/lib
-- Found SWIG: /usr/bin/swig (found version "2.0.9")
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.4", minimum required is "4.5.0")
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so 
-- Found OpenGLU: /usr/lib64/libGLU.so
-- Found Spnav: /usr/lib64/libspnav.so 
matplotlib not found, Plot module will not available until matplotlib is installed!
-- Platform is 64-bit, set -D_OCC64
-- DEBUG: -g -DFC_DEBUG
fatal: Not a git repository (or any of the parent directories): .git
bzr: ERROR: Not a branch: "/var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830/".
svn: E155007: '/var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830' is not a working copy
CMake Error at src/CMakeLists.txt:3 (add_subdirectory):
  add_subdirectory given source "3rdParty" which is not an existing
  directory.


-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Base/BaseClassPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Base/BoundBoxPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Base/PersistencePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Base/VectorPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Base/MatrixPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Base/RotationPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Base/PlacementPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Base/AxisPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/App/DocumentPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/App/DocumentObjectPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/App/DocumentObjectGroupPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/App/FeaturePythonPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/App/ComplexGeoDataPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/App/PropertyContainerPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/App/MaterialPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Points/App/PointsPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Mesh/App/FacetPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Mesh/App/MeshFeaturePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Mesh/App/FeaturePythonPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Mesh/App/MeshPointPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Mesh/App/MeshPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/ArcPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/ArcOfCirclePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/CirclePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/EllipsePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/HyperbolaPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/ParabolaPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/OffsetCurvePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/GeometryPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/GeometryCurvePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/GeometrySurfacePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/LinePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/PointPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/BezierCurvePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/BSplineCurvePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/PlanePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/ConePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/CylinderPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/SpherePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/ToroidPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/BezierSurfacePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/BSplineSurfacePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/OffsetSurfacePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/RectangularTrimmedSurfacePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/SurfaceOfExtrusionPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/SurfaceOfRevolutionPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/PartFeaturePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/FeaturePythonPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/Part2DObjectPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/TopoShapePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/TopoShapeCompoundPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/TopoShapeCompSolidPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/TopoShapeEdgePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/TopoShapeFacePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/TopoShapeShellPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/TopoShapeSolidPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/TopoShapeVertexPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/TopoShapeWirePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Sketcher/App/SketchObjectSFPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Sketcher/App/SketchObjectPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Sketcher/App/ConstraintPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Sketcher/App/SketchPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Robot/App/Robot6AxisPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Robot/App/TrajectoryPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Robot/App/WaypointPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Robot/App/RobotObjectPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Mod/Fem/App/FemMeshPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Gui/DocumentPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Gui/PythonWorkbenchPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Gui/ViewProviderPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Gui/ViewProviderDocumentObjectPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Gui/ViewProviderPythonFeaturePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Gui/WorkbenchPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Gui/SelectionObjectPy.cpp
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.3.1")
-- Coin3D doc is not installed
--2013-06-28 19:43:35--  http://doc.coin3d.org/Coin/coin.tag
Resolving doc.coin3d.org... 88.87.56.183
Connecting to doc.coin3d.org|88.87.56.183|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3434308 (3.3M) [text/xml]
Saving to: ‘/var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Doc/coin.tag’

 0% [                                       ] 0           --.-K/s             
 0% [                                       ] 9,825       27.9KB/s             
 2% [                                       ] 71,745       129KB/s             
 2% [>                                      ] 100,545      117KB/s             
 6% [=>                                     ] 233,025      219KB/s             
 9% [==>                                    ] 336,705      243KB/s             
13% [====>                                  ] 469,185      295KB/s             
17% [=====>                                 ] 601,665      334KB/s             
20% [======>                                ] 703,905      351KB/s             
24% [========>                              ] 836,385      378KB/s             
28% [==========>                            ] 968,865      401KB/s             
32% [===========>                           ] 1,099,905    419KB/s             
35% [============>                          ] 1,232,385    436KB/s             
39% [==============>                        ] 1,364,865    450KB/s             
40% [==============>                        ] 1,392,225    368KB/s  eta 5s     
57% [=====================>                 ] 1,972,545    494KB/s  eta 5s     
60% [======================>                ] 2,073,345    494KB/s  eta 5s     
64% [========================>              ] 2,205,825    542KB/s  eta 5s     
67% [=========================>             ] 2,306,625    551KB/s  eta 5s     
71% [==========================>            ] 2,439,105    591KB/s  eta 2s     
74% [============================>          ] 2,571,585    590KB/s  eta 2s     
78% [=============================>         ] 2,702,625    616KB/s  eta 2s     
82% [===============================>       ] 2,835,105    616KB/s  eta 2s     
86% [================================>      ] 2,967,585    617KB/s  eta 2s     
89% [=================================>     ] 3,078,465    548KB/s  eta 1s     
99% [=====================================> ] 3,409,665    583KB/s  eta 1s     
99% [=====================================> ] 3,422,625    536KB/s  eta 1s     
99% [=====================================> ] 3,434,145    503KB/s  eta 1s     
100%[======================================>] 3,434,308    469KB/s  eta 0s     
100%[======================================>] 3,434,308    469KB/s   in 7.3s   

2013-06-28 19:43:42 (459 KB/s) - ‘/var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Doc/coin.tag’ saved [3434308/3434308]

--   Tag file: /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Doc/coin.tag
--   Location: http://doc.coin3d.org/Coin
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr/lib64/freecad-0.13.1830
Compiler flags:
C               -O2 -march=amdfam10 -mcx16 -mpopcnt -pipe
C++             -O2 -march=amdfam10 -mcx16 -mpopcnt -pipe  -D_OCC64
Linker flags:
Executable       -Wl,-O1 -Wl,--sort-common -Wl,--as-needed
Module           -Wl,-O1 -Wl,--sort-common -Wl,--as-needed
Shared           -Wl,-O1 -Wl,--sort-common -Wl,--as-needed

-- Configuring incomplete, errors occurred!
 * ERROR: media-gfx/freecad-0.13.1830 failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 6175:  Called cmake-utils_src_configure
 *   environment, line 1614:  Called _execute_optionaly 'src_configure'
 *   environment, line  467:  Called enable_cmake-utils_src_configure
 *   environment, line 1932:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=media-gfx/freecad-0.13.1830'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/freecad-0.13.1830'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/freecad-0.13.1830/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/freecad-0.13.1830/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build'
 * S: '/var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830'
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1551

PostPosted: Fri Jun 28, 2013 11:18 pm    Post subject: Reply with quote

Please file bugs at https://bugs.gentoo.org; the src/CMakeLists.txt has two mistakes, it tries to use a missing directory as well as illegally downloads a file during the configure phase.
Back to top
View user's profile Send private message
acidmonkey
n00b
n00b


Joined: 27 Feb 2010
Posts: 39

PostPosted: Fri Jun 28, 2013 11:51 pm    Post subject: Reply with quote

I'll try (I never reported a bug nor ever used bugzilla :? )

Shall I file this under Applications or ebuilds?
Isn't that an issue with what's supplied in the freecad tarball rather than something within portage or even gentoo related?
Back to top
View user's profile Send private message
acidmonkey
n00b
n00b


Joined: 27 Feb 2010
Posts: 39

PostPosted: Sat Jun 29, 2013 12:00 am    Post subject: Reply with quote

any way here it is: https://bugs.gentoo.org/show_bug.cgi?id=475168

any tips on how to quick fix this for myself?
Back to top
View user's profile Send private message
acidmonkey
n00b
n00b


Joined: 27 Feb 2010
Posts: 39

PostPosted: Sun Jun 30, 2013 8:19 pm    Post subject: Reply with quote

The whole thing is a serious mess it seems.

I've got around to applying a no-third party patch from the previous version, figuring out the necessity to compile FreeCAD with MAKEOPTS="-j1" only to be stopped by a broken dependency for SMESH which is part of the Salome package for which exists an outdated version in the science overlay which in turn need python 2.4(!) to function.

So yeah.
I guess I'll have to wait to use FreeCAD within gentoo, let alone have a sane installation. 8O
Back to top
View user's profile Send private message
acidmonkey
n00b
n00b


Joined: 27 Feb 2010
Posts: 39

PostPosted: Sun Jul 07, 2013 7:35 pm    Post subject: Reply with quote

Any input on how to resolve this would be appreciated, oh and my bug report isn't really getting any attention.
Back to top
View user's profile Send private message
Pyrates
n00b
n00b


Joined: 29 Apr 2004
Posts: 69

PostPosted: Mon Aug 05, 2013 7:51 am    Post subject: Reply with quote

Did you try downloading the binaries linked at the freecad site and using those? Not the most elegant solution, but unless there's someone knowledgeable who finds the time and will to fix the ebuild(s), it might be the only option.
_________________
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 658

PostPosted: Thu Sep 19, 2013 3:16 am    Post subject: Reply with quote

Hi Guys:

Tried and RPM binary for fedora....
4 hours wasted. Tried removing cascade and using the rpms for thoss, eventually had to unmask glibc 2.17 as one of the RPMs depended on that and int the end there was s symbol error....I just gave up, removed the rpms.

Am now compiling from source but the big hiccup is that there is no ebuild for OCE for gentoo.

So am in the process of building that.

Will keep you posted.

Cheers,
john
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 658

PostPosted: Thu Sep 19, 2013 5:57 am    Post subject: Success! Reply with quote

Hi All:

Ok, I got version 0.13.1830 compiled and it runs fine. I did it manually WITHOUT portage.

1. You need to unmask opencascade 6.5.5 and emerge that,
2. Next you need to download and build on your own OCE (Open Cascade Community Edition), link is here https://github.com/tpaviot/oce/wiki. There is no ebuild for OCE in portage,
3. There are some instructions here if you need them (i just followed the readme included with the source and it worked fine) http://freecadamusements.blogspot.sg/2013/02/compile-opencascade-community-edition.html,
4. Once OCE was installed, as root I compiled freecad like this:
cmake -D COIN3D_INCLUDE_DIR=/usr/include/coin/ OCC_INCLUDE_DIR=/usr/lib64/opencascade-6.5.5 . Note the full stop after the 6.5.5,
5. Then when this is done, as root, make install.

Done. DXF export works a charm in this version.

Cheers,
john
Back to top
View user's profile Send private message
wazoo42
Apprentice
Apprentice


Joined: 13 Apr 2004
Posts: 165

PostPosted: Mon Oct 21, 2013 9:05 pm    Post subject: Reply with quote

jserink, I was wondering if you ran into any problems with git because my cmake command crashes with,

Code:


# cmake -D OCE_DIR=/usr/local/oce/lib/oce-0.13/ COIN3D_INCLUDE_DIR=/usr/include/coin/ OCC_INCLUDE_DIR=/usr/lib64/opencascade-6.5.5 .

.
.
.
-- Found Xerces-C: /usr/lib64/libxerces-c.so
-- OpenCASCADE Community Edition has been found.
-- matplotlib-1.3.0 has been found.
-- Platform is 64-bit, set -D_OCC64
-- DEBUG: -g -DFC_DEBUG
fatal: Not a git repository (or any parent up to mount point /storage)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
bzr: ERROR: Not a branch: "/storage/temp/freecad-0.13.1830/".
svn: E155007: '/storage/temp/freecad-0.13.1830' is not a working copy
-- Boost version: 1.53.0
-- Boost found: 1
-- Build 64bit
-- Coin3D doc is installed
--   Tag file: /usr/share/doc/coin-3.1.3-r2/html/coin.tag
--   Location: /usr/share/doc/coin-3.1.3-r2/html
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:
COIN3D_INCLUDE_DIR
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/3rdParty/Pivy
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/3rdParty/Pivy
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Main
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Main
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Main
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Main
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Points/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Complete/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Image/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Mesh/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Part/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/PartDesign/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Raytracing/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Drawing/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Sketcher/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Robot/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/ReverseEngineering/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/MeshPart/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Web/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Start/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Import/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Inspection/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Fem/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Gui

-- Configuring incomplete, errors occurred!
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 658

PostPosted: Tue Oct 22, 2013 1:18 am    Post subject: Reply with quote

wazoo42 wrote:
jserink, I was wondering if you ran into any problems with git because my cmake command crashes with,

Code:


# cmake -D OCE_DIR=/usr/local/oce/lib/oce-0.13/ COIN3D_INCLUDE_DIR=/usr/include/coin/ OCC_INCLUDE_DIR=/usr/lib64/opencascade-6.5.5 .

.
.
.
-- Found Xerces-C: /usr/lib64/libxerces-c.so
-- OpenCASCADE Community Edition has been found.
-- matplotlib-1.3.0 has been found.
-- Platform is 64-bit, set -D_OCC64
-- DEBUG: -g -DFC_DEBUG
fatal: Not a git repository (or any parent up to mount point /storage)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
bzr: ERROR: Not a branch: "/storage/temp/freecad-0.13.1830/".
svn: E155007: '/storage/temp/freecad-0.13.1830' is not a working copy
-- Boost version: 1.53.0
-- Boost found: 1
-- Build 64bit
-- Coin3D doc is installed
--   Tag file: /usr/share/doc/coin-3.1.3-r2/html/coin.tag
--   Location: /usr/share/doc/coin-3.1.3-r2/html
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:
COIN3D_INCLUDE_DIR
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/3rdParty/Pivy
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/3rdParty/Pivy
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Main
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Main
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Main
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Main
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Points/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Complete/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Image/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Mesh/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Part/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/PartDesign/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Raytracing/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Drawing/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Sketcher/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Robot/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/ReverseEngineering/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/MeshPart/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Web/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Start/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Import/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Inspection/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Mod/Fem/Gui
   used as include directory in directory /storage/temp/freecad-0.13.1830/src/Gui

-- Configuring incomplete, errors occurred!


Looks like a problem of where or how you unpacked oce.
I just followed the instruction explicitly on the wiki and had no issues.
Back to top
View user's profile Send private message
wazoo42
Apprentice
Apprentice


Joined: 13 Apr 2004
Posts: 165

PostPosted: Wed Oct 23, 2013 7:26 pm    Post subject: Reply with quote

jserink, the first time around I compiled OCE-0.13. Did you use version 0.11 when you got everything to work?
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1684

PostPosted: Thu Oct 24, 2013 11:37 am    Post subject: Reply with quote

You might be better off with LibreCad, which ISTR was a straighforward build last time I tried it:
Code:


# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit qt4-r2 eutils flag-o-matic

DESCRIPTION="An generic 2D CAD program"
HOMEPAGE="http://www.librecad.org/"
SRC_URI="https://nodeload.github.com/LibreCAD/LibreCAD/tarball/${PV/_/} ->
${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc"

DEPEND="
   x11-libs/qt-assistant:4
   x11-libs/qt-gui:4
   x11-libs/qt-svg:4
   dev-libs/boost
   dev-cpp/muParser
   media-libs/freetype
   "

RDEPEND="${DEPEND}"

src_unpack() {
   unpack ${A}
   mv * ${P}
}

src_prepare() {
   sed -i -e '/RS_VECTOR2D/ s/^#//' librecad/src/src.pro
}

src_install() {
   dobin unix/librecad
   insinto /usr/share/"${PN}"
   doins -r unix/resources/*
   if use doc ; then
      dohtml -r support/doc/*
   fi
   doicon librecad/res/main/"${PN}".png
   make_desktop_entry "${PN}" LibreCAD "${PN}.png" Graphics
}



Don't know where I got the ebuild from - it's not in the current portage.


Will
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 658

PostPosted: Fri Oct 25, 2013 1:28 am    Post subject: Reply with quote

Libre cad is ok if:

You only want o work on simple DXF files,
You don't need to import/view/work on step files.

Complicated DXFs with TTF fonts and the like get messed up in Libre cad. Its getting better but its not quite there yet.
Back to top
View user's profile Send private message
bochkov
n00b
n00b


Joined: 28 Oct 2013
Posts: 1
Location: Russia, Saratov

PostPosted: Mon Oct 28, 2013 7:49 pm    Post subject: Re: Success! Reply with quote

jserink wrote:

1. You need to unmask opencascade 6.5.5 and emerge that,
2. Next you need to download and build on your own OCE (Open Cascade Community Edition), link is here https://github.com/tpaviot/oce/wiki. There is no ebuild for OCE in portage,
4. Once OCE was installed, as root I compiled freecad like this:
cmake -D COIN3D_INCLUDE_DIR=/usr/include/coin/ OCC_INCLUDE_DIR=/usr/lib64/opencascade-6.5.5 . Note the full stop after the 6.5.5,
5. Then when this is done, as root, make install.


Thank you!

jserink wrote:
There is no ebuild for OCE in portage,



You can modify this ebuild? http://code.google.com/p/druid-overlay/source/browse/trunk/sci-libs/oce/oce-0.4.0.ebuild?r=8
Back to top
View user's profile Send private message
kwispy
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 76

PostPosted: Fri Dec 06, 2013 7:58 pm    Post subject: Reply with quote

I can confirm that the fixes outlined in Comment #7 of https://bugs.gentoo.org/show_bug.cgi?id=475168#c7 worked to build freecad-0.13.1830. I had to modify the ebuild a tad like it said, and placed in my local portage as -r1, and away we went!

Built against:
opencascade-6.5.5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum