[EMBOSS] Emboss 2.9.0 and PNG driver

Jean-Marc Plaza plaza at infobiogen.fr
Mon Sep 27 13:38:58 UTC 2004


Hello,
i would like to get the PNG driver for emboss 2.9.0 .

I have installed all packages needed for png (zlib-1.2.1,jpeg-6b,libpng-1.2.7,
libpng-1.2.7,libpng-1.2.7,libiconv-1.8,gd-2.0.22,) in a new directory: 
/usr/local/bio/src/EMBOSS/png (compilation 64 bit)

Then I have installed EMBOSS 2.9.0 using --with-pngdriver=/usr/local/bio/src/EMBOSS/png
Now when I run a graphic command in EMBOSS the png diver
is not proposed:

Graph type [x11]: png
Devices allowed are:-
postscript
ps
hpgl
hp7470
hp7580
meta
colourps
cps
xwindows
x11
tektronics
tekt
tek4107t
tek
none
null
text
data
xterm
Error: Invalid XY graph value 'png'
----------------------------------------------------------------

In the config.log, there is something that looks wrong:
  $ ./configure --with-pngdriver=/usr/local/bio/src/EMBOSS/png --prefix=/usr/local/bio/src/EMBOSS --enable-shared=no --enable-static --enable-large --enable-64

## --------- ##
## Platform. ##
## --------- ##

hostname = babbage
uname -m = sun4u
uname -r = 5.9
uname -s = SunOS
uname -v = Generic_112233-12

/usr/bin/uname -p = sparc
/bin/uname -X     = System = SunOS
Node = babbage
Release = 5.9
KernelID = Generic_112233-12
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 64

/bin/arch              = sun4
/usr/bin/arch -k       = sun4u
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bio/lassap/bin
PATH: /usr/java/bin
PATH: /usr/pkg/bin
PATH: /usr/pkg/sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/openwin/bin
PATH: /usr/dt/bin
PATH: /usr/X11R6/bin
PATH: /opt/SUNWspro/bin
PATH: /usr/ccs/bin
PATH: /usr/local/bio/bin

..

configure:23624: checking if png driver is wanted
configure:23631: result: yes
configure:23667: checking for inflateEnd in -lz
configure:23697: cc -o conftest   -O -xtarget=ultra -xarch=v9 -D__EXTENSIONS__ -I/usr/openwin/include -I/usr/local/include -DBENDIAN -I/u
/EMBOSS/png/include -L/usr/openwin/lib/sparcv9 -R/usr/openwin/lib/sparcv9 -L/usr/local/lib -R/usr/local/lib -L/usr/local/bio/src/EMBOSS/p
c -lz -L/usr/local/bio/src/EMBOSS/png/lib -lz -lm  -lnsl -lsocket >&5
configure:23703: $? = 0
configure:23707: test -z 
                         || test ! -s conftest.err
configure:23710: $? = 0
configure:23713: test -s conftest
configure:23716: $? = 0
configure:23729: result: yes
configure:23743: checking for png_destroy_read_struct in -lpng
configure:23773: cc -o conftest   -O -xtarget=ultra -xarch=v9 -D__EXTENSIONS__ -I/usr/openwin/include -I/usr/local/include -DBENDIAN -I/u
/EMBOSS/png/include -L/usr/openwin/lib/sparcv9 -R/usr/openwin/lib/sparcv9 -L/usr/local/lib -R/usr/local/lib -L/usr/local/bio/src/EMBOSS/p
c -lpng -L/usr/local/bio/src/EMBOSS/png/lib -lz -lm  -lnsl -lsocket >&5
configure:23779: $? = 0
configure:23783: test -z 
                         || test ! -s conftest.err
configure:23786: $? = 0
configure:23789: test -s conftest
configure:23792: $? = 0
configure:23805: result: yes
configure:23819: checking for gdImageCreateFromPng in -lgd
configure:23849: cc -o conftest   -O -xtarget=ultra -xarch=v9 -D__EXTENSIONS__ -I/usr/openwin/include -I/usr/local/include -DBENDIAN -I/u
/EMBOSS/png/include -L/usr/openwin/lib/sparcv9 -R/usr/openwin/lib/sparcv9 -L/usr/local/lib -R/usr/local/lib -L/usr/local/bio/src/EMBOSS/p
c -lgd -L/usr/local/bio/src/EMBOSS/png/lib -lgd -lpng -lz -lm -lm  -lnsl -lsocket >&5
Undefined                       first referenced
 symbol                             in file
libiconv_close                      /usr/local/bio/src/EMBOSS/png/lib/libgd.so
libiconv_open                       /usr/local/bio/src/EMBOSS/png/lib/libgd.so
libiconv                            /usr/local/bio/src/EMBOSS/png/lib/libgd.so
ld: fatal: Symbol referencing errors. No output written to conftest
configure:23855: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "EMBOSS"
| #define VERSION "2.9.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_UNISTD_H 1
| #define GETPGRP_VOID 1
| #define HAVE_STRFTIME 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_VPRINTF 1
| #define HAVE_DOPRNT 1
| #define HAVE_MEMMOVE 1
| #define HAVE_LIBM 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char gdImageCreateFromPng ();
| int
| main ()
| {
| gdImageCreateFromPng ();
|   ;
|   return 0;
| }
configure:23881: result: no

----------------------------------------------------------

bash-2.05b$ file /usr/local/bio/src/EMBOSS/png/lib/libiconv.so
/usr/local/bio/src/EMBOSS/png/lib/libiconv.so:  ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped

The parameters for the configure are:
CPPFLAGS="-I/usr/openwin/include -I/usr/local/include" LDFLAGS="-L/usr/openwin/lib/sparcv9 -R/usr/openwin/lib/sparcv9 -L/usr/local/lib -R/usr/local/lib" ./configure --with-pngdriver=/usr/local/bio/src/EMBOSS/png --prefix=/usr/local/bio/src/EMBOSS --enable-shared=no --enable-static --enable-large --enable-64




Thanks for your help in advance,


Jean-Marc


bash-2.05b$ uname -a
SunOS babbage 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-15000


-- 
---------------------------------------------------------------
Jean-Marc PLAZA                     e-mail: plaza at infobiogen.fr               
INFOBIOGEN 523, place des terrasses de l'agora 91034 EVRY CEDEX
FRANCE     tel: +33 (0)1 60 87 37 11  fax: +33 (0)1 60 87 37 99




More information about the EMBOSS mailing list