Configure error Installing graph-tool on Ubuntu 12.04 from source

I am trying to install locally on ubuntu 12.04. I have installed all the
dependencies as well. I got the following error:
I have set all the flags but I still get the LDFLAGS error.

I configure as:

./configure --prefix=/lab/app/python/python_mohammad/my_py/
CXXFLAGS="-I/lab/app/python/python_mohammad/my_py/include/python2.7"
CFLAGS="-I/lab/app/python/python_mohammad/my_py/include/python2.7"
PYTHON="/lab/app/python/python_mohammad/my_py/bin/python2.7"
LDFLAGS="-L/lab/app/python/python_mohammad/my_py/include/python2.7/"
PYTHON=/lab/app/python/python_mohammad/my_py/bin/python
--with-boost="/lab/app/python/python_mohammad/my_py/lib"
PYTHON_LDFLAGS="-L/lab/app/python/python_mohammad/my_py/include/python2.7/
-lpython2.7"

And the error is:

Hi,

I am trying to install locally on ubuntu 12.04. I have installed all the
dependencies as well. I got the following error:

Is there any reason why you are not using the provided compiled packages
for Ubuntu?

I have set all the flags but I still get the LDFLAGS error.

This is very strange. The test case which is generated by the configure
script seems invalid... I cannot reproduce this here. Did you try the
git version of graph-tool as well?

Hi Tiago,

Thanks for your help.
I don't have the root access and I want to install graph-tool locally. I
have installed python 2.7.3 and all the dependencies successfully as
non-root user but the graph-tool installation was unsuccessful.

I checked the git version. But it seems that there is no configure file in
the folder.

Best,
Mohammad

The configure script can be generated by running ./autogen.sh

Cheers,
Tiago