I just did a locate opencascade on my drive and it is ming boggling how many source files are in this package… No wonder why this took over a day to compile….
The end result appears to be 3 file .deb files locate in the sub-directory as the opencascade_6.2.0.orig.tar.gz was downloaded to:
libopencascade6.2-0_6.2.0-7_i386.deb
libopencascade6.2-dev_6.2.0-7_i386.deb
opencascade-tools_6.2.0-7_i386.deb
The instructions that I got on what to do with these things was:
- Install each .deb as root using “dpkg -i *.deb”
- Run (as root) “apt-get -f install” to get any missing dependencies
This didn’t seem to work.. Here’s what I got.
jonas@unbuntu2:~$ sudo dpkg -i libopencascade6.2-0_6.2.0-7_i386.deb
[sudo] password for jonas:
dpkg: error processing libopencascade6.2-0_6.2.0-7_i386.deb (–install):
cannot access archive: No such file or directory
Errors were encountered while processing:
libopencascade6.2-0_6.2.0-7_i386.deb
jonas@unbuntu2:~$ sudo dpkg-i libopencascade6.2-0_6.2.0-7_i386.deb
sudo: dpkg-i: command not found
jonas@unbuntu2:~$ sudo dpkg -i libopencascade6.2-0_6.2.0-7_i386.deb
dpkg: error processing libopencascade6.2-0_6.2.0-7_i386.deb (–install):
cannot access archive: No such file or directory
Errors were encountered while processing:
libopencascade6.2-0_6.2.0-7_i386.deb
jonas@unbuntu2:~$
I need to look at this later..
Ooops obvious what happen after a good night sleep. I was in the correct folder:
jonas@unbuntu2:~$ ls
2008-04-24 Run log Documents Music OCC_deb OCC_Linux_download Pictures Templates
Desktop Examples Notes from 2008-04-22 OCC compilation OCC_Doc_download OCC_orig_tar Public Videos
jonas@unbuntu2:~$ cd OCC_orig_tar
jonas@unbuntu2:~/OCC_orig_tar$ ls
libopencascade6.2-0_6.2.0-7_i386.deb opencascade-6.2.0 opencascade_6.2.0-7.dsc opencascade_6.2.0.orig.tar.gz
libopencascade6.2-dev_6.2.0-7_i386.deb opencascade_6.2.0-7.diff.gz opencascade_6.2.0-7_i386.changes opencascade-tools_6.2.0-7_i386.deb
jonas@unbuntu2:~/OCC_orig_tar$ sudo dpkg -i libopencascade6.2-0_6.2.0-7_i386.deb
[sudo] password for jonas:
Selecting previously deselected package libopencascade6.2-0.
(Reading database … 102969 files and directories currently installed.)
Unpacking libopencascade6.2-0 (from libopencascade6.2-0_6.2.0-7_i386.deb) …
Setting up libopencascade6.2-0 (6.2.0-7) …
Processing triggers for libc6 …
ldconfig deferred processing now taking place.
Now, going to do it to the other 2 i386.debs:
Processing triggers for libc6 …
ldconfig deferred processing now taking place
jonas@unbuntu2:~/OCC_orig_tar$ sudo dpkg -i libopencascade6.2-0_6.2.0-7_i386.deblibopencascade6.2-dev_6.2.0-7_i386.deb
jonas@unbuntu2:~/OCC_orig_tar$ sudo dpkg -i libopencascade6.2-dev_6.2.0-7_i386.deb
Selecting previously deselected package libopencascade6.2-dev.
(Reading database … 103148 files and directories currently installed.)
Unpacking libopencascade6.2-dev (from libopencascade6.2-dev_6.2.0-7_i386.deb) …
Setting up libopencascade6.2-dev (6.2.0-7) …
jonas@unbuntu2:~/OCC_orig_tar$ sudo dpkg -i opencascade-tools_6.2.0-7_i386.deb
Selecting previously deselected package opencascade-tools.
(Reading database … 118517 files and directories currently installed.)
Unpacking opencascade-tools (from opencascade-tools_6.2.0-7_i386.deb) …
Setting up opencascade-tools (6.2.0-7) …
jonas@unbuntu2:~/OCC_orig_tar$
Alrighty…. This is striking me as a bit odd. The compiler takes days to run, but the .debs only take minutes to install?? I think the pieces may have been installed already…
I thought the .deb would install in the same sub-directorys as OCC would, put appears that it didn’t: /home/jonas/OCC_orig_tar/opencascade-6.2.0/ros/adm/make/TKV3d/.libs/libTKV3d.so.0.0.0
I need to make some inquires on this..