Hi
I have a problem running the ./install, i looked the log file but i do not know what could be the problem.
ersions/2.7/lib/python2.7/site-packages
checking python extra libraries... -ldl -framework CoreFoundation
checking python extra linking flags... -u _PyMac_Error Python.framework/Versions/2.7/Python
checking consistency of all components of python development environment... no
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LDFLAGS environment variable.
Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
I solved the problem of python version, but i have another problem. when o
run
sudo ./configure --prefix=/opt/local --with-boost=/opt/local
--disable-visibility PYTHON_VERSION=2.7 LDFLAGS=-L/opt/local/lib/
i have this:
config.status: creating src/graph/flow/Makefile
config.status: creating src/graph/layout/Makefile
config.status: creating src/graph/search/Makefile
config.status: creating src/graph_tool/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: Modifying libtool to correctly link libstdc++ before anything
else...
well i search for problems like this in maining list but i don´t find a
solution for this.
note: i install the python, CGAL, boost, expat, scipy and numpy from
macports.
I solved the problem of python version, but i have another problem. when
o
run
sudo ./configure --prefix=/opt/local --with-boost=/opt/local
--disable-visibility PYTHON_VERSION=2.7 LDFLAGS=-L/opt/local/lib/
i have this:
config.status: creating src/graph/flow/Makefile
config.status: creating src/graph/layout/Makefile
config.status: creating src/graph/search/Makefile
config.status: creating src/graph_tool/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: Modifying libtool to correctly link libstdc++ before anything
else...
I don't see any problem with the above. What is exactly the error?
Cheers,
Tiago
i send the file with the output attached, this is the result when i made
make
I solved the problem of python version, but i have another problem. when
o
run
sudo ./configure --prefix=/opt/local --with-boost=/opt/local
--disable-visibility PYTHON_VERSION=2.7 LDFLAGS=-L/opt/local/lib/
i have this:
config.status: creating src/graph/flow/Makefile
config.status: creating src/graph/layout/Makefile
config.status: creating src/graph/search/Makefile
config.status: creating src/graph_tool/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: Modifying libtool to correctly link libstdc++ before anything
else...
I don't see any problem with the above. What is exactly the error?
Cheers,
Tiago
i send the file with the output attached, this is the result when i made
make
Sorry i forgoten the attached,
No, you don't need to do a git pull like this. You have to do a git
clone command like you did, but _outside_ the graph-tool directory,
since the directory will be created for you by git. Note that you need
to make sure there is _no_ graph-tool directory lying around! Once you
have cloned the tree, you go to the newly created graph-tool directory
and do:
./autogen.sh
./configure [your configure options]
make
>ok, i never worked with git before but what i did was :
>$ cd graph_tool
>$git clone git://git.skewed.de/graph-tool
>then to get the last version :
>$ git pull
>and i get
>fatal: Not a git repository (or any of the parent directories): .git
>No, you don't need to do a git pull like this. You have to do a git
>clone command like you did, but _outside_ the graph-tool directory,
>since the directory will be created for you by git. Note that you need
>to make sure there is _no_ graph-tool directory lying around! Once you
>have cloned the tree, you go to the newly created graph-tool directory
>and do:
ok now i did the clone outside de graph-tool directory
cd graph-tool -> the new one
>./autogen.sh
this command did't work, give me a python version error like the first time i made ./configure
so i made :
sudo ./autogen.sh --prefix=/opt/local --with-boost=/opt/local --disable-visibility PYTHON_VERSION=2.7 LDFLAGS=-L/opt/local/lib/
and it woks
>./configure [your configure options]
and i did the same to configure
sudo ./configure --prefix=/opt/local --with-boost=/opt/local --disable-visibility PYTHON_VERSION=2.7 LDFLAGS=-L/opt/local/lib/
You probably ran configure as root, and make as a regular user.
In any case, I think it is quite time consuming to keep back and forth
like this. I'm currently in the process of producing an usable Portfile
for graph-tool, so that it can be used without much trouble with
macports. Wouldn't you rather wait until it is ready?
(Also, it would be nice to send error logs as plain text, not RTF, so
that I don't have to open libreoffice every time.)
A Portfile would be outstanding, Tiago. I'm a reasonably experienced
Unix/C developer who never managed to get a working graph-tool on my
Snow Leopard machine. Hopefully this'll help out lots of folks like
me.
Once I see what you've done with the Portfile, I'll give a shot to
making a corresponding Brew.