#799: Configure should explicitly check for symbolic link capability on Linux
---------------------------------+------------------------------------------
Reporter: Austin_Hastings | Type: bug
Status: new | Priority: minor
Milestone: | Component: configure
Version: 1.3.0 | Severity: medium
Keywords: ntfs symbolic links | Lang:
Patch: | Platform: linux
---------------------------------+------------------------------------------
Comment(by Austin_Hastings):
In my ~/parrot/Makefile, I have this block:
{{{
$(LIBPARROT_SHARED) : $(O_FILES)
$(MKPATH) blib/lib
$(LD) $(LD_SHARE_FLAGS) $(LDFLAGS) -o $@
-Wl,-soname=libparrot$(SHARE_EX
T).$(SOVERSION) \
$(O_FILES) $(C_LIBS) $(ICU_SHARED)
( cd blib/lib ; ln -sf libparrot$(SHARE_EXT).$(SOVERSION)
libparrot$(SHARE_EXT) )
}}}
The eventual result is an attempt to link libparrot.so.1.3.0 to
libparrot.so. This fails since links are unsupported. In a no-links
environment, copy is probably the way to go, if it even needs to be done
at all.
I also have this one:
{{{
release : MANIFEST MANIFEST.generated
[ -d parrot-$(VERSION) ] || ln -s $(CUR_DIR) parrot-$(VERSION)
@$(RM_F) MANIFEST.real
mv MANIFEST MANIFEST.real
grep -v DEVELOPING MANIFEST.real > MANIFEST
$(PERL) -lane 'print"parrot-$(VERSION)/$$F[0]"unless!length||/#/'
MANIFEST | \
tar -zcv -T - -f parrot-$(VERSION).tar.gz
mv MANIFEST.real MANIFEST
rm parrot-$(VERSION)
}}}
But I have never tried `make release` so it doesn't impact me. (Yet.)
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/799#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets