Daniel Macks wrote: > On Mon, Apr 09, 2007 at 10:27:10PM +0200, Martin Costabel wrote: [] >> I think it's a bug in the gnuplot package. It should install its >> gnuplot.cfg file into /sw/etc/texmf.local instead of >> /sw/share/texmf-local. A line like in the jadetex InstallScript >> >> mv %i/share/texmf-local %i/etc/texmf.local >> >> would do the trick. > > I don't have these specific packages handy, but the same type of > problem can occur when a 'make install' doesn't create a directory > before copying a file "into it":
I should perhaps explain some more. The word "bug" was a little too strong, because the package uses simply the "make install" that comes with the gnuplot sources. And this is actually rather clever: It looks for the right place to install using the command kpsexpand '$TEXMFLOCAL' which for Fink's tetex returns /sw/share/texmf-local So, seemingly, it does install into the correct place where Fink's tex binaries look for additions, and it builds the directory and some subdirectories first before placing a file inside. The only problem is that Fink's tetex package wants /sw/share/texmf-local to be a symlink, not a directory, and the real directory is /sw/etc/texmf.local. Automatic cross-platform path detection methods cannot know about such an arrangement (and if they try to get past symlinks, as is the case for qt3 with its "FileFixify" logic, they tend to break Fink and dpkg in an even more profound way), so that this has to be corrected by hand in the package description. Every package that installs additions to Fink's tetex needs to spell out %p/etc/texmf.local/ explicitly. Tetex's DescPackaging says so, too. -- Martin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-devel
