pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: x11/tk8.4.15 problems building with pkgsrc-current out of the box
Klaus Heinz wrote:
Bernd Limbach wrote:
That told me that the include file "tclInt.h" was not found. This file
is included in "lang/tcl/work/tcl8.4.15/generic/". Copying this file
into "x11/tk/work/tk8.4.15/generic/" brought me one step further.
To make it compile completely I also had to copy "tclIntDecls.h" and
"tclMath.h" into "x11/tk/work/tk8.4.15/generic/".
I cannot repeat this on NetBSD 3, tk built just fine.
I was afraid of that. ;-)
In the past I also had no problems with that, at least to that extend I
do experience now. Maybe I should just stay with the quaterly branch... :-)
All three header files should have been installed with the tcl package
to your
/usr/pkg/include/tcl/generic/
--------8<--------
loewenburg: {23} pwd
/usr/pkgsrc/x11/tk/work/.buildlink
loewenburg: {24} ls -al
total 44
drwxr-xr-x 5 bernd wheel 512 Oct 11 20:09 .
drwxr-xr-x 12 bernd wheel 1024 Oct 11 20:09 ..
-rw-r--r-- 1 bernd wheel 0 Oct 11 20:09 .buildlink_dl_done
-rw-r--r-- 1 bernd wheel 239 Oct 11 20:09 .buildlink_kbproto_done
-rw-r--r-- 1 bernd wheel 499 Oct 11 20:09 .buildlink_libX11_done
-rw-r--r-- 1 bernd wheel 191 Oct 11 20:09 .buildlink_libXau_done
-rw-r--r-- 1 bernd wheel 203 Oct 11 20:09 .buildlink_libXdmcp_done
-rw-r--r-- 1 bernd wheel 0 Oct 11 20:09 .buildlink_pthread_done
-rw-r--r-- 1 bernd wheel 886 Oct 11 20:09 .buildlink_tcl_done
-rw-r--r-- 1 bernd wheel 833 Oct 11 20:09 .buildlink_xproto_done
drwxr-xr-x 2 bernd wheel 512 Oct 11 20:09 bin
drwxr-xr-x 4 bernd wheel 512 Oct 11 20:09 include
drwxr-xr-x 3 bernd wheel 512 Oct 11 20:09 lib
loewenburg: {25} cd include/tcl/
loewenburg: {26} ls -al
total 16
drwxr-xr-x 4 bernd wheel 512 Oct 11 20:09 .
drwxr-xr-x 4 bernd wheel 512 Oct 11 20:09 ..
drwxr-xr-x 2 bernd wheel 512 Oct 11 20:09 generic
drwxr-xr-x 2 bernd wheel 512 Oct 11 20:09 unix
loewenburg: {27} cd generic
loewenburg: {28} ls -al
total 8
drwxr-xr-x 2 bernd wheel 512 Oct 11 20:09 .
drwxr-xr-x 4 bernd wheel 512 Oct 11 20:09 ..
lrwxr-xr-x 1 bernd wheel 37 Oct 11 20:09 regex.h ->
/usr/pkg//include/tcl/generic/regex.h
lrwxr-xr-x 1 bernd wheel 35 Oct 11 20:09 tcl.h ->
/usr/pkg//include/tcl/generic/tcl.h
lrwxr-xr-x 1 bernd wheel 42 Oct 11 20:09 tclCompile.h ->
/usr/pkg//include/tcl/generic/tclCompile.h
lrwxr-xr-x 1 bernd wheel 40 Oct 11 20:09 tclDecls.h ->
/usr/pkg//include/tcl/generic/tclDecls.h
lrwxr-xr-x 1 bernd wheel 37 Oct 11 20:09 tclIO.h ->
/usr/pkg//include/tcl/generic/tclIO.h
lrwxr-xr-x 1 bernd wheel 45 Oct 11 20:09 tclInitScript.h ->
/usr/pkg//include/tcl/generic/tclInitScript.h
lrwxr-xr-x 1 bernd wheel 38 Oct 11 20:09 tclInt.h ->
/usr/pkg//include/tcl/generic/tclInt.h
lrwxr-xr-x 1 bernd wheel 43 Oct 11 20:09 tclIntDecls.h ->
/usr/pkg//include/tcl/generic/tclIntDecls.h
lrwxr-xr-x 1 bernd wheel 47 Oct 11 20:09 tclIntPlatDecls.h ->
/usr/pkg//include/tcl/generic/tclIntPlatDecls.h
lrwxr-xr-x 1 bernd wheel 39 Oct 11 20:09 tclMath.h ->
/usr/pkg//include/tcl/generic/tclMath.h
lrwxr-xr-x 1 bernd wheel 44 Oct 11 20:09 tclPlatDecls.h ->
/usr/pkg//include/tcl/generic/tclPlatDecls.h
lrwxr-xr-x 1 bernd wheel 39 Oct 11 20:09 tclPort.h ->
/usr/pkg//include/tcl/generic/tclPort.h
lrwxr-xr-x 1 bernd wheel 41 Oct 11 20:09 tclRegexp.h ->
/usr/pkg//include/tcl/generic/tclRegexp.h
loewenburg: {29}
--------8<--------
directory and should have been available for the build of tk as symlinks
Do not quote them, but tcl was successfully build just before tk. I also
had some trouble in the past, but cannot remember what that was.
to the installed files in
tk/work/.buildlink/include/tcl/generic/
$ cd work.386/.buildlink//include/tcl/generic/
$ ls -1F
regex.h@
tcl.h@
tclCompile.h@
tclDecls.h@
tclIO.h@
tclInitScript.h@
tclInt.h@
tclIntDecls.h@
tclIntPlatDecls.h@
tclMath.h@
tclPlatDecls.h@
tclPort.h@
tclRegexp.h@
Do you have those files installed? Did the symlinks get created below the
work/.buildlink/... directory?
I think so...
--------8<--------
loewenburg: {30} pwd
/usr/pkgsrc/x11/tk/work/.buildlink/include/tcl/generic
loewenburg: {31} ls -1F
regex.h@
tcl.h@
tclCompile.h@
tclDecls.h@
tclIO.h@
tclInitScript.h@
tclInt.h@
tclIntDecls.h@
tclIntPlatDecls.h@
tclMath.h@
tclPlatDecls.h@
tclPort.h@
tclRegexp.h@
--------8<--------
BTW, another question, why are there two backlashes? (Probably a RTFM
question...).
I have the impression that something is really wrong on my computer,
because I haven't experienced this before. I sometimes also see that the
distfile is not extracted properly. Then I usually see a failure in
applying patches. Manually extracting into work/PKGNAME makes it compile.
Maybe for interest, this is on a 4.99.24 i386 system and pkgsrc-HEAD,
always updated with "cvs update -A -Pd".
I may end up to completely renew my system setup with a more recent
version of netbsd-current and install pkgsrc freshly...
Thanks for your comments Klaus, it gave me some more insight of pkgsrc,
should use -al option of ls a bit more frequently I guess.
Bernd
Home |
Main Index |
Thread Index |
Old Index