>:> some time ago i reported here that xfig does not work under FreeBSD 4.6
>:> I have tried recompling it today from the ports and it still doesn't work.
>: Is there an error message? Does it dump core? Which
>: version of XFree86 are you using? Are you using a
>: localization that may be causing a problem?
> I have not found the cause of the error. It manifests itself the following
> -xfig from the ports is unable to read a .xfig file. It emits a popup
> with an error.
> -it is also unable to export a figure e.g. to eps. Similarly an error
> popup appears.
I vaguely remember your original post about xfig. You can
use truss(1) and/or ktrace(1) to trace the syscalls that
xfig makes. This might provide a clue.
Quote:> As i said this may be related to a corruption of the source file i have
> fetched, but which is not catched by md5,
If the md5 signature of the tarball that the port fetches
matches the signature in distinfo, I suspect you have an
Quote:> or to a bug in the freebsd patch, but i doubt that.
Another person responded about a problem with LANG and
LC_NUMERIC=C. I looked at the patch-aa and found
XCOMM If your setlocale() doesn't support the locale, you should
XCOMM add -DSETLOCALE to I18N_DEFS.
-XCOMM #define I18N
#endif /* USEJPEG */
-I18N_DEFS = -DI18N -DSETLOCALE
+I18N_DEFS = -DI18N #-DSETLOCALE
I wonder if this is realted to the problem with