Hi Carlo, all,
I'd like to run Drakon on my Alpine 3.17, aarch64 raspberry pi.
https://github.com/stepan-mitkin/drakon_editor names as dependencies the
ubuntu packages:
$ sudo apt-get install tcl8.6 tk8.6 tcllib libsqlite3-tcl libtk-img
I found
$ sudo apk add tcl tk sqlite-tcl
and am ready to compile tkimg from source. But what about
https://pkgs.alpinelinux.org/packages?name=tcllib?
Greetings,
Marcus
On Thu Mar 30, 2023 at 9:57 AM CEST, wrote:
> Hi Carlo, all,>> I'd like to run Drakon on my Alpine 3.17, aarch64 raspberry pi.>> https://github.com/stepan-mitkin/drakon_editor names as dependencies the > ubuntu packages:>> $ sudo apt-get install tcl8.6 tk8.6 tcllib libsqlite3-tcl libtk-img>> I found>> $ sudo apk add tcl tk sqlite-tcl>> and am ready to compile tkimg from source. But what about > https://pkgs.alpinelinux.org/packages?name=tcllib?
tcl-lib, probably
>> Greetings,> Marcus
On 30 Mar 2023, at 10:22, alice wrote:
> On Thu Mar 30, 2023 at 9:57 AM CEST, wrote:>>>> I'd like to run Drakon on my Alpine 3.17, aarch64 raspberry pi.>>>> https://github.com/stepan-mitkin/drakon_editor names as dependencies the>> ubuntu packages:>>>> $ sudo apt-get install tcl8.6 tk8.6 tcllib libsqlite3-tcl libtk-img>>>> ... what about https://pkgs.alpinelinux.org/packages?name=tcllib?>> tcl-lib, probably
indeed, meanwhile I am at
$ sudo apk add build-base tcl-dev tcl-lib tk-dev sqlite-tcl tiff-
dev
and run into make compilation errors:
$ ./configure.sh
...
$ make
...
../compat/libtiff/libtiff/tiffio.h:511:48: error: unknown type name 'uint32'; did you mean 'uint16'?
511 | uint32 *, uint32 *, uint32 *);
| ^~~~~~
| uint16
In file included from tifftclDecls.h:38:
../compat/libtiff/libtiff/tiffiop.h:33:10: fatal error: tif_config.h: No such file or directory
33 | #include "tif_config.h"
| ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:273: tifftcl.o] Error 1
make[1]: Leaving directory '/home/mro/Downloads/Img-1.4.11/libtiff'
make: *** [Makefile:99: all] Error 2
On Thu Mar 30, 2023 at 10:50 AM CEST, wrote:
> and run into make compilation errors:>> $ ./configure.sh> ...> $ make> ...> ../compat/libtiff/libtiff/tiffio.h:511:48: error: unknown type name 'uint32'; did you mean 'uint16'?> 511 | uint32 *, uint32 *, uint32 *);> | ^~~~~~> | uint16
uint32 is not a standard type name, either find what defines it in what you are
building or use uint32_t from <stdint.h>
Thanks for your help, after adding
#include <stdint.h>
#define int32 int32_t
#define uint32 uint32_t
in ./libtiff/tifftcl.h
the missing include remains, so I guess I'll give up for now:
$ make
...
In file included from
/home/mro/Downloads/Img-1.4.11/libtiff/./tifftclDecls.h:38,
from
/home/mro/Downloads/Img-1.4.11/libtiff/./tifftcl.h:53,
from tiff.c:22:
/home/mro/Downloads/Img-1.4.11/libtiff/./../compat/libtiff/libtiff/tiffiop.h:33:10:
fatal error: tif_config.h: No such file or directory
33 | #include "tif_config.h"
| ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:308: tiff.o] Error 1
make[1]: Leaving directory '/home/mro/Downloads/Img-1.4.11/tiff'
make: *** [Makefile:99: all] Error 2
On Thu, 2023-03-30 at 11:17 +0200, work@mro.name wrote:
> Thanks for your help, after adding> > #include <stdint.h>> #define int32 int32_t> #define uint32 uint32_t> > in ./libtiff/tifftcl.h> > the missing include remains, so I guess I'll give up for now:> > $ make> ...> In file included from > /home/mro/Downloads/Img-1.4.11/libtiff/./tifftclDecls.h:38,> from > /home/mro/Downloads/Img-1.4.11/libtiff/./tifftcl.h:53,> from tiff.c:22:> /home/mro/Downloads/Img-> 1.4.11/libtiff/./../compat/libtiff/libtiff/tiffiop.h:33:10: > fatal error: tif_config.h: No such file or directory> 33 | #include "tif_config.h"> | ^~~~~~~~~~~~~~> compilation terminated.> make[1]: *** [Makefile:308: tiff.o] Error 1> make[1]: Leaving directory '/home/mro/Downloads/Img-1.4.11/tiff'> make: *** [Makefile:99: all] Error 2
I think the software uses tiff <=3.x because tif_config.h has been
removed from tiff since 4.x.
--
David
Thanks David,
On 30 Mar 2023, at 11:23, David Demelier wrote:
> On Thu, 2023-03-30 at 11:17 +0200, work@mro.name wrote:>> /home/mro/Downloads/Img->> 1.4.11/libtiff/./../compat/libtiff/libtiff/tiffiop.h:33:10:>> fatal error: tif_config.h: No such file or directory>> 33 | #include "tif_config.h">> | ^~~~~~~~~~~~~~>> I think the software uses tiff <=3.x because tif_config.h has been> removed from tiff since 4.x.
that makes sense, I just reported upstream
https://sourceforge.net/p/tkimg/mailman/message/37797660/.
Marcus
On Thu, Mar 30, 2023 at 09:57:40AM +0200, work@mro.name wrote:
> Hi Carlo, all,> > I'd like to run Drakon on my Alpine 3.17, aarch64 raspberry pi.> > https://github.com/stepan-mitkin/drakon_editor names as dependencies the> ubuntu packages:> > $ sudo apt-get install tcl8.6 tk8.6 tcllib libsqlite3-tcl libtk-img> > I found> > $ sudo apk add tcl tk sqlite-tcl> > and am ready to compile tkimg from source. But what about> https://pkgs.alpinelinux.org/packages?name=tcllib?> > Greetings,> Marcus
Hi, did you check if it is just included in 'tcl' package?
There are some "/usr/lib/.-." files inside it.
---
Donoban
On Thu, Mar 30, 2023 at 03:44:56PM +0000, donoban wrote:
> Hi, did you check if it is just included in 'tcl' package?> There are some "/usr/lib/.-." files inside it.> > ---> Donoban
Woops, sorry I had not seen the another replies -_-