[EMBOSS] X11 graphics on OS X

rpg at mrc-lmb.cam.ac.uk rpg at mrc-lmb.cam.ac.uk
Wed Sep 10 08:40:05 UTC 2003


Emboss 2.7.1 installed from fink.

IThe mail archives hint a problem with Apple's X11, but I have not had
trouble with other X apps using it, and fink actually forces you to
install the X11 SDK before installing EMBOSS, so I'm not convinced there
are missing files.

I get the following error with, e.g. pepinfo:

Graph type [x11]: 
Output file [pepinfo.out]: 
Error in XCreatePixmap: BadDrawable (invalid Pixmap or Window parameter).

and I need to ctrl-c to escape.

works fine with .ps and PNG as the output.  

EMBOSS is in /sw/bin/ .  Here's my envs:

% env
HOME=/Users/XXXX
SHELL=/bin/tcsh
USER=XXXX
LANG=en_GB
PATH=/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
__CF_USER_TEXT_ENCODING=0x1F5:0:2
TERM=vt100
TERMCAP=o?=o?=o?= 
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=81
LOGNAME=XXXX
HOSTTYPE=macintosh
VENDOR=apple
OSTYPE=darwin
MACHTYPE=powerpc
SHLVL=1
PWD=/XXXXXX/XXXX/XXXX/XXXX/XXXX
GROUP=staff
HOST=XXXX.XXXX.XXXX.XXXX
PLPLOT_LIB=/sw/share/EMBOSS/
MANPATH=/sw/share/man:/usr/share/man:/usr/X11R6/man
INFOPATH=/sw/share/info:/sw/info:/usr/share/info
PERL5LIB=/sw/lib/perl5
DISPLAY=:0.0


and /etc/csh.cshrc

# System-wide .cshrc file for csh(1).

if ($?prompt) then
        set promptchars = "%#"
        if ($?tcsh) then
                set prompt = "[%m:%c3] %n%# "
        else
                set prompt = "[%m:%c3] `id -nu`%# "
        endif
endif
setenv PLPLOT_LIB /sw/lib/



-- 
Richard P. Grant               http://www2.mrc-lmb.cam.ac.uk/personal/rpg/
MRC-LMB, Cambridge, UK      
PGP:  0x5F9559B1               weblog: http://www.rg-d.com/BioLOG/




More information about the EMBOSS mailing list