While trying to run gimp 1.2.0 on Solaris 7/SPARC:
$ gimp
Gimp-WARNING **: Failed to open palette file
/home/china/.gimp-1.2/palettes/Bears: can't happen?
Gimp-WARNING **: Failed to open palette file
/home/china/.gimp-1.2/palettes/Bgold: can't happen?
Gimp-WARNING **: Failed to open palette file
/home/china/.gimp-1.2/palettes/Blues: can't happen?
...
Gimp-WARNING **: Failed to open palette file
/home/china/.gimp-1.2/palettes/Volcano: can't happen?
Gimp-WARNING **: Failed to open palette file
/home/china/.gimp-1.2/palettes/Warm_Colors: can't happen?
Gimp-WARNING **: Failed to open palette file
/home/china/.gimp-1.2/palettes/Web: can't happen?
/opt/TWWfsw/gimp12/bin/gimp: pipe() failed:
Unable to start Plug-In "dbbrowser"
(/opt/TWWfsw/gimp12/lib/gimp/1.2/plug-ins/dbbrowser)
/opt/TWWfsw/gimp12/bin/gimp: pipe() failed:
Unable to start Plug-In "script-fu"
(/opt/TWWfsw/gimp12/lib/gimp/1.2/plug-ins/script-fu)
/opt/TWWfsw/gimp12/bin/gimp: pipe() failed:
...
/opt/TWWfsw/gimp12/bin/gimp: pipe() failed:
Unable to start Plug-In "xpm"
(/opt/TWWfsw/gimp12/lib/gimp/1.2/plug-ins/xpm)
/opt/TWWfsw/gimp12/bin/gimp: pipe() failed:
Unable to start Plug-In "xwd"
(/opt/TWWfsw/gimp12/lib/gimp/1.2/plug-ins/xwd)
/opt/TWWfsw/gimp12/bin/gimp: pipe() failed:
Unable to start Plug-In "zealouscrop"
(/opt/TWWfsw/gimp12/lib/gimp/1.2/plug-ins/zealouscrop)
Gimp-WARNING **: module load error:
/opt/TWWfsw/gimp12/lib/gimp/1.2/modules/libcolorsel_gtk.so:
ld.so.1: internal: malloc failed
Gimp-WARNING **: module load error:
/opt/TWWfsw/gimp12/lib/gimp/1.2/modules/libcolorsel_triangle.so:
ld.so.1: internal: malloc failed
Gimp-WARNING **: module load error:
/opt/TWWfsw/gimp12/lib/gimp/1.2/modules/libcolorsel_water.so:
ld.so.1: internal: malloc failed
This works without a hitch on Solaris 8/SPARC. Well, turns out the
default number of file descriptors on Solaris 8/SPARC is 256. On
Solaris 7/SPARC, it's 64 (look at output of 'limit' command).
Modifying this with:
$ ulimit -n 256
solved the problem. To bump the number of file descriptors system
wide, add the following to /etc/system:
* set soft limit on file descriptors
set rlim_fd_cur = 256
This problem also exists on Solaris 2.5.1 and 2.6/SPARC.
--
albert chin ([EMAIL PROTECTED])