Hi,
I just released a new version of graph-tool (2.2.12), which has a couple of bug fixes and better support for MacOS X. I've also added a portfile in the download section of the website, so that people can easily install it on MacOS X with macports. I've tested it and it seems to work fine, as long as the Apple version of GCC is used (with macports GCC from FSF I get strange segfaults).
Please report any problems, and enjoy!
Cheers, Tiago
A 2011/04/23, às 10:44, Tiago de Paula Peixoto escreveu:
Hi,
I just released a new version of graph-tool (2.2.12), which has a couple of bug fixes and better support for MacOS X. I've also added a portfile in the download section of the website, so that people can easily install it on MacOS X with macports. I've tested it and it seems to work fine, as long as the Apple version of GCC is used (with macports GCC from FSF I get strange segfaults).
Please report any problems, and enjoy!
Cheers, Tiago
-- Tiago de Paula Peixoto tiago@skewed.de
Hi 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,
Total number of ports parsed: 1 Ports successfully parsed: 1 Ports failed: 0 Up-to-date ports skipped: 0
and all the dependences were installed with success, but when the graph-tool was been instaled it failed :S ...
---> Configuring graph-tool Error: Target org.macports.configure returned: shell command failed (see log for details) Log for graph-tool is at: /opt/local/var/macports/logs/_Users_paulolopes_DarwinPorts_local-sources_science_graph-tool/main.log Error: Status 1 encountered during processing. To report a bug, see http://guide.macports.org/#project.tickets
If anyone installed without problems can, please, tell what i´m doing wrong?
graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
Paulo Lopes
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.
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?
Cheers, Tiago
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
On 27/04/2011 11:38, paulo lopes wrote:
A 2011/04/27, às 08:53, Tiago de Paula Peixoto escreveu:
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 ...
Hi,
There does seem to be a minor problem with the 2.2.12 version. It was packaged without autogen.sh and the pre-configure step in the Portfile is looking for it:
pre-configure { system "cd ${worksrcpath} && sh autogen.sh" }
Until its fixed, you could try the development version- it does pass the configure stage (for me...)
On 04/27/2011 01:35 PM, thecolourblue wrote:
There does seem to be a minor problem with the 2.2.12 version. It was packaged without autogen.sh and the pre-configure step in the Portfile is looking for it:
pre-configure { system "cd ${worksrcpath} && sh autogen.sh" }
Until its fixed, you could try the development version- it does pass the configure stage (for me...)
Oops... This has now been fixed in the Portfile. This should be there only for the devel version. However, the problem Paulo is reporting seems to be a different one, from what I can tell from the logs he sent last time.
Cheers, Tiago
On 04/27/2011 12:38 PM, paulo lopes wrote:
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 ...
Well, I'm a bit stumped. You could try the corrected version of the Portfile, which is now on the website, which is working perfectly for me (I've just tested it). If you get _exactly_ the same error as in the first time, I suggest you ask the macports people, since they may be more likely to understand your problem.
Cheers, Tiago
On 27/04/2011 13:05, Tiago de Paula Peixoto wrote:
On 04/27/2011 12:38 PM, paulo lopes wrote:
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 ...
Well, I'm a bit stumped. You could try the corrected version of the Portfile, which is now on the website, which is working perfectly for me (I've just tested it). If you get _exactly_ the same error as in the first time, I suggest you ask the macports people, since they may be more likely to understand your problem.
Cheers, Tiago
ok- I only gave a quick glance to the problem. The first issue was the permissions on the directory I think, the next one was the autogen.sh thing (from the posted main.log):
:info:configure sh: autogen.sh: No such file or directory :info:configure shell command "cd /opt/local/var/macports/build/_DarwinPorts_local-sources_science_graph-tool/work/graph-tool-2.2.12 && sh autogen.sh" returned error 127 :error:configure Target org.macports.configure returned: shell command failed (see log for details)
This should be fixed now, so no reason why it shouldn't work if he tries again- works for me with your updated Portfile.