Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

8.6.10 Tclkit for Linux ARM64 (aarch64)

297 views
Skip to first unread message

Robert Heller

unread,
Jul 14, 2020, 10:23:36 PM7/14/20
to
I am trying to build a 8.6.10 Tclkit for Linux ARM64 (aarch64), but I am
getting a build error. I am using https://github.com/patthoyts/kitgen -- is
the correct and up to date kitgen? Or should I be using something else?

I posted an issue (#14): https://github.com/patthoyts/kitgen/issues/14, with
the error I am getting.


--
Robert Heller -- 978-544-6933 Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
hel...@deepsoft.com -- Webhosting Services

Christian Gollwitzer

unread,
Jul 15, 2020, 10:20:05 AM7/15/20
to
Am 15.07.20 um 04:23 schrieb Robert Heller:
> I am trying to build a 8.6.10 Tclkit for Linux ARM64 (aarch64), but I am
> getting a build error. I am using https://github.com/patthoyts/kitgen -- is
> the correct and up to date kitgen? Or should I be using something else?
>
> I posted an issue (#14): https://github.com/patthoyts/kitgen/issues/14, with
> the error I am getting.

I think, kitgen is not really maintained. I loosely maintain a fork of
kbskit (originally by Rene Zaumseil) which compiles Tcl/Tk *kits and
many external packages. I've just updated it to 8.6.10. If you clone

git clone https://github.com/auriocus/kbskit.git

and then run

MAKEFLAGS=-j4 ./kbs.tcl -r install kbskit8.6

it should download and build basic kits (found under buildLinux/bin/)

I haven't tested it on ARM, though - under OpenSuSe Leap 15.1 (x64) it
works (just tested).

Another source is BAWT by Paul Obermeier, which you can also try

http://www.bawt.tcl3d.org/


Christian

Robert Heller

unread,
Jul 15, 2020, 11:48:36 AM7/15/20
to
OK, thanks, I will try these...

>
> Christian

Peter Dean

unread,
Jul 15, 2020, 6:49:44 PM7/15/20
to
On 15/07/2020 12:23 pm, Robert Heller wrote:
> I am trying to build a 8.6.10 Tclkit for Linux ARM64 (aarch64), but I am
> getting a build error. I am using https://github.com/patthoyts/kitgen -- is
> the correct and up to date kitgen? Or should I be using something else?
>
> I posted an issue (#14): https://github.com/patthoyts/kitgen/issues/14, with
> the error I am getting.
>
>
There's a PKGBUILD for arch linux that uses a slightly updated kitgen
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=tclkit
see https://github.com/stiefel40k/kitgen
"This branch is 5 commits ahead of patthoyts:master. "

I know this compiles on x86 but it failed for me on a raspi4 with arch.
You may be more qualified than I to interpret the mesaage.

pd

Robert Heller

unread,
Jul 15, 2020, 9:15:47 PM7/15/20
to
The kbskit builder worked and built a working set of tclkits.

>
> pd

Robert Heller

unread,
Feb 19, 2021, 7:17:08 PM2/19/21
to
At Wed, 15 Jul 2020 16:19:26 +0200 Christian Gollwitzer <auri...@gmx.de> wrote:

>
> Content-Type: text/plain
>
> Am 15.07.20 um 04:23 schrieb Robert Heller:
> > I am trying to build a 8.6.10 Tclkit for Linux ARM64 (aarch64), but I am
> > getting a build error. I am using https://github.com/patthoyts/kitgen -- is
> > the correct and up to date kitgen? Or should I be using something else?
> >
> > I posted an issue (#14): https://github.com/patthoyts/kitgen/issues/14, with
> > the error I am getting.
>
> I think, kitgen is not really maintained. I loosely maintain a fork of
> kbskit (originally by Rene Zaumseil) which compiles Tcl/Tk *kits and
> many external packages. I've just updated it to 8.6.10. If you clone
>
> git clone https://github.com/auriocus/kbskit.git
>
> and then run
>
> MAKEFLAGS=-j4 ./kbs.tcl -r install kbskit8.6
>
> it should download and build basic kits (found under buildLinux/bin/)
>
> I haven't tested it on ARM, though - under OpenSuSe Leap 15.1 (x64) it
> works (just tested).

OK, I'm trying to build 8.6 tclkits on a pair of Ubuntu 18.04 virtual
machines, but I think I am missing something. I am getting this error:

thread2.8.6 missing '../lib/thread2.8.6'
make: *** [kbsvq8.6-cli] Error 1
Error in execution of 'install kbskit8.6':
=== Package failed for: kbskit8.6
child process exited abnormally

What am I missing?

>
> Another source is BAWT by Paul Obermeier, which you can also try
>
> http://www.bawt.tcl3d.org/
>
>
> Christian
>
>
>
>
>

--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364

Christian Gollwitzer

unread,
Feb 20, 2021, 4:05:50 AM2/20/21
to
Am 20.02.21 um 01:17 schrieb Robert Heller:
>> MAKEFLAGS=-j4 ./kbs.tcl -r install kbskit8.6
>>
>> it should download and build basic kits (found under buildLinux/bin/)
>>
>> I haven't tested it on ARM, though - under OpenSuSe Leap 15.1 (x64) it
>> works (just tested).
>
> OK, I'm trying to build 8.6 tclkits on a pair of Ubuntu 18.04 virtual
> machines, but I think I am missing something. I am getting this error:
>
> thread2.8.6 missing '../lib/thread2.8.6'
> make: *** [kbsvq8.6-cli] Error 1
> Error in execution of 'install kbskit8.6':
> === Package failed for: kbskit8.6
> child process exited abnormally
>
> What am I missing?

There is a bug in the latest version; I've rarely tested it using a
completely fresh install. It first builds a bootstrap Tcl interpreter,
and that was a different with a different version of thread. Please pull
the most recent version and start over; should be

git pull
git clean -fd
MAKEFLAGS=-j4 ./kbs.tcl -r install kbskit8.6

(the -j4 is for 4 parallel threads. Adjust to the number of CPUs you have)

Christian

Robert Heller

unread,
Feb 20, 2021, 8:34:18 AM2/20/21
to
At Sat, 20 Feb 2021 10:05:46 +0100 Christian Gollwitzer <auri...@gmx.de> wrote:

>
> Content-Type: text/plain
>
OK, the 32-bit (Ubuntu 18.04 i386) VM completed successfully, but the 64-bit
(Ubuntu 18.04 x86_64) VM failed with this message:

=== Source Link vfs1.4-static
Error in execution of 'sources vfs1.4':
=== Package failed for: vfs1.4
missing sources of package 'vfs1.4'
=== Require error: vfs1.4-static
missing sources of package 'vfs1.4-static'
Error in execution of 'install kbskit8.6':
=== Package failed for: vfs1.4-static
Require failed for: vfs1.4-static

Christian Gollwitzer

unread,
Feb 20, 2021, 9:20:02 AM2/20/21
to
Am 20.02.21 um 14:34 schrieb Robert Heller:
That means there is no directory sources/vfs1.4 - which is very strange,
because that is part of the repository. Are you sure you are on the
newest version in the 64bit-VM? Or are you trying to compile both from
the same directory? Because I'm not sure that would work.

Christian

Robert Heller

unread,
Feb 20, 2021, 1:21:09 PM2/20/21
to
No each VM has its own file system. I just deleted he kbskit and re-cloned it
and it worked this time. I don't know what happened.

>
> Christian
0 new messages