You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just launched this script on Centos 6.6 x64 and gcc seemed to work but after running e.g. zsh 5.0.7 compilation I have the following:
$./configure
....
checking for limit RLIMIT_NICE... yes
checking for limit RLIMIT_RTPRIO... yes
checking for limit RLIMIT_POSIXLOCKS... no
checking for limit RLIMIT_NPTS... no
checking for limit RLIMIT_SWAP... no
checking for limit RLIMIT_KQUEUES... no
checking if RLIMIT_VMEM and RLIMIT_RSS are the same... no
checking if RLIMIT_VMEM and RLIMIT_AS are the same... no
checking if RLIMIT_RSS and RLIMIT_AS are the same... no
checking for struct rusage.ru_maxrss... yes
checking for struct rusage.ru_ixrss... yes
checking for struct rusage.ru_idrss... yes
checking for struct rusage.ru_isrss... yes
checking for struct rusage.ru_minflt... yes
checking for struct rusage.ru_majflt... yes
checking for struct rusage.ru_nswap... yes
checking for struct rusage.ru_inblock... yes
checking for struct rusage.ru_oublock... yes
checking for struct rusage.ru_msgsnd... yes
checking for struct rusage.ru_msgrcv... yes
checking for struct rusage.ru_nsignals... yes
checking for struct rusage.ru_nvcsw... yes
checking for struct rusage.ru_nivcsw... yes
checking for /dev/fd filesystem... /proc/self/fd
checking for RFS superroot directory... no
checking whether we should use the native getcwd... no
checking whether getcwd calls malloc to allocate memory... no
checking for setproctitle... no
checking for library containing setproctitle... no
checking for NIS... no
checking for NIS+... no
checking for utmp file... /var/run/utmp
checking for wtmp file... /var/log/wtmp
checking for utmpx file... no
checking for wtmpx file... no
checking for brk() prototype in <unistd.h>... yes
checking for sbrk() prototype in <unistd.h>... yes
checking for mknod prototype in <sys/stat.h>... yes
checking for ioctl prototype in <unistd.h> or <termios.h>... no
checking for ioctl prototype in <sys/ioctl.h>... yes
checking if named FIFOs work... no
checking if echo in /bin/sh interprets escape sequences... no
checking if link() works... no
checking if kill(pid, 0) returns ESRCH correctly... no
checking if POSIX sigsuspend() works... no
checking if tcsetpgrp() actually works... error
configure: error: unexpected return status
After installing glibc headers I add the following to your script's gcc build (--disable-multilib) because otherwise I would get an error:
gcc-*)
# We are using a newer version of CLooG (0.18.0).
# I have also made stack protection available
# (similar to DEP in windows).
CONF_ARGS=(
--disable-cloog-version-check
--disable-ppl-version-check
--disable-multilib
Thanks for the tip about --disable-multilib. I have not seen a case where it is needed. I will dig in a bit deeper to better understand what happened.
To release to /usr/local area, change line 356 from this:
RTFDIR=$"ROOTDIR/rtf"
to this
RTFDIR="$ROOTDIR"
However i would strongly encourage you not to do this. It might destabilize your system because there may be components of the OS or installed packages that rely on the version of the compiler that the OS was built with.
I have just launched this script on Centos 6.6 x64 and gcc seemed to work but after running e.g. zsh 5.0.7 compilation I have the following:
After installing glibc headers I add the following to your script's gcc build (
--disable-multilib
) because otherwise I would get an error:I have added the following to my
.bashrc
:BTW any ideas how can I install it in e.g.
/usr/local/
(system wide/automatically)?Because if I launch the script in the following way:then instead of installing it actually there then it would create the subdirectory
/usr/local/rtf
and in itbin
,lib
, etc etc.The text was updated successfully, but these errors were encountered: