Opened 20 years ago
Closed 19 years ago
#1876 closed defect (fixed)
BUG: VTK dport won't build
Reported by: | julian9@… | Owned by: | julian9@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
I tried to us port install VTK' to download and install VTK. But in the stage of running
cmake' to
generate VTK building files or so, it stops with following message:
## Running quote begin ##
$ port install VTK ---> Configuring VTK Error: Target com.apple.configure returned: shell command "cd /Users/julian/Develop/opendarwin/ darwinports/dports/graphics/vtk/work/VTK-4.2.1 && cmake" returned error 1 Command output: configure the project in the current directory, run
cmake .
Usage
cmake [options] <path-to-source> cmake [options] <path-to-existing-build>
Command-Line Options
-C<initial-cache> = Pre-load cmake cache from given file. -D<var>:<type>=<value> = Create a cmake cache entry. -G<generator-name> = Specify a makefile generator. -E = CMake command mode. -i = Run in wizard mode. -L[A][H] = List non-advanced cached variables. -N = View mode only. --copyright [file] = Print the CMake copyright and exit. --help [command] = Print usage information and exit. --help-full [file] = Print full help and exit. --help-html [file] = Print full help in HTML format. --help-man [file] = Print a UNIX man page and exit. --version [file] = Show program name/version banner and exit.
Generators
The following generators are available on this platform:
Code Warrior Not Working = Generates CodeWarrior project files. Unix Makefiles = Generates standard UNIX makefiles.
## running quote end ##
After looking at VTK's Portfile, I found that replace the line
configure { system "cd ${worksrcpath} && cmake" }
with
configure { system "cd ${worksrcpath} && cmake ." }
will solve the bug. It would be great if someone can update this Portfile.
Thanks.
Attachments (5)
Change History (15)
comment:1 Changed 20 years ago by blb@…
Owner: | changed from darwinports-bugs@… to jkh@… |
---|
Changed 20 years ago by thomas+opendarwin@…
Attachment: | VTK-Portfile-cmake-fix.patch added |
---|
Patch to the VTK Portfile that makes it compile
comment:2 Changed 20 years ago by yves@…
Won't build on OpenDarwin either, configure think it is MacOSX
comment:3 Changed 20 years ago by snu@…
Summary: | VTK dport won't build → BUG: VTK dport won't build |
---|
comment:4 Changed 19 years ago by snu@…
Owner: | changed from jkh@… to darwinports-bugs@… |
---|
Jordan has relinquished maintainership of these ports.
comment:5 Changed 19 years ago by julian9@…
(In reply to comment #4)
Jordan has relinquished maintainership of these ports.
Can I request the maintainership of VTK dport here?
comment:6 Changed 19 years ago by jmpp@…
Owner: | changed from darwinports-bugs@… to julian9@… |
---|
Julian (julian9@…) has taken this port, so I'm reassinging this bug to him.
-jmpp
Changed 19 years ago by yves@…
Attachment: | VTK.tar.gz added |
---|
Latest version Portfile and patches for Tiger
Changed 19 years ago by yves@…
Attachment: | vtk.tar.gz added |
---|
Everything you need to install vtk-4.2.6 on tiger !
comment:7 Changed 19 years ago by yves@…
attachments.isobsolete: | 0 → 1 |
---|
comment:8 Changed 19 years ago by yves@…
attachments.isobsolete: | 0 → 1 |
---|
comment:9 Changed 19 years ago by cssdev@…
The patches seem to build okay on my end. I wonder if the LatestRelease issue is even a problem. If the archive has changed, then the MD5 sum should fail. Another approach might be to fall back to the existing files still left at http://www.vtk.org/files/release/4.2/moved_to_sourceforge/ on Kitware's site.
comment:10 Changed 19 years ago by pguyot (Paul Guyot)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Assign to port maintainer