Compilation problem

AUnderwood at PHLS.org.uk AUnderwood at PHLS.org.uk
Tue Jun 18 10:18:07 UTC 2002


Hi all,

When installing EMBOSS I have the following error message after typing the
make command:
make[2]: Entering directory `/tmp/EMBOSS-2.4.1/emboss'
/bin/sh ../libtool --mode=link gcc  -g -O2   -o abiview  abiview.o
../nucleus/libnucleus.la ../ajax/libajaxg.la ../ajax/libajax.la
../plplot/libplplot.la -lX11  -lm
gcc -g -O2 -o .libs/abiview abiview.o  ../nucleus/.libs/libnucleus.so
../ajax/.libs/libajaxg.so ../ajax/.libs/libajax.so
../plplot/.libs/libplplot.so -lX11 -lm -Wl,--rpath -Wl,/usr/local/lib
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[2]: *** [abiview] Error 1
make[2]: Leaving directory `/tmp/EMBOSS-2.4.1/emboss'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/EMBOSS-2.4.1/emboss'
make: *** [install-recursive] Error 1


By searching newsgroups I understand that this could be solved by adding the
line -L/usr/X11R6/lib somewhere in the makefile. I am running Linux redhat
7.3. Please can you tell me how to solve this problem.


Many thanks,

Dr Anthony Underwood
Bioinformatics Unit
Central Public Health Laboratory
61 Colindale Avenue
London
NW9 5HT
t:    0208 2004400 ext. 3618
f:    0208 3583138
e: aunderwood at phls.org.uk



**************************************************************************
The information contained in the EMail and any attachments is confidential
and intended solely and for the attention and use of the named addressee(s).
It may not be disclosed to any other person without the express authority of
the PHLS, or the intended recipient, or both. If you are not the intended
recipient, you must not disclose, copy, distribute or retain this message or
any part of it.

For information on how to send data to the PHLS in encrypted form via
E.Mail, visit www.phls.org.uk.

This footnote also confirms that this EMail has been swept for computer
viruses, but please re-sweep any attachments before opening or saving.

HTTP://www.phls.org.uk
**************************************************************************




More information about the EMBOSS mailing list