Package: texmacs
Version: 1:1.0.4-R3-4
Severity: normal
Starting a R session TeXmacs complains:
Error in library(TeXmacs, lib.loc =
/usr/share/texmacs/TeXmacs/plugins/r/r/)
'TeXmacs' is not a valid package -- installed 2.0.0?
This is caused by the R plugin which is included in the TeXmacs package
source: it is not a R source package -- it is an installed package and
it was installed with R version 1.7.1 (see last line of
../plugins/r/r/TeXmacs/DESCRIPTION)
R versions starting with 2.0.0 give don't load those packages.
That means the bild process for the TeXmacs debian package should
include a run of
R CMD INSTALL -l ./plugins/r/r path_to_src_of_TeXmacs_R_package
unfortunately, there is no R source package of the TeXmacs R package
included in the TeXmacs sources. But it can be reconstructed easily,
e.g. with (assuming apt-get source texmacs and cd texmacs-VERSION):
mkdir R/TeXmacs
cp -r ./plugins/r/r/TeXmacs/man R/TeXmacs/man
cp -r ./plugins/r/r/TeXmacs/R R/TeXmacs/R
cp -r ./plugins/r/r/TeXmacs/demo R/TeXmacs/demo
cp -r ./plugins/r/src R/TeXmacs/src (is this needed?)
cp ./plugins/r/r/TeXmacs/DESCRIPTION R/TeXmacs/
cp ./plugins/r/r/TeXmacs/INDEX R/TeXmacs/
cp ./plugins/r/r/TeXmacs/CONTENTS R/TeXmacs/
now add to debian/rules before the main make call:
cd R; R CMD INSTALL -l ../plugins/r/r TeXmacs
maybe also add
rm -f ./plugins/r/r/TeXmacs/libs/*.so
to the clean target of debian/rules
(or even rm -rf ./plugins/r/r/TeXmacs bacause it is regenerated anyway.)
BTW: Despite the loading error described above R works in TeXmacs, so
maybe it is only a cosmetic bug ...
Albrecht Gebhardt
[EMAIL PROTECTED]
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.29-rc2-uk-dt-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages texmacs depends on:
ii guile-1.6-libs1.6.7-1Main Guile libraries
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libfreetype6 2.1.7-2.3.uk FreeType 2 font engine, shared lib
ii libgcc1 1:3.4.3-6 GCC support library
ii libguile-ltdl-1 1.6.7-1Guile's patched version of libtool
ii libltdl3 1.5.6-3A system independent dlopen wrappe
ii libqthreads-121.6.7-1QuickThreads library for Guile
ii libstdc++51:3.3.5-5 The GNU Standard C++ Library v3
ii libx11-6 4.3.0.dfsg.1-10.uk X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-10.uk X Window System miscellaneous exte
ii tetex-base2.0.2c-3 Basic library files of teTeX
ii tetex-bin 2.0.2-25 The teTeX binary files
ii tetex-extra 2.0.2c-3 Additional library files of teTeX
ii texmacs-common1:1.0.4-R3-4 WYSIWYG emacs-ish mathematical tex
ii xbase-clients 4.3.0.dfsg.1-10.uk miscellaneous X clients
ii xlibs 4.3.0.dfsg.1-10.uk X Keyboard Extension (XKB) configu
ii zlib1g1:1.2.2-3 compression library - runtime
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]