Javier Arantegui wrote: > Hi! > > I'm trying to compile the latest version of TeXmacs-aqua (1.7.0-1) in > my iMac G5. But I have found the following error: > > /usr/sbin/chown -R root:admin /sw/src/fink.build/root-texmacs-aqua-1.0.7-1 > Use of uninitialized value in list assignment at > /sw/lib/perl5/Fink/PkgVersion.pm line 4963. > cp -r -f TeXmacs/plugins/*/bin/* > ../distr/TeXmacs.app/Contents/Resources/share/TeXmacs/bin/ > rm -f ../distr/TeXmacs.app/Contents/Resources/share/TeXmacs/plugins > rm: ../distr/TeXmacs.app/Contents/Resources/share/TeXmacs/plugins: is > a directory > ### execution of rm failed, exit code 1 > > > It hope it's something easy to solve. Please, let me know if you need more > data.
In my case, .../TeXmacs/plugins was a symlink at this moment in the build procedure, and this is why I wanted to remove it and replace it by the real thing. It is created by a line in the Makefile $(CP) TeXmacs $(BUNDLE_RESOURCES)/share which in my build log translates as cp -r -f TeXmacs ../distr/TeXmacs.app/Contents/Resources/share Inside the TeXmacs directory, plugins is a symlink plugins -> ../plugins Thus the problem boils down to the question whether "cp -r -f" follows symlinks or not. In my case it didn't, in your case it does. Anyway, I have now checked a fixed version into Fink CVS. -- Martin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
