Re: Install failure for xinitrc
Hanspeter Niederstrasser <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 5/6/21 8:54 PM, David Neuhaus wrote: > On 07/05/2021, 02:36, "Hanspeter Niederstrasser" <[email protected]> wrote: > > On 5/6/21 7:24 PM, David Neuhaus wrote: > > Hello. > > > > I am attempting to install latex2rtf on my MacBook Pro (mid-2014, 2.8GHz 15" intel Core i7), which is running OSX 10.14.6, Xcode 11.3.1, XQuartz 2.8.1, fink 0.45.3 and fink commander 0.5.5. However, latex2rtf and all its remaining dependencies share a dependency on xinitrc, which in turn reports it cannot install because the directory /opt/X11/lib/X11/xinit is missing. I could create the missing directory, but it seemed to me possible that this issue could be symptomatic of some deeper problem that I would potentially complicate by manually intervening in this way. I have copied the terminal output below. > > > > This is all in the context of a fresh install of fink started a few days ago, there having been no fink install on this machine previously. Many other packages have installed successfully. I should add that my fink install is under the /sw directory and the option to use binary downloads is disabled. I see from the release notes for fink 0.45.3 that it is supposed to be possible to use binary downloads with fink installed under /sw for installs on OSX 10.14 and below. However, in contradiction to this, the bootstrap program output contained a line saying that the option to use binary downloads was incompatible with a fink install under /sw, and that it had consequently been disabled. I have not attempted to reverse this. > > > > Should I simply create the missing directory (in which case with what permissions and ownerships)? Any help would be gratefully received! > > > > David Neuhaus > > > > > > > > > > > > > > fink needs help picking an alternative to satisfy a virtual dependency. The > > candidates: > > > > (1) texlive-base: Base programs for a TeX Live installation > > (2) texlive-nox-base: Base programs for a TeX Live installation > > > > Pick one: [1] > > The following package will be installed or updated: > > latex2rtf > > The following 8 additional packages will be installed: > > appleotffonts applesystemfonts gd2 texlive-base xfontpath xinitrc > > zziplib13-dev zziplib13-shlibs > > Default answer will be chosen in 60 seconds... > > Do you want to continue? [Y/n] > > Reading buildlock packages... > > /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/graphics/gd2_2.0.35-15_darwin-x86_64.deb > > Selecting previously deselected package gd2. > > dpkg: considering removing gd3 in favour of gd2 ... > > dpkg: yes, will remove gd3 in favour of gd2. > > (Reading database ... 272016 files and directories currently installed.) > > Unpacking gd2 (from .../gd2_2.0.35-15_darwin-x86_64.deb) ... > > Setting up gd2 (2.0.35-15) ... > > Clearing dependency_libs of .la files being installed > > > > Reading buildlock packages... > > /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/x11/xinitrc_1.5-103_darwin-x86_64.deb > > (Reading database ... 272016 files and directories currently installed.) > > Preparing to replace xinitrc 1.5-103 (using .../xinitrc_1.5-103_darwin-x86_64.deb) ... > > Unpacking replacement xinitrc ... > > Setting up xinitrc (1.5-103) ... > > The directory /opt/X11/lib/X11/xinit is missing. > > update-sys-xinitrc can not continue without this file. > > /sw/bin/dpkg: error processing xinitrc (--install): > > subprocess post-installation script returned error exit status 1 > > Errors were encountered while processing: > > xinitrc > > Did you previously have Xquartz installed on this machine (at most > likely the previous 2.7 release)? Or is the Xquartz-2.8.1 install also a > fresh install like the Fink install? > > Hanspeter > > -- > There three ways to get things done: Do it yourself, > hire someone else to do it, or forbid your kids to do it > > Hello Hanspeter, > > I think XQuartz was probably a fresh install, but I inherited the machine through my lab's IT department and I don't know its detailed history. I am fairly sure there was no XQuartz present when I first got the machine. > > David Neuhaus > > Correction: The IT department did a clean install of OSX 10.14 before I took over the machine, so I believe I can be sure there was no previous XQuartz install. Apologies for the double post. > > David Neuhaus. Confirming that Xquartz 2.8 doesn't install /opt/X11/lib/X11/xinit. Unfortunately, I don't know anything about how our xinitrc should work or how old and current versions of X11 use xinit and xinitrc/xinitrc.d. Someone on IRC mentioned that /opt/X11/etc/X11/xinit might be the new /opt/X11/lib/X11/xinit. If that's the case, it should be a simple fix to change the pkg xinitrc to use the etc location over the lib location. Hanspeter _______________________________________________ Fink-beginners mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners