STR #869

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Bugs & Features | Roadmap 1.1 ]

STR #869

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:"local" fltk-config can't cope with symlinks
Created By:ianmacarthur
Assigned To:mike
Fix Version:1.1-current (SVN: v4477)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files

Trouble Report Comments:

Name/Time/Date Text top right image
#1 ianmacarthur
13:13 May 17, 2005
If fltk-config is invoked from a "local" directory, but via a symlink, the "selfdir" variable gets the dir of the symlink *not* of the actual local installation.

Something like this might be better, as this will try and resolve the actual location of the fltk-config script, rather than the link itself...

selfdir=`readlink $0`

if test -n "$selfdir"; then
        selfdir=`dirname $selfdir`
        selfdir=`dirname $0`

# echo $selfdir

#2 ianmacarthur
11:00 May 18, 2005
A revised version of this patch is now built in to my fltk-config patch at #868
#3 mike
18:09 Aug 07, 2005
Fixed in Subversion repository.  
bottom left image   bottom right image

Return to Bugs & Features ]


Comments are owned by the poster. All other content is copyright 1998-2021 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.