[EMBOSS] How to exclude X11 when Compile Emboss

Iain Drummond idrummon at receptor.mgh.harvard.edu
Mon Jul 25 16:25:28 UTC 2005


Jean,

Either tell emboss where to find the X11 libraries during the ./configure
step:

X features:
  --x-includes=DIR    X include files are in DIR
  --x-libraries=DIR   X library files are in DIR

for example

 ./configure  --x-includes=/usr/local/includes  --x-libraries=/usr/local/lib


or

decide not to use X11 at all

./configure --without-x

you can get this info by typing

./configure -help

Iain Drummond
-- 

Iain Drummond, Ph.D.
Assistant Professor
Department of Medicine, Harvard Medical School and
Renal Unit, Massachusetts General Hospital

Mailing address:
Renal Unit / MGH 149-8000
149 13th St. 
Charlestown, MA 02129

Tel: 617 726 5647
Fax: 617 726 5669

idrummond at partners.org
idrummon at receptor.mgh.harvard.edu

Lab Home Page:
http://danio.mgh.harvard.edu

> From: "Jean Mao" <maoj at helix.nih.gov>
> Organization: CIT
> Reply-To: maoj at helix.nih.gov
> Date: Mon, 25 Jul 2005 11:20:39 -0400
> To: <emboss at emboss.open-bio.org>
> Subject: [EMBOSS] How to exclude X11 when Compile Emboss
> 
> 
>> Hello all,
>> 
>> I am building emboss package on our linux cluster. Since it will be for
>> multiple batch run purpose, there is no need for us to include X11. I got
>> the following error during 'make install'. Can someone tell me which
>> programs use X11 and how to turn it off in them before running 'make
>> install'? Many thanks!!!
>> -------------------------------------------------------
>> make[2]: Entering directory `/usr/local/EMBOSS-3.0.0/emboss'
>> /bin/sh ../libtool --tag=CC --mode=link gcc  -O2   -o aaindexextract
>> aaindexextract.o ../nucleus/libnucleus.la ../ajax/libajaxg.la
>> ../ajax/libajax.la ../plplot/libplplot.la -lX11  -lm
>> gcc -O2 -o .libs/aaindexextract aaindexextract.o
>> ../nucleus/.libs/libnucleus.so ../ajax/.libs/libajaxg.so
>> ../ajax/.libs/libajax.so ../plplot/.libs/libplplot.so -lX11 -lm
>> -Wl,--rpath -Wl,/usr/local/EMBOSS-3.0.0/lib
>> /usr/bin/ld: cannot find -lX11
>> collect2: ld returned 1 exit status
>> make[2]: *** [aaindexextract] Error 1
>> make[2]: Leaving directory `/usr/local/EMBOSS-3.0.0/emboss'
>> make[1]: *** [install-recursive] Error 1
>> make[1]: Leaving directory `/usr/local/EMBOSS-3.0.0/emboss'
>> make: *** [install-recursive] Error 1
>> ----------------------------------------------------------
>> Jean
>> 
> _______________________________________________
> EMBOSS mailing list
> EMBOSS at emboss.open-bio.org
> http://newportal.open-bio.org/mailman/listinfo/emboss




More information about the EMBOSS mailing list