Third time is charm for OCC documentation install

Ok…. I’m thinking I’m getting close here….
(of course been there before)….
I need to drill down on this further….
Apparently, ibstdc++-libc6.1-1.so.2 is not part of a debian distribution….
according to: http://www.opencascade.org/org/forum/thread_11094/
This link said to: “wget ftp://fr2.rpmfind.net/linux/fedora/core/6/x86_64/os/Fedora/RPMS/compat-libstdc++-296-2.96-138.i386.rpm”
Unfortunately that didn’t work…
——-Side tracking…….. What is http://en.wikipedia.org/wiki/RPM_Package_Manager
For that matter what is meant by Debian:http://en.wikipedia.org/wiki/Debian
I was curious what the heck is the deal was with this rpm stuff. If you go to the http://fr2.rpmfind.net there is picture of the cobbled together server that has the data file I’m looking for.
Back on track….
The bottom of the link: http://ubuntuforums.org/archive/index.php/t-237829.html was saying that the file was replaced by ftp://fr2.rpmfind.net/linux/fedora/core/6/i386/os/ Fedora/RPMS/compat-libstdc++-296-2.96-138.i386.rpm
Great expect it doesn’t work…. Hmmmf
Hold the phone…..X86_64 if for a 64 bit processor (which I don’t have), It seems that fedora will work on ubuntu…. I think…. The error message that was causing the trouble is:
/tmp/isjvdGYXM/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory

If go into http://fr2.rpmfind.net has a search function… stick in libstdc++-libc6.1-1.so.2 is pulls some stuff in add fedora and i386. I’m not sure on this one…
I did a hail mary and found this link:http://ubuntu-linux-dell-inspiron-9400.blogspot.com/2006/08/sun-jdk131.html
———————-
jonas@ubuntu1:/$ sudo apt-get install libstdc++2.10-glibc2.2
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
libstdc++2.10-glibc2.2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 329kB of archives.
After unpacking 1384kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libstdc++2.10-glibc2.2
Install these packages without verification [y/N]? y
Get:1 http://us.archive.ubuntu.com gutsy/universe libstdc++2.10-glibc2.2 1:2.95.4-24 [329kB]
Fetched 329kB in 16s (19.4kB/s)
Selecting previously deselected package libstdc++2.10-glibc2.2.
(Reading database … 95025 files and directories currently installed.)
Unpacking libstdc++2.10-glibc2.2 (from …/libstdc++2.10-glibc2.2_1%3a2.95.4-24_i386.deb) …
Setting up libstdc++2.10-glibc2.2 (1:2.95.4-24) …

Processing triggers for libc6 …
ldconfig deferred processing now taking place
jonas@ubuntu1:/$ sudo ln -s libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2
jonas@ubuntu1:/$
——————
Try this again..
jonas@ubuntu1:/$ cd usr/lib
jonas@ubuntu1:/usr/lib$ sudo ln -s libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2
jonas@ubuntu1:/usr/lib$ sudo updatedb
jonas@ubuntu1:/usr/lib$ locate libstdc++-libc6.1-1.so.2
/usr/lib/libstdc++-libc6.1-1.so.2
————————
Here goes try number#3
jonas@ubuntu1:/$ ls
bin boot cdrom dev etc home initrd initrd.img lib lost+found media mnt opt proc root sbin srv sys tmp usr var vmlinuz
jonas@ubuntu1:/$ cd home
jonas@ubuntu1:/home$ ls
jonas
jonas@ubuntu1:/home$ cd jonas
jonas@ubuntu1:~$ ls
Desktop Documents Examples Music OCC_documentation Pictures Public Templates tmp Videos
jonas@ubuntu1:~$ cd OCC_documentation
jonas@ubuntu1:~/OCC_documentation$ ls
Autorun.inf images install.bat install.csh OpenCASCADE_doc.tgz package readme.htm
jonas@ubuntu1:~/OCC_documentation$ csh
% sudo csh -x install.csh
setenv JAVAHOME .
set OS_NAME=uname
uname
if ( Linux == SunOS ) then
if ( Linux == Linux ) then
./package/setupLinux.bin
InstallShield Wizard

Initializing InstallShield Wizard…

Preparing Java(tm) Virtual Machine…
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
……………………………..
…endif
%
When I search for the “/opt/OCCTDocumentation6.2.0 directory” I got nothing…
Back to square one…
At this point, I might as when, try to install the OCC library… What the heh…
that didn’t work by I ran across a link that talked about running setup jar… that worked…
—————–
sjonas@ubuntu1:~/OCC_library_download$ sudo updatedb
jonas@ubuntu1:~/OCC_library_download$ cd..
bash: cd..: command not found
jonas@ubuntu1:~/OCC_library_download$ ls
doc install.csh Linux OpenCASCADE_Linux.tgz readme.htm
jonas@ubuntu1:~/OCC_library_download$ cd..
bash: cd..: command not found
jonas@ubuntu1:~/OCC_library_download$ cd ..
jonas@ubuntu1:~$ ls
Desktop Documents Examples Music OCC_documentation OCC_library_download Pictures Public Templates tmp Videos
jonas@ubuntu1:~$ cd OCC_library_download
jonas@ubuntu1:~/OCC_library_download$ ls
doc install.csh Linux OpenCASCADE_Linux.tgz readme.htm
jonas@ubuntu1:~/OCC_library_download$ cd Linux
jonas@ubuntu1:~/OCC_library_download/Linux$ ls
setup.jar setupLinux.bin
jonas@ubuntu1:~/OCC_library_download/Linux$ java -jar setup.jar
jonas@ubuntu1:~/OCC_library_download/Linux$ sudo java -jar setup.jar
——-
Basically, change directorys to get to the one that has the setup.jar file and execute the command “sudo java -jar setup.jar”
Now I need to see if this works with the library..
Alrightly it does….then…. I feel like “The Private” in Madegascar….. I cracked the code skipper…..
I believe that I need to get a bunch of things cofigured still… but for tonight that’s good…

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *