Page 4 of 6
Re: 3 problems (or more)
Posted: 12. Nov 2011, 16:10
by laprjns
mimosa wrote:I see that --search doesn't work how i thought for src.
Once a package is installed using slapt-src it will be found by slapt-get --search. See here:
Code: Select all
root[rich]# slapt-get --search coin SoGt pivy xerces-c OpenCASCADE gl2ps
Coin-3.1.3-i486-2_SBo [inst=yes]: Coin (an Open Inventor API compatible library)
Pivy-hg_20101207-i486-1_SBo [inst=yes]: Pivy (a Coin binding for Python)
SoQt-1.5.0-i486-2_SBo [inst=yes]: SoQt (Qt GUI bindings for Coin library)
Pivy-hg_20101207-i486-1_SBo [inst=yes]: Pivy (a Coin binding for Python)
xerces-c-2.8.0-i486-1gv [inst=yes]: xerces-c (XML Parser)
OpenCASCADE-6.5.1-i486-1_SBo [inst=yes]: OpenCASCADE (3D modeling & numerical simulation)
Re: 3 problems (or more)
Posted: 12. Nov 2011, 16:19
by Oracle911
Now I'm confused. What that mean laprjns?
Re: 3 problems (or more)
Posted: 12. Nov 2011, 16:23
by laprjns
It means that you can use:
Code: Select all
splat-get --search slapt-get --search coin SoGt pivy xerces-c OpenCASCADE gl2ps
to see if all the packages are installed on your system
Re: 3 problems (or more)
Posted: 12. Nov 2011, 16:25
by mimosa
laprnjs edited the instructions in his original long post to include those dependencies. So all the information is in one place!
Thanks for the tip about slapt-src.
So you can check how far you've got like this:
slapt-get --search coin pivy.... and all the rest.
EDIT
The build of FreeCAD on my machine just completed, and it seems to work just fine! It is indeed at /opt/FreeCAD/bin/FreeCAD. I thought that rather than altering the $PATH variable, it might be simpler to symlink it to /usr/bin. But let's get it installed on your machine frst, Oracle.
Re: 3 problems (or more)
Posted: 12. Nov 2011, 16:46
by Oracle911
I got this:
Code: Select all
root[rich]# slapt-src --search coin SoQt 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)
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[rich]# slapt-src --search coin SoQt 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)
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)
Re: 3 problems (or more)
Posted: 12. Nov 2011, 16:52
by mimosa
You need to use slapt-get, not slapt-src:
Re: 3 problems (or more)
Posted: 12. Nov 2011, 16:54
by laprjns
Ok, I've successfully complete the build and installation of FreeCAD. Seems to work. Just follow the instructions that are in my earlier post. My instructions do not include the eigen2 package since its a optional dependancy. If you want it just added it to the end of the slapt-get -i line in step #2.
As mimosa said, it gets installed in /opt so if you want to start it in a terminal you either need to add /opt/FreeCAD to your path do a /opt/FreeCAD/FreeCAD. There is also a launcher in the "Graphic" section of the menu.
Re: 3 problems (or more)
Posted: 12. Nov 2011, 17:07
by Oracle911
The instaalation failed again, but after closer look i noticed this:
Code: Select all
././src/Driver/Driver_Document.cpp -fPIC -DPIC -o .libs/Driver_Document.o
././src/Driver/Driver_Document.cpp:22:29: fatal error: Driver_Document.h: Adresár alebo súbor neexistuje
Adresár alebo súbor neexistuje=No such file or directory
Re: 3 problems (or more)
Posted: 12. Nov 2011, 17:17
by mimosa
As laprnjs says, you can just go back to the beginning and follow his instructions. Maybe you've already done that, though - in which case, please post the output of
Code: Select all
slapt-get --search coin SoQt pivy xerces-c OpenCASCADE gl2ps
which will show where things started to go wrong.
Re: 3 problems (or more)
Posted: 12. Nov 2011, 17:32
by Oracle911
It says this:
Code: Select all
root[rich]# slapt-get --search coin SoQt pivy xerces-c OpenCASCADE gl2ps
Coin-3.1.3-i486-2_SBo [inst=áno]: Coin (an Open Inventor API compatible library)
Pivy-hg_20101207-i486-1_SBo [inst=áno]: Pivy (a Coin binding for Python)
SoQt-1.5.0-i486-2_SBo [inst=áno]: SoQt (Qt GUI bindings for Coin library)
SoQt-1.5.0-i486-2_SBo [inst=áno]: SoQt (Qt GUI bindings for Coin library)
Pivy-hg_20101207-i486-1_SBo [inst=áno]: Pivy (a Coin binding for Python)
xerces-c-2.8.0-i486-1gv [inst=áno]: xerces-c (XML Parser)
áno=yes