From: Tony Earnshaw (no email)
Date: Tue Feb 17 2004 - 09:53:12 EST
tir, 17.02.2004 kl. 13.36 skrev Sam Carleton:
> > > set LD_LIBRARY_PATH = ( /usr/pkg/lib /usr/local/BerkeleyDB/lib /usr/local/lib )
> > > setenv LD_LIBRARY_PATH /usr/pkg/lib:/usr/local/BerkeleyDB/lib:/usr/local/lib
> > >
> > > Does that not export the path per you recommendation?
> >
> > Yes, if you do it outside of (any) shell script.
> >
> > *TRY IT*, do not ask!
>
> Tonni, I think you need to read a liitle closer. I said:
>
> "root uses tcsh and I have both of these lines in root's .cshrc"
O.k., just for the compile, set root's shell to sh or bash (I use ksh
and it mostly works) and do the compile in that.
I normally have a little script file for each different utility
configure, and since I switched over to RedHat RHEL3, the script
environment variables don't work for Postfix any more, so I export them
in my own shell, just before the compile. This is what my script says
for Postfix compiles (remember this is ksh; take into account the MUA's
line wrap. Also I've already patched for TLS):
# This will not work! The ARGS have to be exported to the environment
first!
# Then run just "make makefiles".
CCARGS="-DUSE_SASL_AUTH -I/usr/local/include/sasl -I/usr/local/include
-DHAS_LDAP -DUSE_SSL -I/usr/local/ssl/include" \
LDFLAGS="-L/usr/local/lib -lsasl2 -L/usr/local/lib/sasl2" \
AUXLIBS="-L/usr/local/lib -lsasl2 -L/usr/local/lib -lldap
-L/usr/local/lib -llber -L/usr/local/ssl/lib -lssl -lcrypto" \
make makefiles
Best,
--Tonni
-- mail: billy - at - billy.demon.nl http://www.billy.demon.nl
|
|
|