[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] Portability issues to hpux
From: |
Bert Deknuydt |
Subject: |
[bug-mailutils] Portability issues to hpux |
Date: |
Wed, 15 Oct 2003 14:32:24 +0200 |
Hello again,
This time I tried HPUX (hppa2.0w-hp-hpux11.00).
Again two issues here:
--> In the mail.local directory, mail.local.h uses sysexits.h if it
exists. On HPUX it does exist, but it lacks the entry for
EX_CONFIG.
Maybe a separate check for EX_CONFIG is needed in the configure...
--> A more nasty one: this construction (used in mail/alt.c)
struct passwd *pw = getpwuid (getuid ());
does not work on hpux when linked with -lc before -lthreads.
(it returs "can't determine my username"; getpwuid sets errno
corresponding to 'invalid argument')
The other way around (i.e. -lthreads -lc) works okay.
When you manually completely remove the '-lthreads' from the Makefile
there, mail works.
Apart from this, all seems to work.
Greetings, Bert.
--
-------------- eMail address@hidden ---------------
B.DeKnuydt, PSI-KULeuven Tel. +32-16-321880
Kasteelpark Arenberg 10 /| | ||
B-3001 Leuven-Heverlee _,_)| 4_|_||
FLANDERS, BELGIUM / . Fax. +32-16-321838
-------------- http://www.esat.kuleuven.ac.be/~deknuydt --------------
Cursed be man! How ungrateful is he! Qur'An 80, 17
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-mailutils] Portability issues to hpux,
Bert Deknuydt <=