>>> Unpacking source... >>> Unpacking elm-2.4ME+100.tar.gz to /var/tmp/portage/mail-client/elm-2.4_rc100-r1/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100 ... case $CONFIG in '') if test ! -f config.sh; then ln ../config.sh . || \ ln ../../config.sh . || \ ln ../../../config.sh . || \ (echo "Can't find config.sh."; exit 1) echo "Using config.sh from above..." fi . ./config.sh ;; esac case "$0" in */*) cd `expr X$0 : 'X\(.*\)/'` ;; esac if $test "$linepr" = none -o "$linepr" = "" ; then default_printout=none else default_printout="$cat %s | $linepr" fi echo "Extracting hdrs/sysdefs.h (with variable substitutions)" sed <sysdefs.h -e 's!^#undef!/\*#undef!' /* $Id: sysdefs.SH,v 1.17 2002/12/10 20:11:17 hurtta Exp $ */ /****************************************************************************** * The Elm (ME+) Mail System - $Revision: 1.17 $ $State: Exp $ * * Modified by: Kari Hurtta ****************************************************************************** * The Elm Mail System * * Copyright (c) 1988-1992 USENET Community Trust * Copyright (c) 1986,1987 Dave Taylor *****************************************************************************/ /** System level, configurable, defines for the ELM mail system. **/ #define MAX_IN_WEEDLIST 150 /* max headers to weed out */ #define MAX_HOPS 35 /* max hops in return addr to E)veryone */ #define DEFAULT_BATCH_SUBJECT "$defbatsub" #define DEFAULT_DOMAIN "$mydomain" /* if mydomain file is missing */ #define SYSTEM_TEXT_FILE "$etc/aliases.text" #define SYSTEM_DATA_FILE "$etc/aliases" #define SYSTEM_RC_FILE "$etc/elm.rc" #define SYSTEM_MIME_TYPES "$etc/elm.mimetypes" #define SYSTEM_MIME_CHARSETS "$etc/elm.mimecharsets" #define SYSTEM_ISO2022_SETS "$etc/elm.iso2022sets" #define SYSTEM_TERMINAL_INFO "$etc/elm.terminalinfo" #define SYSTEM_MAIL_SERVICES "$etc/elm.mailservices" #define ETCHOME "$etc" #define LIBHOME "$lib" #define USER_ALIAS_TEXT ".elm/aliases.text" #define USER_ALIAS_DATA ".elm/aliases" #define USER_MIME_TYPES ".elm/mime.types" #define USER_MIME_CHARSETS ".elm/mime.charsets" #define USER_ISO2022_SETS ".elm/iso2022.sets" #define USER_TERMINAL_INFO ".elm/terminal.info" #define USER_MAIL_SERVICES ".elm/mail.services" #define HOSTDOMFILE "$etc/domain" /** where to put the output of the elm -d command... (in home dir) **/ #define default_temp "$tmpdir/" #define temp_file "snd." #define temp_form_file "form." #define temp_mbox "mbox." #define temp_print "print." #define temp_edit "elm-edit" /* #define temp_uuname "uuname." */ #define temp_state "est." #define emacs_editor "$emacs" #define vi_editor "$vi" #define default_editor "$defeditor $editoropts" #define mailhome "$maildir/" #define default_pager "$pager" #define DEFAULT_PRINTOUT "$default_printout" #define DEFAULT_SYSTEM_CHARSET "$defsystemcharset" #if 0 #define submitflags "-mlrnvxto,cc*" #endif #define DEFAULT_MAILER_PATH "$mailer" #define SENDMAIL_MAILER_PATH "$sendmail" #define SUBMITMAIL_MAILER_PATH "$submit" #define EXECMAIL_MAILER_PATH "$execmail" #define helphome "/var/tmp/portage/mail-client/elm-2.4_rc100-r1/image/$lib" #define helpfile "elm-help" #define ELMRC_INFO "/var/tmp/portage/mail-client/elm-2.4_rc100-r1/image/$lib/elmrc-info" #ifdef SHARED_LIBS #define SHARED_DIR "/var/tmp/portage/mail-client/elm-2.4_rc100-r1/image/$shlib" #define SHARED_LIBPREFIX "libelmme-" #define SHARED_LIBSUFFIX ".so$d_shared_rev" #endif #define ELMRCFILE ".elm/elmrc" #define old_elmrcfile ".elm/elmrc.old" #define MAILHEADERS ".elm/elmheaders" #define dead_letter "Canceled.mail" #define unedited_mail "emergency.mbox" #define newalias "newalias 1>&2 > /dev/null" #define readmsg "readmsg" #define remove_cmd "$rm -f" /* how to remove a file */ #define MSG_SEPARATOR "\001\001\001\001\n" /* mmdf message seperator */ #ifdef CRAY /* avoid conflict with typedef'd word */ #define word wrd #endif /* CRAY */ #ifndef STRSTR char *strstr(); #endif !GROK!THIS! (I see you are using the Korn shell. Some ksh's blow up on Configure, especially on exotic machines. If yours does, try the Bourne shell instead.) Prefix: /usr Found bin directory Beginning of configuration questions for elm2.4me+ kit. First let's make sure your kit is complete. Checking... Looks good... Checking your sh to see if it knows about # comments... Your sh handles # comments correctly. Okay, let's see if #! works on this system... It does. Checking out how to guarantee sh startup... Let's see if '#!/bin/sh' works... Yup, it does. Checking echo to see how to suppress newlines... ...using -n. This installation shell script will examine your system and ask you questions to determine how the elm2.4me+ package should be installed. If you get stuck on a question, you may use a ! shell escape to start a subshell or execute a command. Many of the questions will have default answers in square brackets--typing carriage return will give you the default. On some of the questions which ask for file or directory names you are allowed to use the ~name construct to specify the login directory belonging to "name", even if you don't have a shell which knows about that. Questions where this is allowed will be marked "(~name ok)". [Type carriage return to continue] Much effort has been expended to ensure that this shell script will run on any Unix system. If despite that it blows up on you, your best bet is to edit Configure and run it again. Also, let the Elm Development Group (elm@dsi.com) know how they blew it. If you can't run Configure for some reason, you'll have to generate a config.sh file by hand. This installation script affects things in two ways: 1) it may do direct variable substitutions on some of the files included in this kit, and 2) it builds a config.h file for inclusion in C programs. You may edit any of these files as the need arises after running this script. If you make a mistake on a question, there is no easy way to back up to it currently. The easiest thing to do is to edit config.sh and rerun all the SH files. Configure will offer to let you do this before it runs the SH files. [Type carriage return to continue] If you want Configure to search programs from some unusual directory first, you can give it on here. Give "none" if no any special directory exists or if do want search special path as last resort. If you want specify several directories, seperate them with space. Special directory from where search programs first? [/usr/local/sbin] If you want Configure to search programs from some unusual directory as last resort. If you want specify several directories, seperate them with space. Give "none" if no any special directory exists. Special directory from where search programs last? [/usr/ti-linux-gnu/bin] Locating common programs... basename is in /bin/basename. cat is in /bin/cat. chgrp is in /bin/chgrp. chmod is in /bin/chmod. cp is in /bin/cp. dirname is in /bin/dirname. echo is in /bin/echo. expr is in /bin/expr. egrep is in /bin/egrep. grep is in /bin/grep. fgrep is in /bin/fgrep. head is in /bin/head. ln is in /bin/ln. ls is in /bin/ls. make is in /usr/bin/make. mv is in /bin/mv. rm is in /bin/rm. sed is in /bin/sed. sleep is in /bin/sleep. sort is in /bin/sort. diff is in /usr/bin/diff. touch is in /bin/touch. tr is in /bin/tr. uniq is in /usr/bin/uniq. cut is in /bin/cut. Don't worry if any of the following aren't found... I don't see Mcc out there, offhand. compress is in /usr/bin/compress. cpp is in /usr/bin/cpp. date is in /bin/date. diff is in /usr/bin/diff. emacs is in /usr/bin/emacs. I don't see execmail out there, either. I don't see finger out there, either. gpg is in /usr/bin/gpg. ispell is in /usr/bin/ispell. line is in /usr/bin/line. I don't see lint out there, either. lp is in /usr/bin/lp. locale is in /usr/bin/locale. lpr is in /usr/bin/lpr. I don't see metamail out there, either. I don't see mips out there, either. more is in /bin/more. nroff is in /usr/bin/nroff. I don't see pack out there, either. pg is in /usr/bin/pg. I don't see pgp out there, either. pmake is in /usr/bin/pmake. pr is in /usr/bin/pr. I don't see rmail out there, either. sendmail is in /usr/sbin/sendmail. shar is in /usr/bin/shar. I don't see smail out there, either. I don't see submit out there, either. tar is in /bin/tar. tbl is in /usr/bin/tbl. test is in /usr/bin/test. troff is in /usr/bin/troff. I don't see gtroff out there, either. uname is in /bin/uname. I don't see uuname out there, either. vi is in /usr/bin/vi. Checking compatibility between /bin/echo and builtin echo (if any)... They are compatible. In fact, they may be identical. Installation prefix directory is /usr There is a neat feature that enables scanning of the message body for entries to add to the users ".calendar" (or whatever) file. These entries are then processed by the system program calendar. To use this feature it needs to be enabled. The name of the per user calendar file used by your system's calendar program is also required. Enable calendar feature [y] Default calendar file: [calendar] Hmm... Linux 2.6. Looks kind of like a version 7 system, but we'll see... It's not Xenix... Nor is it Venix... Does your /etc/passwd file keep full names in Berkeley/V7 format (name first thing after ':' in GCOS field)? [y] The Elm documentation (Reference Guide, Configuration Guide, etc.) is set up for troff. If you only have nroff, it can be used, but the documentation will not be as readable. If you use an alternate processor for troff/nroff documents it can be specified here. Elm expects the text processor to write to standard out. You will be given a chance to provide command line options to this command in the next question. If you do not want install documentation, you can answer "none". Give the name of the program used to format the Elm documentation on your system: [/usr/bin/troff] If this text processor requires any options for proper formatting, specify them here. To specify no options, enter the word "none". Some versions of troff require the -t option to write to standard out. This is the proper place to specify that option. What options should Elm use with /usr/bin/troff: [] Use which C compiler? [gcc] Some C compilers have problems with their optimizers, by default, elm2.4me+ compiles with the -O flag to use the optimizer. Alternately, you might want to use the symbolic debugger, which uses the -g flag (on traditional UNIX systems). Either flag can be specified here. To use neither flag, specify the word "none". What optimizer/debugger flag should be used? [-O2 -pipe] Your C compiler may want other flags. For this question you should include -I/whatever and -DWHATEVER flags and any other flags used by the C compiler, but you should NOT include libraries or ld flags like -lwhatever. To use no flags, specify the word "none". Any additional cc flags? [-fpcc-struct-return] (C preprocessor flags: -D__GNUC__) Your linker/loader may want other flags. For example, you might want to enable support for the symbolic debugger (-g on traditional UNIX systems). For this question you should specify those flags. Do NOT specify libraries (-lwhatever) here. Most systems will not need any special flags, in which case specify "none". Any additional ld flags (NOT including libraries)? [none] Testing if gcc -fpcc-struct-return works ... trivial.c: In function 'main': trivial.c:7: warning: incompatible implicit declaration of built-in function 'exit' Yes it does. Library directory name is lib Checking for optional libraries... Testing -lc_s ... No -lc_s. Some versions of UNIX support shared libraries, which make executables smaller but make load time slightly longer. On some systems, mostly newer UNIX System V's, the shared library is included by putting the option "-lc_s" as the last thing on the cc command line when linking. Other systems use shared libraries by default. There may be other libraries needed to compile elm2.4me+ on your machine as well. If your system needs the "-lc_s" option, include it here. Include any other special libraries here as well. Say "none" for none. Any additional libraries? [none] Your shared C library is in /usr/lib/libc.so. Checking /usr/lib/libc.so for GNU ld scripts... /usr/lib/libc.so ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 )) OK. Extracting names from ( ) /lib/ld-linux.so.2 /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED for later perusal...done Now, how can we feed standard input to your C preprocessor... Maybe "gcc -E" will work... Nope, maybe "/usr/bin/cpp" will work... Yup, it does. Your C preprocessor defines the following symbols: unix __STDC__ linux dlfcn.h found (trying shared libraries) Some machines requires special options for generate position indepedent code for shared libraries. Other machines produce position indepedent code always (if "noshared" options are not used). Trying compiling with -KPIC gcc: unrecognized option '-KPIC' Ignoring -KPIC option altough compilation succeed Trying compiling with -fPIC Succeed with -fPIC flag Give "none" if any extra flags should not be used. What flag should be used? [-fPIC] Trying compiling with -fPIC Succeed with -fPIC flag Making shlib directory Trying create chared library Trying creation with -shared -soname DIR/name.so Trying creation with -shared -Xlinker -soname=DIR/name.so Succeed with -shared -Xlinker -soname=directory/name.so Trying link with -rpath DIR Trying link with -Xlinker -rpath -Xlinker DIR Succeed with -Xlinker -rpath -Xlinker directory Shared libraries seems work Trying dlopen() with (none) Trying dlopen() with -ldl Found dlopen() from -ldl Succeed with dlopen() Compiling testdynshared.so ... OK Trying resolving with option (none) Trying resolving with option -rdynamic succeed Resolves ok with option -rdynamic Does your system allow chown(-1, group) and chown(user, -1) to not change the user or group respectively. This is usually documented in the chown manual page (man 2 chown). (Most POSIX and BSD systems can, Xenix cannot) Does this system allow -1 as chown argument? [y] Some Local Delivery Agents (mailers) support the Content-Length: header. In doing so, they do not wish to have messages escaped to protect 'From ' lines in the body of the message, among other strings. Does the Local Delivery Agent in use on this system use the Content-Length: header when writing mails to (incoming) mailbox? Honors Content-Length: header? [n] cuserid() found Elm can either display the hostname on the index page, or just the folder name. If the hostname is displayed, the folder name will read hostname:folder. If not it will just read folder. Should Elm display the hostname as part of the folder name? [n] flock() found. flock locking not available. F_SETLK not found, fcntl locking not available Dot lock style locking will be used Figuring out host name... Maybe "hostname" will work... Your host name appears to be "yamato". Is this correct? [y] What is your domain name? [.localdomain] poll.h found. sys/select.h found. select() found sys/mman.h found -- testing if mmap() works ... mmap.c: In function 'main': mmap.c:23: warning: incompatible implicit declaration of built-in function 'exit' mmap.c:25: warning: incompatible implicit declaration of built-in function 'exit' Yes it does. sys/socket.h found After unsuccesfully connect() call Elm ME+ normally does not close and open socket again, but instead uses old socket (which is not yet connected). On some systems this may cause problems. Specially on Linux 2.2.16 reconnecting that seems cause that succesfully connection (after failed one) is immediately closed after connect. If that happens, you can work around that by defining NEED_REOPEN_AFTER_FAILED_CONNECT on compilation. Define NEED_REOPEN_AFTER_FAILED_CONNECT [y] netdb.h found netinet/in.h found Testing if inet_aton can be used ... OK dirent.h found inttypes.h found. In some systems (such as IRIX 5.3, but not in IRIX 6.2) including of inttypes.h causes error (types defined also in sys/types.h) Avoid including inttypes.h [n] gethostname() found. sys_errlist found, will attempt to use systems sys_nerr and sys_errlist Elm would like to use the systems definitions of the error messages for system errors. These are usually contained in the global variables sys_errlist[] and sys_nerr. If these do not exist, there is a standard list built into Elm. Does the system support the sys_errlist[] global variable? [y] ftruncate() found getopt() found Using string.h instead of strings.h Your system has both index() and strchr(). Shall I use index() rather than strchr()? [y] Some systems run MMDF as their Mail Transport Agent. MMDF uses a different way of delimiting messages in the mailbox files. Other systems don't run MMDF but use the MMDF separator in their mailbox files. The MMDF separator is usually a series of four Control A's. elm2.4me+ needs to know if this system uses the MMDF style message separator in its mailbox files. Does this system use MMDF style message separator? [n] BSD(?) sendmail is on /usr/sbin/sendmail Give the full path name of the program used to deliver mail on your system. Give value "none" if that mailer should be given on run time on global elm.rc (variable mailer) instead. Preferred mail delivery agent: [/usr/sbin/sendmail] Testing Sendmail version for /usr/sbin/sendmail... sendmail: illegal option -- d sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [ arg ... ] NOT Sendmail Default path for mailer=sendmail is /usr/sbin/sendmail (selected mailer is /usr/sbin/sendmail) Elm has the ability to place a call to the ispell spelling checker on its post-message-entry/pre-message-send menu. Configure has found ispell as /usr/bin/ispell Should Elm add the ispell option to the pre-send menu? [y] Give the name of the ispell program on your system: [/usr/bin/ispell] What options should Elm use with /usr/bin/ispell: [-x] locale.h found, elm2.4me+ will call setlocale Assuming that isprint() works for non-ASCII characters because locale support (setlocale()) exists. Skipping test of "ctype" conversion routines and using standard system "ctype" conversions because Elm's replacement routines are US-ASCII only and there was locale() support provided by system. [Type carriage return to continue] langinfo.h found, testing nl_langinfo(CODESET) support ... nl_langinfo(CODESET) seems work, charset for C locale is ANSI_X3.4-1968 catgets() found Message catalog routines and nl_types.h found Your system wants malloc to return void *, it would seem. A lot of sites that install the Elm Mail System find that the function E)dit mailbox from within Elm is dangerous and confusing. If you choose, you can instead disable that function, with the program being slightly smaller and presenting an appropriate error message to the user if they try to E)dit their mailbox. Would you like to enable the E)dit Mailbox function? [n] memcpy() found MIME allows for sending and receiving of Messages compliant to the Multipurpose Internet Mail Extension (RFC 1341). MIME provides a way to attach binary, graphic, audio, video, postscript and other files. MIME doesn't necessarily need graphics capabilities on your display, but its useful. Elm's MIME support would not depend on the Nathaniel Borenstein's metamail package, but you would not be able to use nearly all of the MIME features as long as you don't have metamail installed. If you don't have metamail, you can tell that metamail should not be used. This is configuration option. [Type carriage return to continue] If you have installed Nathaniel Borenstein's metamail package for displaying MIME messages, elm can make use of it. If you didn't have metamail installed you might want to obtain a copy of it. The most recent version is on thumper.bellcore.com [128.96.41.1], or ask the archie servers for the nearest site. This version (Elm 2.4ME+) does not use Metamail's companion programs (such as mmencode) directly, but metamail package supposes that companion programs are installed to search path. What is the compile time default path for metamail? Possible values include: none Don't call metamail metamail Call metamail if environment variable $NOMETAMAIL is not set. /path Call metamail via that path, if it is executable Default path for metamail? [none] System supports multiple character sets or languages. Name of character set used by "ctype" ruotines is determined from locale's LC_CTYPE via elm.mimecharsets file on elm's library directory. Also codeset name returned by nl_langinfo(CODESET) is used to determine (MIME) name of character set. In case of that locale name does not found from elm.mimecharsets file, what is used as Default System Character Set? However instead of Default System Character Set environment variable $MM_CHARSET is tried first if it is set (and $NOMETAMAIL is not set) in case of that locale name does not found from elm.mimecharsets file. Normally Default System Character Set should be US-ASCII. Default System Character Set? [US-ASCII] Can I test if your mailer supports -B8BITMIME -option? [n] Can I test if your mailer supports DSN options: -N -R -V? [n] Should PGP support be compiled in? [y] What is the compile time default path for pgp 2? Possible values include: none Don't call pgp 2 /path Call pgp 2 via that path, if it is executable If you use pgp 5 or gpg instead, answer "none" to this question. Where is the pgp 2.6 binary located? [none] What is the compile time default directory for pgp 5 binaries? Possible values include: none Don't call pgp 5 /path Call pgp 5 binaries from that directory If you use pgp 2 or gpg instead, answer "none" to this question. Where is the pgp 5 binaries located? [none] What is the compile time default path for gpg? Possible values include: none Don't call gpg /path Call gpg via that path, if it is executable If you use pgp 2 or pgp 5 instead, answer "none" to this question. Where is the gpg 1.0 binary located? [/usr/bin/gpg] Newmail (Elm's utility to check for incoming mail) can be configured to either run as a foreground process or as a process that automatically forks and runs in the background. Should newmail automatically run in the background? [y] You're running sendmail. Suggesting noaddfrom; no usedomain Are you running a machine where you want to have a domain name appended to the hostname on outbound mail? Would you like the domain name appended? [n] Does your mailer add the From: header for you? [y] Some sites do not like to see the mail header "X-mailer:" in outgoing messages. If you choose, you may disable these headers. However, it is strongly urged to leave these headers in the mail to assist in tracking down problems. Would you like to disable the X-mailer: headers? [n] Checking to see if kill(pid, 0) works... Your system supports kill(pid, 0)... putenv() found First, how many times should the Elm check for the removal of the lock file before giving up? (After that many tries lock file is removed if it more that 10 minutes old (and mailbox is not accessed) Number of lock attempts: [6] Where is yet-to-be-read mail spooled? [/var/mail] Mail group is mail Elm needs to be installed and run as a setgid program only if the mail spool directory permissions do not allow world write access. If your mail spool directory has the permissions: drwxrwxr-x 3 root mail 512 Dec 24 17:20 /usr/mail then Elm must be setgid to the same group as the mail spool directory (in this case group mail). However, if the spool permissions look like: drwxrwsrwt 2 root staff 512 Dec 21 20:14 /usr/spool/mail then Elm should not be installed or run as a setgid program. Am I going to be running as a setgid program? [y] sigset() found sigaction() found. sigprocmask() found. waitpid() found. strspn() found strcspn() found strpbrk() found strerror() found strstr() found strtok() found Some sites wish to disable the usage of the shell escape from Elm. If you choose, you can disallow subshells from within Elm. Note: This only controls Elm's usage of the ! command. Any pager or editor could still allow subshells. Would you like to allow the ! command (subshells)? [y] symlink() found tempnam() found setlinebuf() found tcsetattr() found You have POSIX termios.h... good! getdomainname() found The getdomainname system call was found. When running NIS, this usually returns the NIS domain and not the host's domain for mail. If this is the case, it should not be used to obtain the host's domain, and the host's domain name should be compiled into the code, and the global elm.rc file should be used to override the compiled in value. If the getdomainname call does return the correct host's domain name, it can be used. Elm will also try get host's domain name from hostname by gethostbyname(). If that succees either the compiled in value or getdomainname() are not used. Should getdomainname() be used to obtain the mail domain? [n] Testing to see if we should include , or both. I'm now running the test program... Trying -DI_TIME -DI_SYSTIME -DS_TIMEVAL Succeeded with -DI_TIME -DI_SYSTIME -DS_TIMEVAL Found Checking to see if struct utimbuf exists. You have the 'utimbuf' structure... vfork() found Found Found :1:1: warning: "__GNUC__" redefined : warning: this is the location of the previous definition You have void (*signal())() instead of int. Will use /usr as installation prefix directory Will install elm2.4me+ public executables to /usr/bin Will install elm2.4me+ unformatted manual pages to /usr/share/man/man1 The installed unformatted manual pages can have various extensions to suit the conventions of the host operating system, for example "page.1". Note that the period '.' must be included as part of the extension. To specify no extension, enter the word "none". What extension should be used on installed unformatted man pages: [.1] May install elm2.4me+ formatted manual pages to /usr/share/man/cat1 Online manual pages are generally formatted with nroff. If you use an alternate text processor for on-line manual pages it can be specified here. Elm expects the text processor to write to standard out. Note: This does not effect the formatter previously chosen for the Elm Elm documentation (Reference Guide, Configuration Guide, etc.). If you do not want install formatted manual pages to /usr/share/man/cat1, you can answer "none". Give the name of the program used to format on-line manual pages on your system: [/usr/bin/nroff] If this text processor requires any options for proper formatting, specify then here. To specify no options, enter the word "none". What options should Elm use with /usr/bin/nroff: [] The installed formatted manual pages can have various extensions to suit the conventions of the host operating system, for example "page.1". Note that the period '.' must be included as part of the extension. To specify no extension, enter the word "none". What extension should be used on installed formatted man pages: [.1] Should the formatted manual pages be compressed? [n] Will install elm2.4me+ miscellaneous files to /usr/lib Will install elm2.4me+ public config files to /etc/elm Will install elm2.4me+ shared libraries to /usr/lib WARNING: Directory /usr/lib is listed on file /etc/ld.so.conf Linux ldconfig gives errors when soname include pathnames therefore disabling generating of pathnames to soname If you use several versions of ELM ME+, version number need to be added to libelmme-base.so name. Add version number to libelmme-base.so library? [n] Using name libelmme-base.so strftime() found Elm will provide a default subject for mail messages that are sent in batch mode (redirected from a file.) Default batch subject: [no subject (file transmission)] Elm must be configured with a default editor. On most systems this may be 'vi'. If you prefer to use some other, easier editor enter it here. You will be given a change to provide command line options to this command in the next question. What is the default editor on your system? [/usr/bin/vi] If this editor requires any options for proper use, specify them here. To specify no options, enter the word "none". For example, 'pico' users will want to use the -t option. This is the proper place to specify that option. What options should Elm use with /usr/bin/vi: [] Elm has an option to send messages to the printer. This question asks for the default spooler name. You can also specify options to the command by separating them from the command by at least one space. Use value none for no compiled time default. What print spooler do you prefer to use with Elm? [/usr/bin/lp] What pager do you prefer to use with elm2.4me+? [builtin++] Checking how to generate random libraries on your machine... ar appears to generate random libraries itself. remote tape drive is unknown-remote-tape-unit Trying locate terminfo routines Trying system library Trying -ltermlib library Trying -lcurses library Succeed to found terminfo routines from -lcurses library found found Both and found. Which one I should include for prototypes of tgetent() like functions when using -lcurses. Select t) Include only , c) Include only or b) Include both and Should , or both included when using -lcurses ? [b] Where do you want to put the temporary files? [/tmp] The executable file pmake was found on this system. Usually this file indicates a parallel make, which executes much faster. Should this system use the pmake command as its make command? Does this system use pmake as its make? [y] Testing whatever /usr/bin/pmake sets $(MAKE) macro ... /usr/bin/pmake Yes, it does Figuring out how to get timezone names. Trying -DTZNAME_USE_TM_NAME Trying -DTZNAME_USE_TM_ZONE Alright! That seems to have worked. Shared libraries are: iconv smtp tls (Doing configure for iconv) Found from system headers Elm ME+ can use GNU libiconv for character set conversions. Support is implemented as shared library libelmme-iconv.so. Give directory under which there are library and include files of GNU libiconv. Give "none" to disable generation of shared library. Give "system" to indicate that GNU libiconv include and library files are search path of compiler. Give "systemlib" to indicate that and iconv routines are on system native library instead. That works on IRIX 6.5. It works also Linux with (some) glibc 2.x. GNU libiconv directory prefix? [systemlib] iconv routines is assumed to found from system library Test compilation with iconv routines succeed... Calling of iconv routines succeed... (Doing configure for smtp) (Doing configure for tls) Found OpenSSL from system directory Elm ME+ can use OpenSSL library for TLS support. Support is implemented as shared library libelmme-tls.so. Give directory under which there are library and include files of OpenSSL. Give "none" to disable generation of shared library. Give "system" to indicate that OpenSSL include and library files are search path of compiler. OpenSSL directory prefix? [system] OpenSSL is assumed to found from system locations Test compilation with OpenSSL succeed... Calling of OpenSSL succeed... Creating config.sh... Copying configure of iconv to config.sh... Copying configure of smtp to config.sh... Copying configure of tls to config.sh... Elm ME+ is ability to map locale's LC_CTYPE to MIME character set. That is done via file elm.mimecharsets on elm's library directory. That file also includes MIME character set information. Also codeset name returned by nl_langinfo(CODESET) is used to determine MIME character set. During configure that file goes to bin/elm.mimecharsets. [Type carriage return to continue] Because nl_langinfo(CODESET) is supported, /usr/lib/elm.mimecharsets need not include mapping definations from locale to charset. Should Configure generate (new) mappings from locale to charset? [n] ( cd .. ; sh config.h.SH) Extracting config.h (with variable substitutions) ( cd .. ; sh hdrs/sysdefs.SH) Extracting hdrs/sysdefs.h (with variable substitutions) cc -g -I../hdrs -c validcharset.c ln -f ../lib/precompiled_sets.c precompiled_sets.c cc -g -I../hdrs -c precompiled_sets.c ln -f ../lib/istrcmp.c istrcmp.c cc -g -I../hdrs -c istrcmp.c cc -g -I../hdrs -o validcharset validcharset.o precompiled_sets.o istrcmp.o ConfTool/validcharset compiled * Adding map definations from ConfTool/mapfiles Adding map=8859-2.TXT for ISO-8859-2 Adding map=8859-3.TXT for ISO-8859-3 Adding map=8859-4.TXT for ISO-8859-4 Adding map=8859-5.TXT for ISO-8859-5 Adding map=8859-6.TXT for ISO-8859-6 Adding map=8859-7.TXT for ISO-8859-7 Adding map=8859-8.TXT for ISO-8859-8 Adding map=8859-9.TXT for ISO-8859-9 Adding map=8859-14.TXT for ISO-8859-14 Adding map=8859-16.TXT for ISO-8859-16 * Adding iso646 definations from ConfTool/iso646maps Adding "0023 00A4 0040 005B 005C 005D 005E 0060 007B 007C 007D 203E" for IRV Adding "00A3 0024 0040 005B 005C 005D 005E 0060 007B 007C 007D 203E" for ISO646-GB Adding "0023 00A4 0040 00C4 00D6 00C5 005E 0060 00E4 00F6 00E5 203E" for ISO646-FI Adding "0023 00A4 00C9 00C4 00D6 00C5 00DC 00E9 00E4 00F6 00E5 00FC" for ISO646-SE2 Adding "0023 0024 0040 005B 00A5 005D 005E 0060 007B 007C 007E 203E" for ISO646-JP Adding "00A3 0024 00A7 00B0 00E7 00E9 005E 00F9 00E0 00F2 00E8 00EC" for ISO646-IT Adding "00A3 0024 00A7 00A1 00D1 00BF 005E 0060 00B0 00F1 00E7 007E" for ISO646-ES Adding "0023 0024 00A7 00C4 00D6 00DC 005E 0060 00E4 00F6 00FC 00DF" for ISO646-DE * Adding charset definations from doc/mime.charsets Adding MIME-subset=US-ASCII for CP437 Adding MIME-subset=US-ASCII for CP850 Adding MIME-subset=US-ASCII for CP852 Adding MIME-subset=US-ASCII for CP860 Adding MIME-subset=US-ASCII for CP863 Adding MIME-subset=US-ASCII for CP865 Adding MIME-subset=US-ASCII for hp-roman8 * Adding alias definations from ConfTool/charaliases.map Adding alias=cp367;alias=cp367;alias=ISO646-US;alias=IBM367;alias="ISO_646.irv:1991" for US-ASCII Adding alias=cp819;alias=ISO_8859-1;alias=IBM819 for ISO-8859-1 Adding alias=ISO_8859-2 for ISO-8859-2 Adding alias=ISO_8859-3 for ISO-8859-3 Adding alias=ISO_8859-4 for ISO-8859-4 Adding alias=ISO_8859-5 for ISO-8859-5 Adding alias=ISO_8859-6 for ISO-8859-6 Adding alias=ISO_8859-7 for ISO-8859-7 Adding alias=ISO_8859-8 for ISO-8859-8 Adding alias=ISO_8859-9 for ISO-8859-9 Adding alias=ISO_8859-10 for ISO-8859-10 Adding alias=ISO_8859-13 for ISO-8859-13 Adding alias=ISO_8859-14;alias=iso-ir-199;alias="ISO_8859-14:1998";alias=latin8;alias=iso-celtic;alias=l8 for ISO-8859-14 Adding alias=ISO_8859-15 for ISO-8859-15 Adding alias=CCSID00858;alias=CP00858;alias="PC-Multilingual-850+euro" for IBM00858 Adding alias=CCSID00924;alias=CP00924;alias="ebcdic-Latin9--euro" for IBM00924 Adding alias=CCSID01140;alias=CP01140;alias="ebcdic-us-37+euro" for IBM01140 Adding alias=CCSID01141;alias=CP01141;alias="ebcdic-de-273+euro" for IBM01141 Adding alias=CCSID01142;alias=CP01142;alias="ebcdic-dk-277+euro";alias="ebcdic-no-277+euro" for IBM01142 Adding alias=CCSID01143;alias=CP01143;alias="ebcdic-fi-278+euro" for IBM01143 Adding alias=CCSID01144;alias=CP01144;alias="ebcdic-it-280+euro" for IBM01144 Adding alias=CCSID01145;alias=CP01145;alias="ebcdic-es-284+euro" for IBM01145 Adding alias=CCSID01146;alias=CP01146;alias="ebcdic-gb-285+euro" for IBM01146 Adding alias=CCSID01147;alias=CP01147;alias="ebcdic-fr-297+euro" for IBM01147 Adding alias=CCSID01148;alias=CP01148;alias="ebcdic-international-500+euro" for IBM01148 Adding alias=CCSID01149;alias=CP01149;alias="ebcdic-is-871+euro" for IBM01149 Adding alias=cp775;alias=csPC775Baltic for IBM775 Adding alias=CP866;alias=csIBM866;alias=866 for IBM866 Adding alias=CP1250;alias=IBM1250 for Windows-1250 Adding alias=CP1251;alias=IBM1251 for Windows-1251 Adding alias=CP1252;alias=IBM1252 for windows-1252 Adding alias=CP1253;alias=IBM1253 for Windows-1253 Adding alias=CP1254;alias=IBM1254 for Windows-1254 Adding alias=CP1255;alias=IBM1255 for Windows-1255 Adding alias=CP1256;alias=IBM1256 for Windows-1256 Adding alias=CP1257;alias=IBM1257 for Windows-1257 Adding alias=CP1258;alias=IBM1258 for Windows-1258 Adding alias=Windows-874;alias=IBM874 for CP874 Adding alias=Windows-932;alias=IBM932 for CP932 Adding alias=Windows-936;alias=IBM936 for CP936 Adding alias=Windows-949;alias=IBM949 for CP949 Adding alias=Windows-950;alias=IBM950 for CP950 Adding alias=IBM437 for CP437 Adding alias=IBM850 for CP850 Adding alias=IBM852 for CP852 Adding alias=IBM860 for CP860 Adding alias=IBM863 for CP863 Adding alias=IBM865 for CP865 Adding alias="ISO_646.irv:1983" for IRV Adding alias=ISO646-SE;alias=SEN_850200_B for ISO646-FI Adding alias=SEN_850200_C for ISO646-SE2 Adding alias=JIS_C6220-1969-ro for ISO646-JP Adding alias=IT for ISO646-IT Adding alias=ES for ISO646-ES Adding alias=DIN_66003 for ISO646-DE Adding alias=EUC-CN for GB2312 * map definations for locales are not added * map definations for locale charmaps are not added Resulting elm.mimecharsets is following: # Mapping from LC_CTYPE locale to MIME's charset values # Format is: # LC_CTYPE charset # # That format can be used override mapping given by nl_langinfo(CODESET) # # If LC_CTYPE is on form # LL_cc.encoding # then also following formats are available: # LL_cc charset # LL charset # *.encoding charset # These mappings are only used if nl_langinfo(CODESET) is not supported # # - charset;type=ascii-set;MIME-subset=US-ASCII # - charset;type=xxx;MIME-subset=some-subset-name # - charset;alias=alias-name - ISO-8859-2;type=ascii-set;map=8859-2.TXT - ISO-8859-3;type=ascii-set;map=8859-3.TXT - ISO-8859-4;type=ascii-set;map=8859-4.TXT - ISO-8859-5;type=ascii-set;map=8859-5.TXT - ISO-8859-6;type=ascii-set;map=8859-6.TXT - ISO-8859-7;type=ascii-set;map=8859-7.TXT - ISO-8859-8;type=ascii-set;map=8859-8.TXT - ISO-8859-9;type=ascii-set;map=8859-9.TXT - ISO-8859-14;type=ascii-set;map=8859-14.TXT - ISO-8859-16;type=ascii-set;map=8859-16.TXT - IRV;MIME-subset=INVARIANT;type=iso646-set;map="0023 00A4 0040 005B 005C 005D 005E 0060 007B 007C 007D 203E" - ISO646-GB;MIME-subset=INVARIANT;type=iso646-set;map="00A3 0024 0040 005B 005C 005D 005E 0060 007B 007C 007D 203E" - ISO646-FI;MIME-subset=INVARIANT;type=iso646-set;map="0023 00A4 0040 00C4 00D6 00C5 005E 0060 00E4 00F6 00E5 203E" - ISO646-SE2;MIME-subset=INVARIANT;type=iso646-set;map="0023 00A4 00C9 00C4 00D6 00C5 00DC 00E9 00E4 00F6 00E5 00FC" - ISO646-JP;MIME-subset=INVARIANT;type=iso646-set;map="0023 0024 0040 005B 00A5 005D 005E 0060 007B 007C 007E 203E" - ISO646-IT;MIME-subset=INVARIANT;type=iso646-set;map="00A3 0024 00A7 00B0 00E7 00E9 005E 00F9 00E0 00F2 00E8 00EC" - ISO646-ES;MIME-subset=INVARIANT;type=iso646-set;map="00A3 0024 00A7 00A1 00D1 00BF 005E 0060 00B0 00F1 00E7 007E" - ISO646-DE;MIME-subset=INVARIANT;type=iso646-set;map="0023 0024 00A7 00C4 00D6 00DC 005E 0060 00E4 00F6 00FC 00DF" - CP437;MIME-subset=US-ASCII - CP850;MIME-subset=US-ASCII - CP852;MIME-subset=US-ASCII - CP860;MIME-subset=US-ASCII - CP863;MIME-subset=US-ASCII - CP865;MIME-subset=US-ASCII - hp-roman8;MIME-subset=US-ASCII - US-ASCII;alias=cp367;alias=cp367;alias=ISO646-US;alias=IBM367;alias="ISO_646.irv:1991" - ISO-8859-1;alias=cp819;alias=ISO_8859-1;alias=IBM819 - ISO-8859-2;alias=ISO_8859-2 - ISO-8859-3;alias=ISO_8859-3 - ISO-8859-4;alias=ISO_8859-4 - ISO-8859-5;alias=ISO_8859-5 - ISO-8859-6;alias=ISO_8859-6 - ISO-8859-7;alias=ISO_8859-7 - ISO-8859-8;alias=ISO_8859-8 - ISO-8859-9;alias=ISO_8859-9 - ISO-8859-10;alias=ISO_8859-10 - ISO-8859-13;alias=ISO_8859-13 - ISO-8859-14;alias=ISO_8859-14;alias=iso-ir-199;alias="ISO_8859-14:1998";alias=latin8;alias=iso-celtic;alias=l8 - ISO-8859-15;alias=ISO_8859-15 - IBM00858;alias=CCSID00858;alias=CP00858;alias="PC-Multilingual-850+euro" - IBM00924;alias=CCSID00924;alias=CP00924;alias="ebcdic-Latin9--euro" - IBM01140;alias=CCSID01140;alias=CP01140;alias="ebcdic-us-37+euro" - IBM01141;alias=CCSID01141;alias=CP01141;alias="ebcdic-de-273+euro" - IBM01142;alias=CCSID01142;alias=CP01142;alias="ebcdic-dk-277+euro";alias="ebcdic-no-277+euro" - IBM01143;alias=CCSID01143;alias=CP01143;alias="ebcdic-fi-278+euro" - IBM01144;alias=CCSID01144;alias=CP01144;alias="ebcdic-it-280+euro" - IBM01145;alias=CCSID01145;alias=CP01145;alias="ebcdic-es-284+euro" - IBM01146;alias=CCSID01146;alias=CP01146;alias="ebcdic-gb-285+euro" - IBM01147;alias=CCSID01147;alias=CP01147;alias="ebcdic-fr-297+euro" - IBM01148;alias=CCSID01148;alias=CP01148;alias="ebcdic-international-500+euro" - IBM01149;alias=CCSID01149;alias=CP01149;alias="ebcdic-is-871+euro" - IBM775;alias=cp775;alias=csPC775Baltic - IBM866;alias=CP866;alias=csIBM866;alias=866 - Windows-1250;alias=CP1250;alias=IBM1250 - Windows-1251;alias=CP1251;alias=IBM1251 - windows-1252;alias=CP1252;alias=IBM1252 - Windows-1253;alias=CP1253;alias=IBM1253 - Windows-1254;alias=CP1254;alias=IBM1254 - Windows-1255;alias=CP1255;alias=IBM1255 - Windows-1256;alias=CP1256;alias=IBM1256 - Windows-1257;alias=CP1257;alias=IBM1257 - Windows-1258;alias=CP1258;alias=IBM1258 - CP874;alias=Windows-874;alias=IBM874 - CP932;alias=Windows-932;alias=IBM932 - CP936;alias=Windows-936;alias=IBM936 - CP949;alias=Windows-949;alias=IBM949 - CP950;alias=Windows-950;alias=IBM950 - CP437;alias=IBM437 - CP850;alias=IBM850 - CP852;alias=IBM852 - CP860;alias=IBM860 - CP863;alias=IBM863 - CP865;alias=IBM865 - IRV;alias="ISO_646.irv:1983" - ISO646-FI;alias=ISO646-SE;alias=SEN_850200_B - ISO646-SE2;alias=SEN_850200_C - ISO646-JP;alias=JIS_C6220-1969-ro - ISO646-IT;alias=IT - ISO646-ES;alias=ES - ISO646-DE;alias=DIN_66003 - GB2312;alias=EUC-CN If you need to edit bin/elm.mimecharsets, do it as a shell escape here: Elm ME+ is ability change charset of terminal. That is done via file elm.terminalinfo elm's library directory. Generating elm.terminalinfo file. During configure that file goes to bin/elm.terminalinfo. For now doc/terminal.info is just used for that. * Copying content of doc/terminal.info Resulting elm.terminalinfo is following: # This file gives terminal specific methods for switching of chartset # of terminal. On file there may be following kind lines: # # term ISO-2022 charset-name # term ISO-2022 charset-definition # term ISO-2022/DW charset-name # term PRIVATE charset-name d/d d/d d/d # term PRIVATE charset-name [ condition ] d/d d/d d/d # # # where term is type of terminal (ie value of $TERM). # ISO-2022 is literal, which indicates that # next column is character set name or character set # definition as on elm.mimecharsets or mime.charsets file # and that character set switching happends as given with # other-set and bank-Gx-* attributes on charcter set # definition. PRIVATE literal, which indicates that # next two columns are charatter set name and bytes given # on d/d format for switch character set. # # ISO-2022/DW literal indicates that terminal uses # same attributes than on case ISO2022 literal. # Additionally that says that 94x94 and 96x96 sets # consume two character positions on display with that # terminal. That literal is available only with charset # which have type=iso2022. # [ condition ] is like [ exp = exp ] where exp can be # either "quoted value" or $ENV_VAR. "quoted value" allow # also environment variables (same way than Elm ME+ allows # on pathnames.) For example that may be used on lines like # # linux PRIVATE ISO-8859-15 [ $SYSFONTACM="iso15" ] 1/11 2/8 4/11 0/15 # # This file list what charset types terminal support and how # to it can terminal to be switched. '*' mean any termianl name which # start with part before '*' character. # VT series vt100* ISO-2022 US-ASCII vt102* ISO-2022 US-ASCII vt200* ISO-2022 US-ASCII vt220* ISO-2022 US-ASCII vt300* ISO-2022 US-ASCII vt320* ISO-2022 US-ASCII vt500* ISO-2022 US-ASCII vt510* ISO-2022 US-ASCII vt520* ISO-2022 US-ASCII vt300* ISO-2022 ISO-8859-1 vt320* ISO-2022 ISO-8859-1 vt500* ISO-2022 ISO-8859-1 vt510* ISO-2022 ISO-8859-1 vt520 ISO-2022 ISO-8859-1 vt525 ISO-2022 ISO-8859-1 # Note that Linux's console really do not follow ISO-2022 system # therefore we use PRIVATE keyword linux PRIVATE ISO-8859-1 1/11 2/8 4/2 0/15 linux PRIVATE CP437 1/11 2/8 5/5 0/15 linux ISO-2022 US-ASCII linux ISO-2022 UTF-8 # xterm is really like VT100 -- perhaps just ISO-8859-1 charset # but that is uncertain xterm ISO-2022 US-ASCII xterm-debian ISO-2022 US-ASCII # kterm probably defaults to EUC-JP kterm ISO-2022/DW ISO-2022-KR kterm ISO-2022/DW EUC-KR kterm ISO-2022/DW ISO-2022-JP kterm ISO-2022/DW EUC-JP #kterm ISO-2022/DW ISO-2022-JP-2 kterm ISO-2022 US-ASCII #kterm ISO-2022/DW ISO-2022-CN kterm ISO-2022/DW GB2312 #kterm ISO-2022/DW ISO-2022-CN #kterm ISO-2022/DW ISO-2022-CN-EXT # # To get ISO-8859-1 set display correctly, check that fontlist of kterm gives # working font for *-iso8859-1 kterm ISO-2022 ISO-8859-1 # These are for Linux Mandrake 7.1 # # Following does not work, to geto these work change on /etc/profile.d/lang.sh # unset SYSFONTACM SYSFONT # to # unset SYSFONT # export SYSFONTACM # Also remove following from /etc/profile.d/lang.csh # unsetenv SYSFONTACM # # That assumes that /etc/rc.d/rc.sysinit sets default font and loads translation table ($SYSFONTACM) # Look manual page of consolechars. Translation tables are on /usr/lib/kbd/consoletrans/ directory. # # Only same are listed than on /etc/profile.d/lang.sh linux PRIVATE ISO-8859-2 [ $SYSFONTACM="iso02" ] 1/11 2/8 4/11 0/15 linux PRIVATE ISO-8859-15 [ $SYSFONTACM="iso15" ] 1/11 2/8 4/11 0/15 bin/elm.terminalinfo may include some extra chracter sets. During installation these may cause some error messages, but you should able to ignore them. You may want now edit bin/elm.terminalinfo manually. If you need to edit bin/elm.terminalinfo, do it as a shell escape here: End of configuration questions. Doing variable substitutions on .SH files... Extracting Makefile (with variable substitutions) Extracting config.h (with variable substitutions) Extracting doc/Makefile (with variable substitutions) Extracting hdrs/sysdefs.h (with variable substitutions) Extracting lib/Makefile (with variable substitutions) Extracting src/Makefile (with variable substitutions) Extracting utils/Makefile (with variable substitutions) Extracting utils/checkalias (with variable substitutions) Extracting utils/listalias (with variable substitutions) Extracting utils/messages (with variable substitutions) Extracting utils/printmail (with variable substitutions) Extracting melib/Makefile (with variable substitutions) Extracting shared_libs/Makefile (with variable substitutions) Extracting shared_libs/tls/Makefile (with variable substitutions) Extracting shared_libs/iconv/Makefile (with variable substitutions) Extracting shared_libs/smtp/Makefile (with variable substitutions) Now you must run a make. cd lib; make all make[1]: Entering directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/lib' /bin/egrep -h '#define .*_magic' ../*/*.[ch] | /bin/sort > magic_res1 /bin/sort < MAGIC > magic_res2 lib/MAGIC OK /bin/chmod u+w ../hdrs/defs.h /bin/touch ../hdrs/defs.h /bin/chmod u+w ../hdrs/headers.h /bin/touch ../hdrs/headers.h gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o add_site.o add_site.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o atonum.o atonum.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mk_aliases.o mk_aliases.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o aliasdb.o aliasdb.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mk_lockname.o mk_lockname.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o can_access.o can_access.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o can_open.o can_open.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o chloc.o chloc.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o charset.o charset.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o precompiled_sets.o precompiled_sets.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o charset_input.o charset_input.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o cs_binary.o cs_binary.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o cs_iso2022.o cs_iso2022.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o cs_fallback.o cs_fallback.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o cs_utf.o cs_utf.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o date_util.o date_util.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o dispaddr.o dispaddr.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o dynarray.o dynarray.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o errno.o errno.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o expand.o expand.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o expires.o expires.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o forwarded.o forwarded.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o file_util.o file_util.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o gcos_name.o gcos_name.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o get_tz.o get_tz.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o hdrdecode.o hdrdecode.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o hdrencode.o hdrencode.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o headers.o headers.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o getaddr.o getaddr.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o getaddrfrm.o getaddrfrm.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o getarpdate.o getarpdate.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o getfullnam.o getfullnam.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o getword.o getword.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o header_cmp.o header_cmp.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o id_phrase.o id_phrase.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o in_string.o in_string.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o iso2022.o iso2022.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o iso2022_map.o iso2022_map.c iso2022_map.c: In function 'map_unicode_to_ISO2022_word_1': iso2022_map.c:972: warning: comparison is always false due to limited range of data type gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o imap.o imap.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o istrcmp.o istrcmp.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o ldstate.o ldstate.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o len_next.o len_next.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o localmbx.o localmbx.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mail_gets.o mail_gets.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mailer.o mailer.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mediatype.o mediatype.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mbox.o mbox.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o move_left.o move_left.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o ndbz.o ndbz.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o okay_addr.o okay_addr.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o opt_utils.o opt_utils.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o outheaders.o outheaders.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o output.o output.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o panic.o panic.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o parsarpdat.o parsarpdat.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o pmalloc.o pmalloc.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o posixsig.o posixsig.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o pop.o pop.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o putenv.o putenv.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o qstrings.o qstrings.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o rc_handle.o rc_handle.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o read_rc.o read_rc.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o realfrom.o realfrom.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o remote_mbx.o remote_mbx.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o reverse.o reverse.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o rfc822tlen.o rfc822tlen.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o stringtok.o stringtok.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o safemalloc.o safemalloc.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o savefolder.o savefolder.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o shared.o shared.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o sb_file.o sb_file.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o sb_mem.o sb_mem.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o schedule.o schedule.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o service_list.o service_list.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o shiftlower.o shiftlower.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o state.o state.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o streamsched.o streamsched.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o strfcpy.o strfcpy.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o strincmp.o strincmp.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o string.o string.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o stringbuffer.o stringbuffer.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o striparens.o striparens.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o strmcpy.o strmcpy.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o strtokq.o strtokq.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o syscall.o syscall.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o terminal.o terminal.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o unicode.o unicode.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o unidata.o unidata.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o write_hdr.o write_hdr.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o safeopen.o safeopen.c ar r libutil.a add_site.o atonum.o mk_aliases.o aliasdb.o mk_lockname.o can_access.o can_open.o chloc.o charset.o precompiled_sets.o charset_input.o cs_binary.o cs_iso2022.o cs_fallback.o cs_utf.o date_util.o dispaddr.o dynarray.o errno.o expand.o expires.o forwarded.o file_util.o gcos_name.o get_tz.o hdrdecode.o hdrencode.o headers.o getaddr.o getaddrfrm.o getarpdate.o getfullnam.o getword.o header_cmp.o id_phrase.o in_string.o iso2022.o iso2022_map.o imap.o istrcmp.o ldstate.o len_next.o localmbx.o mail_gets.o mailer.o mediatype.o mbox.o move_left.o ndbz.o okay_addr.o opt_utils.o outheaders.o output.o panic.o parsarpdat.o pmalloc.o posixsig.o pop.o putenv.o qstrings.o rc_handle.o read_rc.o realfrom.o remote_mbx.o reverse.o rfc822tlen.o stringtok.o safemalloc.o savefolder.o shared.o sb_file.o sb_mem.o schedule.o service_list.o shiftlower.o state.o streamsched.o strfcpy.o strincmp.o string.o stringbuffer.o striparens.o strmcpy.o strtokq.o syscall.o terminal.o unicode.o unidata.o write_hdr.o safeopen.o ar: creating libutil.a : libutil.a gcc -fpcc-struct-return -fPIC -shared -Xlinker -soname=libelmme-base.so -o ../shlib/libelmme-base.so add_site.o atonum.o mk_aliases.o aliasdb.o mk_lockname.o can_access.o can_open.o chloc.o charset.o precompiled_sets.o charset_input.o cs_binary.o cs_iso2022.o cs_fallback.o cs_utf.o date_util.o dispaddr.o dynarray.o errno.o expand.o expires.o forwarded.o file_util.o gcos_name.o get_tz.o hdrdecode.o hdrencode.o headers.o getaddr.o getaddrfrm.o getarpdate.o getfullnam.o getword.o header_cmp.o id_phrase.o in_string.o iso2022.o iso2022_map.o imap.o istrcmp.o ldstate.o len_next.o localmbx.o mail_gets.o mailer.o mediatype.o mbox.o move_left.o ndbz.o okay_addr.o opt_utils.o outheaders.o output.o panic.o parsarpdat.o pmalloc.o posixsig.o pop.o putenv.o qstrings.o rc_handle.o read_rc.o realfrom.o remote_mbx.o reverse.o rfc822tlen.o stringtok.o safemalloc.o savefolder.o shared.o sb_file.o sb_mem.o schedule.o service_list.o shiftlower.o state.o streamsched.o strfcpy.o strincmp.o string.o stringbuffer.o striparens.o strmcpy.o strtokq.o syscall.o terminal.o unicode.o unidata.o write_hdr.o safeopen.o make[1]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/lib' cd melib; make all make[1]: Entering directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/melib' gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o parse_util.o parse_util.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o pgp_decode.o pgp_decode.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mailcap.o mailcap.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mime.o mime.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mime_decode.o mime_decode.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mime_parse.o mime_parse.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mime_selector.o mime_selector.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mparser.o mparser.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mpar_rfc822.o mpar_rfc822.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mpar_multipart.o mpar_multipart.c gcc -I../hdrs -fpcc-struct-return -fPIC -O2 -pipe -c -o mpar_leaf.o mpar_leaf.c ar r libme.a parse_util.o pgp_decode.o mailcap.o mime.o mime_decode.o mime_parse.o mime_selector.o mparser.o mpar_rfc822.o mpar_multipart.o mpar_leaf.o ar: creating libme.a : libme.a make[1]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/melib' cd shared_libs; make all make[1]: Entering directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs' cd iconv; make -w all make[2]: Entering directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/iconv' /bin/chmod u+w ../include/elmshared.h /bin/touch ../include/elmshared.h /bin/chmod u+w elmiconv.h /bin/touch elmiconv.h gcc -I../include -fpcc-struct-return -fPIC -O2 -pipe -c -o iconv.o iconv.c iconv.c: In function 'cs_add_state_to_iconv': iconv.c:1000: warning: comparison is always false due to limited range of data type ar r libiconv.a iconv.o ar: creating libiconv.a : libiconv.a gcc -fpcc-struct-return -fPIC -shared -Xlinker -soname=libelmme-iconv.so -o ../../shlib/libelmme-iconv.so iconv.o make[2]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/iconv' cd iconv; make -w ../../shlib/libelmme-iconv.so make[2]: Entering directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/iconv' make[2]: `../../shlib/libelmme-iconv.so' is up to date. make[2]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/iconv' cd smtp; make -w all make[2]: Entering directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/smtp' /bin/chmod u+w elmsmtp.h /bin/touch elmsmtp.h gcc -I../include -fpcc-struct-return -fPIC -O2 -pipe -c -o smtp.o smtp.c ar r libsmtp.a smtp.o ar: creating libsmtp.a : libsmtp.a gcc -fpcc-struct-return -fPIC -shared -Xlinker -soname=libelmme-smtp.so -o ../../shlib/libelmme-smtp.so smtp.o make[2]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/smtp' cd smtp; make -w ../../shlib/libelmme-smtp.so make[2]: Entering directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/smtp' make[2]: `../../shlib/libelmme-smtp.so' is up to date. make[2]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/smtp' cd tls; make -w all make[2]: Entering directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/tls' /bin/chmod u+w elmtls.h /bin/touch elmtls.h gcc -I../include -fpcc-struct-return -fPIC -O2 -pipe -c -o pop.o pop.c In file included from /usr/include/openssl/crypto.h:131, from /usr/include/openssl/comp.h:5, from /usr/include/openssl/ssl.h:176, from elmtls.h:11, from pop.c:9: /usr/include/openssl/ossl_typ.h:149: error: expected identifier or '(' before numeric constant make[2]: *** [pop.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/tls' make[1]: *** [tls/libtls.a] Error 2 make[1]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs' make: *** [all] Error 2 * * ERROR: mail-client/elm-2.4_rc100-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 168: Called die * The specific snippet of code: * make || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/mail-client:elm-2.4_rc100-r1:20081120-041939.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-client/elm-2.4_rc100-r1/temp/environment'. *