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  2013  2014  <20152016  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  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Error in EDM-1-12-98 installation
From: "Rahul Jain" <[email protected]>
To: "Sinclair,John William" <[email protected]>, "Mike Westfall" <[email protected]>, "Mark Rivers" <[email protected]>, "[email protected]" <[email protected]>
Cc: "T. A. Puntambekar" <[email protected]>, "Anil C. Holikatti" <[email protected]>
Date: Thu, 19 Feb 2015 09:37:30 +0530
Hello all,

I have already installed the suggested packages on my PC.

   libpng12-0  (suggested y Mr. Mark Rivers)
   libpng-dev  (suggested by Mr. Mike Westfall)
   libpng-1.2.6rc1-config (suggested by Mr. Sinclair, John William)

In my /usr/bin directory following files are present
   libpng-config & libpng12-config
and in /usr/include directory following files are present
   png.h & pngconf.h

When I had not installed the package libpng-1.2.6rc1-config suggested by 
Mr. Sinclair, John William, I was getting following error message.

/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3 -g   -Wall     -DSINGLE_THREADED=1 -D__epics__=1  -m32 
   -fPIC -MMD -I. -I../O.Common -I. -I..
-I../../../../include/edm/os/Linux -I../../../../include/edm
-I../../../../../base/include/os/Linux -I../../../../../base/include 
-I../../../../include       -I../../util -I../../lib -I/usr/include
-I/usr/include/X11   ../png.cc
In file included from ../png.cc:21:0:
../myPng.h:25:17: fatal error: png.h: No such file or directory
 #include "png.h"
                 ^
compilation terminated.
make[2]: *** [png.o] Error 1
make[2]: Leaving directory
`/opt/myepics/extensions/src/edm/pnglib/O.linux-x86'
make[1]: *** [install.linux-x86] Error 2
make[1]: Leaving directory `/opt/myepics/extensions/src/edm/pnglib'
make: *** [pnglib.install] Error 2

After flashing this error message, I already downloaded and installed the
libpng-1.2.6rc1-config from the same link
http://ics-web.sns.ornl.gov/edm/docs/show.php?folderId=4 suggested by Mr.
Sinclair, John William now and I used following steps to install this
package:-
   cd Downloads
   tar -zxvf libpng-1.2.6rc1-config.tar.gz
   cd libpng-1.2.6rc1-config
   ./configure --prefix=/usr
   make check
   make
   sudo make install

Further, I again tried to install the EDM, but I was getting the same
error message which I posted in the beginning of this mail. Please guide
me in this regard.

--
Rahul Jain
RRCAT, Indore (INDIA)
> ---------------------------- Original Message ----------------------------
> Subject: Re: Error in EDM-1-12-98 installation
> From:    "Sinclair, John William" <[email protected]>
> Date:    Wed, February 18, 2015 8:10 pm
> To:      "Mike Westfall" <[email protected]>
>          "Rahul Jain" <[email protected]>
>          "[email protected]" <[email protected]>
> --------------------------------------------------------------------------
>
> This is the result of my not updating the png widget to use the latest
> library. You may find sources for the older version at
> http://ics-web.sns.ornl.gov/edm/docs/show.php?folderId=4.
>
>
> On 2/18/15, 8:47 AM, "Mike Westfall" <[email protected]> wrote:
>
>>For Ubuntu, I'm guessing you need to do
>>
>> > sudo apt-get install libpng-dev
>>
>>
>>
>>
>>On 02/18/2015 01:15 AM, Rahul Jain wrote:
>>> Hello,
>>>
>>> I am facing problem in installing edm-1-12-98, although I have already
>>> installed the following libraries required for EDM installation on my
>>> linux-x86 (ubuntu 14.04) PC.
>>>
>>> libx11-dev, libxtst-dev, zlib1g-dev giflib-4.1.3,  libungif-4.1.3,
>>> libpng-1.2.6rc1-config, libxt-dev, libmotif-dev, x11proto-print-dev,
>>> libxmu-headers, libxp-dev, libxmu-dev, libxmu6
>>>
>>>
>>> The error messages, while installing edm-1-12-98 is given as follows:-
>>>
>>> /usr/bin/g++ -o edm  -L/opt/myepics/base-3.14.12.4/lib/linux-x86
>>> -L/opt/myepics/extensions/lib/linux-x86 -L/usr/lib
>>> -L/usr/lib/i386-linux-gnu
>>> -Wl,-rpath,/opt/myepics/base-3.14.12.4/lib/linux-x86
>>> -Wl,-rpath,/opt/myepics/extensions/lib/linux-x86 -Wl,-rpath,/usr/lib
>>> -Wl,-rpath,/usr/lib/i386-linux-gnu       -m32  -z combreloc -z lazyload
>>>           main.o    -lcfcaa62e-8199-11d3-a77f-00104b8742df
>>> -l114135a4-6f6c-11d3-95bc-00104b8742df -lXm -lXmu -lXt -lXp -lXtst
>>> -lX11
>>> -lca -lCom  -lpthread -ldl
>>> /usr/bin/ld: warning: -z lazyload ignored.
>>> /usr/lib/libXm.so: undefined reference to `png_read_info@PNG12_0'
>>> /usr/lib/i386-linux-gnu/libfreetype.so.6: undefined reference to
>>> `png_set_filler@PNG12_0'
>>> /usr/lib/i386-linux-gnu/libfreetype.so.6: undefined reference to
>>> `png_set_packing@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to `png_set_sig_bytes@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to
>>> `png_read_update_info@PNG12_0'
>>> /usr/lib/i386-linux-gnu/libfreetype.so.6: undefined reference to
>>> `png_set_interlace_handling@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to
>>>`png_create_read_struct@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to `png_get_rowbytes@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to `png_read_image@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to `png_set_gray_to_rgb@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to `png_get_IHDR@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to `png_get_channels@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to `png_set_strip_16@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to `png_set_expand@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to `png_init_io@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to `png_get_gAMA@PNG12_0'
>>> /usr/lib/i386-linux-gnu/libfreetype.so.6: undefined reference to
>>> `png_get_io_ptr@PNG12_0'
>>> /usr/lib/i386-linux-gnu/libfreetype.so.6: undefined reference to
>>> `png_set_palette_to_rgb@PNG12_0'
>>> /usr/lib/i386-linux-gnu/libfreetype.so.6: undefined reference to
>>> `png_get_error_ptr@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to `png_set_gamma@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to
>>> `png_destroy_read_struct@PNG12_0' /usr/lib/libXm.so: undefined
>>> reference
>>> to `png_read_end@PNG12_0'
>>> /usr/lib/i386-linux-gnu/libfreetype.so.6: undefined reference to
>>> `png_error@PNG12_0'
>>> /usr/lib/i386-linux-gnu/libfreetype.so.6: undefined reference to
>>> `png_set_read_user_transform_fn@PNG12_0'
>>> /usr/lib/i386-linux-gnu/libfreetype.so.6: undefined reference to
>>> `png_set_read_fn@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to
>>>`png_create_info_struct@PNG12_0'
>>> /usr/lib/i386-linux-gnu/libfreetype.so.6: undefined reference to
>>> `png_set_expand_gray_1_2_4_to_8@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to `png_sig_cmp@PNG12_0'
>>> /usr/lib/libXm.so: undefined reference to `png_get_valid@PNG12_0'
>>> /usr/lib/i386-linux-gnu/libfreetype.so.6: undefined reference to
>>> `png_set_tRNS_to_alpha@PNG12_0'
>>> collect2: error: ld returned 1 exit status
>>> make[2]: *** [edm] Error 1
>>> make[2]: Leaving directory
>>> `/opt/myepics/extensions/src/edm/edmMain/O.linux-x86'
>>> make[1]: *** [install.linux-x86] Error 2
>>> make[1]: Leaving directory `/opt/myepics/extensions/src/edm/edmMain'
>>>make:
>>> *** [edmMain.install] Error 2
>>>
>>> Please suggest me, how to fix this error message.
>>>
>>> --
>>> Regards
>>> Rahul Jain
>>>
>>
>>--
>>Mike Westfall
>>Gemini Observatory
>>Colina El Pino S/N, Casilla 603
>>La Serena, Chile
>>Tel: +56 51 2205625
>
>





References:
Error in EDM-1-12-98 installation Rahul Jain
Re: Error in EDM-1-12-98 installation Mike Westfall
Re: Error in EDM-1-12-98 installation Sinclair, John William

Navigate by Date:
Prev: Re: CSS - Reverse Scale Amien Crombie
Next: RE: Using the EPICS Build/Make system to build kernel modules for linux Williams Jr., Ernest L.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Error in EDM-1-12-98 installation Sinclair, John William
Next: CSS - Reverse Scale Amien Crombie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·