Ticket #16154 (closed defect: fixed)
vim +tcl build fails, tclArch.h missing
| Reported by: | darren.weber.lists@… | Owned by: | raimue@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | mww@… | |
| Port: | vim |
Description (last modified by raimue@…) (diff)
Problem seems to be: i686-apple-darwin9-gcc-4.0.1: tclArch.h: No such file or directory
Debug verbose build log:
elegans:~ root# port -dv install vim +huge +perl +python +ruby +tcl +cscope
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/editors/vim
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/editors/vim
DEBUG: Requested variant darwin is not provided by port vim.
DEBUG: Requested variant i386 is not provided by port vim.
DEBUG: Requested variant macosx is not provided by port vim.
DEBUG: Executing variant huge provides huge
DEBUG: Executing variant perl provides perl
DEBUG: Executing variant python provides python
DEBUG: Executing variant ruby provides ruby
DEBUG: Executing variant tcl provides tcl
DEBUG: Executing variant cscope provides cscope
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
DEBUG: Requested variant darwin is not provided by port ncurses.
DEBUG: Requested variant cscope is not provided by port ncurses.
DEBUG: Requested variant huge is not provided by port ncurses.
DEBUG: Requested variant i386 is not provided by port ncurses.
DEBUG: Requested variant ruby is not provided by port ncurses.
DEBUG: Requested variant python is not provided by port ncurses.
DEBUG: Requested variant macosx is not provided by port ncurses.
DEBUG: Requested variant tcl is not provided by port ncurses.
DEBUG: Requested variant perl is not provided by port ncurses.
DEBUG: Searching for dependency: ncurses
DEBUG: Found Dependency: receipt exists for ncurses
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: Requested variant darwin is not provided by port libiconv.
DEBUG: Requested variant cscope is not provided by port libiconv.
DEBUG: Requested variant huge is not provided by port libiconv.
DEBUG: Requested variant i386 is not provided by port libiconv.
DEBUG: Requested variant ruby is not provided by port libiconv.
DEBUG: Requested variant python is not provided by port libiconv.
DEBUG: Requested variant macosx is not provided by port libiconv.
DEBUG: Requested variant tcl is not provided by port libiconv.
DEBUG: Requested variant perl is not provided by port libiconv.
DEBUG: Searching for dependency: libiconv
DEBUG: Found Dependency: receipt exists for libiconv
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ctags
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ctags
DEBUG: Requested variant darwin is not provided by port ctags.
DEBUG: Requested variant cscope is not provided by port ctags.
DEBUG: Requested variant huge is not provided by port ctags.
DEBUG: Requested variant i386 is not provided by port ctags.
DEBUG: Requested variant ruby is not provided by port ctags.
DEBUG: Requested variant python is not provided by port ctags.
DEBUG: Requested variant macosx is not provided by port ctags.
DEBUG: Requested variant tcl is not provided by port ctags.
DEBUG: Requested variant perl is not provided by port ctags.
DEBUG: Searching for dependency: ctags
DEBUG: Found Dependency: receipt exists for ctags
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
DEBUG: Requested variant cscope is not provided by port perl5.8.
DEBUG: Requested variant huge is not provided by port perl5.8.
DEBUG: Requested variant i386 is not provided by port perl5.8.
DEBUG: Requested variant ruby is not provided by port perl5.8.
DEBUG: Requested variant python is not provided by port perl5.8.
DEBUG: Requested variant macosx is not provided by port perl5.8.
DEBUG: Requested variant tcl is not provided by port perl5.8.
DEBUG: Requested variant perl is not provided by port perl5.8.
DEBUG: Executing variant darwin provides darwin
DEBUG: Executing variant darwin_9 provides darwin_9
DEBUG: Searching for dependency: perl5.8
DEBUG: Found Dependency: receipt exists for perl5.8
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python25
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python25
DEBUG: Requested variant darwin is not provided by port python25.
DEBUG: Requested variant cscope is not provided by port python25.
DEBUG: Requested variant huge is not provided by port python25.
DEBUG: Requested variant i386 is not provided by port python25.
DEBUG: Requested variant ruby is not provided by port python25.
DEBUG: Requested variant python is not provided by port python25.
DEBUG: Requested variant macosx is not provided by port python25.
DEBUG: Requested variant tcl is not provided by port python25.
DEBUG: Requested variant perl is not provided by port python25.
DEBUG: Executing variant darwin_9 provides darwin_9
DEBUG: Searching for dependency: python25
DEBUG: Found Dependency: receipt exists for python25
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/ruby
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/ruby
DEBUG: Requested variant cscope is not provided by port ruby.
DEBUG: Requested variant huge is not provided by port ruby.
DEBUG: Requested variant i386 is not provided by port ruby.
DEBUG: Requested variant ruby is not provided by port ruby.
DEBUG: Requested variant python is not provided by port ruby.
DEBUG: Requested variant macosx is not provided by port ruby.
DEBUG: Requested variant tcl is not provided by port ruby.
DEBUG: Requested variant perl is not provided by port ruby.
DEBUG: Executing variant darwin provides darwin
DEBUG: Executing variant thread_hooks provides thread_hooks
DEBUG: Searching for dependency: ruby
DEBUG: Found Dependency: receipt exists for ruby
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl
DEBUG: Requested variant darwin is not provided by port tcl.
DEBUG: Requested variant cscope is not provided by port tcl.
DEBUG: Requested variant huge is not provided by port tcl.
DEBUG: Requested variant i386 is not provided by port tcl.
DEBUG: Requested variant ruby is not provided by port tcl.
DEBUG: Requested variant python is not provided by port tcl.
DEBUG: Requested variant macosx is not provided by port tcl.
DEBUG: Requested variant tcl is not provided by port tcl.
DEBUG: Requested variant perl is not provided by port tcl.
DEBUG: Searching for dependency: tcl
DEBUG: Found Dependency: receipt exists for tcl
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/gnutar
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/gnutar
DEBUG: Requested variant darwin is not provided by port gnutar.
DEBUG: Requested variant cscope is not provided by port gnutar.
DEBUG: Requested variant huge is not provided by port gnutar.
DEBUG: Requested variant i386 is not provided by port gnutar.
DEBUG: Requested variant ruby is not provided by port gnutar.
DEBUG: Requested variant python is not provided by port gnutar.
DEBUG: Requested variant macosx is not provided by port gnutar.
DEBUG: Requested variant tcl is not provided by port gnutar.
DEBUG: Requested variant perl is not provided by port gnutar.
DEBUG: Executing variant darwin_9 provides darwin_9
DEBUG: Searching for dependency: gnutar
DEBUG: Didn't find receipt, going to depspec regex for: gnutar
DEBUG: Found Dependency: path: /usr/bin filename: gnutar regex: ^gnutar$
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/grep
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/grep
DEBUG: Requested variant darwin is not provided by port grep.
DEBUG: Requested variant cscope is not provided by port grep.
DEBUG: Requested variant huge is not provided by port grep.
DEBUG: Requested variant i386 is not provided by port grep.
DEBUG: Requested variant ruby is not provided by port grep.
DEBUG: Requested variant python is not provided by port grep.
DEBUG: Requested variant macosx is not provided by port grep.
DEBUG: Requested variant tcl is not provided by port grep.
DEBUG: Requested variant perl is not provided by port grep.
DEBUG: Searching for dependency: grep
DEBUG: Didn't find receipt, going to depspec regex for: grep
DEBUG: Found Dependency: path: /usr/bin filename: grep regex: ^grep$
DEBUG: Skipping completed org.macports.main (vim)
DEBUG: Skipping completed org.macports.fetch (vim)
DEBUG: Skipping completed org.macports.checksum (vim)
DEBUG: setting option extract.cmd to /usr/bin/bzip2
DEBUG: Skipping completed org.macports.extract (vim)
DEBUG: Skipping completed org.macports.patch (vim)
DEBUG: Skipping completed org.macports.configure (vim)
---> Building vim with target all
DEBUG: Executing org.macports.build (vim)
DEBUG: Environment:
DEBUG: port allows a parallel build
DEBUG: port allows a parallel build
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_vim/work/vim71" && make all'
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make all
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include -DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -I/opt/local/include -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.8/darwin-2level/CORE -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -I/System/Library/Frameworks/Tcl.framework/Headers -D_REENTRANT=1 -D_THREAD_SAFE=1 tclArch.h -I/opt/local/lib/ruby/1.8/i686-darwin9 -o objects/charset.o charset.c
i686-apple-darwin9-gcc-4.0.1: tclArch.h: No such file or directory
In file included from vim.h:304,
from charset.c:10:
os_mac.h:221:1: warning: "MAXPATHL" redefined
In file included from vim.h:242,
from charset.c:10:
os_unix.h:438:1: warning: this is the location of the previous definition
make[1]: *** [objects/charset.o] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_vim/work/vim71" && make all " returned error 2
Command output: Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make all
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/opt/local/include -DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -I/opt/local/include -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.8/darwin-2level/CORE -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -I/System/Library/Frameworks/Tcl.framework/Headers -D_REENTRANT=1 -D_THREAD_SAFE=1 tclArch.h -I/opt/local/lib/ruby/1.8/i686-darwin9 -o objects/charset.o charset.c
i686-apple-darwin9-gcc-4.0.1: tclArch.h: No such file or directory
In file included from vim.h:304,
from charset.c:10:
os_mac.h:221:1: warning: "MAXPATHL" redefined
In file included from vim.h:242,
from charset.c:10:
os_unix.h:438:1: warning: this is the location of the previous definition
make[1]: *** [objects/charset.o] Error 1
make: *** [all] Error 2
Warning: the following items did not execute (for vim): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
elegans:~ root#
Change History
comment:2 Changed 5 years ago by raimue@…
- Owner changed from macports-tickets@… to raimue@…
- Status changed from new to assigned
comment:3 Changed 5 years ago by raimue@…
- Cc mww@… added
- Summary changed from vim build failure with options +huge +perl +python +ruby +tcl +cscope to vim +tcl build fails, tclArch.h missing
tclArch.h is not provided by the tcl port, I would expect it at /opt/local/include/tclArch.h. The tcl on Leopard provided by Apple has it at /usr/include/tclArch.h.
CC'ing maintainer of tcl.
comment:4 Changed 5 years ago by raimue@…
Seems like the vim build script is looking for a Framework installation at /System/Library/Frameworks/Tcl.framework, but is using /opt/local/bin/tclsh which understandable conflicts.
I think I will have to patch the configure script to look in ${prefix} instead.
comment:5 Changed 5 years ago by raimue@…
- Keywords vim removed
- Description modified (diff)
- Port set to vim
comment:6 Changed 5 years ago by dweber@…
If it's any help, I've found the following variants useful for configure of postgresql83.
variant tclPort conflicts tclSys description {add Tcl modules (PL/Tcl; MacPorts Tcl)} {
configure.args-append --with-tcl \
--with-tclconfig=${prefix}/lib/
}
variant tclSys conflicts tclPort description {add Tcl modules (PL/Tcl; System Tcl framework)} {
configure.args-append --with-tcl \
--with-tclconfig=/System/Library/Frameworks/Tcl.framework/
}
Note: See
TracTickets for help on using
tickets.


I removed the +tcl variant and it builds fine.
I've tried the following (probably shows my ignorance of port facilities):
elegans:~ root# port provides tclArch /private/var/root/tclArch does not exist.
elegans:~ root# port provides tclArch.h /private/var/root/tclArch.h does not exist.