Hi. Michael,
It worked! But I'd like to say that I have already tried install
python-devel but it didn't work.
But after your help I try it again and I believe it just works because I
have installed the EPEL repository.
===========
*yum --enablerepo=extras install epel-release*
yum repolist
=============
Thank you very much for your help and attention.
Best wishes
NIlza Barros
On Wed, Jun 1, 2016 at 10:28 PM, Michael James <mjames@xxxxxxxx> wrote:
> Did that work?
>
> Michael James
> Unidata Program Center
> Boulder, CO
>
> On Wed, Jun 1, 2016 at 12:12 PM, Michael James <mjames@xxxxxxxx> wrote:
>
>> Try
>>
>> yum install python-devel
>>
>>
>>
>> Michael James
>> Unidata Program Center
>> Boulder, CO
>>
>> On Wed, Jun 1, 2016 at 10:58 AM, Nilza Barros <nilzabarros@xxxxxxxxx>
>> wrote:
>>
>>> Hi, Thank you for your help. I have already checked it.
>>>
>>> *1) [gempak@localhost lib64]$ whereis python*
>>> python: /usr/bin/python /usr/bin/python2.7 /usr/lib/python2.7
>>> /usr/lib64/python2.7 /etc/python /usr/include/python2.7
>>> /usr/share/man/man1/python.1.gz
>>>
>>> I realized that there was not Python.h but only a file called
>>> pyconfig-64.h
>>> in usr/include/python2.7/ so I make a copy that I renamed to Python.h.
>>>
>>> *[gempak@localhost lib64]$ cd /usr/include/python2.7/*
>>> [gempak@localhost python2.7]$ ls -ltr
>>> total 72
>>> -rw-r--r--. 1 root root 36563 Nov 20 2015 Python.h
>>> -rw-r--r--. 1 root root 36563 Nov 20 2015 pyconfig-64.h
>>>
>>> Do you think the errors are still related to Python.h? Because after
>>> these changes there's no error env in install.log and make.log related to
>>> this file.
>>>
>>> *2) *I am sure that Python is installed, but related to phyton -devel I
>>> am not so sure what it is. So I use the command below, and it seems that
>>> these package is installed too.
>>>
>>> [
>>> *gempak@localhost NAWIPS]$ yam search
>>> python-devel*==============================
>>> N/S matched: python-devel ==============================
>>> dbus-python-devel.i686 : Libraries and headers for dbus-python
>>> dbus-python-devel.x86_64 : Libraries and headers for dbus-python
>>> gstreamer-python-devel.i686 : Headers for developing programs that will
>>> use
>>> : gstreamer-python
>>> gstreamer-python-devel.x86_64 : Headers for developing programs that
>>> will use
>>> : gstreamer-python
>>> nemo-python-devel.x86_64 : Python bindings for Nemo
>>> python-devel.x86_64 : The libraries and header files needed for Python
>>> development
>>> qscintilla-python-devel.noarch : Development files for QScintilla PyQt4
>>> bindings
>>> wxPython-devel.x86_64 : Development files for wxPython add-on modules
>>>
>>> *3-* Related to environment , I see exactly the same.
>>>
>>>
>>>
>>> Thanks ! Hope it can help.
>>> Nilza Barros
>>>
>>> On Wed, Jun 1, 2016 at 12:09 PM, Michael James <mjames@xxxxxxxx> wrote:
>>>
>>>> Is python-devel installed? Where is Python.h located?
>>>>
>>>> After sourcing Gemenviron.profile do you see the same?
>>>>
>>>> env |grep PY
>>>> PYDEP=-lpthread -ldl -lutil
>>>> PYHOME=/usr
>>>> WITHPY=-DWITHPYTHON
>>>> PYLIB=-L/usr/lib64 -lpython2.7
>>>>
>>>> PYTHONPATH=/usr/lib64/python2.7/site-packages:/usr/lib/python2.7/site-packages:/home/gempak/NAWIPS/scripts/python
>>>> PYINC=-I/usr/include/python2.7
>>>>
>>>>
>>>> Michael James
>>>> Unidata Program Center
>>>> Boulder, CO
>>>>
>>>> On Wed, Jun 1, 2016 at 8:56 AM, Nilza Barros <nilzabarros@xxxxxxxxx>
>>>> wrote:
>>>>
>>>>> I am facing some issues while installing Gempak 7.3 on Cent OS 7.
>>>>> Although I was able to solve some of them related to Python the new one
>>>>> seems to be related to some compile option but I couldn`t see any hint on
>>>>> google or in the Gempak maillist. I have already install NETCDF but it was
>>>>> not enough. I really appreciate any help!
>>>>>
>>>>>
>>>>> ===
>>>>>
>>>>> gfortran -fno-second-underscore -fno-range-check -fd-lines-as-comments
>>>>> -I/home/gempak/NAWIPS/gempak/include
>>>>> -I/home/gempak/NAWIPS/os/linux64/include -I/usr/include/python2.7 -g
>>>>> nagrib2.o /home/gempak/NAWIPS/os/linux64/lib/nagrib2.a
>>>>> /home/gempak/NAWIPS/os/linux64/lib/gemlib.a
>>>>> /home/gempak/NAWIPS/os/linux64/lib/cgemlib.a
>>>>> /home/gempak/NAWIPS/os/linux64/lib/appl.a
>>>>> /home/gempak/NAWIPS/os/linux64/lib/textlib.a
>>>>> /home/gempak/NAWIPS/os/linux64/lib/libxml2.a
>>>>> /home/gempak/NAWIPS/os/linux64/lib/libxslt.a
>>>>> /home/gempak/NAWIPS/os/linux64/lib/libz.a
>>>>> /home/gempak/NAWIPS/os/linux64/lib/syslib.a
>>>>> /home/gempak/NAWIPS/os/linux64/lib/gemlib.a
>>>>> /home/gempak/NAWIPS/os/linux64/lib/cgemlib.a
>>>>> /home/gempak/NAWIPS/os/linux64/lib/libjasper.a -lm -L/usr/lib64
>>>>> -lpython2.7
>>>>> -lpthread -ldl -lutil /home/gempak/NAWIPS/os/linux64/lib/libpng.a
>>>>> /home/gempak/NAWIPS/os/linux64/lib/libz.a -o nagrib2
>>>>>
>>>>> /home/gempak/NAWIPS/os/linux64/lib/gemlib.a(dmopen.o): In function
>>>>> `dm_open_':
>>>>>
>>>>> /home/gempak/NAWIPS/gempak/source/gemlib/dm/dmopen.f:84: undefined
>>>>> reference to `da_open_'
>>>>>
>>>>> /home/gempak/NAWIPS/gempak/source/gemlib/dm/dmopen.f:107: undefined
>>>>> reference to `da_info_'
>>>>>
>>>>> /home/gempak/NAWIPS/os/linux64/lib/gemlib.a(dmrfhr.o): In function
>>>>> `dm_rfhr_':
>>>>>
>>>>> /home/gempak/NAWIPS/gempak/source/gemlib/dm/dmrfhr.f:52: undefined
>>>>> reference to `da_rfhr_'
>>>>>
>>>>> collect2: error: ld returned 1 exit status
>>>>>
>>>>> make[5]: ** [nagrib2] Erro 1
>>>>>
>>>>> ======
>>>>>
>>>>> Best wishes,
>>>>>
>>>>>
>>>>> Nilza Barros
>>>>>
>>>>> _______________________________________________
>>>>> NOTE: All exchanges posted to Unidata maintained email lists are
>>>>> recorded in the Unidata inquiry tracking system and made publicly
>>>>> available through the web. Users who post to any of the lists we
>>>>> maintain are reminded to remove any personal information that they
>>>>> do not want to be made public.
>>>>>
>>>>>
>>>>> gembud mailing list
>>>>> gembud@xxxxxxxxxxxxxxxx
>>>>> For list information or to unsubscribe, visit:
>>>>> http://www.unidata.ucar.edu/mailing_lists/
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Abraço,
>>> Nilza Barros
>>>
>>
>>
>
--
Abraço,
Nilza Barros