Hi All,

I want to compile qpopper 4.0.3 with the following options:
./configure --enable-debugging --enable-apop --enable-auto-delete
--enable-log-facility=LOG_LOCAL5 --enable-log-login
--enable-nonauth-file=/usr/local/etc/pop-exclude --enable-popuid=pop
--enable-specialauth --enable-timing  --with-openssl=/usr/local/openssl
 
Here are my two questions:
1-
  Willing to compile Qpopper 4.0.3 on RH 6.2 to support TLS/SSL (using the Opessl),
"make" exits with the following message:
------------------
 -g -O2 -idirafter /usr/local/include -DHAVE_CONFIG_H  -DLINUX -DUNIX maillock.c -o
maillock.o
gcc -c -I.. -I. -I.. -I../popper \
    -g -O2 -idirafter /usr/local/include -DHAVE_CONFIG_H  -DLINUX -DUNIX logit.c -o
logit.o
gcc -c -I.. -I. -I.. -I../popper \
    -g -O2 -idirafter /usr/local/include -DHAVE_CONFIG_H  -DLINUX -DUNIX snprintf.c -o
snprintf.o
gcc -c -I.. -I. -I.. -I../popper \
    -g -O2 -idirafter /usr/local/include -DHAVE_CONFIG_H  -DLINUX -DUNIX string_util.c
-o string_util.o
gcc -c -I.. -I. -I.. -I../popper \
    -g -O2 -idirafter /usr/local/include -DHAVE_CONFIG_H  -DLINUX -DUNIX check_group.c
-o check_group.o
gcc -c -I.. -I. -I.. -I../popper \
    -g -O2 -idirafter /usr/local/include -DHAVE_CONFIG_H  -DLINUX -DUNIX utils.c -o
utils.o
make[2]: *** Warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory `/home/john/qpopper/qpopper4.0.3/common'
gcc   pop_dele.o pop_dropcopy.o pop_get_command.o pop_get_subcommand.o pop_init.o
pop_last.o pop_list.o pop_log.o pop_lower.o pop_msg.o pop_parse.o pop_pass.o pop_quit.o
pop_rset.o pop_send.o pop_stat.o pop_updt.o pop_user.o pop_xtnd.o pop_xmit.o popper.o
pop_bull.o xtnd_xlst.o pop_uidl.o mktemp.o pop_rpop.o pop_apop.o md5.o pop_auth.o
pop_pope.o pop_extend.o scram.o hmac.o base64.o pop_util.o get_sub_opt.o msg_ptr.o
drac.o pop_config.o pop_tls.o pop_tls_openssl.o pop_tls_sslplus.o sslplus_utils.o 
main.o
pop_cache.o genpath.o -o popper ../mmangle/libmangle.a \
        -I../common ../common/libcommon.a \
        -lresolv  -lgdbm  -lcrypt -L/usr/local/openssl/lib -lssl -lcrypto
/usr/local/openssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.o(.text+0x99): undefined reference to `dlopen'
dso_dlfcn.o(.text+0xa8): undefined reference to `dlopen'
dso_dlfcn.o(.text+0xfd): undefined reference to `dlclose'
/usr/local/openssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.o(.text+0x1a3): undefined reference to `dlsym'
/usr/local/openssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.o(.text+0x253): undefined reference to `dlsym'
/usr/local/openssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.o(.text+0x332): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [popper] Error 1
make[1]: Leaving directory `/home/john/qpopper/qpopper4.0.3/popper'
make: *** [popper_server] Error 2
-------------------------------
I'm using Openssl 0.9.6b ,include and lib files resides on the /usr/local/openssl 
directory.
Can anyone tells what's going wrong with make here?

2-
 When I compile Qpopper (4.0.3) to log to a different log file (using the
--enable-log-facility=LOG_LOCAL5),
it STILL logs to the /var/log/messages !!!
 How to prevent this ? i.e: I only want qpopper to log to the file I specified with 
the LOG_LOCAL5
NOT logging
to two log files.
./John.

-- 
John Hardly
E-mail : john (at) iav (dot) ac (dot) ma

Reply via email to