I'm sorry for the late reply.

On Feb 9, 2008 1:14 AM, Martin Costabel wrote:
> Mojca Miklavec wrote:
> []
> > I have chosen to install system-tetex (though I have no tetex
> > installed - I only faked a few of the files that fink requests to
> > "check if tetex is installed properly", though I know that it's not
> > the most sane way to go that way). I have TeX Live (TeX Live-based
> > gwTeX, actually). I have epstopdf under /usr/texbin (and works in
> > shell without problems):
>
> You could try the following, thereby helping to test an idea that has
> been in the air for starting to make Fink compatible with texlive:
>
> Create a file named
>
>   /sw/etc/profile.d/texlive.sh
>
> that contains only one line, namely
>
>   prepend_path PATH /usr/texbin
>
> You need to have root privileges (or use sudo) to write the file in that
> directory, and you have to make it executable. The following 3 commands
> would do the trick:
>
>   cd /sw/etc/profile.d
>   sudo echo "prepend_path PATH /usr/texbin" > texlive.sh
>   sudo chmod +x texlive.sh
>
> Then try your build of gnuplot again. Fink should now see your
> executables in /usr/texbin.

Thanks a lot for the useful tip (even if not 100% universal, it still
worked with a slight modification at the end).

This time it failed because of missing gs (I have it in
/usr/local/bin/gs). (I guess that there is no direct gnuplot-gs
dependency since TeX itself "depends" on gs). Again, gs is only needed
to build the documentation of gnuplot, not for gnuplot itself.

epstopdf eg7.eps
sh: line 1: gs: command not found
make: *** [eg7.pdf] Broken pipe

After adding  /usr/local/bin/ to the texlive.sh it worked, but I'm
also not sure that every TeX Live has the binaries in /usr/texbin (I
have gwTeX, but at least MacTeX and TeX Live "proper" exist in
addition to it). TeX Live can in theory exist anywhere (but maybe it
has some preferred location). gwTeX and MacTeX are both TeX Live-based
presumably-more-user-friendly distributions. MacTeX might be the most
popular one. (only guessing)

Mojca

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to