[Debian-med-packaging] Bug#522021: ARB-64-bit

Andreas Tille tillea at rki.de
Mon Apr 20 13:11:24 UTC 2009


On Mon, 20 Apr 2009, Dr. Martin Pfannkuchen wrote:

> Now I thought, that maybe it is just an OpenGl Problem, and change the
> corresponding line in config.Makefile like this:
> 
> - OPENGL=1
> + OPENGL=0

HMM, that's possible just circumventing a problem instead of really
solving it.  I have not idea about OPENGL on 64bit machines.  If this
is not supported in general your patch is right and you have to deal
with a restricted functionality in arb (I have no idea what profit you
might gain from OPENGL).

> and after that (still having your -fPIC patch included) the make all ran
> through, on the way giving this:
> ----------------------------------------------------------
> Make everything in WINDOW
> make[1]: Entering directory `/home/arb/arb-0.0.20071207.1/WINDOW'
> g++ -fmessage-length=0 -Wall -shared -DNO_REGEXPR -DGNU -fPIC -o libAW.so
> AW_position.o AW_Xm.o AW_at.o AW_button.o AW_click.o AW_device.o
> AW_font_group.o AW_global_awars.o AW_nawar.o AW_preset.o AW_print.o
> AW_question.o AW_size.o AW_status.o AW_window.o AW_xfig.o AW_xfigfont.o
> AW_xfont.o AW_xkey.o
> touch libAW.a
> make[1]: Leaving directory `/home/arb/arb-0.0.20071207.1/WINDOW'
> 
> ... so this part without OpenGL would go.

In case we observe that OPENGL is not really needed we should try
this for the moment.

> But then the make all terminated with the following:
> 
> -------------------- Checking bin/arb_ntree
> Target 'bin/arb_ntree' not found
> -> rebuilding bin/arb_ntree (Thu Jan 1 00:59:59 1970)
> Link bin/arb_ntree
> g++ -fmessage-length=0 -W -Wall -DLINUX -DHAVE_BOOL -pipe -DNO_REGEXPR -DGNU -
> Wl,-rpath,/usr/lib/arb/lib -o bin/arb_ntree -
> L/home/arb/arb-0.0.20071207.1/LIBLINK PROBE_COM/client.a ARB_GDE/ARB_GDE.a
> AWTC/AWTC.a AWTI/AWTI.a CAT/CAT.a GENOM/GENOM.a GENOM_IMPORT/GENOM_IMPORT.a
> ISLAND_HOPPING/ISLAND_HOPPING.a MERGE/MERGE.a MULTI_PROBE/MULTI_PROBE.a
> NTREE/NTREE.a PRIMER_DESIGN/PRIMER_DESIGN.a PROBE_DESIGN/PROBE_DESIGN.a
> SEQ_QUALITY/SEQ_QUALITY.a SERVERCNTRL/SERVERCNTRL.a SL/AW_NAME/AW_NAME.a
> SL/HELIX/HELIX.a SL/DB_SCANNER/DB_SCANNER.a SL/FILE_BUFFER/FILE_BUFFER.a
> STAT/STAT.a XML/XML.a -lARBDB -lm -lAW -lAWT -L/usr/X11R6/lib -lXm -lXpm -lXp
> -lXt -lXext -lX11-L/usr/X11R6/lib -lc
> /home/arb/arb-0.0.20071207.1/LIBLINK/libAW.so: undefined reference to
> `glwM2DrawingAreaWidgetClass'
> /home/arb/arb-0.0.20071207.1/LIBLINK/libAW.so: undefined reference to
> `glXChooseVisual'
> collect2: ld returned 1 exit status
> make: *** [bin/arb_ntree] Error 1
> 
> Is this an additional library incompatibility?

Well, I'm not an OpenGL expert but the name of the missing symbols which
starts with "gl*" lets me assume that some problem is cased by leaving out
the opengl library in the linking process of the library.  It seems that
the OPENGL=0 definition is not properly handled in all places of the code.
If I were you I would check OPENGL ifdef's where arb_tree is builded.

> Well, I am keeping on trying.

I just keep the Debian bug #522021 in CC to inform potential helpers from
the Debian porting team.

Kind regards

        Andreas.

-- 
http://fam-tille.de





More information about the Debian-med-packaging mailing list