Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13085 closed defect (fixed)

BUG: xfig 3.2.5_1 unable to activate

Reported by: javaprob@… Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: xfig x11 activate Cc: pguyot (Paul Guyot), kurtjaeke@…
Port:

Description

Attempting to install xfig.

*) I am using a clean installation of Leopard

*) XcodeTools.mpkg installed

*) X11SDK.pkg installed

*) All the dependences build, but xfig will not activate

$ sudo port install xfig

Password:

---> Activating xfig 3.2.5_1

Error: Target org.macports.activate returned: Image error: /usr/X11/lib/X11/app-defaults already exists and does not belong to a registered port. Unable to activate port xfig.

Error: Status 1 encountered during processing.

Attachments (1)

xfig.2.tgz (3.2 KB) - added by alexander.zimmermann@… 17 years ago.
New patch files which solve the problem

Download all attachments as: .zip

Change History (10)

comment:1 Changed 17 years ago by nox@…

Milestone: MacPorts 1.5Port Bugs

Changed 17 years ago by alexander.zimmermann@…

Attachment: xfig.2.tgz added

New patch files which solve the problem

comment:2 Changed 17 years ago by alexander.zimmermann@…

The patch file(s) above solve the problem (and patch also some other problems), but...

xfig complains now that it cannot find the app-defaults anymore. I try to fix the Portfile with something like this

post-destroot {
    file mkdir ${destroot}${prefix}/usr/X11R6/lib/X11
    file move ...
    file delete ${destroot}/usr/X11/lib/X11/app-defaults
}

but the first command (file mkdir) does not work. Any ideas?

comment:3 Changed 17 years ago by milosh@…

You could use

xinstall -d ${destroot}${prefix}/usr/X11R6/lib/X11

instead of mkdir.

comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #13722.

comment:5 Changed 17 years ago by balasandeep@…

Has this issue been resolved? It is not clear to me how to apply the patch in the attachment. Is it possible for macosforge to host all the files including the patches in one location, and then modify the portfile to source the files from that location? Xfig is not going to have any newer versions, so there won't be any need to update these files.

comment:6 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: kurtjaeke@… added

Has duplicate #14175.

comment:7 Changed 17 years ago by alexander.zimmermann@…

Problem is solved. We can close the ticket.

comment:8 in reply to:  7 Changed 17 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Replying to alexander.zimmermann@rwth-aachen.de:

Problem is solved. We can close the ticket.

Done.

comment:9 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.