[R] R-release.diff + R-1.9 -> success on Fedora Core 2, R RPM available; ess-emacs-5.1.20 also available

About this list Date view Thread view Subject view Author view Attachment view

From: Paul Johnson (pauljohn@ku.edu)
Date: Sat 22 May 2004 - 12:35:57 EST


Message-id: <40AEBC8D.5010901@ku.edu>

Dear Everybody:

I have Fedora Core 2 and R-1.9.0 does not build "out of the box". After
applying the daily patch file R-release.diff, I find it does build and
I've made RPMS and SRPM.

In case you want to save yourself a recompile, you can find Fedora Core
RPMs in here:

http://lark.cc.ku.edu/~pauljohn/software/R

These are based on the standard R distribution SPEC file, only the patch
was added.

Also, I have created an RPM for ESS for Emacs on Fedora Core 2 (not
Xemacs) and you can find that here:

http://lark.cc.ku.edu/~pauljohn/software/favoriteEmacsFiles

--------------------------

While I'm on the RPM subject, can I ask an R RPM packaging question? I
want the R RPM to install so that post install then R starts and runs
> update.packages()

as well as

install.packages(c("Design","Hmisc","lmtest","car","rgl","effects"))

well, you get the idea. I want to add in more packages, of course. Can
I ask what might be the best way to package this?

pj

ps: Here's the error that results if you do not patch R-1.9.0 on FC2:

gcc -I. -I../../../src/include -I../../../src/include
-I/usr/X11R6/include -I/usr/local/incl

ude -DHAVE_CONFIG_H -D__NO_MATH_INLINES -mieee-fp -fPIC -O2 -g -pipe
-march=i386 -mcpu=i686

  -c dataentry.c -o dataentry.lo
In file included from dataentry.c:31:
/usr/X11R6/include/X11/Xlib.h:1400: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1488: error: syntax error before "char"
/usr/X11R6/include/X11/Xlib.h:1516: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1520: error: syntax error before "char"
/usr/X11R6/include/X11/Xlib.h:1542: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1577: error: syntax error before '*' token
/usr/X11R6/include/X11/Xlib.h:1586: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1611: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1661: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1667: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1714: error: syntax error before "char"
/usr/X11R6/include/X11/Xlib.h:1753: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1994: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2078: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2331: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2341: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2413: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2423: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2581: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2596: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2789: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2856: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2861: error: syntax error before "char"
/usr/X11R6/include/X11/Xlib.h:2975: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3001: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3012: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3037: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3046: error: syntax error before "char"
/usr/X11R6/include/X11/Xlib.h:3059: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3202: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3251: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3283: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3374: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3381: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3401: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3407: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3419: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3429: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3770: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3781: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3792: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3803: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3814: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3825: error: syntax error before "_Xconst"
In file included from dataentry.c:32:
/usr/X11R6/include/X11/Xutil.h:566: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xutil.h:606: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xutil.h:666: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xutil.h:678: error: syntax error before "_Xconst"
/usr/X11R6/include/X11/Xutil.h:801: error: syntax error before "_Xconst"
dataentry.c: In function `GetKey':
dataentry.c:1272: warning: passing arg 4 of `XLookupString' from
incompatible pointer type
dataentry.c: In function `GetCharP':
dataentry.c:1281: warning: passing arg 4 of `XLookupString' from
incompatible pointer type
dataentry.c: In function `doControl':
dataentry.c:1302: warning: passing arg 4 of `XLookupString' from
incompatible pointer type
make[4]: *** [dataentry.lo] Error 1
make[4]: Leaving directory
`/home/pauljohn/LinuxDownloads/redhat/BUILD/R-1.9.0/src/modules/X

11'
make[3]: *** [R] Error 2
make[3]: Leaving directory
`/home/pauljohn/LinuxDownloads/redhat/BUILD/R-1.9.0/src/modules/X

-- 
Paul E. Johnson                       email: pauljohn@ku.edu
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66044-3177           FAX: (785) 864-5700

______________________________________________ R-help@stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:12 EST