On 2/3/13 7:27 AM, WU YELU wrote:
> Hello,
> 
> I got a error message below, and I don't know how to deal with that.
> I think that means it can not find the TeX or something. But I'm using MacTeX.
> 
> Could you help me?
> Thanks very much.
> 
> Wu Yelu
> 
> ++++++++++++++++++++++++++++++++++++++++
> /sw/src/fink.build/ngspice-rework-24-1/ngspice-24/doc 
> /sw/src/fink.build/ngspice-rework-24-1/ngspice-24
>       make
> make: Nothing to be done for `all'.
>       make -j1 ngspice.{pdf,ps,html}
> TEXINPUTS=".:$TEXINPUTS" \
>       MAKEINFO='/bin/sh 
> /sw/src/fink.build/ngspice-rework-24-1/ngspice-24/missing --run makeinfo -I 
> ..  -I .' \
>       texi2dvi --pdf --batch -o ngspice.pdf `test -f 'ngspice.texi' || echo 
> './'`ngspice.texi
> You don't have a working TeX binary (tex) installed anywhere in
> your PATH, and texi2dvi cannot proceed without one.  If you want to use
> this script, you'll need to install TeX (if you don't have it) or change
> your PATH or TEX environment variable (if you do).  See the --help
> output for more details.
> 

Your problem isn't with xcircuit.

Fink erases your user environment when it builds.

To work around this cleanly, you can create a file in /sw/etc/fink.conf
as a super user, perhaps called mactex.sh, which adds the MacTeX path,
for example:

#!/bin/sh
export PATH=$PATH:/path/to/MacTeX/bin

(replace /path/to/MacTeX with the actual path to your MacTeX executables).

Fink will automatically run any shell scripts in /sw/etc/fink.conf even
when building.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to