LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2003, 03:24 PM   #1
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Rep: Reputation: 30
Please help to install BRL-CAD.


Yo, please help. Newbie again. :-)

I am trying to install Brl-Cad, a promising cad software, which is free. Here is a link for the installation page. But I do not understand how to install it. Below is err-log, and part of its manual. All help, even a little hint, may be a big help.

-Tommi




http://brlcad.survice.com/mirror/Brl...rrent/src.html


B R L - C A D S E T U P
=========================
BRLCAD_ROOT=/usr/brlcad
BRLCAD_BINDIR=/usr/brlcad/bin
BRLCAD_MANDIR=/usr/brlcad/man/man1

Verifying that /usr/brlcad/bin is in your search path.
setup.sh ERROR: /usr/brlcad/bin (BRLCAD_BINDIR) is not in your Shell search
pat
h!
setup.sh ERROR: Software setup can not proceed until this has been fixed.
setup.sh ERROR: Consult installation directions for more information,
setup.sh ERROR: file: install.doc, section INSTALLATION DIRECTORIES.




Be sure the destination directory for the installation exists.
% mkdir /usr/brlcad
If you choose a directory other than /usr/brlcad you will need to set the environment variable BRLCAD_ROOT to be the name of this directory. Do not use the directory where you unpacked the sources as the installation directory. Because a number of paths are compiled into the package, it is not possible to compile the package for one location, then move it to another.
Be sure that /usr/brlcad/bin or $BRLCAD_ROOT/bin is in your shell path:
/bin/sh:
BRLCAD_ROOT=/foobar/brlcad
PATH=$PATH:/foobar/brlcad/bin
export PATH
csh:
setenv BRLCAD_ROOT /foobar/brlcad
set path=($path /foobar/brlcad/bin)


-Tommi
 
Old 07-15-2003, 01:11 PM   #2
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Original Poster
Rep: Reputation: 30
I was told to do like this, but I still do not know exactly what to do, please read this discussion:



> Now you need to add "/usr/brlcad/bin" to your search
> path. There are two possibilities:
>
> If you use "bash" or "sh" shell (most likely) run
these two commands
> and also add these two lines to a ".profile" file in your home
> directory:
>
> PATH=$PATH:/usr/brlcad/bin
> export PATH
>
> or if you use "csh" or "tcsh" run this command and
also add it to a
> ".cshrc" file in your home directory:
>
> set path=($path /usr/brlcad/bin)
>
> To tell which shell you are using, run "ps".


And I replied like this...




Yes, I have been trying to do a path, but cannot find ”.profile” file from home
directory. Instead I found “profile” from /etc/ directory. Please tell where to
find right file from redhat 9.0 and how to edit it exactly. Here is my
/etc/profile. If it is a right file, please edit it properly, that is easiest
way to proceed, I think.

I have done "updatedb" as root, locate cannot find the
".profile" -file

Thanks a lot!

-Tommi

My profile:

-------------------------------------------------------------------------

# /etc/profile

# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc

pathmunge () {
if ! echo $PATH | /bin/egrep -q "(^|$1($|" ; then
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
fi
}

# Path manipulation
if [ `id -u` = 0 ]; then
pathmunge /sbin
pathmunge /usr/sbin
pathmunge /usr/local/sbin
fi

pathmunge /usr/X11R6/bin after

unset pathmunge

# No core files by default
ulimit -S -c 0 > /dev/null 2>&1

USER="`id -un`"
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"

HOSTNAME=`/bin/hostname`
HISTSIZE=1000

if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
INPUTRC=/etc/inputrc
fi

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC

for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
. $i
fi
done

unset i


-------------------------------------------------------------------------

Thanks for any help!

-Tommi
 
Old 05-20-2009, 01:54 AM   #3
stevo011
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
Hi Tommi,

Ok its a few years late to reply, but here goes anyway.

The .profile file they are talking about is in your home directory and its usually called .bash_profile

e.g. /home/tommi/.bash_profile

You can just append that line to by adding a colon at the end of your PATH line and adding in the BRL Path after that, then saving the file.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a CAD viewer gulo Linux - Software 6 07-02-2004 12:23 PM
CAD for Linux cabinetcrafter Linux - Software 1 04-13-2004 09:18 PM
Linux CAD? gulo Linux - Software 12 03-09-2004 02:35 PM
Any BRL-CAD gurus here? Tommi Linux - General 7 06-15-2003 02:27 PM
Cad/cam stomfi Linux - Software 1 01-13-2003 07:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration