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

androwish and build-vanilla-linux64.sh error (trf)

50 views
Skip to first unread message

greg

unread,
Dec 15, 2018, 2:34:36 AM12/15/18
to
Hello,

System Linux Debian

Issue with build
build-vanilla-linux64.sh

from README.txt:

On Debian GNU/Linux and derivates, these packages should be present for
building (more may be required):

bc
..
zlib1g-dev


are all installed.


With "trf" is end with error

Extract from build.log:
Warnings before :
configure: WARNING: not found; use --with-zlib-lib-dir=path

configure: WARNING: features.h: present but cannot be compiled

gcc -m64 -DTCL_UTF_MAX=6 -DPACKAGE_NAME=\"Trf\" -DPACKAGE_TARNAME=\"trf\" -DPACKAGE_VERSION=\"2.1.4\" -DPACKAGE_STRING=\"Trf\ 2.1.4\" -DPACKAGE_BUGREPORT=\"\" -DBUILD_Trf=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DSIZEOF_INT=4 -DSIZEOF_LONG_INT=8 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute\(\(visibility\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_ZLIBTCL_STUBS=1 -DHAVE_ZLIB_H=1 -DOPENSSL_SUB=1 -DSSL_LIB_NAME=\"libcrypto.so.10\" -DCRYPT_LIB_NAME=\"libcrypt.so.1\" -DHAVE_SSL_H=1 -DHAVE_MD2_H=1 -DHAVE_MD5_H=1 -DHAVE_SHA_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STDLIB_H=1 -DHAVE_FEATURES_H=1 -DMD5_STATIC_BUILD=1 -DZLIBTCL_VERSION=\"1.2.11\" -DLIBZ_DEFAULTNAME=\"libz.so.1\" -I"." -I"./generic" -I"/home/greg/src/fossil/build/tkimg/zlib/." -I"/home/greg/src/fossil/build/tkimg/zlib" -I"/home/greg/src/fossil/build/trf/compat" -I"/usr/include" -I"/home/greg/src/fossil/build/tcl/generic" -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -DBZLIB_STATIC_BUILD=1 -DBZ_EXTERN=MODULE_SCOPE -c `echo ./generic/loadman.c` -o loadman.o
In file included from ./generic/transform.h:36:0,
from ./generic/transformInt.h:34,
from ./generic/loadman.h:47,
from ./generic/loadman.c:12:
./generic/loadman.h:104:33: error: unknown type name ‘MD2_CTX’; did you mean ‘MD5_CTX’?
void (* init) _ANSI_ARGS_ ((MD2_CTX* c));


Need a hint on how to get there.

Greg

taip...@gmail.com

unread,
Dec 15, 2018, 5:14:06 AM12/15/18
to
Hello Greg,
you miss the definition of pointer MD2_CTX, which is probably defined in md2.h

A search with
"apt-file find md2.h"
lists some dev-libraries that contain md2.h:

Maybe try to install openssl-dev or inspect tcl-trf-doc for instructions

Roland Frank

undro...@gmail.com

unread,
Dec 15, 2018, 7:29:26 AM12/15/18
to
Am Samstag, 15. Dezember 2018 08:34:36 UTC+1 schrieb greg:

> ...
> Need a hint on how to get there.

Greg,

you hit a problem since you've installed the libssl-dev package on your
Debian machine. For unknown reasons the md2.h of the libssl-dev package
doesn't work with the trf build. The latest check-in

https://www.androwish.org/index.html/info/e0d0dd2f0fbd2060

addresses this issue by forcing the use of the compatibility md2.h of trf
when building it.

Best,
Christian

greg

unread,
Dec 15, 2018, 8:43:59 AM12/15/18
to
Thank you!
It's working fine now.
Will watch the libssl-de install.


best regards
Greg

Androwish is great!
0 new messages