-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hello,
I've been trying to compile Rttf2pt1 which is a dependency for another package I'd like to use, but I'm getting the following errors:
trying URL 'https://cloud.r-project.org/src/contrib/Rttf2pt1_1.3.6.tar.gz'
Content type 'application/x-gzip' length 220741 bytes (215 KB)
==================================================
downloaded 215 KB
* installing *source* package ‘Rttf2pt1’ ...
** package ‘Rttf2pt1’ successfully unpacked and MD5 sums checked
** libs
** arch -
echo "make ttf2pt1 in ttf2pt1/ ..."
make ttf2pt1 in ttf2pt1/ ...
(cd ttf2pt1; make CC="`"/share/apps/r/3.4.2/intel/lib64/R/bin/R" CMD config CC`" CFLAGS="`"/share/apps/r/3.4.2/intel/lib64/R/bin/R" CMD config CFLAGS`" ttf2pt1)
make[1]: Entering directory `/tmp/RtmpLjuNki/R.INSTALL1cb766369710/Rttf2pt1/src/ttf2pt1'
icc -std=gnu99 -g -O2 -std=c99 -c ttf2pt1.c
ttf2pt1.c(684): warning #266: function "strdup" declared implicitly
glyph_rename[code] = strdup(name);
^
ttf2pt1.c(1779): warning #266: function "getopt" declared implicitly
while(( oc=ttf2pt1_getopt(argc, argv, "FaoebAsthHfwVv:p:l:d:u:L:m:W:O:G:",
^
ttf2pt1.c(1779): warning #167: argument of type "char **" is incompatible with parameter of type "char *"
while(( oc=ttf2pt1_getopt(argc, argv, "FaoebAsthHfwVv:p:l:d:u:L:m:W:O:G:",
^
ttf2pt1.c(1783): error: identifier "optarg" is undefined
if(sscanf(optarg, "%d", &warnlevel) < 1 || warnlevel < 0) {
^
ttf2pt1.c(1817): error: identifier "optarg" is undefined
for(i=0; optarg[i]!=0; i++)
^
ttf2pt1.c(1840): error: identifier "optarg" is undefined
if(sscanf(optarg, "%c=%d", &subopt, &val) !=2) {
^
ttf2pt1.c(1865): error: identifier "optarg" is undefined
for(p=optarg; *p != 0; p++) {
^
ttf2pt1.c(1886): error: identifier "optarg" is undefined
for(p=optarg; *p != 0; p++) {
^
ttf2pt1.c(1928): error: identifier "optarg" is undefined
if(optarg[0]=='A' && optarg[1]==0)
^
ttf2pt1.c(1940): error: identifier "optarg" is undefined
correctvsize = atoi(optarg);
^
ttf2pt1.c(2034): error: identifier "optind" is undefined
argc-=optind-1; /* the rest of code counts from argv[0] */
^
ttf2pt1.c(2075): warning #266: function "strdup" declared implicitly
if(p!=0 && (s = strdup(p+1))!=0) {
^
ttf2pt1.c(2110): warning #266: function "strdup" declared implicitly
argv[2] = strdup (argv[1]);
^
ttf2pt1.c(2193): warning #266: function "fdopen" declared implicitly
ifp = fdopen(p[0], "r");
^
compilation aborted for ttf2pt1.c (code 2)
make[1]: *** [ttf2pt1.o] Error 2
make[1]: Leaving directory `/tmp/RtmpLjuNki/R.INSTALL1cb766369710/Rttf2pt1/src/ttf2pt1'
make: *** [all] Error 2
ERROR: compilation failed for package ‘Rttf2pt1’
* removing ‘/home/ge31/R/x86_64-centos-linux-gnu-library/3.4/Rttf2pt1’
The downloaded source packages are in
‘/tmp/Rtmp3RZ9Up/downloaded_packages’
Warning message:
In install.packages("Rttf2pt1") :
installation of package ‘Rttf2pt1’ had non-zero exit status
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels