Opened 12 years ago
Closed 10 years ago
#36298 closed defect (fixed)
HandBrake: mkdir: /usr/X11/var: Permission denied
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | bgrupe27, martinezino@…, whcordis@…, cooljeanius (Eric Gallager) | |
Port: | HandBrake |
Description
Building HandBrake on my OS X Mountain Lion 10.8.2 system with Xcode 4.5 fails with:
/bin/sh /opt/local/var/macports/build/_Users_rschmidt_macports_dports_aqua_HandBrake/HandBrake/work/HandBrake-0.9.8/build/contrib/fontconfig/fontconfig-2.8.0/install-sh -d /opt/local/var/macports/build/_Users_rschmidt_macports_dports_aqua_HandBrake/HandBrake/work/HandBrake-0.9.8/build/contrib/etc/fonts /usr/X11/var/cache/fontconfig mkdir: /usr/X11/var: Permission denied mkdir: /usr/X11/var: No such file or directory mkdir: /usr/X11/var/cache: No such file or directory make[4]: *** [install-data-local] Error 1 make[3]: *** [install-am] Error 2 make[2]: *** [install-recursive] Error 1 make[1]: *** [contrib/fontconfig/.stamp.install] Error 2 make[1]: *** Waiting for unfinished jobs....
There is no /usr/X11/var on my system. I do not have Xquartz installed. (I have the xorg-server port installed.)
Attachments (1)
Change History (14)
comment:1 Changed 12 years ago by bgrupe27
Cc: | bgrupe@… added |
---|
comment:2 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)
./contrib/fontconfig/module.defs: --with-fcpath=/usr/X11/lib/X11/fontconfig \ ./contrib/fontconfig/module.defs: --with-cache-dir=/usr/X11/var/cache/fontconfig
Changed 12 years ago by martinezino@…
comment:4 follow-up: 5 Changed 12 years ago by martinezino@…
sys: ProductName: Mac OS X, ProductVersion: 10.8.2, BuildVersion: 12C3012
app: Xcode.app 4.5.2
command: sudo port install Handbrake
building Handbrake terminates with attached main.log
comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | martinezino@… added |
---|
comment:7 Changed 12 years ago by martinezino@…
After reading #37434 - here more informations.
compile/configuration with:
port installed |grep -E 'auto|libto' autoconf @2.69_0 (active) automake @1.13.1_0 (active) libtool @2.4.2_3 (active)
comment:11 Changed 11 years ago by Chris.Purcell.39@…
I fixed this on my machine by running the following commands (you will need to be in an administrator account):
sudo mkdir -m755 /usr/X11/var sudo mkdir -m777 /usr/X11/var/cache
This just creates the missing directories with the correct permissions.
comment:13 Changed 10 years ago by larryv (Lawrence Velázquez)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I’ve patched the bundled Fontconfig build to use the fontconfig
port’s resources, so this shouldn’t be a problem anymore. r132827
Cc Me!