A 2011/04/27, às 08:53, Tiago de Paula Peixoto escreveu:
Hi Paulo,
On 04/26/2011 10:34 PM, paulo lopes wrote:
i tried to install from portfile but something gone wrong I follow this tuturial "http://homepage.mac.com/simx/technonova/tips/using_experimental_macports_por... " to install . i create a directory : file:///Users/paulolopes/DarwinPorts/local-sources/science/graph-tool, and put the portfile inside the graph-tool directory. I Executed the portindex command and everything seemed ok,
Did you rename the file "graph-tool-2.2.12.Portfile" to "Portfile" inside "/Users/paulolopes/DarwinPorts/local-sources/science/graph-tool"? If not, you should try that. Yes i do this i change the name to Portfile, and put the URL in the sources.conf
and all the dependences were installed with success, but when the graph-tool was been instaled it failed :S ...
This is really strange. In the log file is the following error:
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_Users_paulolopes_DarwinPorts_local-sources_science python_graph-tool/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/graph-tool/graph-tool-2.2.12.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -' :error:extract Target org.macports.extract returned: /opt/local/var/macports/build/_Users_paulolopes_DarwinPorts_local-sources_science: no such file or directory
which means somehow the work directory for the compilation was not created properly by macports.
I don't understand what caused this, and it seems like a macports bug, but my (wild) guess is that this maybe has to do with permissions, and the fact that you have included the portfile from your home directory. Could you try making your "local-source" directory outside your user's home, and owned by root?
Now i changed "DarwinPorts/local-source" directory to root like you sugested but this don´t work ... like the last time the PortIndex command works fine ... but the graph-tool instalation seems don´t work ...
Cheers, Tiago
-- Tiago de Paula Peixoto <tiago@skewed.de>
_______________________________________________ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
Paulo Lopes