~alpine/users

8 4

Install dependencies

Details
Message ID
<ABB37F22-528E-428E-88F5-C0EDB1F22CFE@mro.name>
DKIM signature
missing
Download raw message
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
Details
Message ID
<CRJKMRDMBCTG.E5QVBCKRFXFD@sumire>
In-Reply-To
<ABB37F22-528E-428E-88F5-C0EDB1F22CFE@mro.name> (view parent)
DKIM signature
missing
Download raw message
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
Details
Message ID
<A4223602-6733-4C6D-9D78-E3B70E7AA3FA@mro.name>
In-Reply-To
<CRJKMRDMBCTG.E5QVBCKRFXFD@sumire> (view parent)
DKIM signature
missing
Download raw message
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
Details
Message ID
<CRJLI0JJZOVK.2BX30USIRSOWX@sumire>
In-Reply-To
<A4223602-6733-4C6D-9D78-E3B70E7AA3FA@mro.name> (view parent)
DKIM signature
missing
Download raw message
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>
Details
Message ID
<7C19FC94-508B-444D-A35B-3DDEDC4359ED@mro.name>
In-Reply-To
<CRJLI0JJZOVK.2BX30USIRSOWX@sumire> (view parent)
DKIM signature
missing
Download raw message
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
David Demelier <markand@malikania.fr>
Details
Message ID
<d9d4f372ac82d024ab6016754410459cb1e34294.camel@malikania.fr>
In-Reply-To
<7C19FC94-508B-444D-A35B-3DDEDC4359ED@mro.name> (view parent)
DKIM signature
missing
Download raw message
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
Details
Message ID
<2FF47965-7D01-4B03-AB28-383DC435FE39@mro.name>
In-Reply-To
<d9d4f372ac82d024ab6016754410459cb1e34294.camel@malikania.fr> (view parent)
DKIM signature
missing
Download raw message
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
Details
Message ID
<20230330154453.2c2nsapvhjucmcqe@7f17b53825ee>
In-Reply-To
<ABB37F22-528E-428E-88F5-C0EDB1F22CFE@mro.name> (view parent)
DKIM signature
missing
Download raw message
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
Details
Message ID
<20230330155059.kkcicrejntfqnuai@7f17b53825ee>
In-Reply-To
<20230330154453.2c2nsapvhjucmcqe@7f17b53825ee> (view parent)
DKIM signature
missing
Download raw message
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 -_-
Reply to thread Export thread (mbox)