Skip to content
Tcl Source Code View Ticket
Login

View Ticket

sample makefile install target fails

Closed / Fixed532557ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-03-20 16:43:42
Build Platform: SPARC Solaris 2.6, Sun compiler
Install Platform: SPARC Solaris 8

The latest CVS head for sample generates this error:

If you have documentation to create, place the commands
to
build the docs in the 'doc:' target.  For example:
        xml2nroff sample.xml > sample.n
        xml2html sample.xml > sample.html
mkdir -p /usr/tcl84/lib
mkdir -p /usr/tcl84/bin
mkdir -p /usr/tcl84/lib/sample0.3
 /projects/gnu/sparc-sun-solaris2.6/bin/ginstall -c -m
644 libsample0.3g.so /usr
/tcl84/lib/sample0.3/libsample0.3g.so
 : /usr/tcl84/lib/sample0.3/libsample0.3g.so
if test "x1" = "x1"; then \
    /projects/gnu/sparc-sun-solaris2.6/bin/ginstall -c
-m 644 pkgIndex.tcl /usr/
tcl84/lib/sample0.3
/bin/sh: syntax error at line 1: `end of file'
unexpected
make: *** [install-binaries] Error 2
lvirdenplain2002-03-20 23:54:05
Logged In: YES 
user_id=15949

Here's the fix to this problem.


--- sample/Makefile.in.orig     Wed Mar 20 11:46:56 2002
+++ sample/Makefile.in  Wed Mar 20 11:53:07 2002
@@ -185,3 +185,3 @@
        if test "x$(SHARED_BUILD)" = "x1"; then \
-           $(INSTALL_DATA) pkgIndex.tcl $(pkglibdir)
+           $(INSTALL_DATA) pkgIndex.tcl $(pkglibdir) ; \
        fi
lvirden Ticket [532557ffff]: 1 change [History diff]2002-03-20 23:55:10
hobbsplain2002-03-21 02:07:56
Logged In: YES 
user_id=72656

fixed 2002-03-20.
Log in (anonymous is fine) to add a comment.