PDA

View Full Version : Qmail on Solaris 10????


danielpeterson
08-05-2005, 05:50 PM
Guidance from the qmail gods requested.....

I can't get this to compile.

I did have to substitute the cc for gcc in the compile program.

regards.

daniel

gwmail/root> make setup check
./compile sig_alarm.c
In file included from /usr/include/sys/signal.h:34,
from /usr/include/signal.h:26,
from sig_alarm.c:1:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/signal.h:26,
from sig_alarm.c:1:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from sig_alarm.c:1:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
make: *** [sig_alarm.o] Error 1
gwmail/root>

danielpeterson
08-08-2005, 01:18 PM
Found it.

cd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools

./mkheaders

xtern0
09-01-2005, 02:27 AM
Its always nice to see someone post a solution they discovered on their own.

Your post was a lifesaver.

Cheers,

X

lejla
04-19-2006, 11:05 AM
i can't thank you enough!
i was very close to nervous breakdown...
tried compiling php 5.0.4 on solaris 10 with gcc-3.3.2 and you just made my life easier!

thank you for posting your solution

ncmaina
04-11-2007, 01:37 AM
Hi admins

I would like to set up gmail on solaris 10.My major problem is how to compile it and how to set it up so that it cn work as an MTA.

I will appreciate if any of you quided me through the whole process if you dont mind.I ahve never set up a mail server before but i would love to learn by setting up qmail on solaris 10.

Thanks a lot.