Announcement

Collapse
No announcement yet.

Need help installing BRL-CAD

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need help installing BRL-CAD

    I've been struggling for a few days to get BRL-CAD installed on Kubuntu 9.10. I've tried downloading the binary and source tarballs. The install instructions are not very clear. I understand that the directory should end up being /usr/brlcad but they don't specify whether the make / make install process will put it there. There seem to be some errors during the make process but it doesn't explicitly fail. Does anyone have any experience with this?

    #2
    Re: Need help installing BRL-CAD

    First, which version did you download from SourceForge.net > Find Software > BRL-CAD > Browse Files

    The installation will create the /usr/brlcad directory. That the make process throws errors is important. What are the errors (or warnings). Scroll back through the output and note them and let us know.

    This implies that you didn't download a binary, but instead, downloaded the source for compiling. Why? There is a linux (cross-platform) binary that can be downloaded from the link above.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Need help installing BRL-CAD

      What can BRL-CAD do that Blender's feagtures don't include? And Blender is in the repository!
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #4
        Re: Need help installing BRL-CAD

        Originally posted by GreyGeek
        What can BRL-CAD do that Blender's feagtures don't include? And Blender is in the repository!
        been a long time since I looked at brl-cad so I don't know what is and isn't there, but there are differences between solid modeling and mesh modeling. And there are disciplines that are better suited for solid modeling.
        http://en.wikipedia.org/wiki/Polygonal_modeling
        http://en.wikipedia.org/wiki/Solid_modeling

        in short: blender is to artists as brl-cad is to engineers.
        FKA: tanderson

        Comment


          #5
          Re: Need help installing BRL-CAD

          BRL-CAD


          Few links :

          > 6 of the Best Free Linux CAD Software
          > BRL-CAD.org
          > BRL-CAD wiki
          > BRL-CAD freshmeat
          > BRL-CAD: Tutorials


          BRL-CAD and the Ubuntu (Debian)

          > Bug #311405: [needs-packaging] brlcad
          > Debian Bug report logs - #289632


          From the PPA repositories

          > FAQ: Repositories
          > Using the PPA repositories


          Installation example

          > Personal Package Archives for Ubuntu
          >> Show PPAs matching: BRL-CAD
          >>> PPA for CAE Team


          Downloading packages

          brlcad_7.14.0+dfsg-1~ppa1~jaunty1_i386.deb
          brlcad-data_7.14.0+dfsg-1~ppa1~jaunty1_all.deb
          libbrlcad_7.14.0+dfsg-1~ppa1~jaunty1_i386.deb


          Testing - What will hapen if... (using local repository > Topic: Making Local Repository)
          Log of sudo apt-get install -s brlcad
          Mon Dec 28 20:12:07 2009

          Reading package lists...
          Building dependency tree...
          Reading state information...

          The following extra packages will be installed:
          blt brlcad-data itcl3 itk3 libbrlcad tcl8.5 tk8.5
          Suggested packages:
          blt-demo itcl3-doc itk3-doc tclreadline
          The following NEW packages will be installed:
          blt brlcad brlcad-data itcl3 itk3 libbrlcad tcl8.5 tk8.5
          0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.

          Installing

          After installation: K-Menu > Applications > Graphics > BRL-CAD...

          Hmm - the launch is dying ?

          Using the konsole:
          :~$ mged
          can't find package Iwidgets
          MGED Aborted.
          looking the repositories and installing:
          Installed the following packages:
          iwidgets4 (4.0.1-5)
          and the mged /1/ is starting





          /1/ > BRL-CAD Common Projects:
          MGED
          The Multiple-device Geometry EDitor (MGED) is an interactive
          solid modeler that provides a graphical user interface as well as a
          robust text-based command interface. MGED heavily utilizes
          Constructive Solid Geometry (CSG) solid modeling techniques for
          geometric construction and supports various display manager interfaces
          for extensive cross-platform support.
          Before you edit, BACKUP !

          Why there are dead links ?
          1. Thread: Please explain how to access old kubuntu forum posts
          2. Thread: Lost Information

          Comment


            #6
            Re: Need help installing BRL-CAD

            jerry@Sonyvgnfw140e:~/Downloads/brlcad$ dpkg-scanpackages /home/jerry/packages/debs /dev/null | sed s/"\/home\/jerry\/"//g | gzip > /home/jerry/packages/dists/karmic/debs_for_karmic/binary-amd64/Packages.gz
            sh: getcwd() failed: No such file or directory
            sh: getcwd() failed: No such file or directory
            sh: getcwd() failed: No such file or directory
            sh: getcwd() failed: No such file or directory
            sh: getcwd() failed: No such file or directory
            sh: getcwd() failed: No such file or directory
            sh: getcwd() failed: No such file or directory
            ** Packages in archive but missing from override file: **
            brlcad brlcad-data libbrlcad
            The only thing different is that I am on the 64b Kubuntu and I use "binary-amd64" instead of "binary-i386".

            Bug on the 64b platform? Seven out of 12 Google responses to "sh "getcwd failed" No such file or directory" show bug listings.
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment


              #7
              Re: Need help installing BRL-CAD



              The dpkg-scanpackages is a perl script and the getcwd() is a perl function (get current working directory). Are there other perl problems ?


              Installation & fix

              Alternative (without adding the PPA as a repository) is to use the dpkg to install the packages and then fix the installation with the "apt-get install -f".


              Installation:

              ~/packages/debs$ sudo dpkg -i *

              Selecting previously deselected package brlcad.
              (Reading database ... 153941 files and directories currently installed.)
              Unpacking brlcad (from brlcad_7.14.0+dfsg-1~ppa1~jaunty1_i386.deb) ...
              Selecting previously deselected package brlcad-data.
              Unpacking brlcad-data (from brlcad-data_7.14.0+dfsg-1~ppa1~jaunty1_all.deb) ...
              Selecting previously deselected package libbrlcad.
              Unpacking libbrlcad (from libbrlcad_7.14.0+dfsg-1~ppa1~jaunty1_i386.deb) ...
              dpkg: dependency problems prevent configuration of brlcad:
              brlcad depends on blt (>= 2.4z-4.1); however:
              Package blt is not installed.
              brlcad depends on itcl3; however:
              Package itcl3 is not installed.
              brlcad depends on itk3; however:
              Package itk3 is not installed.
              brlcad depends on tcl8.5 (>= 8.5.0); however:
              Package tcl8.5 is not installed.
              brlcad depends on tk8.5 (>= 8.5.0); however:
              Package tk8.5 is not installed.
              dpkg: error processing brlcad (--install):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of brlcad-data:
              brlcad-data depends on brlcad (>= 7.14.0+dfsg-1~ppa1~jaunty1); however:
              Package brlcad is not configured yet.
              dpkg: error processing brlcad-data (--install):
              dependency problems - leaving unconfigured
              dpkg: dependency problems prevent configuration of libbrlcad:
              libbrlcad depends on blt (>= 2.4z-4.1); however:
              Package blt is not installed.
              libbrlcad depends on itcl3; however:
              Package itcl3 is not installed.
              libbrlcad depends on itk3; however:
              Package itk3 is not installed.
              libbrlcad depends on tcl8.5 (>= 8.5.0); however:
              Package tcl8.5 is not installed.
              libbrlcad depends on tk8.5 (>= 8.5.0); however:
              Package tk8.5 is not installed.
              dpkg: error processing libbrlcad (--install):
              dependency problems - leaving unconfigured
              Processing triggers for menu ...
              Processing triggers for man-db ...
              Errors were encountered while processing:
              brlcad
              brlcad-data
              libbrlcad

              Fix:

              sudo apt-get install -f

              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              Correcting dependencies... Done
              The following extra packages will be installed:
              blt itcl3 itk3 tcl8.5 tk8.5
              Suggested packages:
              blt-demo itcl3-doc itk3-doc tclreadline
              The following NEW packages will be installed:
              blt itcl3 itk3 tcl8.5 tk8.5
              0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
              3 not fully installed or removed.
              Need to get 0B/4,476kB of archives.
              After this operation, 12.2MB of additional disk space will be used.
              Do you want to continue [Y/n]? y
              Selecting previously deselected package tcl8.5.
              (Reading database ... 155817 files and directories currently installed.)
              Unpacking tcl8.5 (from .../tcl8.5_8.5.7-1_i386.deb) ...
              Selecting previously deselected package tk8.5.
              Unpacking tk8.5 (from .../tk8.5_8.5.7-1_i386.deb) ...
              Selecting previously deselected package blt.
              Unpacking blt (from .../archives/blt_2.4z-4.1_i386.deb) ...
              Selecting previously deselected package itcl3.
              Unpacking itcl3 (from .../itcl3_3.2.1-5_i386.deb) ...
              Selecting previously deselected package itk3.
              Unpacking itk3 (from .../archives/itk3_3.2.1-5_i386.deb) ...
              Processing triggers for man-db ...
              Processing triggers for menu ...
              Setting up tcl8.5 (8.5.7-1) ...

              Setting up tk8.5 (8.5.7-1) ...

              Setting up blt (2.4z-4.1) ...

              Setting up itcl3 (3.2.1-5) ...

              Setting up itk3 (3.2.1-5) ...

              Setting up libbrlcad (7.14.0+dfsg-1~ppa1~jaunty1) ...

              Setting up brlcad-data (7.14.0+dfsg-1~ppa1~jaunty1) ...
              Setting up brlcad (7.14.0+dfsg-1~ppa1~jaunty1) ...

              Processing triggers for menu ...
              Processing triggers for libc-bin ...
              ldconfig deferred processing now taking place
              Before you edit, BACKUP !

              Why there are dead links ?
              1. Thread: Please explain how to access old kubuntu forum posts
              2. Thread: Lost Information

              Comment


                #8
                Re: Need help installing BRL-CAD

                sudo dpkg -i * did it! The "fix" apparently wasn't necessary because it didn't do anything.

                Now I'll spend some time playing with it.

                Thanks, Rog131 ! 8)
                "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                – John F. Kennedy, February 26, 1962.

                Comment

                Working...
                X