From bug-octave-request at bevo dot che dot wisc dot edu Thu Apr 19 14:49:00 2001 Subject: `make install' not installing symlink to .../lib/octave-2.1.32/ From: "John W. Eaton" To: David Livings Cc: bug-octave at bevo dot che dot wisc dot edu Date: Thu, 19 Apr 2001 14:48:50 -0500 Sorry for the long delay. I've made your suggested change. Thanks, jwe On 20-Dec-2000, David Livings wrote: | Bug report for Octave 2.1.32 configured for %OCTAVE_CANONICAL_HOST_TYPE% | | Description: | ----------- | | After configuring, compiling and installing Octave 2.1.32 yesterday, I | had a look around to check that all the pieces had been installed | properly. On listing /home/davidl/Linux/lib/ I found the following: | | lrwxrwxrwx 1 davidl davidl 13 May 2 2000 octave -> octave-2.1.30/ | drwxr-xr-x 2 davidl davidl 1024 May 2 2000 octave-2.1.30/ | drwxr-xr-x 2 davidl davidl 1024 Jul 19 12:45 octave-2.1.31/ | drwxr-xr-x 2 davidl davidl 1024 Dec 19 12:40 octave-2.1.32/ | | The octave symlink had not been updated to point to octave-2.1.32/ and | had apparently also not been updated when I installed Octave 2.1.31 in | July. | | Repeat-By: | --------- | | The machine is running SuSE Linux 6.2. I untarred | octave-2.1.32.tar.gz, configured using the options shown below, and | ran `make' and `make install'. | | Fix: | --- | | I believe the problem lies in the definition of mk-libdir-link at the | end of Makeconf.in, which I reproduce below. The lines which I have | marked with a `#' prevent the creation of a new symlink if $(libdir) | already contains a symlink called octave pointing to a directory. The | otherwise similar definition of mk-includedir-link which immediately | precedes this definition in Makeconf.in does not include lines | corresponding to these. I suggest deleting the marked lines unless | they are necessary for some subtle reason of which I am unaware. | | define mk-libdir-link | src=`echo $(octlibdir) | sed 's|^$(libdir)/*||'` ; \ | echo $$src ; \ | if [ "$$src" = "octave" ] ; then \ | true ; \ | else \ | # if [ -d "$(libdir)/octave" ] ; then \ | # true ; \ | # else \ | cd $(libdir) ; \ | rm -f octave ; \ | $(LN_S) $$src octave ; \ | # fi ; \ | fi | endef ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------