[BRLTTY] make install error

高生旺 coscell at gmail.com
Wed Dec 25 09:54:25 UTC 2024


makefile and tclconfig.sh attached.
tcl package: tcl-8.6.12
Thank you!

On Wed, 25 Dec 2024, Dave Mielke wrote:

> Date: Wed, 25 Dec 2024 04:09:19 -0500
> From: Dave Mielke <Dave at mielke.cc>
> Reply-To: Informal discussion between users and developers of BRLTTY.
>     <brltty at brltty.app>
> To: Informal discussion between users and developers of BRLTTY.
>     <brltty at brltty.app>
> Subject: Re: [BRLTTY] make install error
> 
> [quoted lines by 高生旺 on 2024/12/25 at 05:58 +0800]
>
>> # make install
>> extra characters after close-brace
>>    while executing
>> "pkg_mkIndex {/usr/lib64}/"
>>    (file "./mkindex" line 1)
>
> I can't reproduce this so will need to try to figure it out remotely. Which version of the tcl package do you have?
>
> Could you please send me the Makefile from your brltty/Bindings/Tcl directory?
>
> Do you have /usr/lib64/tcl8.6/tclConfig.sh and/or /usr/lib64/tclConfig.sh? If so, could you send them to me?
>
> -- 
> I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
> Dave Mielke            | 2213 Fox Crescent | WebHome: http://Mielke.cc/
> EMail: Dave at Mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke
> Phone: +1 613 726 0014 | Canada  K2A 1H7   |
>
> http://mielke.cc/xmother.html (Letter from a Feminist ex-Mother)
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at brltty.app
> For general information, go to: http://brltty.app/mailman/listinfo/brltty
-------------- next part --------------
# Bindings/Tcl/Makefile.  Generated from Makefile.in by configure.
###############################################################################
# BRLTTY - A background process providing access to the console screen (when in
#          text mode) for a blind person using a refreshable braille display.
#
# Copyright (C) 1995-2024 by The BRLTTY Developers.
#
# BRLTTY comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the
# GNU Lesser General Public License, as published by the Free Software
# Foundation; either version 2.1 of the License, or (at your option) any
# later version. Please see the file LICENSE-LGPL for details.
#
# Web Page: http://brltty.app/
#
# This software is maintained by Dave Mielke <dave at mielke.cc>.
###############################################################################

SRC_TOP = ../../
SRC_DIR = .
# VPATH = .

BLD_TOP = ./../../
BLD_DIR = .

include $(SRC_TOP)common.mk
include $(SRC_DIR)/reldeps.mk

###############################################################################
# libbrlapi - A library providing access to braille terminals for applications.
#
# Copyright (C) 2006-2024 by Dave Mielke <dave at mielke.cc>
#
# libbrlapi comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the
# GNU Lesser General Public License, as published by the Free Software
# Foundation; either version 2.1 of the License, or (at your option) any
# later version. Please see the file LICENSE-LGPL for details.
#
# Web Page: http://brltty.app/
#
# This software is maintained by Dave Mielke <dave at mielke.cc>.
###############################################################################

include $(SRC_TOP)bindings.mk

TCLSH = /usr/bin/tclsh
TCL_OK = true
TCL_CPPFLAGS = -I/usr/include
TCL_LIBS = -L/usr/lib64 -ltcl8.6
TCL_DIR = {/usr/lib64}

TCL_API_DIR = $(INSTALL_ROOT)$(TCL_DIR)/$(API_NAME)-$(API_RELEASE)
TCL_API_LIB = $(LIB_PFX)$(API_NAME)_tcl.$(LIB_EXT)
TCL_INDEX_SCRIPT = mkindex

all: $(TCL_API_LIB) | make-index-script

$(TCL_API_LIB): bindings.$O | $(API_NAME)
	$(MKLIB:<name>=$(TCL_API_LIB).$(API_VERSION)) $@ bindings.$O $(TCL_LIBS) $(API_LDFLAGS)

PARAMETERS_HEADER = parameters.auto.h
CONSTANTS_HEADERS = $(PARAMETERS_HEADER)

$(CONSTANTS_HEADERS): $(CONSTANTS_DEPENDENCIES)
	$(AWK) -v parametersHeader=$(PARAMETERS_HEADER) $(CONSTANTS_ARGUMENTS)

bindings.$O:
	$(CC) $(TCL_CPPFLAGS) $(LIBCFLAGS) -o $@ -c $(SRC_DIR)/bindings.c

make-index-script:
	echo >$(TCL_INDEX_SCRIPT) 'pkg_mkIndex $(TCL_API_DIR) $(TCL_API_LIB)'

clean::
	-rm -f -- $(TCL_API_LIB) $(TCL_INDEX_SCRIPT)
	-rm -f -- $(CONSTANTS_HEADERS)

install: all
	$(INSTALL_DIRECTORY) $(TCL_API_DIR)
	$(INSTALL_PROGRAM) $(TCL_API_LIB) $(TCL_API_DIR)
	$(TCLSH) ./$(TCL_INDEX_SCRIPT)

uninstall:
	-rm -f $(TCL_API_DIR)/$(TCL_API_LIB)
	-rm -f $(TCL_API_DIR)/pkgIndex.tcl
	-[ -d $(TCL_API_DIR) ] && rmdir $(TCL_API_DIR)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tclConfig.sh
Type: application/octet-stream
Size: 7704 bytes
Desc: 
URL: <http://brltty.app/pipermail/brltty/attachments/20241225/c5226464/attachment.obj>


More information about the BRLTTY mailing list