Page 3 of 6

Re: 3 problems (or more)

Posted: 12. Nov 2011, 14:50
by mimosa
Not sure about the first one, but the second is because you need to install gcc-fortran, see my previous post :)

Re: 3 problems (or more)

Posted: 12. Nov 2011, 15:05
by Oracle911
I installed gcc-gfortran (i hope this is what you meant) and it wrote this:

Code: Select all

././src/Driver/Driver_Document.cpp:22:29: fatal error: Driver_Document.h: Adresár alebo súbor neexistuje
compilation terminated.
make[4]: *** [Driver_Document.lo] Error 1
make[4]: Leaving directory `/usr/src/slapt-src/graphics/FreeCAD/FreeCAD-0.11.3729/src/3rdParty/salomesmesh'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/slapt-src/graphics/FreeCAD/FreeCAD-0.11.3729/src/3rdParty'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/slapt-src/graphics/FreeCAD/FreeCAD-0.11.3729/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/slapt-src/graphics/FreeCAD/FreeCAD-0.11.3729'
make: *** [all] Error 2
fakeroot -- sh FreeCAD.SlackBuild Failed

Re: 3 problems (or more)

Posted: 12. Nov 2011, 15:16
by mimosa
There's also the first message in your previous post, which I'm not sure how to interpret. Did that occur while you were trying to build freecad, or was it one of its dependencies?

Have you installed everything Rich and I suggested, as well as all freecad's dependencies - for instance, boost?

EDIT

And yes, you're quite right, it's gcc-gfortran

Re: 3 problems (or more)

Posted: 12. Nov 2011, 15:20
by Oracle911
First error message was for dependencies (in my previous post).

Re: 3 problems (or more)

Posted: 12. Nov 2011, 15:25
by mimosa
First error message was for dependencies (in my previous post).
Do you mean you got that message when you were trying to build one of the dependencies? Did the build fail? If so, then so will building freecad.

I repeat my question: have you successfully installed everthing else?

Re: 3 problems (or more)

Posted: 12. Nov 2011, 15:27
by Oracle911
Well the installation of dependencies failed.

Re: 3 problems (or more)

Posted: 12. Nov 2011, 15:38
by mimosa
So you can't install freecad till you've fixed the problem earlier in the chain. That's what "dependency" means ;)

You still didn't answer about installing the other things suggested on the thread. If not, please install them and try again with the dependencies.

If you're not sure how far you've got, you can check like this:

Code: Select all

slapt-src --search coin SoGt pivy xerces-c OpenCASCADE gl2ps
slapt-get --search ftgl eigen2 boost gcc-gfortran
That's not a complete list, just from memory, maybe misspelled. Check back in the thread.

Re: 3 problems (or more)

Posted: 12. Nov 2011, 15:48
by Oracle911
It said this:

Code: Select all

rootlapt[rich]-src --search coin SoGt pivy xerces-c OpenCASCADE gl2ps
Coin:3.1.3 - Coin (an Open Inventor API compatible library)
Pivy:hg_20101207 - Pivy (a Coin binding for Python)
SoQt:1.5.0 - SoQt (Qt GUI bindings for Coin library)
Pivy:hg_20101207 - Pivy (a Coin binding for Python)
xerces-c:2.8.0 - xerces-c (XML Parser)
OpenCASCADE:6.5.1 - OpenCASCADE (3D modeling & numerical simulation)
gl2ps:1.3.5 - gl2ps (OpenGL to PostScript printing library)
and this:

Code: Select all

root[teleky]# slapt-src --search coin SoGt pivy xerces-c OpenCASCADE gl2ps
Coin:3.1.3 - Coin (an Open Inventor API compatible library)
Pivy:hg_20101207 - Pivy (a Coin binding for Python)
SoQt:1.5.0 - SoQt (Qt GUI bindings for Coin library)
Pivy:hg_20101207 - Pivy (a Coin binding for Python)
xerces-c:2.8.0 - xerces-c (XML Parser)
OpenCASCADE:6.5.1 - OpenCASCADE (3D modeling & numerical simulation)
gl2ps:1.3.5 - gl2ps (OpenGL to PostScript printing library)
root[teleky]# slapt-get --search ftgl eigen2 boost gcc-gfortran
ftgl-2.1.3_rc5-i486-1fb [inst=yes]: ftgl (C++ library that uses Freetype2)
eigen2-2.0.10-i486-1 [inst=no]: Eigen2 (c++ math library)
boost-1.45.0-i486-1 [inst=yes]: boost (Boost C++ Libraries)
gcc-gfortran-4.5.2-i486-2 [inst=yes]: gcc-gfortran (Fortran support for GCC)
~=yes/no -in my language

Re: 3 problems (or more)

Posted: 12. Nov 2011, 15:56
by mimosa
I see that --search doesn't work how i thought for src. Also you didn't check my spelling mistakes. ;)

Try searching using Sourcery. Just search for Pivy, Coin and the rest, and see if they are installed. Just so you can keep track, if you're not sure.

EDIT

You do need to look back over the thread yourself to see you've included everything. I was just writing from memory.

Re: 3 problems (or more)

Posted: 12. Nov 2011, 16:01
by laprjns
I've added Edit #3 to my earlier post. This adds boost and gcc-gfortran to the slapt-get in step #2