EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Problem installing SDDS on OS X 10.5.1
From: Bob Soliday <[email protected]>
To: "Bertrand H.J. Biritz" <[email protected]>
Cc: [email protected]
Date: Wed, 28 Nov 2007 11:20:52 -0600
Well I don't know where Mac Port puts the files so if they are not in /sw/lib then yes, that would be part of the problem. However I did just modify the SDDS/gd/Makefile.OAG file so that gd can now be built with SHARED_LIBRARIES=YES turned on which I believe you have. I have not tested building with shared libraries in a very long time so that is how the problem found its way in. Basically I just removed the Xpm reference in the Makefile when OS_CLASS=Darwin. This library is not needed to build gd on OSX.

Note that if you change SDDS/Makefile to locate the Mac Port libraries you will want to delete the extensions/lib/darwin-ppc/libgd.* and extensions/lib/darwin-ppc/libpng.* files because they will be used if no matter what if they exist.

--Bob

Bertrand H.J. Biritz wrote:
So it is a Mac Port versus Fink problem?

Bertrand

On Nov 28, 2007, at 8:47 AM, Bob Soliday wrote:

When I build SDDS on OSX it does not attempt to build the gd library because I already have it installed. The Makefile in the SDDS directory looks for /sw/lib/libgd.a and /sw/lib/libgd.dylib and if they are found it will use the system library instead of building a new one. The same goes for libpng and libtiff

--Bob

Bertrand H.J. Biritz wrote:
Dear Tech talk,
it is I once more, the early adopter of OS X 10.5 :)
After the initial help of getting base to build (thanks once more for the incredible prompt turn around) I didn't run into any problem building the Alarm Handler nor even MEDM (thought I would with the later).
Now I am trying to build SDDS - latest version downloaded from their website.
I run into the following error:
make -C O.darwin-ppc -f ../Makefile TOP=../../../.. T_A=darwin-ppc install
/usr/bin/c++ -o libgd.3.14.9.dylib -dynamiclib -flat_namespace -undefined suppress -install_name /usr/local/bin/epics/extensions/lib/darwin-ppc/libgd.3.14.9.dylib -compatibility_version 3.14 -current_version 3.14.9 -L/usr/local/bin/epics/extensions/lib/darwin-ppc -L/opt/local/lib/ gd.o gdfx.o gd_security.o gd_gd.o gd_gd2.o gd_io.o gd_io_dp.o gd_gif_in.o gd_gif_out.o gd_io_file.o gd_io_ss.o gd_png.o gd_ss.o gd_topal.o gd_wbmp.o gdcache.o gdfontg.o gdfontl.o gdfontmb.o gdfonts.o gdfontt.o gdhelpers.o gdkanji.o gdtables.o gdxpm.o wbmp.o gdft.o gd_jpeg.o -lpng -lz -lXpm -lreadline -lm -lgcc
ld: library not found for -lXpm
collect2: ld returned 1 exit status
make[2]: *** [libgd.3.14.9.dylib] Error 1
make[1]: *** [install.darwin-ppc] Error 2
make: *** [gd.install] Error 2
Now, when I used Mac Ports (switched from Fink to try it out) to install Xpm it get the error message:
Activating xpm 3.4k_0
Error: Target org.macports.activate returned: Image error: /usr/X11/bin/cxpm already exists and does not belong to a registered port. Unable to activate port xpm.
Error: Status 1 encountered during processing.
Naturally my question is how I get SDDS to build?
My ultimate goal is to get the VLinac to run on my machine. It is really a great way to test if everything is working and to try out new things.
Thanks once more,
Bertrand




References:
Problem installing SDDS on OS X 10.5.1 Bertrand H.J. Biritz
Re: Problem installing SDDS on OS X 10.5.1 Bob Soliday
Re: Problem installing SDDS on OS X 10.5.1 Bertrand H.J. Biritz

Navigate by Date:
Prev: Re: Problem installing SDDS on OS X 10.5.1 Bertrand H.J. Biritz
Next: Re: Problem installing SDDS on OS X 10.5.1 J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problem installing SDDS on OS X 10.5.1 Bertrand H.J. Biritz
Next: Re: Problem installing SDDS on OS X 10.5.1 Bertrand H.J. Biritz
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·