EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Installing MEDM on UBUNTU 12.04
From: D Peter Siddons <[email protected]>
To: [email protected]
Date: Thu, 28 Feb 2013 09:04:43 -0500
...or do you need to install libxft-dev?
Pete.

On 02/28/2013 08:56 AM, Mark Rivers wrote:
Does libxft2 need to be added to the list of libraries to link with?
________________________________
From: [email protected] [[email protected]] on behalf of Yasemin Barbar [[email protected]]
Sent: Thursday, February 28, 2013 3:59 AM
To: [email protected]
Subject: Installing MEDM on UBUNTU 12.04

HEllo,


I am seeing a problem with compilation of medm3_1_7 on ubuntu 12.04 x86

As you mentioned here ("http://www.aps.anl.gov/epics/tech-talk/2012/msg01882.php";) to install libxft2.

But nothing changed after I had installed this lib.

sudo apt-get install libxft2 libxft2-dbg


Entering directory `/opt/epics/extensions/src/medm/medm/O.linux-x86'
/usr/bin/g++ -o medm  -L/opt/epics/base/lib/linux-x86 -L/opt/epics/extensions/lib/linux-x86 -L/usr/lib -L/usr/lib/i386-linux-gnu -Wl,-rpath,/opt/epics/base/lib/linux-x86 -Wl,-rpath,/opt/epics/extensions/lib/linux-x86 -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/lib/i386-linux-gnu          -m32             medmCA.o actions.o bubbleHelp.o callbacks.o browserHelp.o channelPalette.o colorPalette.o dialogs.o display.o eventHandlers.o help.o medm.o medmArc.o medmBar.o medmByte.o medmChoiceButtons.o medmCommon.o medmComposite.o medmControl.o medmDisplay.o medmImage.o medmIndicator.o medmMenu.o medmMessageButton.o medmMeter.o medmMonitor.o medmOval.o medmPixmap.o medmPolygon.o medmPolyline.o medmRectangle.o medmRelatedDisplay.o medmShellCommand.o medmStripChart.o medmText.o medmTextEntry.o medmTextUpdate.o medmValuator.o medmWheelSwitch.o medmWidget.o objectPalette.o productDescriptionShell.o resourcePalette.o updateMonitors.o updateTask.o utils.o xgif.o   -lANLwidgets -lPrintUtils -lca -l!
Co!
m -lXm -lXt -lXp -lXmu -lX11 -lXext
/usr/lib/libXm.a(TextIn.o): In function `SelfInsert':
(.text+0x7305): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextOut.o): In function `FindWidth':
(.text+0x1936): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextOut.o): In function `FindWidth':
(.text+0x19de): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextOut.o): In function `FindHeight':
(.text+0x2268): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextOut.o): In function `FindHeight':
(.text+0x2364): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(XmString.o):(.text+0x771): more undefined references to `XftTextExtentsUtf8' follow
/usr/lib/libXm.a(XmString.o): In function `SubStringPosition':
(.text+0xa604): undefined reference to `XftTextExtents16'
/usr/lib/libXm.a(XmString.o): In function `SubStringPosition':
(.text+0xa8f1): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(XmString.o): In function `SubStringPosition':
(.text+0xab47): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(XmString.o): In function `SubStringPosition':
(.text+0xac29): undefined reference to `XftTextExtents16'
/usr/lib/libXm.a(TextF.o): In function `FindPixelLength.part.9':
(.text+0x21b1): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextF.o): In function `FindPixelLength.part.9':
(.text+0x233e): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextF.o): In function `FindPixelLength.part.9':
(.text+0x23b0): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextF.o): In function `PrintableString':
(.text+0x39b2): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(TextF.o): In function `TextFieldResetIC':
(.text+0x87b6): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(XmRenderT.o): In function `FreeRendition':
(.text+0x1642): undefined reference to `XftFontClose'
/usr/lib/libXm.a(XmRenderT.o): In function `FreeRendition':
(.text+0x165c): undefined reference to `FcPatternDestroy'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1bde): undefined reference to `FcPatternCreate'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1c01): undefined reference to `FcPatternAddString'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1c21): undefined reference to `FcPatternAddString'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1c41): undefined reference to `FcPatternAddString'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1c61): undefined reference to `FcPatternAddString'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1cc0): undefined reference to `XftFontMatch'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1cd2): undefined reference to `XftFontOpenPattern'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1e14): undefined reference to `FcPatternAddInteger'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1e32): undefined reference to `FcPatternAddInteger'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1e50): undefined reference to `FcPatternAddInteger'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1e6e): undefined reference to `FcPatternAddInteger'
/usr/lib/libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1e8c): undefined reference to `FcPatternAddInteger'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawCreate':
(.text+0x4520): undefined reference to `XftDrawCreate'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawCreate':
(.text+0x45ea): undefined reference to `XftDrawCreateBitmap'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString2':
(.text+0x4800): undefined reference to `XftDrawStringUtf8'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString2':
(.text+0x4848): undefined reference to `XftDrawString32'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString2':
(.text+0x4898): undefined reference to `XftDrawString16'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0x49c1): undefined reference to `XftDrawRect'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0x4a48): undefined reference to `XftDrawStringUtf8'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0x4a98): undefined reference to `XftDrawString32'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0x4ae8): undefined reference to `XftDrawString16'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0x4b24): undefined reference to `XftTextExtents16'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0x4b5c): undefined reference to `XftTextExtentsUtf8'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0x4c44): undefined reference to `XftTextExtents32'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftFontAverageWidth':
(.text+0x4e18): undefined reference to `XftTextExtents8'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftDrawDestroy':
(.text+0x4657): undefined reference to `XftDrawDestroy'
/usr/lib/libXm.a(XmRenderT.o): In function `_XmXftSetClipRectangles':
(.text+0x4d61): undefined reference to `XftDrawSetClipRectangles'
collect2: ld returned 1 exit status
make[2]: *** [medm] Error 1
make[2]: Leaving directory `/opt/epics/extensions/src/medm/medm/O.linux-x86'
make[1]: *** [install.linux-x86] Error 2
make[1]: Leaving directory `/opt/epics/extensions/src/medm/medm'
make: *** [medm.install] Error 2


.


--
D. Peter Siddons
Detector Development Group Leader
NSLS, Bldg. 725D
Photon Sciences Directorate,
Brookhaven National Laboratory
Upton, NY 11973

email: [email protected]
Phone: (631) 344-2738




References:
Installing MEDM on UBUNTU 12.04 Yasemin Barbar
RE: Installing MEDM on UBUNTU 12.04 Mark Rivers

Navigate by Date:
Prev: RE: Installing MEDM on UBUNTU 12.04 Mark Rivers
Next: Re: What I learned today... Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Installing MEDM on UBUNTU 12.04 Mark Rivers
Next: Re: Installing MEDM on UBUNTU 12.04 Kohler
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·