Thank you for your help! 

About using root-privileges:
I did try to compile without, but that leads to an error early on n the process:
./configure --with-openssl=/usr/sfw
[...]
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables
See `config.log' for more details.

in config.log it says:
[...]
configure:1760: checking for C compiler default output file name
configure:1763: gcc    conftest.c  >&5
cc1: /usr/local/include: Permission denied

/usr/local ist
drwxrwx---   5 root root    5 2008-11-24 22:30 local

Should I allow everyone in there? I am sure I never changed the rights for this 
directory...


When I use --with-openssl=/usr/sfw like you said, configure finishes 
successfully *hooray*. Make though fails *sigh*.
Maybe you have clue what's wrong here?

pfexec make   (evil root again, if I don't I get in trouble with failing access 
on /usr/local/include)
[...]
gcc -g -O2 -Wall -I. -I./libs/libmutils -I./libs/libmsock -I./libs/libsll 
-I/usr/sfw//include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 
-DHAVE_STDINT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_FCNTL_H=1 
-DHAVE_SYS_FILE_H=1 -DHAVE_SOCKET=1 -DHAVE_LIBSOCKET=1 -DHAVE_HTONL=1 
-DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_LIBNSL=1 
-DHAVE_YP_GET_DEFAULT_DOMAIN=1 -DHAVE_RES_SEARCH=1 -DHAVE_LIBRESOLV=1 
-DHAVE_INET_ATON=1 -DHAVE_DN_SKIPNAME=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENSSL=1  
-DUNIX -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1  -DHAVE_MATH_H=1 main.o smtp.o 
utils.o setget.o -o mailsend ./libs/libmsock/libmsock.a ./libs/libsll/libsll.a 
./libs/libmutils/libmutils.a -L/usr/sfw//lib -lssl -lcrypto -ldl
Undefined                       first referenced
 symbol                             in file
recv                                ./libs/libmsock/libmsock.a(msock.o)  
(symbol belongs to implicit dependency /lib/libsocket.so.1)
send                                ./libs/libmsock/libmsock.a(msock.o)  
(symbol belongs to implicit dependency /lib/libsocket.so.1)
gethostbyname                       ./libs/libmsock/libmsock.a(msock.o)  
(symbol belongs to implicit dependency /lib/libnsl.so.1)
socket                              ./libs/libmsock/libmsock.a(msock.o)  
(symbol belongs to implicit dependency /lib/libsocket.so.1)
connect                             ./libs/libmsock/libmsock.a(msock.o)  
(symbol belongs to implicit dependency /lib/libsocket.so.1)
inet_addr                           ./libs/libmsock/libmsock.a(msock.o)  
(symbol belongs to implicit dependency /lib/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to mailsend
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `mailsend'


I would be really happy if I could get through with building this...
Thanks for reading this.
-bastian
-- 
This message posted from opensolaris.org

Reply via email to