Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#9 missing configure file

release 7.6
closed-fixed
Sean Morrison
5
2006-06-21
2006-03-28
Matt P
No

i am unable to locate the configure file refered to in
brlcad-7.6.4_linux_x86_64.tar.gz distribution. I am
running Fedora 5.0 64 and when i run autogen.sh it
says the file does not exist. Any suggestions would
be appreciated.

Discussion

  • Sean Morrison
    Sean Morrison
    2006-03-30

    Logged In: YES
    user_id=785737

    I'm not sure that I understand your situation. Is the configure file missing or
    the configure.ac file? autogen.sh doesn't usually complain about configure.
    Can you provide the entire output of ./autogen.sh -v ? That runs autogen.sh
    in verbose mode, giving insight on each step.

    That said, there should already be a configure script in the tarball. You don't
    really need to run autogen.sh from a fresh tar zxvf.

     
  • Matt P
    Matt P
    2006-03-30

    Logged In: YES
    user_id=1487840

    QUICK INSTALLATION
    ------------------

    For the impatient or simplistic, the following should
    compile, test,
    and install BRL-CAD quickly into the /usr/brlcad directory.
    If you
    have a configure script, run the following:

    ./configure
    make
    make benchmark
    make install # as root, e.g. sudo make install
    make test

    If you don't have a configure script, run the following to
    generate
    the script then proceed with the steps above:

    sh autogen.sh

    That is what the intall file says. when i run the command
    ./configure
    i get
    bash: ./configure: No such file or directory

    sh autogen.sh
    sh: autogen.sh: No such file or directory

    i am probably looking in the wrong directory to find these
    files, but as far as i know they dont exist.
    thanks for your help.

     
  • Sean Morrison
    Sean Morrison
    2006-03-31

    Logged In: YES
    user_id=785737

    Ahh, I just realized what's going on. You downloaded a binary distribution,
    not a source distribution. The documentation should probably be more clear
    on the point that those instructions only apply to source distributions.

    To install from the brlcad-7.6.4_linux_x86_64.tar.gz binary distribution, you
    are going to unpack the tarball with something such as:
    tar zxvf brlcad-7.6.4_linux_x86_64.tar.gz

    This should result in a usr/brlcad directory getting created. You can then
    move this directory to /usr to "install" it into place:
    sudo mv usr/brlcad /usr/.

    That will then result in a full install of BRL-CAD in the /usr/brlcad directory.
    You can add /usr/brlcad/bin to your PATH and/or run mged, one of the GUI-
    based tools for geometry modeling:
    export PATH=/usr/brlcad/bin:$PATH
    mged

    Cheers!

     
  • Sean Morrison
    Sean Morrison
    2006-03-31

    • assigned_to: nobody --> brlcad
     
  • Matt P
    Matt P
    2006-03-31

    Logged In: YES
    user_id=1487840

    Hi sorry about this
    ran into another snag when i used your advice
    when i ran:
    mged

    this is the output.

    mged: error while loading shared libraries:
    /usr/brlcad/rel-7.6.4/x86_64-unknown-linux-gnu-64/lib/librt.so.19:
    cannot restore segment prot after reloc: Permission denied

    once again thanks for your help

     
  • Sean Morrison
    Sean Morrison
    2006-04-08

    Logged In: YES
    user_id=785737

    Ah, that error is related to the new SELinux security model that Fedora uses.
    You can either turn off the SELinux extension altogether, or change the
    access control on the libraries that BRL-CAD provides. The latter should be
    to run the following:

    chcon -t texrel_shlib_t /usr/brlcad/rel-7.6.4/x86_64-unknown-linux-gnu
    -64/lib/*.so

    There is more information on the issue available here:
    http://fedora.redhat.com/docs/selinux-faq-fc3/

    You can also find a wealth of discussion about that particular "cannot restore
    segment prot after reloc" error via google as well.

     
  • Sean Morrison
    Sean Morrison
    2006-06-21

    Logged In: YES
    user_id=785737

    Since I haven't heard a response from you as to whether that resolved the
    run-time security model issue for you, I'm going to close out this report. If
    you are still experiencing a problem, feel free to comment again on this
    report or post another support request. Thanks for your interest in BRL-CAD!

     
  • Sean Morrison
    Sean Morrison
    2006-06-21

    • status: open --> closed-fixed