Wednesday, October 22, 2014

Installing django on red hat linux box


I have alot of experience installing packages on windows and mac and it goes very smoothly.
I do not have alot of experience doing the installs on a Linux box.

I am running into problems installing 4 packages.

The Lan team tried yum, but the basic django packages were not available.

Then I tried installing pip and I got proxy errors using the get-pip.py script

So I fell back to installing the dowloaded packages with the old standy  setup.py install which fails.

I am attaching the top of the log

Anyone have any suggestions how to proceed?

**************************

running install

running bdist_egg

running egg_info

writing pyodbc.egg-info/PKG-INFO

writing top-level names to pyodbc.egg-info/top_level.txt

writing dependency_links to pyodbc.egg-info/dependency_links.txt

reading manifest file 'pyodbc.egg-info/SOURCES.txt'

reading manifest template 'MANIFEST.in'

warning: no files found matching 'tests/*'

writing manifest file 'pyodbc.egg-info/SOURCES.txt'

installing library code to build/bdist.linux-x86_64/egg

running install_lib

running build_ext

building 'pyodbc' extension

gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYODBC_VERSION=3.0.7 -I/usr/include/python2.6 -c /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp -o build/temp.linux-x86_64-2.6/home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.o -Wno-write-strings

In file included from /home/rbrook/pyodbc-3.0.7/src/pyodbcmodule.cpp:12:

/home/rbrook/pyodbc-3.0.7/src/pyodbc.h:41:20: error: Python.h: No such file or directory

/home/rbrook/pyodbc-3.0.7/src/pyodbc.h:42:25: error: floatobject.h: No such file or directory

/home/rbrook/pyodbc-3.0.7/src/pyodbc.h:43:24: error: longobject.h: No such file or directory

*********************



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/83a1d410-9cc1-4841-a517-1895ba220179%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment