R-alpha: 0.14: LIBSETUP problem (configure buglet) under Solaris 2.5

Martin Maechler (maechler@stat.math.ethz.ch)
Tue, 10 Dec 96 12:13:26 +0100


Date: Tue, 10 Dec 96 12:13:26 +0100
Message-Id: <9612101113.AA13064@>
From: Martin Maechler <maechler@stat.math.ethz.ch>
To: R-testers mailing list <R-testers@stat.math.ethz.ch>
Subject: R-alpha: 0.14: LIBSETUP problem (configure buglet) under Solaris 2.5

I found out when trying to use

	library(eda)
	
which does a  library.dynam(...) at the end 
which failed (with a not so easily understandable error message).

Interestingly, in "good old SunOS 4.1.x", it worked fine (using 'dl' library).

I found out that  eda.so  was never properly built,
the reason being that
	src/library/LIBSETUP
was not properly 'done' by the  configure  script,
the  SHLIBLDFLAGS containing an extra '-M mapfile'.
After removing it, everything was ok:

% diff -u LIBSETUP.~1~ LIBSETUP
--- LIBSETUP.~1~	Mon Dec  2 10:08:52 1996
+++ LIBSETUP	Tue Dec 10 11:58:50 1996
@@ -12,7 +12,7 @@
 do
	if test -d ${lib}/${dir}
	then
-		(cd ${lib}/${dir}; make CC="/opt/SUNWspro/bin/cc" CFLAGS="-O -K PIC" SHLIBLDFLAGS="-G -z text -M mapfile" FC="f77" FFLAGS="-O")
+		(cd ${lib}/${dir}; make CC="/opt/SUNWspro/bin/cc" CFLAGS="-O -K PIC" SHLIBLDFLAGS="-G -z text" FC="f77" FFLAGS="-O")
	fi
	if test -d ${lib}/funs
	then


> str(version) #-- shouldn't  Martin's   str(..) become part of R ..?
List of 10
 $ platform: chr 'sparc-sun-solaris2.5'
 $ arch: chr 'sparc'
 $ os: chr 'solaris2.5'
 $ system: chr 'sparc, solaris2.5'
 $ status: chr 'alpha'
 $ status.rev: chr '0'
 $ major: chr '0'
 $ minor: chr '14'
 $ year: chr '1996'
 $ language: chr 'R'
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-