Bash shell startup files

M.Canales.es macana at macana-es.com
Thu Mar 22 12:19:20 PDT 2007


El Jueves, 22 de Marzo de 2007 19:30, Randy McMurchy escribió:
> Hi all,
>
> I'm not certain of something. Do we expect *all users* to perform the
> steps shown in the "Bash shell startup files"? I know I don't do them.
> I have my own way of setting up /etc/profile, et. all.

To me that section is only an example about how to improve bash configuration, 
but it is not mandatory and we should not force users to follow it by the 
letter. 

That is applicable also to the rest of the "After LFS Configuration Issues " 
chapter., IMHO

> And this makes the JDK instructions related to the CLASSPATH broken.
> I'm not a big fan of this "pathprepend" and "pathappend" stuff. In
> fact, I'd like to remove it in favor of something that isn't BLFS
> specific.

I agree.

> I'm wondering if the "Bash Shell Startup Files" shouldn't be listed in
> the required dependencies? 

No, please.

> I don't recall anything in BLFS as being 
> mandatory, yet the JDK instructions simply *assume* that folks followed
> the "Bash Shell" startup stuff.

Thus bad assumption, IMHO.

> I'm looking for an answer, as I think we need to add JUnit to the book
> as it is now required by Apache Ant. And Apache Ant is now a required
> dependency for FOP (Ant is no longer in the FOP source tree). The
> Junit install dir and the .jar file need to be in the CLASSPATH and
> I'm not sure how to handle this.

The standard

CLASSPATH=$CLASSPATH:/path/to/jar_file

should work and be enough.

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:                           http://es.tldp.org



More information about the blfs-dev mailing list