New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14386 (new defect)

Opened 5 years ago

Last modified 10 days ago

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@…, and.damore@…, egall@…
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

comment:1 Changed 5 years ago by jmr@…

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

Assigning to maintainer.

comment:2 Changed 5 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 ; follow-up: ↓ 6 Changed 5 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 4 years ago by pguyot@…

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

Dropped maintainship in r50138.

comment:5 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:6 in reply to: ↑ 3 Changed 4 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 4 years ago by dkubas@…

  • Cc dkubas@… added

Cc Me!

comment:8 Changed 3 years ago by jmr@…

  • Port set to xfig

comment:9 Changed 3 years ago by and.damore@…

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 3 years ago by and.damore@…

  • Cc and.damore@… added

Cc Me!

comment:11 Changed 10 days ago by egall@…

  • Cc egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.