Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2012 23:05:38 +0200
From:      "Len Conrad " <lconrad@Go2France.com>
To:        <freebsd-questions@freebsd.org>
Subject:   py-sqlalchemy install fails
Message-ID:  <201208232305.AA88736394@mail.Go2France.com>

next in thread | raw e-mail | index | archive | help
fbsd 9.0

py 2.7.3

cd /usr/ports/databases/py-sqlalchemy

make

ends with:

creating build/bdist.freebsd-9.0-RELEASE-i386/egg/EGG-INFO
copying lib/SQLAlchemy.egg-info/PKG-INFO -> build/bdist.freebsd-9.0-RELEASE-i386/egg/EGG-INFO
copying lib/SQLAlchemy.egg-info/SOURCES.txt -> build/bdist.freebsd-9.0-RELEASE-i386/egg/EGG-INFO
copying lib/SQLAlchemy.egg-info/dependency_links.txt -> build/bdist.freebsd-9.0-RELEASE-i386/egg/EGG-INFO
copying lib/SQLAlchemy.egg-info/not-zip-safe -> build/bdist.freebsd-9.0-RELEASE-i386/egg/EGG-INFO
copying lib/SQLAlchemy.egg-info/top_level.txt -> build/bdist.freebsd-9.0-RELEASE-i386/egg/EGG-INFO
creating dist
creating 'dist/SQLAlchemy-0.7.8-py2.7.egg' and adding 'build/bdist.freebsd-9.0-RELEASE-i386/egg' to it
removing 'build/bdist.freebsd-9.0-RELEASE-i386/egg' (and everything under it)
***************************************************************************
WARNING: The C extension could not be compiled, speedups are not enabled.
Plain-Python build succeeded.
***************************************************************************


make install

...

building '_mysql' extension
cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -fPIC -Dversion_info=(1,2,3,'final',0) -D__version__=1.2.3 -I/usr/local/include/mysql -I/usr/local/include/python2.7 -c _mysql.c -o temp.freebsd-9.0-RELEASE-i386-2.7/_mysql.o -pipe -fno-strict-aliasing -g -DMY_PTHREAD_FASTMUTEX=1
In file included from pymemcompat.h:10,
                 from _mysql.c:29:
/usr/local/include/python2.7/Python.h:166:17: error: pth.h: No such file or directory
In file included from _mysql.c:36:
/usr/local/include/mysql/my_config.h:422:1: warning: "HAVE_WCSCOLL" redefined
In file included from /usr/local/include/python2.7/Python.h:8,
                 from pymemcompat.h:10,
                 from _mysql.c:29:
/usr/local/include/python2.7/pyconfig.h:890:1: warning: this is the location of the previous definition
error: command 'cc' failed with exit status 1
*** Error code 1

Stop in /usr/ports/databases/py-MySQLdb.
*** Error code 1

Stop in /usr/ports/databases/py-MySQLdb.
*** Error code 1

Stop in /usr/ports/databases/py-sqlalchemy.
*** Error code 1

Stop in /usr/ports/databases/py-sqlalchemy.

thanks
Len




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208232305.AA88736394>