Opened 15 years ago

Closed 14 years ago

#17985 closed defect (fixed)

xfig install fails because there is no /usr/X11R6/bin/mkdirhier

Reported by: zullil@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: dbevans (David B. Evans)
Port: xfig

Description

--->  Fetching xfig
--->  Attempting to fetch xfig.3.2.5.full.tar.gz from http://internap.dl.sourceforge.net/mcj
--->  Verifying checksum(s) for xfig
--->  Extracting xfig
--->  Applying patches to xfig
--->  Configuring xfig
--->  Building xfig
--->  Staging xfig into destroot
Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_xfig/work/xfig.3.2.5" && make install.all install.man DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_xfig/work/destroot " returned error 2
Command output: make install
install -c   xfig /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_xfig/work/destroot/opt/local/bin/xfig
+ /bin/sh /usr/X11R6/bin/mkdirhier /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_xfig/work/destroot/opt/local/lib/X11/app-defaults
/bin/sh: /usr/X11R6/bin/mkdirhier: No such file or directory
make[1]: *** [install] Error 127
make: *** [install.all] Error 2

Error: Status 1 encountered during processing.

From the Makefile:

# ------------------------------
# IMPORTANT GENERAL NOTE:
# ------------------------------
#
# Anytime the Imakefile is changed, you must do either "xmkmf" or "make Makefile",
# followed by "make clean" before doing a "make" or "make install" of any kind.
      
# If you want to install xfig in a directory other than the default X11 binary
# directory, uncomment the following "BINDIR" line and change the path
# to the full path of the directory where you want xfig to be installed.
# Also, you may have to uncomment and redefine MKDIRHIER because "make" looks
# for it relative to the BINDIR variable.
#
BINDIR = /opt/local/bin
DESTDIR = /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gra$
MKDIRHIER = /bin/sh /usr/X11R6/bin/mkdirhier
# MKDIRHIER = mkdirhier
        

I don't have /usr/X11R6/bin/mkdirhier; should this be /opt/local/bin/mkdirhier, which I do have (thanks to MacPorts)

Change History (7)

comment:1 Changed 15 years ago by dbevans (David B. Evans)

Cc: devans@… added
Owner: changed from macports-tickets@… to pguyot@…
Port: xfig added

Assign to maintainer

comment:2 Changed 15 years ago by blb@…

Are you running 10.4 or 10.5?

comment:3 in reply to:  2 Changed 15 years ago by zullil@…

Replying to blb@…:

Are you running 10.4 or 10.5?

10.5.6 with XQuartz 2.3.2 (xorg-server 1.4.2-apple31)

comment:4 Changed 15 years ago by pguyot (Paul Guyot)

Owner: changed from pguyot@… to macports-tickets@…

Dropped maintainship in r50138.

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 in reply to:  description Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Summary: xfig install failsxfig install fails because there is no /usr/X11R6/bin/mkdirhier

Replying to zullil@…:

I don't have /usr/X11R6/bin/mkdirhier; should this be /opt/local/bin/mkdirhier, which I do have (thanks to MacPorts)

Yes, it should. All references to /usr/X11R6 or /usr/X11 should be expunged from xfig and replaced with references to ${prefix}. MacPorts ports aren't supposed to use Apple X11 anymore.

comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Should be done as of r70347.

Note: See TracTickets for help on using tickets.