Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#66 testsuite reinstall fails if $prefix/sblim-testsuite exists

Usability
closed-fixed
5
2005-05-09
2005-04-21
Gareth S Bestor
No

I thought I opened a bug about this already, but
apparantly not...

re-installing the testsuite package fails when making
sym link to stat dir

...
You may now run make
make: Nothing to be done for `clean'.
make: Nothing to be done for `all'.
Installing testsuite. Enter Root Password:
make[1]: Entering directory
`/home/bestorga/sfcb/sblim/testsuite'
make[1]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/sblim-testsuite/cim" || mkdir
-p -- "/usr/local/share/sblim-testsuite/cim"
/usr/bin/install -c -m 644 'cim/SampleClass.cim'
'/usr/local/share/sblim-testsuite/cim/SampleClass.cim'
test -d /usr/local/var/lib/sblim-testsuite/stat ||
mkdir -p -- /usr/local/var/lib/sblim-testsuite/stat
ln -s /usr/local/var/lib/sblim-testsuite/stat
/usr/local/share/sblim-testsuite
ln: `/usr/local/share/sblim-testsuite/stat': File exists
make[1]: *** [install-data-local] Error 1
make[1]: Leaving directory
`/home/bestorga/sfcb/sblim/testsuite'
make: *** [install-am] Error 2

finx is change testsuite Makefile.am to

install-data-local:
test -d $(DESTDIR)$(pkgstatedir)/stat ||
$(mkdir_p) $(DESTDIR)$(pkgstatedir)/stat
$(LN_S) -f $(pkgstatedir)/stat
$(DESTDIR)$(pkgdatadir)

Discussion

    • assigned_to: nobody --> mihajlov
    • status: open --> open-accepted
     
    • assigned_to: mihajlov --> bestorga-oss
     
    • status: open-accepted --> closed-fixed