Opened 17 years ago

Closed 10 years ago

#14386 closed defect (worksforme)

Xfig complains an old app-defaults

Reported by: citan_u@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: dkubas@…, anddam (Andrea D'Amore), cooljeanius (Eric Gallager)
Port: xfig

Description

Installed Xcode 3 and macports on a completely new leopard install. Then simply did port install xfig

xfig runs, but complains about an old version of app-defaults being installed and warns about reduced functionalities.

Change History (12)

comment:1 Changed 17 years ago by jmroot (Joshua Root)

Milestone: Port Bugs
Owner: changed from macports-tickets@… to pguyot@…

Assigning to maintainer.

comment:2 Changed 17 years ago by michael.sabielny@…

Hi,

I have found something interesting on this issue on this website: http://epb.lbl.gov/xfig/installation.html
, though not really related to xfig on Darwin.

The key is to use the environment variable XAPPLRESDIR in the shell: export XAPPLRESDIR=/opt/local/lib/X11/app-defaults. After that it (temporarily) worked. I suggest to include the export statement into .profile.

Cheers, thorium90

comment:3 in reply to:  description ; Changed 16 years ago by bcbarnes@…

This problem still exists with macports 1.6.0 and OS X 10.5.5 (intel). xfig 3.2.5. exact error message upon starting xfig:

"Either you have a very old app-defaults file installed (Fig), or there is none installed at all. You should install the correct version or you may lose some features. This may be done with 'make install' in the xfig source directory."

Going to the xfig source directory in /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/xfig/files does not help; make install does nothing there.

The XAPPLRESDIR suggestion above did work to fix the problem. Can the port take care of this by default, perhaps by hardcoding by default?

Does this affect any other X11 apps?

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

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

Dropped maintainship in r50138.

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 in reply to:  3 Changed 15 years ago by dkubas@…

If you used fink to install try to source /sw/bin/init.sh or source /sw/bin/init.csh . That set the environment correctly for me (OS X 10.5.8) and Xfig 3.2 ran smoothly without that startup complaint.

Good Luck!

Replying to bcbarnes@…:

This problem still exists with macports 1.6.0 and OS X 10.5.5 (intel). xfig 3.2.5. exact error message upon starting xfig:

"Either you have a very old app-defaults file installed (Fig), or there is none installed at all. You should install the correct version or you may lose some features. This may be done with 'make install' in the xfig source directory."

Going to the xfig source directory in /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/xfig/files does not help; make install does nothing there.

The XAPPLRESDIR suggestion above did work to fix the problem. Can the port take care of this by default, perhaps by hardcoding by default?

Does this affect any other X11 apps?

comment:7 Changed 15 years ago by dkubas@…

Cc: dkubas@… added

Cc Me!

comment:8 Changed 14 years ago by jmroot (Joshua Root)

Port: xfig added

comment:9 Changed 14 years ago by anddam (Andrea D'Amore)

Can the original poster reproduce the problem?

I've just built xfig on SnowLeopard with mp 1.9.99 and I can't see any complaint from xfig.

comment:10 Changed 14 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:11 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:12 Changed 10 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Closing as per comment:9. Feel free to reopen if you still see the problem.

Note: See TracTickets for help on using tickets.